]> git.saurik.com Git - wxWidgets.git/blob - configure
don't set A4 paper size, use the system default instead
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.8.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.8.0'
274 PACKAGE_STRING='wxWidgets 2.8.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.8.0:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.8.0
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.8.0, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=8
1805 wx_release_number=0
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 fi
11807
11808
11809 if test "$wxUSE_GUI" = "yes"; then
11810
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11815 fi
11816
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit in `echo $ALL_TOOLKITS`; do
11819 var=wxUSE_$toolkit
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11822 eval "$var=0"
11823 elif test "x$value" != "x"; then
11824 eval "$var=1"
11825 fi
11826
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11829 fi
11830 done
11831 else
11832 for toolkit in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11835 else
11836 var=DEFAULT_wxUSE_$toolkit
11837
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11841 fi
11842 fi
11843 eval "wxUSE_$toolkit=\$${var}"
11844 done
11845 fi
11846
11847 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11850
11851 case "${host}" in
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11854 esac
11855
11856 case "$NUM_TOOLKITS" in
11857 1)
11858 ;;
11859 0)
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11863 ;;
11864 *)
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11868 esac
11869
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11872 wxGTK_VERSION=2
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11874 wxGTK_VERSION=1
11875 fi
11876
11877 for toolkit in `echo $ALL_TOOLKITS`; do
11878 var=wxUSE_$toolkit
11879 eval "value=\$${var}"
11880 if test "x$value" != x; then
11881 cache_var=CACHE_$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11888 fi
11889 fi
11890 if test "$value" = 1; then
11891 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11894 fi
11895 fi
11896 done
11897 else
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11901 else
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11904 fi
11905 fi
11906
11907
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11914 #
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11917 #
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11921
11922 _ACEOF
11923
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11929 {
11930 (set) 2>&1 |
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11932 *ac_space=\ *)
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11935 sed -n \
11936 "s/'/'\\\\''/g;
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11938 ;;
11939 *)
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11941 sed -n \
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11943 ;;
11944 esac;
11945 } |
11946 sed '
11947 t clear
11948 : clear
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11950 t end
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11952 : end' >>confcache
11953 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache >$cache_file
11957 else
11958 echo "not updating unwritable cache $cache_file"
11959 fi
11960 fi
11961 rm -f confcache
11962
11963 CFLAGS=${CFLAGS:=}
11964
11965
11966
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC="$CC" # Let the user override the test.
11982 else
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11985 do
11986 IFS=$as_save_IFS
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 break 2
11993 fi
11994 done
11995 done
11996
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12003 else
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008 fi
12009 if test -z "$ac_cv_prog_CC"; then
12010 ac_ct_CC=$CC
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12023 do
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12031 fi
12032 done
12033 done
12034
12035 fi
12036 fi
12037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12041 else
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12044 fi
12045
12046 CC=$ac_ct_CC
12047 else
12048 CC="$ac_cv_prog_CC"
12049 fi
12050
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy ${ac_tool_prefix}cc; ac_word=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC="$CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066 IFS=$as_save_IFS
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 break 2
12073 fi
12074 done
12075 done
12076
12077 fi
12078 fi
12079 CC=$ac_cv_prog_CC
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12083 else
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12086 fi
12087
12088 fi
12089 if test -z "$ac_cv_prog_CC"; then
12090 ac_ct_CC=$CC
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc; ac_word=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12100 else
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12103 do
12104 IFS=$as_save_IFS
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 break 2
12111 fi
12112 done
12113 done
12114
12115 fi
12116 fi
12117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12121 else
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12124 fi
12125
12126 CC=$ac_ct_CC
12127 else
12128 CC="$ac_cv_prog_CC"
12129 fi
12130
12131 fi
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc; ac_word=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 ac_prog_rejected=no
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected=yes
12153 continue
12154 fi
12155 ac_cv_prog_CC="cc"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12165 shift
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12170 shift
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172 fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12180 else
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12183 fi
12184
12185 fi
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12188 for ac_prog in cl
12189 do
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203 IFS=$as_save_IFS
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 break 2
12210 fi
12211 done
12212 done
12213
12214 fi
12215 fi
12216 CC=$ac_cv_prog_CC
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12223 fi
12224
12225 test -n "$CC" && break
12226 done
12227 fi
12228 if test -z "$CC"; then
12229 ac_ct_CC=$CC
12230 for ac_prog in cl
12231 do
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy $ac_prog; ac_word=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12241 else
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245 IFS=$as_save_IFS
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 break 2
12252 fi
12253 done
12254 done
12255
12256 fi
12257 fi
12258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12262 else
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12265 fi
12266
12267 test -n "$ac_ct_CC" && break
12268 done
12269
12270 CC=$ac_ct_CC
12271 fi
12272
12273 fi
12274
12275
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12281
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev/null >&5) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev/null >&5) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 ac_clean_files_save=$ac_clean_files
12318 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12321 # of exeext.
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12332 # resort.
12333
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12336 ac_cv_exeext=
12337 # b.out is created by i960 compilers.
12338 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12339 do
12340 test -f "$ac_file" || continue
12341 case $ac_file in
12342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12343 ;;
12344 conftest.$ac_ext )
12345 # This is the source file.
12346 ;;
12347 [ab].out )
12348 # We found the default executable, but exeext='' is most
12349 # certainly right.
12350 break;;
12351 *.* )
12352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12357 break;;
12358 * )
12359 break;;
12360 esac
12361 done
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12365
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12371 fi
12372
12373 ac_exeext=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12376
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 cross_compiling=no
12391 else
12392 if test "$cross_compiling" = maybe; then
12393 cross_compiling=yes
12394 else
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12402 fi
12403 fi
12404 fi
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12407
12408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12409 ac_clean_files=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12416
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12427 # `rm'.
12428 for ac_file in conftest.exe conftest conftest.*; do
12429 test -f "$ac_file" || continue
12430 case $ac_file in
12431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12434 break;;
12435 * ) break;;
12436 esac
12437 done
12438 else
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12444 fi
12445
12446 rm -f conftest$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12449
12450 rm -f conftest.$ac_ext
12451 EXEEXT=$ac_cv_exeext
12452 ac_exeext=$EXEEXT
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464
12465 int
12466 main ()
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12480 case $ac_file in
12481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12483 break;;
12484 esac
12485 done
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12495 fi
12496
12497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT=$ac_cv_objext
12502 ac_objext=$OBJEXT
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514
12515 int
12516 main ()
12517 {
12518 #ifndef __GNUC__
12519 choke me
12520 #endif
12521
12522 ;
12523 return 0;
12524 }
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 ac_compiler_gnu=no
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS=${CFLAGS+set}
12562 ac_save_CFLAGS=$CFLAGS
12563 CFLAGS="-g"
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575
12576 int
12577 main ()
12578 {
12579
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_cv_prog_cc_g=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 fi
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12620 CFLAGS="-g -O2"
12621 else
12622 CFLAGS="-g"
12623 fi
12624 else
12625 if test "$GCC" = yes; then
12626 CFLAGS="-O2"
12627 else
12628 CFLAGS=
12629 fi
12630 fi
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 ac_cv_prog_cc_stdc=no
12637 ac_save_CC=$CC
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12645 #include <stdio.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12652 char **p;
12653 int i;
12654 {
12655 return p[i];
12656 }
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12658 {
12659 char *s;
12660 va_list v;
12661 va_start (v,p);
12662 s = g (p, va_arg (v,int));
12663 va_end (v);
12664 return s;
12665 }
12666
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12675
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12680 int argc;
12681 char **argv;
12682 int
12683 main ()
12684 {
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 do
12699 CC="$ac_save_CC $ac_arg"
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc=$ac_arg
12722 break
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 fi
12728 rm -f conftest.err conftest.$ac_objext
12729 done
12730 rm -f conftest.$ac_ext conftest.$ac_objext
12731 CC=$ac_save_CC
12732
12733 fi
12734
12735 case "x$ac_cv_prog_cc_stdc" in
12736 x|xno)
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12739 *)
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC="$CC $ac_cv_prog_cc_stdc" ;;
12743 esac
12744
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12751 choke me
12752 #endif
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration in \
12776 '' \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12781 'void exit (int);'
12782 do
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 $ac_declaration
12790 #include <stdlib.h>
12791 int
12792 main ()
12793 {
12794 exit (42);
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 rm -f conftest.$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 :
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_declaration
12835 int
12836 main ()
12837 {
12838 exit (42);
12839 ;
12840 return 0;
12841 }
12842 _ACEOF
12843 rm -f conftest.$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 break
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 fi
12870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 done
12872 rm -f conftest*
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12877 fi
12878
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891
12892
12893 ac_ext=c
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914
12915 #ifndef __INTEL_COMPILER
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 bakefile_cv_c_compiler___INTEL_COMPILER=no
12950
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12958 ac_ext=c
12959 ac_cpp='$CPP $CPPFLAGS'
12960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12965 :; INTELCC=yes
12966 else
12967 :;
12968 fi
12969
12970
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 cat >conftest.$ac_ext <<_ACEOF
12979 /* confdefs.h. */
12980 _ACEOF
12981 cat confdefs.h >>conftest.$ac_ext
12982 cat >>conftest.$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984
12985 int
12986 main ()
12987 {
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest.$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13000 case $ac_file in
13001 conftest.$ac_ext.o)
13002 bakefile_cv_c_exto="-ext o"
13003 ;;
13004 *)
13005 ;;
13006 esac
13007 done
13008 else
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014
13015 fi
13016
13017 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13025 fi
13026 if test "c" = "cxx"; then
13027 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13028 fi
13029 fi
13030
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS=${CFLAGS+set}
13034 ac_save_CFLAGS=$CFLAGS
13035 CFLAGS="-g"
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 cat >conftest.$ac_ext <<_ACEOF
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047
13048 int
13049 main ()
13050 {
13051
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 ac_cv_prog_cc_g=no
13083 fi
13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13092 CFLAGS="-g -O2"
13093 else
13094 CFLAGS="-g"
13095 fi
13096 else
13097 if test "$GCC" = yes; then
13098 CFLAGS="-O2"
13099 else
13100 CFLAGS=
13101 fi
13102 fi
13103 fi
13104 fi
13105
13106 case `uname -s` in
13107 AIX*)
13108 ac_ext=c
13109 ac_cpp='$CPP $CPPFLAGS'
13110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125
13126 int
13127 main ()
13128 {
13129 #ifndef __xlC__
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13149 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc=yes
13159 else
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13162
13163 bakefile_compiler_xlc=no
13164 fi
13165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13166 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13167
13168 fi
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13171
13172 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179
13180 ;;
13181
13182 Darwin)
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __MWERKS__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_mwerks=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13246
13247 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276 #ifndef __xlC__
13277 choke me
13278 #endif
13279
13280 ;
13281 return 0;
13282 }
13283 _ACEOF
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_compiler_xlc=no
13311 fi
13312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13314
13315 fi
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13318
13319 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326
13327 ;;
13328
13329 IRIX*)
13330
13331
13332 ac_ext=c
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353
13354 #ifndef _SGI_COMPILER_VERSION
13355 choke me
13356 #endif
13357
13358 ;
13359 return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392
13393
13394 fi
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13404 :; SGICC=yes
13405 else
13406 :;
13407 fi
13408
13409
13410 ;;
13411
13412 HP-UX*)
13413
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432
13433 int
13434 main ()
13435 {
13436
13437 #ifndef __HP_cc
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 bakefile_cv_c_compiler___HP_cc=no
13472
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475
13476
13477 fi
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13487 :; HPCC=yes
13488 else
13489 :;
13490 fi
13491
13492
13493 ;;
13494
13495 OSF1)
13496
13497
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13503
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515
13516 int
13517 main ()
13518 {
13519
13520 #ifndef __DECC
13521 choke me
13522 #endif
13523
13524 ;
13525 return 0;
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_cv_c_compiler___DECC=no
13555
13556 fi
13557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13558
13559
13560 fi
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13570 :; COMPAQCC=yes
13571 else
13572 :;
13573 fi
13574
13575
13576 ;;
13577
13578 SunOS)
13579
13580
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 int
13600 main ()
13601 {
13602
13603 #ifndef __SUNPRO_C
13604 choke me
13605 #endif
13606
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637 bakefile_cv_c_compiler___SUNPRO_C=no
13638
13639 fi
13640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641
13642
13643 fi
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13653 :; SUNCC=yes
13654 else
13655 :;
13656 fi
13657
13658
13659 ;;
13660 esac
13661 fi
13662
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13674 CPP=
13675 fi
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 else
13680 # Double quotes because CPP needs to be expanded
13681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13682 do
13683 ac_preproc_ok=false
13684 for ac_c_preproc_warn_flag in '' yes
13685 do
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #ifdef __STDC__
13699 # include <limits.h>
13700 #else
13701 # include <assert.h>
13702 #endif
13703 Syntax error
13704 _ACEOF
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev/null; then
13713 if test -s conftest.err; then
13714 ac_cpp_err=$ac_c_preproc_warn_flag
13715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 else
13717 ac_cpp_err=
13718 fi
13719 else
13720 ac_cpp_err=yes
13721 fi
13722 if test -z "$ac_cpp_err"; then
13723 :
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 # Broken: fails on valid input.
13729 continue
13730 fi
13731 rm -f conftest.err conftest.$ac_ext
13732
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.$ac_ext <<_ACEOF
13736 /* confdefs.h. */
13737 _ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13742 _ACEOF
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev/null; then
13751 if test -s conftest.err; then
13752 ac_cpp_err=$ac_c_preproc_warn_flag
13753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13754 else
13755 ac_cpp_err=
13756 fi
13757 else
13758 ac_cpp_err=yes
13759 fi
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13762 continue
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 # Passes both tests.
13768 ac_preproc_ok=:
13769 break
13770 fi
13771 rm -f conftest.err conftest.$ac_ext
13772
13773 done
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.$ac_ext
13776 if $ac_preproc_ok; then
13777 break
13778 fi
13779
13780 done
13781 ac_cv_prog_CPP=$CPP
13782
13783 fi
13784 CPP=$ac_cv_prog_CPP
13785 else
13786 ac_cv_prog_CPP=$CPP
13787 fi
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok=false
13791 for ac_c_preproc_warn_flag in '' yes
13792 do
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810 Syntax error
13811 _ACEOF
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null; then
13820 if test -s conftest.err; then
13821 ac_cpp_err=$ac_c_preproc_warn_flag
13822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13823 else
13824 ac_cpp_err=
13825 fi
13826 else
13827 ac_cpp_err=yes
13828 fi
13829 if test -z "$ac_cpp_err"; then
13830 :
13831 else
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13834
13835 # Broken: fails on valid input.
13836 continue
13837 fi
13838 rm -f conftest.err conftest.$ac_ext
13839
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13849 _ACEOF
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13852 ac_status=$?
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev/null; then
13858 if test -s conftest.err; then
13859 ac_cpp_err=$ac_c_preproc_warn_flag
13860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13861 else
13862 ac_cpp_err=
13863 fi
13864 else
13865 ac_cpp_err=yes
13866 fi
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13869 continue
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 # Passes both tests.
13875 ac_preproc_ok=:
13876 break
13877 fi
13878 rm -f conftest.err conftest.$ac_ext
13879
13880 done
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.$ac_ext
13883 if $ac_preproc_ok; then
13884 :
13885 else
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892
13893 ac_ext=c
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898
13899
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13906 then ac_cv_prog_egrep='grep -E'
13907 else ac_cv_prog_egrep='egrep'
13908 fi
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP=$ac_cv_prog_egrep
13913
13914
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 ac_pattern="Autoconf.*'x'"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 #include <sgtty.h>
13929 Autoconf TIOCGETP
13930 _ACEOF
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13933 ac_cv_prog_gcc_traditional=yes
13934 else
13935 ac_cv_prog_gcc_traditional=no
13936 fi
13937 rm -f conftest*
13938
13939
13940 if test $ac_cv_prog_gcc_traditional = no; then
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13948 Autoconf TCGETA
13949 _ACEOF
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13952 ac_cv_prog_gcc_traditional=yes
13953 fi
13954 rm -f conftest*
13955
13956 fi
13957 fi
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC="$CC -traditional"
13962 fi
13963 fi
13964
13965
13966 CXXFLAGS=${CXXFLAGS:=}
13967
13968
13969
13970 ac_ext=cc
13971 ac_cpp='$CXXCPP $CPPFLAGS'
13972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13975 if test -n "$ac_tool_prefix"; then
13976 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13977 do
13978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13980 echo "$as_me:$LINENO: checking for $ac_word" >&5
13981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13982 if test "${ac_cv_prog_CXX+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 if test -n "$CXX"; then
13986 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13987 else
13988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13990 do
13991 IFS=$as_save_IFS
13992 test -z "$as_dir" && as_dir=.
13993 for ac_exec_ext in '' $ac_executable_extensions; do
13994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13997 break 2
13998 fi
13999 done
14000 done
14001
14002 fi
14003 fi
14004 CXX=$ac_cv_prog_CXX
14005 if test -n "$CXX"; then
14006 echo "$as_me:$LINENO: result: $CXX" >&5
14007 echo "${ECHO_T}$CXX" >&6
14008 else
14009 echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6
14011 fi
14012
14013 test -n "$CXX" && break
14014 done
14015 fi
14016 if test -z "$CXX"; then
14017 ac_ct_CXX=$CXX
14018 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14019 do
14020 # Extract the first word of "$ac_prog", so it can be a program name with args.
14021 set dummy $ac_prog; ac_word=$2
14022 echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027 if test -n "$ac_ct_CXX"; then
14028 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14029 else
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14032 do
14033 IFS=$as_save_IFS
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14037 ac_cv_prog_ac_ct_CXX="$ac_prog"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14039 break 2
14040 fi
14041 done
14042 done
14043
14044 fi
14045 fi
14046 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14047 if test -n "$ac_ct_CXX"; then
14048 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14049 echo "${ECHO_T}$ac_ct_CXX" >&6
14050 else
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14053 fi
14054
14055 test -n "$ac_ct_CXX" && break
14056 done
14057 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14058
14059 CXX=$ac_ct_CXX
14060 fi
14061
14062
14063 # Provide some information about the compiler.
14064 echo "$as_me:$LINENO:" \
14065 "checking for C++ compiler version" >&5
14066 ac_compiler=`set X $ac_compile; echo $2`
14067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14068 (eval $ac_compiler --version </dev/null >&5) 2>&5
14069 ac_status=$?
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }
14072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14073 (eval $ac_compiler -v </dev/null >&5) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }
14077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14078 (eval $ac_compiler -V </dev/null >&5) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }
14082
14083 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094
14095 int
14096 main ()
14097 {
14098 #ifndef __GNUC__
14099 choke me
14100 #endif
14101
14102 ;
14103 return 0;
14104 }
14105 _ACEOF
14106 rm -f conftest.$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_compiler_gnu=yes
14128 else
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14131
14132 ac_compiler_gnu=no
14133 fi
14134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14135 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14136
14137 fi
14138 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14139 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14140 GXX=`test $ac_compiler_gnu = yes && echo yes`
14141 ac_test_CXXFLAGS=${CXXFLAGS+set}
14142 ac_save_CXXFLAGS=$CXXFLAGS
14143 CXXFLAGS="-g"
14144 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14145 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14146 if test "${ac_cv_prog_cxx_g+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 else
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155
14156 int
14157 main ()
14158 {
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 rm -f conftest.$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14167 ac_status=$?
14168 grep -v '^ *+' conftest.er1 >conftest.err
14169 rm -f conftest.er1
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_prog_cxx_g=yes
14186 else
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14189
14190 ac_cv_prog_cxx_g=no
14191 fi
14192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14193 fi
14194 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14195 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14196 if test "$ac_test_CXXFLAGS" = set; then
14197 CXXFLAGS=$ac_save_CXXFLAGS
14198 elif test $ac_cv_prog_cxx_g = yes; then
14199 if test "$GXX" = yes; then
14200 CXXFLAGS="-g -O2"
14201 else
14202 CXXFLAGS="-g"
14203 fi
14204 else
14205 if test "$GXX" = yes; then
14206 CXXFLAGS="-O2"
14207 else
14208 CXXFLAGS=
14209 fi
14210 fi
14211 for ac_declaration in \
14212 '' \
14213 'extern "C" void std::exit (int) throw (); using std::exit;' \
14214 'extern "C" void std::exit (int); using std::exit;' \
14215 'extern "C" void exit (int) throw ();' \
14216 'extern "C" void exit (int);' \
14217 'void exit (int);'
14218 do
14219 cat >conftest.$ac_ext <<_ACEOF
14220 /* confdefs.h. */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_declaration
14226 #include <stdlib.h>
14227 int
14228 main ()
14229 {
14230 exit (42);
14231 ;
14232 return 0;
14233 }
14234 _ACEOF
14235 rm -f conftest.$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14238 ac_status=$?
14239 grep -v '^ *+' conftest.er1 >conftest.err
14240 rm -f conftest.er1
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14253 ac_status=$?
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 :
14257 else
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.$ac_ext >&5
14260
14261 continue
14262 fi
14263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_declaration
14271 int
14272 main ()
14273 {
14274 exit (42);
14275 ;
14276 return 0;
14277 }
14278 _ACEOF
14279 rm -f conftest.$ac_objext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14281 (eval $ac_compile) 2>conftest.er1
14282 ac_status=$?
14283 grep -v '^ *+' conftest.er1 >conftest.err
14284 rm -f conftest.er1
14285 cat conftest.err >&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14297 ac_status=$?
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 break
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14304
14305 fi
14306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14307 done
14308 rm -f conftest*
14309 if test -n "$ac_declaration"; then
14310 echo '#ifdef __cplusplus' >>confdefs.h
14311 echo $ac_declaration >>confdefs.h
14312 echo '#endif' >>confdefs.h
14313 fi
14314
14315 ac_ext=c
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14320
14321
14322
14323 ac_ext=cc
14324 ac_cpp='$CXXCPP $CPPFLAGS'
14325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14328
14329 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14330 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14331 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334 cat >conftest.$ac_ext <<_ACEOF
14335 /* confdefs.h. */
14336 _ACEOF
14337 cat confdefs.h >>conftest.$ac_ext
14338 cat >>conftest.$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14340
14341 int
14342 main ()
14343 {
14344
14345 #ifndef __INTEL_COMPILER
14346 choke me
14347 #endif
14348
14349 ;
14350 return 0;
14351 }
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14356 ac_status=$?
14357 grep -v '^ *+' conftest.er1 >conftest.err
14358 rm -f conftest.er1
14359 cat conftest.err >&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14378
14379 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14380
14381 fi
14382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14383
14384
14385 fi
14386 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14388 ac_ext=c
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14393
14394 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14395 :; INTELCXX=yes
14396 else
14397 :;
14398 fi
14399
14400
14401 if test "x$GCXX" != "xyes"; then
14402 if test "xCXX" = "xC"; then
14403 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14404 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14405 if test "${bakefile_cv_c_exto+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 cat >conftest.$ac_ext <<_ACEOF
14409 /* confdefs.h. */
14410 _ACEOF
14411 cat confdefs.h >>conftest.$ac_ext
14412 cat >>conftest.$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414
14415 int
14416 main ()
14417 {
14418
14419 ;
14420 return 0;
14421 }
14422 _ACEOF
14423 rm -f conftest.$ac_objext conftest.$ac_ext.o
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; then
14429 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14430 case $ac_file in
14431 conftest.$ac_ext.o)
14432 bakefile_cv_c_exto="-ext o"
14433 ;;
14434 *)
14435 ;;
14436 esac
14437 done
14438 else
14439 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14440 See \`config.log' for more details." >&5
14441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14442 See \`config.log' for more details." >&2;}
14443 { (exit 1); exit 1; }; }
14444
14445 fi
14446
14447 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14448
14449 fi
14450 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14453 if test "c" = "c"; then
14454 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14455 fi
14456 if test "c" = "cxx"; then
14457 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14458 fi
14459 fi
14460
14461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14462 unset ac_cv_prog_cc_g
14463 ac_test_CFLAGS=${CFLAGS+set}
14464 ac_save_CFLAGS=$CFLAGS
14465 CFLAGS="-g"
14466 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14467 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14468 if test "${ac_cv_prog_cc_g+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477
14478 int
14479 main ()
14480 {
14481
14482 ;
14483 return 0;
14484 }
14485 _ACEOF
14486 rm -f conftest.$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>conftest.er1
14489 ac_status=$?
14490 grep -v '^ *+' conftest.er1 >conftest.err
14491 rm -f conftest.er1
14492 cat conftest.err >&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497 (eval $ac_try) 2>&5
14498 ac_status=$?
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_prog_cc_g=yes
14508 else
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.$ac_ext >&5
14511
14512 ac_cv_prog_cc_g=no
14513 fi
14514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14515 fi
14516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14518 if test "$ac_test_CFLAGS" = set; then
14519 CFLAGS=$ac_save_CFLAGS
14520 elif test $ac_cv_prog_cc_g = yes; then
14521 if test "$GCC" = yes; then
14522 CFLAGS="-g -O2"
14523 else
14524 CFLAGS="-g"
14525 fi
14526 else
14527 if test "$GCC" = yes; then
14528 CFLAGS="-O2"
14529 else
14530 CFLAGS=
14531 fi
14532 fi
14533 fi
14534 fi
14535
14536 case `uname -s` in
14537 AIX*)
14538 ac_ext=cc
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14543
14544 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14545 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14546 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 else
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555
14556 int
14557 main ()
14558 {
14559 #ifndef __xlC__
14560 choke me
14561 #endif
14562
14563 ;
14564 return 0;
14565 }
14566 _ACEOF
14567 rm -f conftest.$ac_objext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14569 (eval $ac_compile) 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14579 ac_status=$?
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 bakefile_compiler_xlc=yes
14589 else
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14592
14593 bakefile_compiler_xlc=no
14594 fi
14595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14596 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14597
14598 fi
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14601
14602 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14603 ac_ext=c
14604 ac_cpp='$CPP $CPPFLAGS'
14605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14608
14609
14610 ;;
14611
14612 Darwin)
14613 ac_ext=cc
14614 ac_cpp='$CXXCPP $CPPFLAGS'
14615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14618
14619 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14620 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14621 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630
14631 int
14632 main ()
14633 {
14634 #ifndef __MWERKS__
14635 choke me
14636 #endif
14637
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 bakefile_compiler_mwerks=yes
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 bakefile_compiler_mwerks=no
14669 fi
14670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14671 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14672
14673 fi
14674 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14675 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14676
14677 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14678 ac_ext=c
14679 ac_cpp='$CPP $CPPFLAGS'
14680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14683
14684
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702
14703 int
14704 main ()
14705 {
14706 #ifndef __xlC__
14707 choke me
14708 #endif
14709
14710 ;
14711 return 0;
14712 }
14713 _ACEOF
14714 rm -f conftest.$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14717 ac_status=$?
14718 grep -v '^ *+' conftest.er1 >conftest.err
14719 rm -f conftest.er1
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 bakefile_compiler_xlc=yes
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 bakefile_compiler_xlc=no
14741 fi
14742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14743 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14744
14745 fi
14746 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14747 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14748
14749 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14750 ac_ext=c
14751 ac_cpp='$CPP $CPPFLAGS'
14752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14755
14756
14757 ;;
14758
14759 IRIX*)
14760
14761
14762 ac_ext=cc
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14767
14768 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14769 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14770 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779
14780 int
14781 main ()
14782 {
14783
14784 #ifndef _SGI_COMPILER_VERSION
14785 choke me
14786 #endif
14787
14788 ;
14789 return 0;
14790 }
14791 _ACEOF
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14795 ac_status=$?
14796 grep -v '^ *+' conftest.er1 >conftest.err
14797 rm -f conftest.er1
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14819
14820 fi
14821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14822
14823
14824 fi
14825 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14826 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14827 ac_ext=c
14828 ac_cpp='$CPP $CPPFLAGS'
14829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14832
14833 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14834 :; SGICXX=yes
14835 else
14836 :;
14837 fi
14838
14839
14840 ;;
14841
14842 HP-UX*)
14843
14844
14845 ac_ext=cc
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850
14851 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862
14863 int
14864 main ()
14865 {
14866
14867 #ifndef __HP_aCC
14868 choke me
14869 #endif
14870
14871 ;
14872 return 0;
14873 }
14874 _ACEOF
14875 rm -f conftest.$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14878 ac_status=$?
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 bakefile_cv_cxx_compiler___HP_aCC=yes
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14900
14901 bakefile_cv_cxx_compiler___HP_aCC=no
14902
14903 fi
14904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14905
14906
14907 fi
14908 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14909 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14910 ac_ext=c
14911 ac_cpp='$CPP $CPPFLAGS'
14912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14915
14916 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14917 :; HPCXX=yes
14918 else
14919 :;
14920 fi
14921
14922
14923 ;;
14924
14925 OSF1)
14926
14927
14928 ac_ext=cc
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14935 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14936 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 #ifndef __DECCXX
14951 choke me
14952 #endif
14953
14954 ;
14955 return 0;
14956 }
14957 _ACEOF
14958 rm -f conftest.$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try='test -s conftest.$ac_objext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14976 ac_status=$?
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14979 bakefile_cv_cxx_compiler___DECCXX=yes
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 bakefile_cv_cxx_compiler___DECCXX=no
14985
14986 fi
14987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14988
14989
14990 fi
14991 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14992 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15000 :; COMPAQCXX=yes
15001 else
15002 :;
15003 fi
15004
15005
15006 ;;
15007
15008 SunOS)
15009
15010
15011 ac_ext=cc
15012 ac_cpp='$CXXCPP $CPPFLAGS'
15013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15016
15017 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15018 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15019 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 else
15022 cat >conftest.$ac_ext <<_ACEOF
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028
15029 int
15030 main ()
15031 {
15032
15033 #ifndef __SUNPRO_CC
15034 choke me
15035 #endif
15036
15037 ;
15038 return 0;
15039 }
15040 _ACEOF
15041 rm -f conftest.$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15053 ac_status=$?
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15063 else
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.$ac_ext >&5
15066
15067 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15068
15069 fi
15070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15071
15072
15073 fi
15074 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15076 ac_ext=c
15077 ac_cpp='$CPP $CPPFLAGS'
15078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15081
15082 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15083 :; SUNCXX=yes
15084 else
15085 :;
15086 fi
15087
15088
15089 ;;
15090 esac
15091 fi
15092
15093
15094
15095 if test -n "$ac_tool_prefix"; then
15096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15098 echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15100 if test "${ac_cv_prog_RANLIB+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 else
15103 if test -n "$RANLIB"; then
15104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15105 else
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15108 do
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15116 fi
15117 done
15118 done
15119
15120 fi
15121 fi
15122 RANLIB=$ac_cv_prog_RANLIB
15123 if test -n "$RANLIB"; then
15124 echo "$as_me:$LINENO: result: $RANLIB" >&5
15125 echo "${ECHO_T}$RANLIB" >&6
15126 else
15127 echo "$as_me:$LINENO: result: no" >&5
15128 echo "${ECHO_T}no" >&6
15129 fi
15130
15131 fi
15132 if test -z "$ac_cv_prog_RANLIB"; then
15133 ac_ct_RANLIB=$RANLIB
15134 # Extract the first word of "ranlib", so it can be a program name with args.
15135 set dummy ranlib; ac_word=$2
15136 echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 if test -n "$ac_ct_RANLIB"; then
15142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15143 else
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH
15146 do
15147 IFS=$as_save_IFS
15148 test -z "$as_dir" && as_dir=.
15149 for ac_exec_ext in '' $ac_executable_extensions; do
15150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15151 ac_cv_prog_ac_ct_RANLIB="ranlib"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15153 break 2
15154 fi
15155 done
15156 done
15157
15158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15159 fi
15160 fi
15161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15162 if test -n "$ac_ct_RANLIB"; then
15163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15165 else
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15168 fi
15169
15170 RANLIB=$ac_ct_RANLIB
15171 else
15172 RANLIB="$ac_cv_prog_RANLIB"
15173 fi
15174
15175
15176 if test -n "$ac_tool_prefix"; then
15177 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15178 set dummy ${ac_tool_prefix}ar; ac_word=$2
15179 echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15181 if test "${ac_cv_prog_AR+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$AR"; then
15185 ac_cv_prog_AR="$AR" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194 ac_cv_prog_AR="${ac_tool_prefix}ar"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200
15201 fi
15202 fi
15203 AR=$ac_cv_prog_AR
15204 if test -n "$AR"; then
15205 echo "$as_me:$LINENO: result: $AR" >&5
15206 echo "${ECHO_T}$AR" >&6
15207 else
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15210 fi
15211
15212 fi
15213 if test -z "$ac_cv_prog_AR"; then
15214 ac_ct_AR=$AR
15215 # Extract the first word of "ar", so it can be a program name with args.
15216 set dummy ar; ac_word=$2
15217 echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15219 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 if test -n "$ac_ct_AR"; then
15223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15224 else
15225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15226 for as_dir in $PATH
15227 do
15228 IFS=$as_save_IFS
15229 test -z "$as_dir" && as_dir=.
15230 for ac_exec_ext in '' $ac_executable_extensions; do
15231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15232 ac_cv_prog_ac_ct_AR="ar"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 break 2
15235 fi
15236 done
15237 done
15238
15239 fi
15240 fi
15241 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15242 if test -n "$ac_ct_AR"; then
15243 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15244 echo "${ECHO_T}$ac_ct_AR" >&6
15245 else
15246 echo "$as_me:$LINENO: result: no" >&5
15247 echo "${ECHO_T}no" >&6
15248 fi
15249
15250 AR=$ac_ct_AR
15251 else
15252 AR="$ac_cv_prog_AR"
15253 fi
15254
15255 if test "x$AR" = "x" ; then
15256 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15257 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15258 { (exit 1); exit 1; }; }
15259 fi
15260
15261 # Find a good install program. We prefer a C program (faster),
15262 # so one script is as good as another. But avoid the broken or
15263 # incompatible versions:
15264 # SysV /etc/install, /usr/sbin/install
15265 # SunOS /usr/etc/install
15266 # IRIX /sbin/install
15267 # AIX /bin/install
15268 # AmigaOS /C/install, which installs bootblocks on floppy discs
15269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15272 # OS/2's system install, which has a completely different semantic
15273 # ./install, which can be erroneously created by make from ./install.sh.
15274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15276 if test -z "$INSTALL"; then
15277 if test "${ac_cv_path_install+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 # Account for people who put trailing slashes in PATH elements.
15286 case $as_dir/ in
15287 ./ | .// | /cC/* | \
15288 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15289 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15290 /usr/ucb/* ) ;;
15291 *)
15292 # OSF1 and SCO ODT 3.0 have their own names for install.
15293 # Don't use installbsd from OSF since it installs stuff as root
15294 # by default.
15295 for ac_prog in ginstall scoinst install; do
15296 for ac_exec_ext in '' $ac_executable_extensions; do
15297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15298 if test $ac_prog = install &&
15299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15300 # AIX install. It has an incompatible calling convention.
15301 :
15302 elif test $ac_prog = install &&
15303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15304 # program-specific install script used by HP pwplus--don't use.
15305 :
15306 else
15307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15308 break 3
15309 fi
15310 fi
15311 done
15312 done
15313 ;;
15314 esac
15315 done
15316
15317
15318 fi
15319 if test "${ac_cv_path_install+set}" = set; then
15320 INSTALL=$ac_cv_path_install
15321 else
15322 # As a last resort, use the slow shell script. We don't cache a
15323 # path for INSTALL within a source directory, because that will
15324 # break other packages using the cache if that directory is
15325 # removed, or if the path is relative.
15326 INSTALL=$ac_install_sh
15327 fi
15328 fi
15329 echo "$as_me:$LINENO: result: $INSTALL" >&5
15330 echo "${ECHO_T}$INSTALL" >&6
15331
15332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15333 # It thinks the first close brace ends the variable substitution.
15334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15335
15336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15337
15338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15339
15340
15341 case ${INSTALL} in
15342 /* ) # Absolute
15343 ;;
15344 ?:* ) # Drive letter, considered as absolute.
15345 ;;
15346 *)
15347 INSTALL=`pwd`/${INSTALL} ;;
15348 esac
15349
15350
15351 case "${host}" in
15352
15353 *-*-darwin* )
15354 INSTALL_PROGRAM="cp -fp"
15355 INSTALL_DATA="cp -fp"
15356 ;;
15357 *)
15358 ;;
15359 esac
15360
15361 if test -n "$ac_tool_prefix"; then
15362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15363 set dummy ${ac_tool_prefix}strip; ac_word=$2
15364 echo "$as_me:$LINENO: checking for $ac_word" >&5
15365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15366 if test "${ac_cv_prog_STRIP+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 if test -n "$STRIP"; then
15370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15371 else
15372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15373 for as_dir in $PATH
15374 do
15375 IFS=$as_save_IFS
15376 test -z "$as_dir" && as_dir=.
15377 for ac_exec_ext in '' $ac_executable_extensions; do
15378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15379 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15381 break 2
15382 fi
15383 done
15384 done
15385
15386 fi
15387 fi
15388 STRIP=$ac_cv_prog_STRIP
15389 if test -n "$STRIP"; then
15390 echo "$as_me:$LINENO: result: $STRIP" >&5
15391 echo "${ECHO_T}$STRIP" >&6
15392 else
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15395 fi
15396
15397 fi
15398 if test -z "$ac_cv_prog_STRIP"; then
15399 ac_ct_STRIP=$STRIP
15400 # Extract the first word of "strip", so it can be a program name with args.
15401 set dummy strip; ac_word=$2
15402 echo "$as_me:$LINENO: checking for $ac_word" >&5
15403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15404 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 if test -n "$ac_ct_STRIP"; then
15408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15409 else
15410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15411 for as_dir in $PATH
15412 do
15413 IFS=$as_save_IFS
15414 test -z "$as_dir" && as_dir=.
15415 for ac_exec_ext in '' $ac_executable_extensions; do
15416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_prog_ac_ct_STRIP="strip"
15418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15419 break 2
15420 fi
15421 done
15422 done
15423
15424 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15425 fi
15426 fi
15427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15428 if test -n "$ac_ct_STRIP"; then
15429 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15430 echo "${ECHO_T}$ac_ct_STRIP" >&6
15431 else
15432 echo "$as_me:$LINENO: result: no" >&5
15433 echo "${ECHO_T}no" >&6
15434 fi
15435
15436 STRIP=$ac_ct_STRIP
15437 else
15438 STRIP="$ac_cv_prog_STRIP"
15439 fi
15440
15441
15442 if test "$wxUSE_WINE" = "yes"; then
15443 if test -n "$ac_tool_prefix"; then
15444 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15445 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15446 echo "$as_me:$LINENO: checking for $ac_word" >&5
15447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15448 if test "${ac_cv_prog_WINDRES+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15451 if test -n "$WINDRES"; then
15452 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15453 else
15454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15455 for as_dir in $PATH
15456 do
15457 IFS=$as_save_IFS
15458 test -z "$as_dir" && as_dir=.
15459 for ac_exec_ext in '' $ac_executable_extensions; do
15460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15461 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15463 break 2
15464 fi
15465 done
15466 done
15467
15468 fi
15469 fi
15470 WINDRES=$ac_cv_prog_WINDRES
15471 if test -n "$WINDRES"; then
15472 echo "$as_me:$LINENO: result: $WINDRES" >&5
15473 echo "${ECHO_T}$WINDRES" >&6
15474 else
15475 echo "$as_me:$LINENO: result: no" >&5
15476 echo "${ECHO_T}no" >&6
15477 fi
15478
15479 fi
15480 if test -z "$ac_cv_prog_WINDRES"; then
15481 ac_ct_WINDRES=$WINDRES
15482 # Extract the first word of "wrc", so it can be a program name with args.
15483 set dummy wrc; ac_word=$2
15484 echo "$as_me:$LINENO: checking for $ac_word" >&5
15485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15486 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 if test -n "$ac_ct_WINDRES"; then
15490 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15491 else
15492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15493 for as_dir in $PATH
15494 do
15495 IFS=$as_save_IFS
15496 test -z "$as_dir" && as_dir=.
15497 for ac_exec_ext in '' $ac_executable_extensions; do
15498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15499 ac_cv_prog_ac_ct_WINDRES="wrc"
15500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15501 break 2
15502 fi
15503 done
15504 done
15505
15506 fi
15507 fi
15508 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15509 if test -n "$ac_ct_WINDRES"; then
15510 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15511 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15512 else
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15515 fi
15516
15517 WINDRES=$ac_ct_WINDRES
15518 else
15519 WINDRES="$ac_cv_prog_WINDRES"
15520 fi
15521
15522 RESCOMP="$WINDRES"
15523 else
15524 case "${host}" in
15525 *-*-cygwin* | *-*-mingw32* )
15526 if test -n "$ac_tool_prefix"; then
15527 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15528 set dummy ${ac_tool_prefix}windres; ac_word=$2
15529 echo "$as_me:$LINENO: checking for $ac_word" >&5
15530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15531 if test "${ac_cv_prog_WINDRES+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 else
15534 if test -n "$WINDRES"; then
15535 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15536 else
15537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15538 for as_dir in $PATH
15539 do
15540 IFS=$as_save_IFS
15541 test -z "$as_dir" && as_dir=.
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15544 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15546 break 2
15547 fi
15548 done
15549 done
15550
15551 fi
15552 fi
15553 WINDRES=$ac_cv_prog_WINDRES
15554 if test -n "$WINDRES"; then
15555 echo "$as_me:$LINENO: result: $WINDRES" >&5
15556 echo "${ECHO_T}$WINDRES" >&6
15557 else
15558 echo "$as_me:$LINENO: result: no" >&5
15559 echo "${ECHO_T}no" >&6
15560 fi
15561
15562 fi
15563 if test -z "$ac_cv_prog_WINDRES"; then
15564 ac_ct_WINDRES=$WINDRES
15565 # Extract the first word of "windres", so it can be a program name with args.
15566 set dummy windres; ac_word=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15572 if test -n "$ac_ct_WINDRES"; then
15573 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15574 else
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15577 do
15578 IFS=$as_save_IFS
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_ac_ct_WINDRES="windres"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15584 break 2
15585 fi
15586 done
15587 done
15588
15589 fi
15590 fi
15591 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15592 if test -n "$ac_ct_WINDRES"; then
15593 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15594 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15595 else
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15598 fi
15599
15600 WINDRES=$ac_ct_WINDRES
15601 else
15602 WINDRES="$ac_cv_prog_WINDRES"
15603 fi
15604
15605 RESCOMP="$WINDRES"
15606 if test -n "$ac_tool_prefix"; then
15607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15609 echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15611 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 if test -n "$DLLTOOL"; then
15615 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15616 else
15617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15618 for as_dir in $PATH
15619 do
15620 IFS=$as_save_IFS
15621 test -z "$as_dir" && as_dir=.
15622 for ac_exec_ext in '' $ac_executable_extensions; do
15623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15624 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15626 break 2
15627 fi
15628 done
15629 done
15630
15631 fi
15632 fi
15633 DLLTOOL=$ac_cv_prog_DLLTOOL
15634 if test -n "$DLLTOOL"; then
15635 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15636 echo "${ECHO_T}$DLLTOOL" >&6
15637 else
15638 echo "$as_me:$LINENO: result: no" >&5
15639 echo "${ECHO_T}no" >&6
15640 fi
15641
15642 fi
15643 if test -z "$ac_cv_prog_DLLTOOL"; then
15644 ac_ct_DLLTOOL=$DLLTOOL
15645 # Extract the first word of "dlltool", so it can be a program name with args.
15646 set dummy dlltool; ac_word=$2
15647 echo "$as_me:$LINENO: checking for $ac_word" >&5
15648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15649 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 if test -n "$ac_ct_DLLTOOL"; then
15653 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15654 else
15655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15656 for as_dir in $PATH
15657 do
15658 IFS=$as_save_IFS
15659 test -z "$as_dir" && as_dir=.
15660 for ac_exec_ext in '' $ac_executable_extensions; do
15661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15662 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 break 2
15665 fi
15666 done
15667 done
15668
15669 fi
15670 fi
15671 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15672 if test -n "$ac_ct_DLLTOOL"; then
15673 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15674 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15675 else
15676 echo "$as_me:$LINENO: result: no" >&5
15677 echo "${ECHO_T}no" >&6
15678 fi
15679
15680 DLLTOOL=$ac_ct_DLLTOOL
15681 else
15682 DLLTOOL="$ac_cv_prog_DLLTOOL"
15683 fi
15684
15685 ;;
15686 esac
15687 fi
15688
15689 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15690 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15691 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694
15695 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15696 egrep -s GNU > /dev/null); then
15697 wx_cv_prog_makeisgnu="yes"
15698 else
15699 wx_cv_prog_makeisgnu="no"
15700 fi
15701
15702 fi
15703 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15704 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15705
15706 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15707 IF_GNU_MAKE=""
15708 else
15709 IF_GNU_MAKE="#"
15710 fi
15711
15712
15713
15714 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15715 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15716 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15717 if test "${wx_cv_prog_makevpath+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15720
15721 cat - << EOF > confMake
15722 check : file
15723 cp \$? \$@
15724 cp \$? final_file
15725 EOF
15726
15727 if test ! -d sub ; then
15728 mkdir sub
15729 fi
15730 echo dummy > sub/file
15731 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15732 RESULT=$?
15733 rm -f sub/file check final_file confMake
15734 rmdir sub
15735 if test "$RESULT" = 0; then
15736 wx_cv_prog_makevpath="yes"
15737 else
15738 wx_cv_prog_makevpath="no"
15739 fi
15740
15741 fi
15742 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15743 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15744
15745 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15746 { { echo "$as_me:$LINENO: error:
15747 You need a make-utility that is able to use the variable
15748 VPATH correctly.
15749 If your version of make does not support VPATH correctly,
15750 please install GNU-make (possibly as gmake), and start
15751 configure with the following command:
15752 export MAKE=gmake; ./configure for sh-type shells
15753 setenv MAKE gmake; ./configure for csh-type shells
15754 Also please do remember to use gmake in this case every time
15755 you are trying to compile.
15756 " >&5
15757 echo "$as_me: error:
15758 You need a make-utility that is able to use the variable
15759 VPATH correctly.
15760 If your version of make does not support VPATH correctly,
15761 please install GNU-make (possibly as gmake), and start
15762 configure with the following command:
15763 export MAKE=gmake; ./configure for sh-type shells
15764 setenv MAKE gmake; ./configure for csh-type shells
15765 Also please do remember to use gmake in this case every time
15766 you are trying to compile.
15767 " >&2;}
15768 { (exit 1); exit 1; }; }
15769 fi fi
15770 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15771 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15772 LN_S=$as_ln_s
15773 if test "$LN_S" = "ln -s"; then
15774 echo "$as_me:$LINENO: result: yes" >&5
15775 echo "${ECHO_T}yes" >&6
15776 else
15777 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15778 echo "${ECHO_T}no, using $LN_S" >&6
15779 fi
15780
15781
15782
15783
15784 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15785 CXXFLAGS="-qunique $CXXFLAGS"
15786 fi
15787
15788 case "${host}" in
15789 powerpc-*-darwin* )
15790 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15791 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798
15799 int
15800 main ()
15801 {
15802 #ifndef __POWERPC__
15803 choke me for lack of PowerPC
15804 #endif
15805
15806 ;
15807 return 0;
15808 }
15809 _ACEOF
15810 rm -f conftest.$ac_objext
15811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15812 (eval $ac_compile) 2>conftest.er1
15813 ac_status=$?
15814 grep -v '^ *+' conftest.er1 >conftest.err
15815 rm -f conftest.er1
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15828 ac_status=$?
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 echo "$as_me:$LINENO: result: yes" >&5
15832 echo "${ECHO_T}yes" >&6
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15836
15837 echo "$as_me:$LINENO: result: no" >&5
15838 echo "${ECHO_T}no" >&6
15839 cat >>confdefs.h <<\_ACEOF
15840 #define __POWERPC__ 1
15841 _ACEOF
15842
15843
15844 fi
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15846 ;;
15847 esac
15848
15849 case "${host}" in
15850 *-*-darwin* )
15851 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15852 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 #include <CoreFoundation/CFBase.h>
15860
15861 int
15862 main ()
15863 {
15864
15865 ;
15866 return 0;
15867 }
15868 _ACEOF
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 echo "$as_me:$LINENO: result: yes" >&5
15891 echo "${ECHO_T}yes" >&6
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 echo "$as_me:$LINENO: result: no" >&5
15897 echo "${ECHO_T}no" >&6
15898 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15899 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #define __CF_USE_FRAMEWORK_INCLUDES__
15907 #include <CoreFoundation/CFBase.h>
15908
15909 int
15910 main ()
15911 {
15912
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 echo "$as_me:$LINENO: result: yes" >&5
15939 echo "${ECHO_T}yes" >&6
15940 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15941 else
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15946 See \`config.log' for more details." >&5
15947 echo "$as_me: error: no. CoreFoundation not available.
15948 See \`config.log' for more details." >&2;}
15949 { (exit 1); exit 1; }; }
15950
15951 fi
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15953
15954
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957 ;;
15958 esac
15959
15960 wants_win32=0
15961 doesnt_want_win32=0
15962 case "${host}" in
15963 *-*-cygwin*)
15964 if test "$wxUSE_MSW" = 1 ; then
15965 wants_win32=1
15966 else
15967 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15968 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15969 if test "${wx_cv_nocygwin+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979
15980 int
15981 main ()
15982 {
15983
15984 #ifdef __MINGW32__
15985 choke me
15986 #endif
15987
15988 ;
15989 return 0;
15990 }
15991 _ACEOF
15992 rm -f conftest.$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15995 ac_status=$?
15996 grep -v '^ *+' conftest.er1 >conftest.err
15997 rm -f conftest.er1
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16004 ac_status=$?
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; } &&
16007 { ac_try='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 wx_cv_nocygwin=no
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16017
16018 wx_cv_nocygwin=yes
16019
16020 fi
16021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16022
16023
16024 fi
16025 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16026 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16027
16028 if test "$wx_cv_nocygwin" = "yes"; then
16029 wants_win32=1
16030 else
16031 doesnt_want_win32=1
16032 fi
16033 fi
16034 if test "$wants_win32" = 1 ; then
16035 BAKEFILE_FORCE_PLATFORM=win32
16036 fi
16037 ;;
16038 *-*-mingw*)
16039 wants_win32=1
16040 ;;
16041 esac
16042
16043 if test "$wxUSE_WINE" = "yes"; then
16044 wants_win32=1
16045 CC=winegcc
16046 CXX=wineg++
16047 LDFLAGS_GUI="-mwindows"
16048 fi
16049
16050 if test "$wants_win32" = 1 ; then
16051 USE_UNIX=0
16052 USE_WIN32=1
16053 cat >>confdefs.h <<\_ACEOF
16054 #define __WIN32__ 1
16055 _ACEOF
16056
16057 cat >>confdefs.h <<\_ACEOF
16058 #define __WIN95__ 1
16059 _ACEOF
16060
16061 cat >>confdefs.h <<\_ACEOF
16062 #define __WINDOWS__ 1
16063 _ACEOF
16064
16065 cat >>confdefs.h <<\_ACEOF
16066 #define __GNUWIN32__ 1
16067 _ACEOF
16068
16069 cat >>confdefs.h <<\_ACEOF
16070 #define STRICT 1
16071 _ACEOF
16072
16073 fi
16074 if test "$doesnt_want_win32" = 1 ; then
16075 USE_UNIX=1
16076 USE_WIN32=0
16077 fi
16078
16079 if test "$USE_UNIX" = 1 ; then
16080 wxUSE_UNIX=yes
16081 cat >>confdefs.h <<\_ACEOF
16082 #define __UNIX__ 1
16083 _ACEOF
16084
16085 fi
16086
16087 case "${host}" in
16088 *-pc-os2_emx | *-pc-os2-emx )
16089 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16090 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16091 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16092 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 ac_check_lib_save_LIBS=$LIBS
16096 LIBS="-lcExt $LIBS"
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 #ifdef __cplusplus
16106 extern "C"
16107 #endif
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16110 char drand48 ();
16111 int
16112 main ()
16113 {
16114 drand48 ();
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try='test -s conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_lib_cExt_drand48=yes
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 ac_cv_lib_cExt_drand48=no
16146 fi
16147 rm -f conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16149 LIBS=$ac_check_lib_save_LIBS
16150 fi
16151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16153 if test $ac_cv_lib_cExt_drand48 = yes; then
16154 LIBS="$LIBS -lcExt"
16155 fi
16156
16157 else
16158 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16159 fi
16160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16162 if test "${wx_cv_gccversion+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165
16166 if test "$cross_compiling" = yes; then
16167 wx_cv_gccversion="EMX2"
16168
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176
16177 #include <stdio.h>
16178
16179 int main()
16180 {
16181 FILE *f=fopen("conftestval", "w");
16182 if (!f) exit(1);
16183 fprintf(f,
16184 #if (__GNUC__ < 3)
16185 "EMX2"
16186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16187 "EMX3"
16188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16189 "Innotek5"
16190 #else
16191 "Innotek6"
16192 #endif
16193 );
16194 exit(0);
16195 }
16196
16197 _ACEOF
16198 rm -f conftest$ac_exeext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16200 (eval $ac_link) 2>&5
16201 ac_status=$?
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 wx_cv_gccversion=`cat conftestval`
16210 else
16211 echo "$as_me: program exited with status $ac_status" >&5
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16214
16215 ( exit $ac_status )
16216 wx_cv_gccversion="EMX2"
16217 fi
16218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16219 fi
16220
16221 fi
16222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16223 echo "${ECHO_T}$wx_cv_gccversion" >&6
16224 if test "$wx_cv_gccversion" = "EMX2"; then
16225 LIBS="$LIBS -lstdcpp"
16226 LDFLAGS="$LDFLAGS -Zsysv-signals"
16227 else
16228 if test "$wx_cv_gccversion" = "EMX3"; then
16229 LIBS="$LIBS -lstdcxx -lgcc"
16230 LDFLAGS="$LDFLAGS -Zsysv-signals"
16231 else
16232 LIBS="$LIBS -lstdc++"
16233 fi
16234 fi
16235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16238 wxUSE_OMF=yes
16239 enable_omf=yes
16240 fi
16241 ;;
16242 *)
16243
16244 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16245 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16246 if test "${ac_cv_string_strcasecmp+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256
16257 #include <string.h>
16258
16259 int
16260 main ()
16261 {
16262
16263 strcasecmp("foo", "bar");
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext conftest$ac_exeext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16271 (eval $ac_link) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_cv_string_strcasecmp=yes
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_cv_string_strcasecmp=no
16296
16297 fi
16298 rm -f conftest.err conftest.$ac_objext \
16299 conftest$ac_exeext conftest.$ac_ext
16300
16301 fi
16302 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16303 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16304
16305 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16306 cat >>confdefs.h <<\_ACEOF
16307 #define HAVE_STRCASECMP_IN_STRING_H 1
16308 _ACEOF
16309
16310 else
16311 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16312 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16313 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323
16324 #include <strings.h>
16325
16326 int
16327 main ()
16328 {
16329
16330 strcasecmp("foo", "bar");
16331
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_strings_strcasecmp=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ac_cv_strings_strcasecmp=no
16363
16364 fi
16365 rm -f conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16370 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16371
16372 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16373 cat >>confdefs.h <<\_ACEOF
16374 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16375 _ACEOF
16376
16377 else
16378 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16379 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16380 { (exit 1); exit 1; }; }
16381 fi
16382 fi
16383
16384 ;;
16385 esac
16386
16387
16388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16390 if test "${ac_cv_header_stdc+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 #include <stdlib.h>
16400 #include <stdarg.h>
16401 #include <string.h>
16402 #include <float.h>
16403
16404 int
16405 main ()
16406 {
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 rm -f conftest.$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16430 ac_status=$?
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_header_stdc=yes
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 ac_cv_header_stdc=no
16439 fi
16440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16441
16442 if test $ac_cv_header_stdc = yes; then
16443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <string.h>
16451
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "memchr" >/dev/null 2>&1; then
16455 :
16456 else
16457 ac_cv_header_stdc=no
16458 fi
16459 rm -f conftest*
16460
16461 fi
16462
16463 if test $ac_cv_header_stdc = yes; then
16464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <stdlib.h>
16472
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "free" >/dev/null 2>&1; then
16476 :
16477 else
16478 ac_cv_header_stdc=no
16479 fi
16480 rm -f conftest*
16481
16482 fi
16483
16484 if test $ac_cv_header_stdc = yes; then
16485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16486 if test "$cross_compiling" = yes; then
16487 :
16488 else
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <ctype.h>
16496 #if ((' ' & 0x0FF) == 0x020)
16497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16499 #else
16500 # define ISLOWER(c) \
16501 (('a' <= (c) && (c) <= 'i') \
16502 || ('j' <= (c) && (c) <= 'r') \
16503 || ('s' <= (c) && (c) <= 'z'))
16504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16505 #endif
16506
16507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16508 int
16509 main ()
16510 {
16511 int i;
16512 for (i = 0; i < 256; i++)
16513 if (XOR (islower (i), ISLOWER (i))
16514 || toupper (i) != TOUPPER (i))
16515 exit(2);
16516 exit (0);
16517 }
16518 _ACEOF
16519 rm -f conftest$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 :
16531 else
16532 echo "$as_me: program exited with status $ac_status" >&5
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16535
16536 ( exit $ac_status )
16537 ac_cv_header_stdc=no
16538 fi
16539 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540 fi
16541 fi
16542 fi
16543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16545 if test $ac_cv_header_stdc = yes; then
16546
16547 cat >>confdefs.h <<\_ACEOF
16548 #define STDC_HEADERS 1
16549 _ACEOF
16550
16551 fi
16552
16553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16564 inttypes.h stdint.h unistd.h
16565 do
16566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16579
16580 #include <$ac_header>
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 eval "$as_ac_Header=no"
16609 fi
16610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16611 fi
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h <<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 _ACEOF
16618
16619 fi
16620
16621 done
16622
16623
16624
16625
16626
16627
16628
16629
16630 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16631 do
16632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 fi
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 else
16642 # Is the header compilable?
16643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 #include <$ac_header>
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; } &&
16669 { ac_try='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 ac_header_compiler=yes
16676 else
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 ac_header_compiler=no
16681 fi
16682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16684 echo "${ECHO_T}$ac_header_compiler" >&6
16685
16686 # Is the header present?
16687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include <$ac_header>
16696 _ACEOF
16697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } >/dev/null; then
16705 if test -s conftest.err; then
16706 ac_cpp_err=$ac_c_preproc_warn_flag
16707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16708 else
16709 ac_cpp_err=
16710 fi
16711 else
16712 ac_cpp_err=yes
16713 fi
16714 if test -z "$ac_cpp_err"; then
16715 ac_header_preproc=yes
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ac_header_preproc=no
16721 fi
16722 rm -f conftest.err conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16724 echo "${ECHO_T}$ac_header_preproc" >&6
16725
16726 # So? What about this header?
16727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16728 yes:no: )
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16733 ac_header_preproc=yes
16734 ;;
16735 no:yes:* )
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16748 (
16749 cat <<\_ASBOX
16750 ## ----------------------------------------- ##
16751 ## Report this to wx-dev@lists.wxwidgets.org ##
16752 ## ----------------------------------------- ##
16753 _ASBOX
16754 ) |
16755 sed "s/^/$as_me: WARNING: /" >&2
16756 ;;
16757 esac
16758 echo "$as_me:$LINENO: checking for $ac_header" >&5
16759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 eval "$as_ac_Header=\$ac_header_preproc"
16764 fi
16765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16767
16768 fi
16769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16770 cat >>confdefs.h <<_ACEOF
16771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16772 _ACEOF
16773
16774 fi
16775
16776 done
16777
16778
16779 if test "$ac_cv_header_wchar_h" != "yes"; then
16780
16781 for ac_header in wcstr.h
16782 do
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 fi
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 else
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16817 ac_status=$?
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_header_compiler=yes
16827 else
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16830
16831 ac_header_compiler=no
16832 fi
16833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16835 echo "${ECHO_T}$ac_header_compiler" >&6
16836
16837 # Is the header present?
16838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <$ac_header>
16847 _ACEOF
16848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } >/dev/null; then
16856 if test -s conftest.err; then
16857 ac_cpp_err=$ac_c_preproc_warn_flag
16858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16859 else
16860 ac_cpp_err=
16861 fi
16862 else
16863 ac_cpp_err=yes
16864 fi
16865 if test -z "$ac_cpp_err"; then
16866 ac_header_preproc=yes
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871 ac_header_preproc=no
16872 fi
16873 rm -f conftest.err conftest.$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16875 echo "${ECHO_T}$ac_header_preproc" >&6
16876
16877 # So? What about this header?
16878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16879 yes:no: )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16884 ac_header_preproc=yes
16885 ;;
16886 no:yes:* )
16887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16899 (
16900 cat <<\_ASBOX
16901 ## ----------------------------------------- ##
16902 ## Report this to wx-dev@lists.wxwidgets.org ##
16903 ## ----------------------------------------- ##
16904 _ASBOX
16905 ) |
16906 sed "s/^/$as_me: WARNING: /" >&2
16907 ;;
16908 esac
16909 echo "$as_me:$LINENO: checking for $ac_header" >&5
16910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 eval "$as_ac_Header=\$ac_header_preproc"
16915 fi
16916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16918
16919 fi
16920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16921 cat >>confdefs.h <<_ACEOF
16922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16923 _ACEOF
16924
16925 fi
16926
16927 done
16928
16929 fi
16930
16931 case "${host}" in
16932 *-pc-os2_emx | *-pc-os2-emx )
16933 if test $ac_cv_header_langinfo_h = "yes" \
16934 -a \( "$wx_cv_gccversion" = "EMX2" \
16935 -o "$wx_cv_gccversion" = "EMX3" \
16936 -o "$wx_cv_gccversion" = "Innotek5" \); then
16937 LIBS="$LIBS -lintl"
16938 fi
16939 ;;
16940 esac
16941
16942 if test "$USE_UNIX" = 1 ; then
16943
16944 for ac_header in sys/select.h
16945 do
16946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16948 echo "$as_me:$LINENO: checking for $ac_header" >&5
16949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 fi
16953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16955 else
16956 # Is the header compilable?
16957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 $ac_includes_default
16966 #include <$ac_header>
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_header_compiler=yes
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16993
16994 ac_header_compiler=no
16995 fi
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16998 echo "${ECHO_T}$ac_header_compiler" >&6
16999
17000 # Is the header present?
17001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <$ac_header>
17010 _ACEOF
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev/null; then
17019 if test -s conftest.err; then
17020 ac_cpp_err=$ac_c_preproc_warn_flag
17021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025 else
17026 ac_cpp_err=yes
17027 fi
17028 if test -z "$ac_cpp_err"; then
17029 ac_header_preproc=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 ac_header_preproc=no
17035 fi
17036 rm -f conftest.err conftest.$ac_ext
17037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17038 echo "${ECHO_T}$ac_header_preproc" >&6
17039
17040 # So? What about this header?
17041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17042 yes:no: )
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17047 ac_header_preproc=yes
17048 ;;
17049 no:yes:* )
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17062 (
17063 cat <<\_ASBOX
17064 ## ----------------------------------------- ##
17065 ## Report this to wx-dev@lists.wxwidgets.org ##
17066 ## ----------------------------------------- ##
17067 _ASBOX
17068 ) |
17069 sed "s/^/$as_me: WARNING: /" >&2
17070 ;;
17071 esac
17072 echo "$as_me:$LINENO: checking for $ac_header" >&5
17073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17075 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 else
17077 eval "$as_ac_Header=\$ac_header_preproc"
17078 fi
17079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17081
17082 fi
17083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17084 cat >>confdefs.h <<_ACEOF
17085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17086 _ACEOF
17087
17088 fi
17089
17090 done
17091
17092 fi
17093
17094
17095 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17096 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17097 if test "${ac_cv_c_const+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 cat >conftest.$ac_ext <<_ACEOF
17101 /* confdefs.h. */
17102 _ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106
17107 int
17108 main ()
17109 {
17110 /* FIXME: Include the comments suggested by Paul. */
17111 #ifndef __cplusplus
17112 /* Ultrix mips cc rejects this. */
17113 typedef int charset[2];
17114 const charset x;
17115 /* SunOS 4.1.1 cc rejects this. */
17116 char const *const *ccp;
17117 char **p;
17118 /* NEC SVR4.0.2 mips cc rejects this. */
17119 struct point {int x, y;};
17120 static struct point const zero = {0,0};
17121 /* AIX XL C 1.02.0.0 rejects this.
17122 It does not let you subtract one const X* pointer from another in
17123 an arm of an if-expression whose if-part is not a constant
17124 expression */
17125 const char *g = "string";
17126 ccp = &g + (g ? g-g : 0);
17127 /* HPUX 7.0 cc rejects these. */
17128 ++ccp;
17129 p = (char**) ccp;
17130 ccp = (char const *const *) p;
17131 { /* SCO 3.2v4 cc rejects this. */
17132 char *t;
17133 char const *s = 0 ? (char *) 0 : (char const *) 0;
17134
17135 *t++ = 0;
17136 }
17137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17138 int x[] = {25, 17};
17139 const int *foo = &x[0];
17140 ++foo;
17141 }
17142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17143 typedef const int *iptr;
17144 iptr p = 0;
17145 ++p;
17146 }
17147 { /* AIX XL C 1.02.0.0 rejects this saying
17148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17149 struct s { int j; const int *ap[3]; };
17150 struct s *b; b->j = 5;
17151 }
17152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17153 const int foo = 10;
17154 }
17155 #endif
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try='test -s conftest.$ac_objext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17182 ac_cv_c_const=yes
17183 else
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 ac_cv_c_const=no
17188 fi
17189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17190 fi
17191 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17192 echo "${ECHO_T}$ac_cv_c_const" >&6
17193 if test $ac_cv_c_const = no; then
17194
17195 cat >>confdefs.h <<\_ACEOF
17196 #define const
17197 _ACEOF
17198
17199 fi
17200
17201 echo "$as_me:$LINENO: checking for inline" >&5
17202 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17203 if test "${ac_cv_c_inline+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_cv_c_inline=no
17207 for ac_kw in inline __inline__ __inline; do
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #ifndef __cplusplus
17215 typedef int foo_t;
17216 static $ac_kw foo_t static_foo () {return 0; }
17217 $ac_kw foo_t foo () {return 0; }
17218 #endif
17219
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17233 ac_status=$?
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_c_inline=$ac_kw; break
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 fi
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 done
17250
17251 fi
17252 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17253 echo "${ECHO_T}$ac_cv_c_inline" >&6
17254
17255
17256 case $ac_cv_c_inline in
17257 inline | yes) ;;
17258 *)
17259 case $ac_cv_c_inline in
17260 no) ac_val=;;
17261 *) ac_val=$ac_cv_c_inline;;
17262 esac
17263 cat >>confdefs.h <<_ACEOF
17264 #ifndef __cplusplus
17265 #define inline $ac_val
17266 #endif
17267 _ACEOF
17268 ;;
17269 esac
17270
17271
17272 echo "$as_me:$LINENO: checking for char" >&5
17273 echo $ECHO_N "checking for char... $ECHO_C" >&6
17274 if test "${ac_cv_type_char+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17284 int
17285 main ()
17286 {
17287 if ((char *) 0)
17288 return 0;
17289 if (sizeof (char))
17290 return 0;
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17307 ac_status=$?
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; } &&
17310 { ac_try='test -s conftest.$ac_objext'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; }; then
17316 ac_cv_type_char=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_cv_type_char=no
17322 fi
17323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324 fi
17325 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17326 echo "${ECHO_T}$ac_cv_type_char" >&6
17327
17328 echo "$as_me:$LINENO: checking size of char" >&5
17329 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17330 if test "${ac_cv_sizeof_char+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17333 if test "$ac_cv_type_char" = yes; then
17334 # The cast to unsigned long works around a bug in the HP C Compiler
17335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17337 # This bug is HP SR number 8606223364.
17338 if test "$cross_compiling" = yes; then
17339 # Depending upon the size, compute the lo and hi bounds.
17340 cat >conftest.$ac_ext <<_ACEOF
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 int
17348 main ()
17349 {
17350 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17351 test_array [0] = 0
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17369 ac_status=$?
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try='test -s conftest.$ac_objext'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; }; then
17378 ac_lo=0 ac_mid=0
17379 while :; do
17380 cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h. */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 $ac_includes_default
17387 int
17388 main ()
17389 {
17390 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17391 test_array [0] = 0
17392
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_hi=$ac_mid; break
17419 else
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17422
17423 ac_lo=`expr $ac_mid + 1`
17424 if test $ac_lo -le $ac_mid; then
17425 ac_lo= ac_hi=
17426 break
17427 fi
17428 ac_mid=`expr 2 '*' $ac_mid + 1`
17429 fi
17430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17431 done
17432 else
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.$ac_ext >&5
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17443 int
17444 main ()
17445 {
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17447 test_array [0] = 0
17448
17449 ;
17450 return 0;
17451 }
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_hi=-1 ac_mid=-1
17475 while :; do
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17483 int
17484 main ()
17485 {
17486 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17487 test_array [0] = 0
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_lo=$ac_mid; break
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17518
17519 ac_hi=`expr '(' $ac_mid ')' - 1`
17520 if test $ac_mid -le $ac_hi; then
17521 ac_lo= ac_hi=
17522 break
17523 fi
17524 ac_mid=`expr 2 '*' $ac_mid`
17525 fi
17526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17527 done
17528 else
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.$ac_ext >&5
17531
17532 ac_lo= ac_hi=
17533 fi
17534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17535 fi
17536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 # Binary search between lo and hi bounds.
17538 while test "x$ac_lo" != "x$ac_hi"; do
17539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi=$ac_mid
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr '(' $ac_mid ')' + 1`
17584 fi
17585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17586 done
17587 case $ac_lo in
17588 ?*) ac_cv_sizeof_char=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593 { (exit 1); exit 1; }; } ;;
17594 esac
17595 else
17596 if test "$cross_compiling" = yes; then
17597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17599 { (exit 1); exit 1; }; }
17600 else
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 long longval () { return (long) (sizeof (char)); }
17609 unsigned long ulongval () { return (long) (sizeof (char)); }
17610 #include <stdio.h>
17611 #include <stdlib.h>
17612 int
17613 main ()
17614 {
17615
17616 FILE *f = fopen ("conftest.val", "w");
17617 if (! f)
17618 exit (1);
17619 if (((long) (sizeof (char))) < 0)
17620 {
17621 long i = longval ();
17622 if (i != ((long) (sizeof (char))))
17623 exit (1);
17624 fprintf (f, "%ld\n", i);
17625 }
17626 else
17627 {
17628 unsigned long i = ulongval ();
17629 if (i != ((long) (sizeof (char))))
17630 exit (1);
17631 fprintf (f, "%lu\n", i);
17632 }
17633 exit (ferror (f) || fclose (f) != 0);
17634
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 rm -f conftest$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>&5
17642 ac_status=$?
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_sizeof_char=`cat conftest.val`
17651 else
17652 echo "$as_me: program exited with status $ac_status" >&5
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17655
17656 ( exit $ac_status )
17657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; }
17662 fi
17663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17664 fi
17665 fi
17666 rm -f conftest.val
17667 else
17668 ac_cv_sizeof_char=0
17669 fi
17670 fi
17671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17673 cat >>confdefs.h <<_ACEOF
17674 #define SIZEOF_CHAR $ac_cv_sizeof_char
17675 _ACEOF
17676
17677
17678 echo "$as_me:$LINENO: checking for short" >&5
17679 echo $ECHO_N "checking for short... $ECHO_C" >&6
17680 if test "${ac_cv_type_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 if ((short *) 0)
17694 return 0;
17695 if (sizeof (short))
17696 return 0;
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_cv_type_short=yes
17723 else
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ac_cv_type_short=no
17728 fi
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17730 fi
17731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17732 echo "${ECHO_T}$ac_cv_type_short" >&6
17733
17734 echo "$as_me:$LINENO: checking size of short" >&5
17735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17736 if test "${ac_cv_sizeof_short+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 if test "$ac_cv_type_short" = yes; then
17740 # The cast to unsigned long works around a bug in the HP C Compiler
17741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17743 # This bug is HP SR number 8606223364.
17744 if test "$cross_compiling" = yes; then
17745 # Depending upon the size, compute the lo and hi bounds.
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17753 int
17754 main ()
17755 {
17756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17757 test_array [0] = 0
17758
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 rm -f conftest.$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17775 ac_status=$?
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try='test -s conftest.$ac_objext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 ac_lo=0 ac_mid=0
17785 while :; do
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 int
17794 main ()
17795 {
17796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17797 test_array [0] = 0
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17806 ac_status=$?
17807 grep -v '^ *+' conftest.er1 >conftest.err
17808 rm -f conftest.er1
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_hi=$ac_mid; break
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_lo=`expr $ac_mid + 1`
17830 if test $ac_lo -le $ac_mid; then
17831 ac_lo= ac_hi=
17832 break
17833 fi
17834 ac_mid=`expr 2 '*' $ac_mid + 1`
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 done
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17841
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17853 test_array [0] = 0
17854
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_hi=-1 ac_mid=-1
17881 while :; do
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 int
17890 main ()
17891 {
17892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17893 test_array [0] = 0
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17920 ac_lo=$ac_mid; break
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17924
17925 ac_hi=`expr '(' $ac_mid ')' - 1`
17926 if test $ac_mid -le $ac_hi; then
17927 ac_lo= ac_hi=
17928 break
17929 fi
17930 ac_mid=`expr 2 '*' $ac_mid`
17931 fi
17932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17933 done
17934 else
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17937
17938 ac_lo= ac_hi=
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17943 # Binary search between lo and hi bounds.
17944 while test "x$ac_lo" != "x$ac_hi"; do
17945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17953 int
17954 main ()
17955 {
17956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17957 test_array [0] = 0
17958
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try='test -s conftest.$ac_objext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17984 ac_hi=$ac_mid
17985 else
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 ac_lo=`expr '(' $ac_mid ')' + 1`
17990 fi
17991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17992 done
17993 case $ac_lo in
17994 ?*) ac_cv_sizeof_short=$ac_lo;;
17995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17996 See \`config.log' for more details." >&5
17997 echo "$as_me: error: cannot compute sizeof (short), 77
17998 See \`config.log' for more details." >&2;}
17999 { (exit 1); exit 1; }; } ;;
18000 esac
18001 else
18002 if test "$cross_compiling" = yes; then
18003 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18004 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18005 { (exit 1); exit 1; }; }
18006 else
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 long longval () { return (long) (sizeof (short)); }
18015 unsigned long ulongval () { return (long) (sizeof (short)); }
18016 #include <stdio.h>
18017 #include <stdlib.h>
18018 int
18019 main ()
18020 {
18021
18022 FILE *f = fopen ("conftest.val", "w");
18023 if (! f)
18024 exit (1);
18025 if (((long) (sizeof (short))) < 0)
18026 {
18027 long i = longval ();
18028 if (i != ((long) (sizeof (short))))
18029 exit (1);
18030 fprintf (f, "%ld\n", i);
18031 }
18032 else
18033 {
18034 unsigned long i = ulongval ();
18035 if (i != ((long) (sizeof (short))))
18036 exit (1);
18037 fprintf (f, "%lu\n", i);
18038 }
18039 exit (ferror (f) || fclose (f) != 0);
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_sizeof_short=`cat conftest.val`
18057 else
18058 echo "$as_me: program exited with status $ac_status" >&5
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062 ( exit $ac_status )
18063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18064 See \`config.log' for more details." >&5
18065 echo "$as_me: error: cannot compute sizeof (short), 77
18066 See \`config.log' for more details." >&2;}
18067 { (exit 1); exit 1; }; }
18068 fi
18069 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18070 fi
18071 fi
18072 rm -f conftest.val
18073 else
18074 ac_cv_sizeof_short=0
18075 fi
18076 fi
18077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18078 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18079 cat >>confdefs.h <<_ACEOF
18080 #define SIZEOF_SHORT $ac_cv_sizeof_short
18081 _ACEOF
18082
18083
18084 echo "$as_me:$LINENO: checking for void *" >&5
18085 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18086 if test "${ac_cv_type_void_p+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18096 int
18097 main ()
18098 {
18099 if ((void * *) 0)
18100 return 0;
18101 if (sizeof (void *))
18102 return 0;
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_type_void_p=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 ac_cv_type_void_p=no
18134 fi
18135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18136 fi
18137 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18138 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18139
18140 echo "$as_me:$LINENO: checking size of void *" >&5
18141 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18142 if test "${ac_cv_sizeof_void_p+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 else
18145 if test "$ac_cv_type_void_p" = yes; then
18146 # The cast to unsigned long works around a bug in the HP C Compiler
18147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18149 # This bug is HP SR number 8606223364.
18150 if test "$cross_compiling" = yes; then
18151 # Depending upon the size, compute the lo and hi bounds.
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18159 int
18160 main ()
18161 {
18162 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18163 test_array [0] = 0
18164
18165 ;
18166 return 0;
18167 }
18168 _ACEOF
18169 rm -f conftest.$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18172 ac_status=$?
18173 grep -v '^ *+' conftest.er1 >conftest.err
18174 rm -f conftest.er1
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_lo=0 ac_mid=0
18191 while :; do
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 $ac_includes_default
18199 int
18200 main ()
18201 {
18202 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18203 test_array [0] = 0
18204
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>conftest.er1
18212 ac_status=$?
18213 grep -v '^ *+' conftest.er1 >conftest.err
18214 rm -f conftest.er1
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_hi=$ac_mid; break
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ac_lo=`expr $ac_mid + 1`
18236 if test $ac_lo -le $ac_mid; then
18237 ac_lo= ac_hi=
18238 break
18239 fi
18240 ac_mid=`expr 2 '*' $ac_mid + 1`
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 done
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 cat >conftest.$ac_ext <<_ACEOF
18249 /* confdefs.h. */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18255 int
18256 main ()
18257 {
18258 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18259 test_array [0] = 0
18260
18261 ;
18262 return 0;
18263 }
18264 _ACEOF
18265 rm -f conftest.$ac_objext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18267 (eval $ac_compile) 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_hi=-1 ac_mid=-1
18287 while :; do
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18295 int
18296 main ()
18297 {
18298 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18299 test_array [0] = 0
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 ac_lo=$ac_mid; break
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ac_hi=`expr '(' $ac_mid ')' - 1`
18332 if test $ac_mid -le $ac_hi; then
18333 ac_lo= ac_hi=
18334 break
18335 fi
18336 ac_mid=`expr 2 '*' $ac_mid`
18337 fi
18338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18339 done
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 ac_lo= ac_hi=
18345 fi
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18347 fi
18348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 # Binary search between lo and hi bounds.
18350 while test "x$ac_lo" != "x$ac_hi"; do
18351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18359 int
18360 main ()
18361 {
18362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18363 test_array [0] = 0
18364
18365 ;
18366 return 0;
18367 }
18368 _ACEOF
18369 rm -f conftest.$ac_objext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18371 (eval $ac_compile) 2>conftest.er1
18372 ac_status=$?
18373 grep -v '^ *+' conftest.er1 >conftest.err
18374 rm -f conftest.er1
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_hi=$ac_mid
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_lo=`expr '(' $ac_mid ')' + 1`
18396 fi
18397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18398 done
18399 case $ac_lo in
18400 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18402 See \`config.log' for more details." >&5
18403 echo "$as_me: error: cannot compute sizeof (void *), 77
18404 See \`config.log' for more details." >&2;}
18405 { (exit 1); exit 1; }; } ;;
18406 esac
18407 else
18408 if test "$cross_compiling" = yes; then
18409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18411 { (exit 1); exit 1; }; }
18412 else
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 long longval () { return (long) (sizeof (void *)); }
18421 unsigned long ulongval () { return (long) (sizeof (void *)); }
18422 #include <stdio.h>
18423 #include <stdlib.h>
18424 int
18425 main ()
18426 {
18427
18428 FILE *f = fopen ("conftest.val", "w");
18429 if (! f)
18430 exit (1);
18431 if (((long) (sizeof (void *))) < 0)
18432 {
18433 long i = longval ();
18434 if (i != ((long) (sizeof (void *))))
18435 exit (1);
18436 fprintf (f, "%ld\n", i);
18437 }
18438 else
18439 {
18440 unsigned long i = ulongval ();
18441 if (i != ((long) (sizeof (void *))))
18442 exit (1);
18443 fprintf (f, "%lu\n", i);
18444 }
18445 exit (ferror (f) || fclose (f) != 0);
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest$ac_exeext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453 (eval $ac_link) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_sizeof_void_p=`cat conftest.val`
18463 else
18464 echo "$as_me: program exited with status $ac_status" >&5
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18467
18468 ( exit $ac_status )
18469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18470 See \`config.log' for more details." >&5
18471 echo "$as_me: error: cannot compute sizeof (void *), 77
18472 See \`config.log' for more details." >&2;}
18473 { (exit 1); exit 1; }; }
18474 fi
18475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18476 fi
18477 fi
18478 rm -f conftest.val
18479 else
18480 ac_cv_sizeof_void_p=0
18481 fi
18482 fi
18483 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18484 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18485 cat >>confdefs.h <<_ACEOF
18486 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18487 _ACEOF
18488
18489
18490 echo "$as_me:$LINENO: checking for int" >&5
18491 echo $ECHO_N "checking for int... $ECHO_C" >&6
18492 if test "${ac_cv_type_int+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 else
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 if ((int *) 0)
18506 return 0;
18507 if (sizeof (int))
18508 return 0;
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_cv_type_int=yes
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_cv_type_int=no
18540 fi
18541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18542 fi
18543 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18544 echo "${ECHO_T}$ac_cv_type_int" >&6
18545
18546 echo "$as_me:$LINENO: checking size of int" >&5
18547 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18548 if test "${ac_cv_sizeof_int+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 if test "$ac_cv_type_int" = yes; then
18552 # The cast to unsigned long works around a bug in the HP C Compiler
18553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18555 # This bug is HP SR number 8606223364.
18556 if test "$cross_compiling" = yes; then
18557 # Depending upon the size, compute the lo and hi bounds.
18558 cat >conftest.$ac_ext <<_ACEOF
18559 /* confdefs.h. */
18560 _ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 $ac_includes_default
18565 int
18566 main ()
18567 {
18568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18569 test_array [0] = 0
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18587 ac_status=$?
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; } &&
18590 { ac_try='test -s conftest.$ac_objext'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18593 ac_status=$?
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; }; then
18596 ac_lo=0 ac_mid=0
18597 while :; do
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18605 int
18606 main ()
18607 {
18608 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18609 test_array [0] = 0
18610
18611 ;
18612 return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; } &&
18630 { ac_try='test -s conftest.$ac_objext'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18636 ac_hi=$ac_mid; break
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18640
18641 ac_lo=`expr $ac_mid + 1`
18642 if test $ac_lo -le $ac_mid; then
18643 ac_lo= ac_hi=
18644 break
18645 fi
18646 ac_mid=`expr 2 '*' $ac_mid + 1`
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 done
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18653
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 int
18662 main ()
18663 {
18664 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18665 test_array [0] = 0
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_hi=-1 ac_mid=-1
18693 while :; do
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18701 int
18702 main ()
18703 {
18704 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18705 test_array [0] = 0
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; } &&
18726 { ac_try='test -s conftest.$ac_objext'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18729 ac_status=$?
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18732 ac_lo=$ac_mid; break
18733 else
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18736
18737 ac_hi=`expr '(' $ac_mid ')' - 1`
18738 if test $ac_mid -le $ac_hi; then
18739 ac_lo= ac_hi=
18740 break
18741 fi
18742 ac_mid=`expr 2 '*' $ac_mid`
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745 done
18746 else
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ac_lo= ac_hi=
18751 fi
18752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 # Binary search between lo and hi bounds.
18756 while test "x$ac_lo" != "x$ac_hi"; do
18757 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18765 int
18766 main ()
18767 {
18768 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18769 test_array [0] = 0
18770
18771 ;
18772 return 0;
18773 }
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; } &&
18790 { ac_try='test -s conftest.$ac_objext'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18796 ac_hi=$ac_mid
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18800
18801 ac_lo=`expr '(' $ac_mid ')' + 1`
18802 fi
18803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18804 done
18805 case $ac_lo in
18806 ?*) ac_cv_sizeof_int=$ac_lo;;
18807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18808 See \`config.log' for more details." >&5
18809 echo "$as_me: error: cannot compute sizeof (int), 77
18810 See \`config.log' for more details." >&2;}
18811 { (exit 1); exit 1; }; } ;;
18812 esac
18813 else
18814 if test "$cross_compiling" = yes; then
18815 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18816 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18817 { (exit 1); exit 1; }; }
18818 else
18819 cat >conftest.$ac_ext <<_ACEOF
18820 /* confdefs.h. */
18821 _ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 long longval () { return (long) (sizeof (int)); }
18827 unsigned long ulongval () { return (long) (sizeof (int)); }
18828 #include <stdio.h>
18829 #include <stdlib.h>
18830 int
18831 main ()
18832 {
18833
18834 FILE *f = fopen ("conftest.val", "w");
18835 if (! f)
18836 exit (1);
18837 if (((long) (sizeof (int))) < 0)
18838 {
18839 long i = longval ();
18840 if (i != ((long) (sizeof (int))))
18841 exit (1);
18842 fprintf (f, "%ld\n", i);
18843 }
18844 else
18845 {
18846 unsigned long i = ulongval ();
18847 if (i != ((long) (sizeof (int))))
18848 exit (1);
18849 fprintf (f, "%lu\n", i);
18850 }
18851 exit (ferror (f) || fclose (f) != 0);
18852
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_sizeof_int=`cat conftest.val`
18869 else
18870 echo "$as_me: program exited with status $ac_status" >&5
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18873
18874 ( exit $ac_status )
18875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot compute sizeof (int), 77
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 fi
18881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18882 fi
18883 fi
18884 rm -f conftest.val
18885 else
18886 ac_cv_sizeof_int=0
18887 fi
18888 fi
18889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18890 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18891 cat >>confdefs.h <<_ACEOF
18892 #define SIZEOF_INT $ac_cv_sizeof_int
18893 _ACEOF
18894
18895
18896 echo "$as_me:$LINENO: checking for long" >&5
18897 echo $ECHO_N "checking for long... $ECHO_C" >&6
18898 if test "${ac_cv_type_long+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18908 int
18909 main ()
18910 {
18911 if ((long *) 0)
18912 return 0;
18913 if (sizeof (long))
18914 return 0;
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 rm -f conftest.$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18931 ac_status=$?
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_cv_type_long=yes
18941 else
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.$ac_ext >&5
18944
18945 ac_cv_type_long=no
18946 fi
18947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18948 fi
18949 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18950 echo "${ECHO_T}$ac_cv_type_long" >&6
18951
18952 echo "$as_me:$LINENO: checking size of long" >&5
18953 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18954 if test "${ac_cv_sizeof_long+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957 if test "$ac_cv_type_long" = yes; then
18958 # The cast to unsigned long works around a bug in the HP C Compiler
18959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18961 # This bug is HP SR number 8606223364.
18962 if test "$cross_compiling" = yes; then
18963 # Depending upon the size, compute the lo and hi bounds.
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 int
18972 main ()
18973 {
18974 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18975 test_array [0] = 0
18976
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18993 ac_status=$?
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 ac_lo=0 ac_mid=0
19003 while :; do
19004 cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h. */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 $ac_includes_default
19011 int
19012 main ()
19013 {
19014 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19015 test_array [0] = 0
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 rm -f conftest.$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19024 ac_status=$?
19025 grep -v '^ *+' conftest.er1 >conftest.err
19026 rm -f conftest.er1
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try='test -s conftest.$ac_objext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19039 ac_status=$?
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_hi=$ac_mid; break
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19046
19047 ac_lo=`expr $ac_mid + 1`
19048 if test $ac_lo -le $ac_mid; then
19049 ac_lo= ac_hi=
19050 break
19051 fi
19052 ac_mid=`expr 2 '*' $ac_mid + 1`
19053 fi
19054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19055 done
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19059
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 int
19068 main ()
19069 {
19070 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19071 test_array [0] = 0
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 rm -f conftest.$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 ac_hi=-1 ac_mid=-1
19099 while :; do
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 $ac_includes_default
19107 int
19108 main ()
19109 {
19110 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19111 test_array [0] = 0
19112
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try='test -s conftest.$ac_objext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_lo=$ac_mid; break
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143 ac_hi=`expr '(' $ac_mid ')' - 1`
19144 if test $ac_mid -le $ac_hi; then
19145 ac_lo= ac_hi=
19146 break
19147 fi
19148 ac_mid=`expr 2 '*' $ac_mid`
19149 fi
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19151 done
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo= ac_hi=
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 # Binary search between lo and hi bounds.
19162 while test "x$ac_lo" != "x$ac_hi"; do
19163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>conftest.er1
19184 ac_status=$?
19185 grep -v '^ *+' conftest.er1 >conftest.err
19186 rm -f conftest.er1
19187 cat conftest.err >&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_hi=$ac_mid
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19206
19207 ac_lo=`expr '(' $ac_mid ')' + 1`
19208 fi
19209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19210 done
19211 case $ac_lo in
19212 ?*) ac_cv_sizeof_long=$ac_lo;;
19213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19214 See \`config.log' for more details." >&5
19215 echo "$as_me: error: cannot compute sizeof (long), 77
19216 See \`config.log' for more details." >&2;}
19217 { (exit 1); exit 1; }; } ;;
19218 esac
19219 else
19220 if test "$cross_compiling" = yes; then
19221 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19222 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19223 { (exit 1); exit 1; }; }
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 long longval () { return (long) (sizeof (long)); }
19233 unsigned long ulongval () { return (long) (sizeof (long)); }
19234 #include <stdio.h>
19235 #include <stdlib.h>
19236 int
19237 main ()
19238 {
19239
19240 FILE *f = fopen ("conftest.val", "w");
19241 if (! f)
19242 exit (1);
19243 if (((long) (sizeof (long))) < 0)
19244 {
19245 long i = longval ();
19246 if (i != ((long) (sizeof (long))))
19247 exit (1);
19248 fprintf (f, "%ld\n", i);
19249 }
19250 else
19251 {
19252 unsigned long i = ulongval ();
19253 if (i != ((long) (sizeof (long))))
19254 exit (1);
19255 fprintf (f, "%lu\n", i);
19256 }
19257 exit (ferror (f) || fclose (f) != 0);
19258
19259 ;
19260 return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_long=`cat conftest.val`
19275 else
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19279
19280 ( exit $ac_status )
19281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (long), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; }
19286 fi
19287 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19288 fi
19289 fi
19290 rm -f conftest.val
19291 else
19292 ac_cv_sizeof_long=0
19293 fi
19294 fi
19295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19297 cat >>confdefs.h <<_ACEOF
19298 #define SIZEOF_LONG $ac_cv_sizeof_long
19299 _ACEOF
19300
19301
19302 echo "$as_me:$LINENO: checking for size_t" >&5
19303 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19304 if test "${ac_cv_type_size_t+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 int
19315 main ()
19316 {
19317 if ((size_t *) 0)
19318 return 0;
19319 if (sizeof (size_t))
19320 return 0;
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_type_size_t=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_cv_type_size_t=no
19352 fi
19353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19354 fi
19355 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19356 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19357
19358 echo "$as_me:$LINENO: checking size of size_t" >&5
19359 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19360 if test "${ac_cv_sizeof_size_t+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363 if test "$ac_cv_type_size_t" = yes; then
19364 # The cast to unsigned long works around a bug in the HP C Compiler
19365 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19366 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19367 # This bug is HP SR number 8606223364.
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377 int
19378 main ()
19379 {
19380 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19381 test_array [0] = 0
19382
19383 ;
19384 return 0;
19385 }
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 ac_lo=0 ac_mid=0
19409 while :; do
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19417 int
19418 main ()
19419 {
19420 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19421 test_array [0] = 0
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi=$ac_mid; break
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 ac_lo=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19455 ac_lo= ac_hi=
19456 break
19457 fi
19458 ac_mid=`expr 2 '*' $ac_mid + 1`
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461 done
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 int
19474 main ()
19475 {
19476 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19477 test_array [0] = 0
19478
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19495 ac_status=$?
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19501 ac_status=$?
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19504 ac_hi=-1 ac_mid=-1
19505 while :; do
19506 cat >conftest.$ac_ext <<_ACEOF
19507 /* confdefs.h. */
19508 _ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 $ac_includes_default
19513 int
19514 main ()
19515 {
19516 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19517 test_array [0] = 0
19518
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_lo=$ac_mid; break
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549 ac_hi=`expr '(' $ac_mid ')' - 1`
19550 if test $ac_mid -le $ac_hi; then
19551 ac_lo= ac_hi=
19552 break
19553 fi
19554 ac_mid=`expr 2 '*' $ac_mid`
19555 fi
19556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19557 done
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 ac_lo= ac_hi=
19563 fi
19564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19565 fi
19566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19567 # Binary search between lo and hi bounds.
19568 while test "x$ac_lo" != "x$ac_hi"; do
19569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 int
19578 main ()
19579 {
19580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19581 test_array [0] = 0
19582
19583 ;
19584 return 0;
19585 }
19586 _ACEOF
19587 rm -f conftest.$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>conftest.er1
19590 ac_status=$?
19591 grep -v '^ *+' conftest.er1 >conftest.err
19592 rm -f conftest.er1
19593 cat conftest.err >&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19599 ac_status=$?
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19605 ac_status=$?
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_hi=$ac_mid
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_lo=`expr '(' $ac_mid ')' + 1`
19614 fi
19615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19616 done
19617 case $ac_lo in
19618 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19620 See \`config.log' for more details." >&5
19621 echo "$as_me: error: cannot compute sizeof (size_t), 77
19622 See \`config.log' for more details." >&2;}
19623 { (exit 1); exit 1; }; } ;;
19624 esac
19625 else
19626 if test "$cross_compiling" = yes; then
19627 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19628 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19629 { (exit 1); exit 1; }; }
19630 else
19631 cat >conftest.$ac_ext <<_ACEOF
19632 /* confdefs.h. */
19633 _ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 $ac_includes_default
19638 long longval () { return (long) (sizeof (size_t)); }
19639 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19640 #include <stdio.h>
19641 #include <stdlib.h>
19642 int
19643 main ()
19644 {
19645
19646 FILE *f = fopen ("conftest.val", "w");
19647 if (! f)
19648 exit (1);
19649 if (((long) (sizeof (size_t))) < 0)
19650 {
19651 long i = longval ();
19652 if (i != ((long) (sizeof (size_t))))
19653 exit (1);
19654 fprintf (f, "%ld\n", i);
19655 }
19656 else
19657 {
19658 unsigned long i = ulongval ();
19659 if (i != ((long) (sizeof (size_t))))
19660 exit (1);
19661 fprintf (f, "%lu\n", i);
19662 }
19663 exit (ferror (f) || fclose (f) != 0);
19664
19665 ;
19666 return 0;
19667 }
19668 _ACEOF
19669 rm -f conftest$ac_exeext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19671 (eval $ac_link) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_sizeof_size_t=`cat conftest.val`
19681 else
19682 echo "$as_me: program exited with status $ac_status" >&5
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19685
19686 ( exit $ac_status )
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (size_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; }
19692 fi
19693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19694 fi
19695 fi
19696 rm -f conftest.val
19697 else
19698 ac_cv_sizeof_size_t=0
19699 fi
19700 fi
19701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19703 cat >>confdefs.h <<_ACEOF
19704 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19705 _ACEOF
19706
19707
19708
19709 case "${host}" in
19710 arm-*-linux* )
19711 echo "$as_me:$LINENO: checking for long long" >&5
19712 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19713 if test "${ac_cv_type_long_long+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 else
19716 cat >conftest.$ac_ext <<_ACEOF
19717 /* confdefs.h. */
19718 _ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19723 int
19724 main ()
19725 {
19726 if ((long long *) 0)
19727 return 0;
19728 if (sizeof (long long))
19729 return 0;
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19736 (eval $ac_compile) 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } &&
19743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_type_long_long=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_cv_type_long_long=no
19761 fi
19762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19765 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19766
19767 echo "$as_me:$LINENO: checking size of long long" >&5
19768 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19769 if test "${ac_cv_sizeof_long_long+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 else
19772 if test "$ac_cv_type_long_long" = yes; then
19773 # The cast to unsigned long works around a bug in the HP C Compiler
19774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19776 # This bug is HP SR number 8606223364.
19777 if test "$cross_compiling" = yes; then
19778 # Depending upon the size, compute the lo and hi bounds.
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 $ac_includes_default
19786 int
19787 main ()
19788 {
19789 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19790 test_array [0] = 0
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19798 (eval $ac_compile) 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19808 ac_status=$?
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; } &&
19811 { ac_try='test -s conftest.$ac_objext'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19814 ac_status=$?
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; }; then
19817 ac_lo=0 ac_mid=0
19818 while :; do
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 $ac_includes_default
19826 int
19827 main ()
19828 {
19829 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19830 test_array [0] = 0
19831
19832 ;
19833 return 0;
19834 }
19835 _ACEOF
19836 rm -f conftest.$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_hi=$ac_mid; break
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_lo=`expr $ac_mid + 1`
19863 if test $ac_lo -le $ac_mid; then
19864 ac_lo= ac_hi=
19865 break
19866 fi
19867 ac_mid=`expr 2 '*' $ac_mid + 1`
19868 fi
19869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19870 done
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19882 int
19883 main ()
19884 {
19885 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19886 test_array [0] = 0
19887
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try='test -s conftest.$ac_objext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 ac_hi=-1 ac_mid=-1
19914 while :; do
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 int
19923 main ()
19924 {
19925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19926 test_array [0] = 0
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 rm -f conftest.$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19944 ac_status=$?
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 ac_lo=$ac_mid; break
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 ac_hi=`expr '(' $ac_mid ')' - 1`
19959 if test $ac_mid -le $ac_hi; then
19960 ac_lo= ac_hi=
19961 break
19962 fi
19963 ac_mid=`expr 2 '*' $ac_mid`
19964 fi
19965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_lo= ac_hi=
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974 fi
19975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19976 # Binary search between lo and hi bounds.
19977 while test "x$ac_lo" != "x$ac_hi"; do
19978 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 int
19987 main ()
19988 {
19989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19990 test_array [0] = 0
19991
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 rm -f conftest.$ac_objext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19998 (eval $ac_compile) 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 ac_hi=$ac_mid
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ac_lo=`expr '(' $ac_mid ')' + 1`
20023 fi
20024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20025 done
20026 case $ac_lo in
20027 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20029 See \`config.log' for more details." >&5
20030 echo "$as_me: error: cannot compute sizeof (long long), 77
20031 See \`config.log' for more details." >&2;}
20032 { (exit 1); exit 1; }; } ;;
20033 esac
20034 else
20035 if test "$cross_compiling" = yes; then
20036 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20037 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20038 { (exit 1); exit 1; }; }
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 long longval () { return (long) (sizeof (long long)); }
20048 unsigned long ulongval () { return (long) (sizeof (long long)); }
20049 #include <stdio.h>
20050 #include <stdlib.h>
20051 int
20052 main ()
20053 {
20054
20055 FILE *f = fopen ("conftest.val", "w");
20056 if (! f)
20057 exit (1);
20058 if (((long) (sizeof (long long))) < 0)
20059 {
20060 long i = longval ();
20061 if (i != ((long) (sizeof (long long))))
20062 exit (1);
20063 fprintf (f, "%ld\n", i);
20064 }
20065 else
20066 {
20067 unsigned long i = ulongval ();
20068 if (i != ((long) (sizeof (long long))))
20069 exit (1);
20070 fprintf (f, "%lu\n", i);
20071 }
20072 exit (ferror (f) || fclose (f) != 0);
20073
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_sizeof_long_long=`cat conftest.val`
20090 else
20091 echo "$as_me: program exited with status $ac_status" >&5
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 ( exit $ac_status )
20096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20097 See \`config.log' for more details." >&5
20098 echo "$as_me: error: cannot compute sizeof (long long), 77
20099 See \`config.log' for more details." >&2;}
20100 { (exit 1); exit 1; }; }
20101 fi
20102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20103 fi
20104 fi
20105 rm -f conftest.val
20106 else
20107 ac_cv_sizeof_long_long=0
20108 fi
20109 fi
20110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20112 cat >>confdefs.h <<_ACEOF
20113 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20114 _ACEOF
20115
20116
20117 ;;
20118 *-hp-hpux* )
20119 echo "$as_me:$LINENO: checking for long long" >&5
20120 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20121 if test "${ac_cv_type_long_long+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 cat >conftest.$ac_ext <<_ACEOF
20125 /* confdefs.h. */
20126 _ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20131 int
20132 main ()
20133 {
20134 if ((long long *) 0)
20135 return 0;
20136 if (sizeof (long long))
20137 return 0;
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_type_long_long=yes
20164 else
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_cv_type_long_long=no
20169 fi
20170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20171 fi
20172 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20173 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20174
20175 echo "$as_me:$LINENO: checking size of long long" >&5
20176 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20177 if test "${ac_cv_sizeof_long_long+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 else
20180 if test "$ac_cv_type_long_long" = yes; then
20181 # The cast to unsigned long works around a bug in the HP C Compiler
20182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20184 # This bug is HP SR number 8606223364.
20185 if test "$cross_compiling" = yes; then
20186 # Depending upon the size, compute the lo and hi bounds.
20187 cat >conftest.$ac_ext <<_ACEOF
20188 /* confdefs.h. */
20189 _ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20194 int
20195 main ()
20196 {
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20198 test_array [0] = 0
20199
20200 ;
20201 return 0;
20202 }
20203 _ACEOF
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20216 ac_status=$?
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20222 ac_status=$?
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20225 ac_lo=0 ac_mid=0
20226 while :; do
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20246 (eval $ac_compile) 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_hi=$ac_mid; break
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_lo=`expr $ac_mid + 1`
20271 if test $ac_lo -le $ac_mid; then
20272 ac_lo= ac_hi=
20273 break
20274 fi
20275 ac_mid=`expr 2 '*' $ac_mid + 1`
20276 fi
20277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20278 done
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 $ac_includes_default
20290 int
20291 main ()
20292 {
20293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20294 test_array [0] = 0
20295
20296 ;
20297 return 0;
20298 }
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try='test -s conftest.$ac_objext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20321 ac_hi=-1 ac_mid=-1
20322 while :; do
20323 cat >conftest.$ac_ext <<_ACEOF
20324 /* confdefs.h. */
20325 _ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 int
20331 main ()
20332 {
20333 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20334 test_array [0] = 0
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20342 (eval $ac_compile) 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; } &&
20355 { ac_try='test -s conftest.$ac_objext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 ac_lo=$ac_mid; break
20362 else
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 ac_hi=`expr '(' $ac_mid ')' - 1`
20367 if test $ac_mid -le $ac_hi; then
20368 ac_lo= ac_hi=
20369 break
20370 fi
20371 ac_mid=`expr 2 '*' $ac_mid`
20372 fi
20373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20374 done
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_lo= ac_hi=
20380 fi
20381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20382 fi
20383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20384 # Binary search between lo and hi bounds.
20385 while test "x$ac_lo" != "x$ac_hi"; do
20386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_hi=$ac_mid
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_lo=`expr '(' $ac_mid ')' + 1`
20431 fi
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433 done
20434 case $ac_lo in
20435 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20436 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20437 See \`config.log' for more details." >&5
20438 echo "$as_me: error: cannot compute sizeof (long long), 77
20439 See \`config.log' for more details." >&2;}
20440 { (exit 1); exit 1; }; } ;;
20441 esac
20442 else
20443 if test "$cross_compiling" = yes; then
20444 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20445 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20446 { (exit 1); exit 1; }; }
20447 else
20448 cat >conftest.$ac_ext <<_ACEOF
20449 /* confdefs.h. */
20450 _ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 long longval () { return (long) (sizeof (long long)); }
20456 unsigned long ulongval () { return (long) (sizeof (long long)); }
20457 #include <stdio.h>
20458 #include <stdlib.h>
20459 int
20460 main ()
20461 {
20462
20463 FILE *f = fopen ("conftest.val", "w");
20464 if (! f)
20465 exit (1);
20466 if (((long) (sizeof (long long))) < 0)
20467 {
20468 long i = longval ();
20469 if (i != ((long) (sizeof (long long))))
20470 exit (1);
20471 fprintf (f, "%ld\n", i);
20472 }
20473 else
20474 {
20475 unsigned long i = ulongval ();
20476 if (i != ((long) (sizeof (long long))))
20477 exit (1);
20478 fprintf (f, "%lu\n", i);
20479 }
20480 exit (ferror (f) || fclose (f) != 0);
20481
20482 ;
20483 return 0;
20484 }
20485 _ACEOF
20486 rm -f conftest$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_sizeof_long_long=`cat conftest.val`
20498 else
20499 echo "$as_me: program exited with status $ac_status" >&5
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 ( exit $ac_status )
20504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20505 See \`config.log' for more details." >&5
20506 echo "$as_me: error: cannot compute sizeof (long long), 77
20507 See \`config.log' for more details." >&2;}
20508 { (exit 1); exit 1; }; }
20509 fi
20510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20511 fi
20512 fi
20513 rm -f conftest.val
20514 else
20515 ac_cv_sizeof_long_long=0
20516 fi
20517 fi
20518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20519 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20520 cat >>confdefs.h <<_ACEOF
20521 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20522 _ACEOF
20523
20524
20525 if test "$ac_cv_sizeof_long_long" != "0"; then
20526 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20527 fi
20528 ;;
20529 * )
20530 echo "$as_me:$LINENO: checking for long long" >&5
20531 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20532 if test "${ac_cv_type_long_long+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20534 else
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h. */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20542 int
20543 main ()
20544 {
20545 if ((long long *) 0)
20546 return 0;
20547 if (sizeof (long long))
20548 return 0;
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; } &&
20568 { ac_try='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_type_long_long=yes
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_cv_type_long_long=no
20580 fi
20581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20584 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20585
20586 echo "$as_me:$LINENO: checking size of long long" >&5
20587 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20588 if test "${ac_cv_sizeof_long_long+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 else
20591 if test "$ac_cv_type_long_long" = yes; then
20592 # The cast to unsigned long works around a bug in the HP C Compiler
20593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20595 # This bug is HP SR number 8606223364.
20596 if test "$cross_compiling" = yes; then
20597 # Depending upon the size, compute the lo and hi bounds.
20598 cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h. */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20605 int
20606 main ()
20607 {
20608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20609 test_array [0] = 0
20610
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_lo=0 ac_mid=0
20637 while :; do
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 int
20646 main ()
20647 {
20648 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20649 test_array [0] = 0
20650
20651 ;
20652 return 0;
20653 }
20654 _ACEOF
20655 rm -f conftest.$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20673 ac_status=$?
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 ac_hi=$ac_mid; break
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 ac_lo=`expr $ac_mid + 1`
20682 if test $ac_lo -le $ac_mid; then
20683 ac_lo= ac_hi=
20684 break
20685 fi
20686 ac_mid=`expr 2 '*' $ac_mid + 1`
20687 fi
20688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 int
20702 main ()
20703 {
20704 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20705 test_array [0] = 0
20706
20707 ;
20708 return 0;
20709 }
20710 _ACEOF
20711 rm -f conftest.$ac_objext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20713 (eval $ac_compile) 2>conftest.er1
20714 ac_status=$?
20715 grep -v '^ *+' conftest.er1 >conftest.err
20716 rm -f conftest.er1
20717 cat conftest.err >&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } &&
20720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; } &&
20726 { ac_try='test -s conftest.$ac_objext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20729 ac_status=$?
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_hi=-1 ac_mid=-1
20733 while :; do
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 $ac_includes_default
20741 int
20742 main ()
20743 {
20744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20745 test_array [0] = 0
20746
20747 ;
20748 return 0;
20749 }
20750 _ACEOF
20751 rm -f conftest.$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20763 ac_status=$?
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; } &&
20766 { ac_try='test -s conftest.$ac_objext'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_lo=$ac_mid; break
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20776
20777 ac_hi=`expr '(' $ac_mid ')' - 1`
20778 if test $ac_mid -le $ac_hi; then
20779 ac_lo= ac_hi=
20780 break
20781 fi
20782 ac_mid=`expr 2 '*' $ac_mid`
20783 fi
20784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20785 done
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 ac_lo= ac_hi=
20791 fi
20792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20793 fi
20794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20795 # Binary search between lo and hi bounds.
20796 while test "x$ac_lo" != "x$ac_hi"; do
20797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 int
20806 main ()
20807 {
20808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20809 test_array [0] = 0
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>conftest.er1
20818 ac_status=$?
20819 grep -v '^ *+' conftest.er1 >conftest.err
20820 rm -f conftest.er1
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } &&
20824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20827 ac_status=$?
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try='test -s conftest.$ac_objext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 ac_hi=$ac_mid
20837 else
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20840
20841 ac_lo=`expr '(' $ac_mid ')' + 1`
20842 fi
20843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20844 done
20845 case $ac_lo in
20846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: cannot compute sizeof (long long), 77
20850 See \`config.log' for more details." >&2;}
20851 { (exit 1); exit 1; }; } ;;
20852 esac
20853 else
20854 if test "$cross_compiling" = yes; then
20855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20857 { (exit 1); exit 1; }; }
20858 else
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 long longval () { return (long) (sizeof (long long)); }
20867 unsigned long ulongval () { return (long) (sizeof (long long)); }
20868 #include <stdio.h>
20869 #include <stdlib.h>
20870 int
20871 main ()
20872 {
20873
20874 FILE *f = fopen ("conftest.val", "w");
20875 if (! f)
20876 exit (1);
20877 if (((long) (sizeof (long long))) < 0)
20878 {
20879 long i = longval ();
20880 if (i != ((long) (sizeof (long long))))
20881 exit (1);
20882 fprintf (f, "%ld\n", i);
20883 }
20884 else
20885 {
20886 unsigned long i = ulongval ();
20887 if (i != ((long) (sizeof (long long))))
20888 exit (1);
20889 fprintf (f, "%lu\n", i);
20890 }
20891 exit (ferror (f) || fclose (f) != 0);
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest$ac_exeext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20899 (eval $ac_link) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_sizeof_long_long=`cat conftest.val`
20909 else
20910 echo "$as_me: program exited with status $ac_status" >&5
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20913
20914 ( exit $ac_status )
20915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20916 See \`config.log' for more details." >&5
20917 echo "$as_me: error: cannot compute sizeof (long long), 77
20918 See \`config.log' for more details." >&2;}
20919 { (exit 1); exit 1; }; }
20920 fi
20921 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20922 fi
20923 fi
20924 rm -f conftest.val
20925 else
20926 ac_cv_sizeof_long_long=0
20927 fi
20928 fi
20929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20930 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20931 cat >>confdefs.h <<_ACEOF
20932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20933 _ACEOF
20934
20935
20936 esac
20937
20938 echo "$as_me:$LINENO: checking for wchar_t" >&5
20939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20940 if test "${ac_cv_type_wchar_t+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 else
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949
20950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20952 # error "fake wchar_t"
20953 #endif
20954 #ifdef HAVE_WCHAR_H
20955 # ifdef __CYGWIN__
20956 # include <stddef.h>
20957 # endif
20958 # include <wchar.h>
20959 #endif
20960 #ifdef HAVE_STDLIB_H
20961 # include <stdlib.h>
20962 #endif
20963 #include <stdio.h>
20964
20965
20966
20967 int
20968 main ()
20969 {
20970 if ((wchar_t *) 0)
20971 return 0;
20972 if (sizeof (wchar_t))
20973 return 0;
20974 ;
20975 return 0;
20976 }
20977 _ACEOF
20978 rm -f conftest.$ac_objext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20980 (eval $ac_compile) 2>conftest.er1
20981 ac_status=$?
20982 grep -v '^ *+' conftest.er1 >conftest.err
20983 rm -f conftest.er1
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_cv_type_wchar_t=yes
21000 else
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.$ac_ext >&5
21003
21004 ac_cv_type_wchar_t=no
21005 fi
21006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21009 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21010
21011 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21012 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21013 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 else
21016 if test "$ac_cv_type_wchar_t" = yes; then
21017 # The cast to unsigned long works around a bug in the HP C Compiler
21018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21020 # This bug is HP SR number 8606223364.
21021 if test "$cross_compiling" = yes; then
21022 # Depending upon the size, compute the lo and hi bounds.
21023 cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h. */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21033 #endif
21034 #ifdef HAVE_WCHAR_H
21035 # ifdef __CYGWIN__
21036 # include <stddef.h>
21037 # endif
21038 # include <wchar.h>
21039 #endif
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21042 #endif
21043 #include <stdio.h>
21044
21045
21046
21047 int
21048 main ()
21049 {
21050 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21051 test_array [0] = 0
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21069 ac_status=$?
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_lo=0 ac_mid=0
21079 while :; do
21080 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086
21087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21089 # error "fake wchar_t"
21090 #endif
21091 #ifdef HAVE_WCHAR_H
21092 # ifdef __CYGWIN__
21093 # include <stddef.h>
21094 # endif
21095 # include <wchar.h>
21096 #endif
21097 #ifdef HAVE_STDLIB_H
21098 # include <stdlib.h>
21099 #endif
21100 #include <stdio.h>
21101
21102
21103
21104 int
21105 main ()
21106 {
21107 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21108 test_array [0] = 0
21109
21110 ;
21111 return 0;
21112 }
21113 _ACEOF
21114 rm -f conftest.$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_hi=$ac_mid; break
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140 ac_lo=`expr $ac_mid + 1`
21141 if test $ac_lo -le $ac_mid; then
21142 ac_lo= ac_hi=
21143 break
21144 fi
21145 ac_mid=`expr 2 '*' $ac_mid + 1`
21146 fi
21147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21148 done
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 cat >conftest.$ac_ext <<_ACEOF
21154 /* confdefs.h. */
21155 _ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159
21160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21162 # error "fake wchar_t"
21163 #endif
21164 #ifdef HAVE_WCHAR_H
21165 # ifdef __CYGWIN__
21166 # include <stddef.h>
21167 # endif
21168 # include <wchar.h>
21169 #endif
21170 #ifdef HAVE_STDLIB_H
21171 # include <stdlib.h>
21172 #endif
21173 #include <stdio.h>
21174
21175
21176
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21190 ac_status=$?
21191 grep -v '^ *+' conftest.er1 >conftest.err
21192 rm -f conftest.er1
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try='test -s conftest.$ac_objext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_hi=-1 ac_mid=-1
21209 while :; do
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216
21217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21219 # error "fake wchar_t"
21220 #endif
21221 #ifdef HAVE_WCHAR_H
21222 # ifdef __CYGWIN__
21223 # include <stddef.h>
21224 # endif
21225 # include <wchar.h>
21226 #endif
21227 #ifdef HAVE_STDLIB_H
21228 # include <stdlib.h>
21229 #endif
21230 #include <stdio.h>
21231
21232
21233
21234 int
21235 main ()
21236 {
21237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21238 test_array [0] = 0
21239
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 rm -f conftest.$ac_objext
21245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21246 (eval $ac_compile) 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21256 ac_status=$?
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; } &&
21259 { ac_try='test -s conftest.$ac_objext'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21262 ac_status=$?
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; }; then
21265 ac_lo=$ac_mid; break
21266 else
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.$ac_ext >&5
21269
21270 ac_hi=`expr '(' $ac_mid ')' - 1`
21271 if test $ac_mid -le $ac_hi; then
21272 ac_lo= ac_hi=
21273 break
21274 fi
21275 ac_mid=`expr 2 '*' $ac_mid`
21276 fi
21277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 done
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 ac_lo= ac_hi=
21284 fi
21285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21288 # Binary search between lo and hi bounds.
21289 while test "x$ac_lo" != "x$ac_hi"; do
21290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297
21298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21300 # error "fake wchar_t"
21301 #endif
21302 #ifdef HAVE_WCHAR_H
21303 # ifdef __CYGWIN__
21304 # include <stddef.h>
21305 # endif
21306 # include <wchar.h>
21307 #endif
21308 #ifdef HAVE_STDLIB_H
21309 # include <stdlib.h>
21310 #endif
21311 #include <stdio.h>
21312
21313
21314
21315 int
21316 main ()
21317 {
21318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21319 test_array [0] = 0
21320
21321 ;
21322 return 0;
21323 }
21324 _ACEOF
21325 rm -f conftest.$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; } &&
21340 { ac_try='test -s conftest.$ac_objext'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_hi=$ac_mid
21347 else
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21350
21351 ac_lo=`expr '(' $ac_mid ')' + 1`
21352 fi
21353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21354 done
21355 case $ac_lo in
21356 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21357 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21358 See \`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21360 See \`config.log' for more details." >&2;}
21361 { (exit 1); exit 1; }; } ;;
21362 esac
21363 else
21364 if test "$cross_compiling" = yes; then
21365 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21366 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21367 { (exit 1); exit 1; }; }
21368 else
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375
21376 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21377 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21378 # error "fake wchar_t"
21379 #endif
21380 #ifdef HAVE_WCHAR_H
21381 # ifdef __CYGWIN__
21382 # include <stddef.h>
21383 # endif
21384 # include <wchar.h>
21385 #endif
21386 #ifdef HAVE_STDLIB_H
21387 # include <stdlib.h>
21388 #endif
21389 #include <stdio.h>
21390
21391
21392
21393 long longval () { return (long) (sizeof (wchar_t)); }
21394 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21395 #include <stdio.h>
21396 #include <stdlib.h>
21397 int
21398 main ()
21399 {
21400
21401 FILE *f = fopen ("conftest.val", "w");
21402 if (! f)
21403 exit (1);
21404 if (((long) (sizeof (wchar_t))) < 0)
21405 {
21406 long i = longval ();
21407 if (i != ((long) (sizeof (wchar_t))))
21408 exit (1);
21409 fprintf (f, "%ld\n", i);
21410 }
21411 else
21412 {
21413 unsigned long i = ulongval ();
21414 if (i != ((long) (sizeof (wchar_t))))
21415 exit (1);
21416 fprintf (f, "%lu\n", i);
21417 }
21418 exit (ferror (f) || fclose (f) != 0);
21419
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest$ac_exeext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21426 (eval $ac_link) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_sizeof_wchar_t=`cat conftest.val`
21436 else
21437 echo "$as_me: program exited with status $ac_status" >&5
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ( exit $ac_status )
21442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21443 See \`config.log' for more details." >&5
21444 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21445 See \`config.log' for more details." >&2;}
21446 { (exit 1); exit 1; }; }
21447 fi
21448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21449 fi
21450 fi
21451 rm -f conftest.val
21452 else
21453 ac_cv_sizeof_wchar_t=0
21454 fi
21455 fi
21456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21457 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21458 cat >>confdefs.h <<_ACEOF
21459 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21460 _ACEOF
21461
21462
21463 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21464 wxUSE_WCHAR_T=yes
21465 else
21466 wxUSE_WCHAR_T=no
21467 fi
21468
21469 echo "$as_me:$LINENO: checking for va_copy" >&5
21470 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21471 if test "${wx_cv_func_va_copy+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474
21475 cat >conftest.$ac_ext <<_ACEOF
21476
21477 #include <stdarg.h>
21478 void foo(char *f, ...)
21479 {
21480 va_list ap1, ap2;
21481 va_start(ap1, f);
21482 va_copy(ap2, ap1);
21483 va_end(ap2);
21484 va_end(ap1);
21485 }
21486 int main()
21487 {
21488 foo("hi", 17);
21489 return 0;
21490 }
21491 _ACEOF
21492 rm -f conftest.$ac_objext conftest$ac_exeext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21494 (eval $ac_link) 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try='test -s conftest$ac_exeext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 wx_cv_func_va_copy=yes
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 wx_cv_func_va_copy=no
21519
21520 fi
21521 rm -f conftest.err conftest.$ac_objext \
21522 conftest$ac_exeext conftest.$ac_ext
21523
21524
21525 fi
21526 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21527 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21528
21529 if test $wx_cv_func_va_copy = "yes"; then
21530 cat >>confdefs.h <<\_ACEOF
21531 #define HAVE_VA_COPY 1
21532 _ACEOF
21533
21534 else
21535 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21536 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21537 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21538 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 else
21540
21541 if test "$cross_compiling" = yes; then
21542 wx_cv_type_va_list_lvalue=yes
21543
21544 else
21545 cat >conftest.$ac_ext <<_ACEOF
21546
21547 #include <stdarg.h>
21548 int foo(char *f, ...)
21549 {
21550 va_list ap1, ap2;
21551 va_start(ap1, f);
21552 ap2 = ap1;
21553 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21554 return 1;
21555 va_end(ap2);
21556 va_end(ap1);
21557 return 0;
21558 }
21559 int main()
21560 {
21561 return foo("hi", 17);
21562 }
21563 _ACEOF
21564 rm -f conftest$ac_exeext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566 (eval $ac_link) 2>&5
21567 ac_status=$?
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 wx_cv_type_va_list_lvalue=yes
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 wx_cv_type_va_list_lvalue=no
21583 fi
21584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21585 fi
21586
21587
21588 fi
21589 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21590 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21591
21592 if test $wx_cv_type_va_list_lvalue != "yes"; then
21593 cat >>confdefs.h <<\_ACEOF
21594 #define VA_LIST_IS_ARRAY 1
21595 _ACEOF
21596
21597 fi
21598 fi
21599
21600 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21601 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21602 if test "${wx_cv_have_variadic_macros+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605
21606 ac_ext=cc
21607 ac_cpp='$CXXCPP $CPPFLAGS'
21608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21611
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618
21619 #include <stdio.h>
21620 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21621
21622 int
21623 main ()
21624 {
21625
21626 test("%s %d %p", "test", 1, 0);
21627
21628
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21636 ac_status=$?
21637 grep -v '^ *+' conftest.er1 >conftest.err
21638 rm -f conftest.er1
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 wx_cv_have_variadic_macros=yes
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 wx_cv_have_variadic_macros=no
21660
21661 fi
21662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21663 ac_ext=c
21664 ac_cpp='$CPP $CPPFLAGS'
21665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668
21669
21670
21671 fi
21672 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21673 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21674
21675 if test $wx_cv_have_variadic_macros = "yes"; then
21676 cat >>confdefs.h <<\_ACEOF
21677 #define HAVE_VARIADIC_MACROS 1
21678 _ACEOF
21679
21680 fi
21681
21682 # Check whether --enable-largefile or --disable-largefile was given.
21683 if test "${enable_largefile+set}" = set; then
21684 enableval="$enable_largefile"
21685
21686 fi;
21687 if test "$enable_largefile" != no; then
21688 wx_largefile=no
21689
21690 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21691 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21692 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 else
21695
21696 cat >conftest.$ac_ext <<_ACEOF
21697 /* confdefs.h. */
21698 _ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 #define _FILE_OFFSET_BITS 64
21703 #include <sys/types.h>
21704 int
21705 main ()
21706 {
21707 typedef struct {
21708 unsigned int field: sizeof(off_t) == 8;
21709 } wxlf;
21710
21711 ;
21712 return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest.$ac_objext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21717 (eval $ac_compile) 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726 (eval $ac_try) 2>&5
21727 ac_status=$?
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; } &&
21730 { ac_try='test -s conftest.$ac_objext'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_sys_file_offset_bits=64
21737 else
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ac_cv_sys_file_offset_bits=no
21742 fi
21743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21744
21745
21746 fi
21747 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21748 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21749
21750 if test "$ac_cv_sys_file_offset_bits" != no; then
21751 wx_largefile=yes
21752 cat >>confdefs.h <<_ACEOF
21753 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21754 _ACEOF
21755
21756 fi
21757
21758 if test "x$wx_largefile" != "xyes"; then
21759
21760 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21761 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21762 if test "${ac_cv_sys_large_files+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 else
21765
21766 cat >conftest.$ac_ext <<_ACEOF
21767 /* confdefs.h. */
21768 _ACEOF
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 #define _LARGE_FILES 1
21773 #include <sys/types.h>
21774 int
21775 main ()
21776 {
21777 typedef struct {
21778 unsigned int field: sizeof(off_t) == 8;
21779 } wxlf;
21780
21781 ;
21782 return 0;
21783 }
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21797 ac_status=$?
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; } &&
21800 { ac_try='test -s conftest.$ac_objext'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21803 ac_status=$?
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; }; then
21806 ac_cv_sys_large_files=1
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 ac_cv_sys_large_files=no
21812 fi
21813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21814
21815
21816 fi
21817 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21818 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21819
21820 if test "$ac_cv_sys_large_files" != no; then
21821 wx_largefile=yes
21822 cat >>confdefs.h <<_ACEOF
21823 #define _LARGE_FILES $ac_cv_sys_large_files
21824 _ACEOF
21825
21826 fi
21827
21828 fi
21829
21830 echo "$as_me:$LINENO: checking if large file support is available" >&5
21831 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21832 if test "x$wx_largefile" = "xyes"; then
21833 cat >>confdefs.h <<\_ACEOF
21834 #define HAVE_LARGEFILE_SUPPORT 1
21835 _ACEOF
21836
21837 fi
21838 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21839 echo "${ECHO_T}$wx_largefile" >&6
21840 fi
21841
21842
21843 if test "x$wx_largefile" = "xyes"; then
21844 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21845 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21846
21847 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21848 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21849 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21850 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853
21854 ac_ext=cc
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859
21860 cat >conftest.$ac_ext <<_ACEOF
21861 /* confdefs.h. */
21862 _ACEOF
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866
21867 int
21868 main ()
21869 {
21870
21871 #ifndef __STDC_EXT__
21872 choke me
21873 #endif
21874
21875 ;
21876 return 0;
21877 }
21878 _ACEOF
21879 rm -f conftest.$ac_objext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21881 (eval $ac_compile) 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21891 ac_status=$?
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try='test -s conftest.$ac_objext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 wx_cv_STDC_EXT_required=no
21901 else
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21904
21905 wx_cv_STDC_EXT_required=yes
21906
21907 fi
21908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21909 ac_ext=c
21910 ac_cpp='$CPP $CPPFLAGS'
21911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21914
21915
21916
21917 fi
21918 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21919 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21920 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21921 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21922 fi
21923 fi
21924 else
21925 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21926 fi
21927 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21928 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21929 if test "${ac_cv_sys_largefile_source+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21932 while :; do
21933 ac_cv_sys_largefile_source=no
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 #include <stdio.h>
21941 int
21942 main ()
21943 {
21944 return !fseeko;
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21960 (eval $ac_try) 2>&5
21961 ac_status=$?
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; } &&
21964 { ac_try='test -s conftest.$ac_objext'
21965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21966 (eval $ac_try) 2>&5
21967 ac_status=$?
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21970 break
21971 else
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21974
21975 fi
21976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21977 cat >conftest.$ac_ext <<_ACEOF
21978 /* confdefs.h. */
21979 _ACEOF
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 #define _LARGEFILE_SOURCE 1
21984 #include <stdio.h>
21985 int
21986 main ()
21987 {
21988 return !fseeko;
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21995 (eval $ac_compile) 2>conftest.er1
21996 ac_status=$?
21997 grep -v '^ *+' conftest.er1 >conftest.err
21998 rm -f conftest.er1
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_cv_sys_largefile_source=1; break
22015 else
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22018
22019 fi
22020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021 break
22022 done
22023 fi
22024 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22025 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22026 if test "$ac_cv_sys_largefile_source" != no; then
22027
22028 cat >>confdefs.h <<_ACEOF
22029 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22030 _ACEOF
22031
22032 fi
22033 rm -f conftest*
22034
22035 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22036 # in glibc 2.1.3, but that breaks too many other things.
22037 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22038 echo "$as_me:$LINENO: checking for fseeko" >&5
22039 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22040 if test "${ac_cv_func_fseeko+set}" = set; then
22041 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 else
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 #include <stdio.h>
22050 int
22051 main ()
22052 {
22053 return fseeko && fseeko (stdin, 0, 0);
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext conftest$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22060 (eval $ac_link) 2>conftest.er1
22061 ac_status=$?
22062 grep -v '^ *+' conftest.er1 >conftest.err
22063 rm -f conftest.er1
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; } &&
22073 { ac_try='test -s conftest$ac_exeext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22076 ac_status=$?
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 ac_cv_func_fseeko=yes
22080 else
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22083
22084 ac_cv_func_fseeko=no
22085 fi
22086 rm -f conftest.err conftest.$ac_objext \
22087 conftest$ac_exeext conftest.$ac_ext
22088 fi
22089 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22090 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22091 if test $ac_cv_func_fseeko = yes; then
22092
22093 cat >>confdefs.h <<\_ACEOF
22094 #define HAVE_FSEEKO 1
22095 _ACEOF
22096
22097 fi
22098
22099 if test "$ac_cv_sys_largefile_source" != no; then
22100 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22101 fi
22102 fi
22103
22104 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22105 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22106 if test "${ac_cv_c_bigendian+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 else
22109 ac_cv_c_bigendian=unknown
22110 # See if sys/param.h defines the BYTE_ORDER macro.
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <sys/types.h>
22118 #include <sys/param.h>
22119 int
22120 main ()
22121 {
22122
22123 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22124 bogus endian macros
22125 #endif
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; } &&
22145 { ac_try='test -s conftest.$ac_objext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 # It does; now see whether it defined to BIG_ENDIAN or not.
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 #include <sys/types.h>
22159 #include <sys/param.h>
22160 int
22161 main ()
22162 {
22163
22164 #if BYTE_ORDER != BIG_ENDIAN
22165 not big endian
22166 #endif
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 rm -f conftest.$ac_objext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22173 (eval $ac_compile) 2>conftest.er1
22174 ac_status=$?
22175 grep -v '^ *+' conftest.er1 >conftest.err
22176 rm -f conftest.er1
22177 cat conftest.err >&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } &&
22180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22183 ac_status=$?
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; } &&
22186 { ac_try='test -s conftest.$ac_objext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_c_bigendian=yes
22193 else
22194 echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.$ac_ext >&5
22196
22197 ac_cv_c_bigendian=no
22198 fi
22199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22200 else
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22203
22204 fi
22205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22206 if test $ac_cv_c_bigendian = unknown; then
22207 if test "$cross_compiling" = yes; then
22208 ac_cv_c_bigendian=unknown
22209 else
22210 cat >conftest.$ac_ext <<_ACEOF
22211 /* confdefs.h. */
22212 _ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216 main () {
22217 /* Are we little or big endian? From Harbison&Steele. */
22218 union
22219 {
22220 long l;
22221 char c[sizeof (long)];
22222 } u;
22223 u.l = 1;
22224 exit (u.c[sizeof (long) - 1] == 1);
22225 }
22226 _ACEOF
22227 rm -f conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; }; then
22238 ac_cv_c_bigendian=no
22239 else
22240 echo "$as_me: program exited with status $ac_status" >&5
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.$ac_ext >&5
22243
22244 ( exit $ac_status )
22245 ac_cv_c_bigendian=yes
22246 fi
22247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22248 fi
22249 fi
22250 fi
22251 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22252 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22253 if test $ac_cv_c_bigendian = unknown; then
22254 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
22255 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
22256 fi
22257 if test $ac_cv_c_bigendian = yes; then
22258 cat >>confdefs.h <<\_ACEOF
22259 #define WORDS_BIGENDIAN 1
22260 _ACEOF
22261
22262 fi
22263
22264
22265 ac_ext=cc
22266 ac_cpp='$CXXCPP $CPPFLAGS'
22267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22270 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22271 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22272 if test -z "$CXXCPP"; then
22273 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 # Double quotes because CXXCPP needs to be expanded
22277 for CXXCPP in "$CXX -E" "/lib/cpp"
22278 do
22279 ac_preproc_ok=false
22280 for ac_cxx_preproc_warn_flag in '' yes
22281 do
22282 # Use a header file that comes with gcc, so configuring glibc
22283 # with a fresh cross-compiler works.
22284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22285 # <limits.h> exists even on freestanding compilers.
22286 # On the NeXT, cc -E runs the code through the compiler's parser,
22287 # not just through cpp. "Syntax error" is here to catch this case.
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h. */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 #ifdef __STDC__
22295 # include <limits.h>
22296 #else
22297 # include <assert.h>
22298 #endif
22299 Syntax error
22300 _ACEOF
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev/null; then
22309 if test -s conftest.err; then
22310 ac_cpp_err=$ac_cxx_preproc_warn_flag
22311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22312 else
22313 ac_cpp_err=
22314 fi
22315 else
22316 ac_cpp_err=yes
22317 fi
22318 if test -z "$ac_cpp_err"; then
22319 :
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 # Broken: fails on valid input.
22325 continue
22326 fi
22327 rm -f conftest.err conftest.$ac_ext
22328
22329 # OK, works on sane cases. Now check whether non-existent headers
22330 # can be detected and how.
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <ac_nonexistent.h>
22338 _ACEOF
22339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } >/dev/null; then
22347 if test -s conftest.err; then
22348 ac_cpp_err=$ac_cxx_preproc_warn_flag
22349 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22350 else
22351 ac_cpp_err=
22352 fi
22353 else
22354 ac_cpp_err=yes
22355 fi
22356 if test -z "$ac_cpp_err"; then
22357 # Broken: success on invalid input.
22358 continue
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 # Passes both tests.
22364 ac_preproc_ok=:
22365 break
22366 fi
22367 rm -f conftest.err conftest.$ac_ext
22368
22369 done
22370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22371 rm -f conftest.err conftest.$ac_ext
22372 if $ac_preproc_ok; then
22373 break
22374 fi
22375
22376 done
22377 ac_cv_prog_CXXCPP=$CXXCPP
22378
22379 fi
22380 CXXCPP=$ac_cv_prog_CXXCPP
22381 else
22382 ac_cv_prog_CXXCPP=$CXXCPP
22383 fi
22384 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22385 echo "${ECHO_T}$CXXCPP" >&6
22386 ac_preproc_ok=false
22387 for ac_cxx_preproc_warn_flag in '' yes
22388 do
22389 # Use a header file that comes with gcc, so configuring glibc
22390 # with a fresh cross-compiler works.
22391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22392 # <limits.h> exists even on freestanding compilers.
22393 # On the NeXT, cc -E runs the code through the compiler's parser,
22394 # not just through cpp. "Syntax error" is here to catch this case.
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401 #ifdef __STDC__
22402 # include <limits.h>
22403 #else
22404 # include <assert.h>
22405 #endif
22406 Syntax error
22407 _ACEOF
22408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } >/dev/null; then
22416 if test -s conftest.err; then
22417 ac_cpp_err=$ac_cxx_preproc_warn_flag
22418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22419 else
22420 ac_cpp_err=
22421 fi
22422 else
22423 ac_cpp_err=yes
22424 fi
22425 if test -z "$ac_cpp_err"; then
22426 :
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 # Broken: fails on valid input.
22432 continue
22433 fi
22434 rm -f conftest.err conftest.$ac_ext
22435
22436 # OK, works on sane cases. Now check whether non-existent headers
22437 # can be detected and how.
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 #include <ac_nonexistent.h>
22445 _ACEOF
22446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } >/dev/null; then
22454 if test -s conftest.err; then
22455 ac_cpp_err=$ac_cxx_preproc_warn_flag
22456 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22457 else
22458 ac_cpp_err=
22459 fi
22460 else
22461 ac_cpp_err=yes
22462 fi
22463 if test -z "$ac_cpp_err"; then
22464 # Broken: success on invalid input.
22465 continue
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 # Passes both tests.
22471 ac_preproc_ok=:
22472 break
22473 fi
22474 rm -f conftest.err conftest.$ac_ext
22475
22476 done
22477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22478 rm -f conftest.err conftest.$ac_ext
22479 if $ac_preproc_ok; then
22480 :
22481 else
22482 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22485 See \`config.log' for more details." >&2;}
22486 { (exit 1); exit 1; }; }
22487 fi
22488
22489 ac_ext=cc
22490 ac_cpp='$CXXCPP $CPPFLAGS'
22491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22494
22495
22496
22497
22498
22499 ac_ext=cc
22500 ac_cpp='$CXXCPP $CPPFLAGS'
22501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22504
22505
22506
22507 for ac_header in iostream
22508 do
22509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22511 echo "$as_me:$LINENO: checking for $ac_header" >&5
22512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 fi
22516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22518 else
22519 # Is the header compilable?
22520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22522 cat >conftest.$ac_ext <<_ACEOF
22523 /* confdefs.h. */
22524 _ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 #include <$ac_header>
22530 _ACEOF
22531 rm -f conftest.$ac_objext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22533 (eval $ac_compile) 2>conftest.er1
22534 ac_status=$?
22535 grep -v '^ *+' conftest.er1 >conftest.err
22536 rm -f conftest.er1
22537 cat conftest.err >&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try='test -s conftest.$ac_objext'
22547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548 (eval $ac_try) 2>&5
22549 ac_status=$?
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); }; }; then
22552 ac_header_compiler=yes
22553 else
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ac_header_compiler=no
22558 fi
22559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22561 echo "${ECHO_T}$ac_header_compiler" >&6
22562
22563 # Is the header present?
22564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22566 cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 #include <$ac_header>
22573 _ACEOF
22574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22576 ac_status=$?
22577 grep -v '^ *+' conftest.er1 >conftest.err
22578 rm -f conftest.er1
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } >/dev/null; then
22582 if test -s conftest.err; then
22583 ac_cpp_err=$ac_cxx_preproc_warn_flag
22584 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22585 else
22586 ac_cpp_err=
22587 fi
22588 else
22589 ac_cpp_err=yes
22590 fi
22591 if test -z "$ac_cpp_err"; then
22592 ac_header_preproc=yes
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22596
22597 ac_header_preproc=no
22598 fi
22599 rm -f conftest.err conftest.$ac_ext
22600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22601 echo "${ECHO_T}$ac_header_preproc" >&6
22602
22603 # So? What about this header?
22604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22605 yes:no: )
22606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22610 ac_header_preproc=yes
22611 ;;
22612 no:yes:* )
22613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22625 (
22626 cat <<\_ASBOX
22627 ## ----------------------------------------- ##
22628 ## Report this to wx-dev@lists.wxwidgets.org ##
22629 ## ----------------------------------------- ##
22630 _ASBOX
22631 ) |
22632 sed "s/^/$as_me: WARNING: /" >&2
22633 ;;
22634 esac
22635 echo "$as_me:$LINENO: checking for $ac_header" >&5
22636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22638 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 else
22640 eval "$as_ac_Header=\$ac_header_preproc"
22641 fi
22642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22644
22645 fi
22646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22647 cat >>confdefs.h <<_ACEOF
22648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22649 _ACEOF
22650
22651 fi
22652
22653 done
22654
22655
22656 if test "$ac_cv_header_iostream" = "yes" ; then
22657 :
22658 else
22659 cat >>confdefs.h <<\_ACEOF
22660 #define wxUSE_IOSTREAMH 1
22661 _ACEOF
22662
22663 fi
22664
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22670
22671
22672
22673
22674 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22675 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22676 if test "${wx_cv_cpp_bool+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679
22680
22681
22682 ac_ext=cc
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22687
22688
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695
22696
22697 int
22698 main ()
22699 {
22700
22701 bool b = true;
22702
22703 return 0;
22704
22705 ;
22706 return 0;
22707 }
22708 _ACEOF
22709 rm -f conftest.$ac_objext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22711 (eval $ac_compile) 2>conftest.er1
22712 ac_status=$?
22713 grep -v '^ *+' conftest.er1 >conftest.err
22714 rm -f conftest.er1
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } &&
22718 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22721 ac_status=$?
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22730
22731 wx_cv_cpp_bool=yes
22732
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737
22738 wx_cv_cpp_bool=no
22739
22740
22741 fi
22742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22743
22744 ac_ext=c
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749
22750
22751 fi
22752 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22753 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22754
22755 if test "$wx_cv_cpp_bool" = "yes"; then
22756 cat >>confdefs.h <<\_ACEOF
22757 #define HAVE_BOOL 1
22758 _ACEOF
22759
22760 fi
22761
22762
22763
22764 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22765 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22766 if test "${wx_cv_explicit+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769
22770
22771
22772 ac_ext=cc
22773 ac_cpp='$CXXCPP $CPPFLAGS'
22774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22777
22778
22779 cat >conftest.$ac_ext <<_ACEOF
22780 /* confdefs.h. */
22781 _ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785
22786 class Foo { public: explicit Foo(int) {} };
22787
22788 int
22789 main ()
22790 {
22791
22792 return 0;
22793
22794 ;
22795 return 0;
22796 }
22797 _ACEOF
22798 rm -f conftest.$ac_objext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22800 (eval $ac_compile) 2>conftest.er1
22801 ac_status=$?
22802 grep -v '^ *+' conftest.er1 >conftest.err
22803 rm -f conftest.er1
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22810 ac_status=$?
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; } &&
22813 { ac_try='test -s conftest.$ac_objext'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; }; then
22819
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826
22827 class Foo { public: explicit Foo(int) {} };
22828 static void TakeFoo(const Foo& foo) { }
22829
22830 int
22831 main ()
22832 {
22833
22834 TakeFoo(17);
22835 return 0;
22836
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest.$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22844 ac_status=$?
22845 grep -v '^ *+' conftest.er1 >conftest.err
22846 rm -f conftest.er1
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try='test -s conftest.$ac_objext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22862 wx_cv_explicit=no
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 wx_cv_explicit=yes
22868
22869 fi
22870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22871
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 wx_cv_explicit=no
22877
22878 fi
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22880
22881 ac_ext=c
22882 ac_cpp='$CPP $CPPFLAGS'
22883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886
22887
22888 fi
22889 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22890 echo "${ECHO_T}$wx_cv_explicit" >&6
22891
22892 if test "$wx_cv_explicit" = "yes"; then
22893 cat >>confdefs.h <<\_ACEOF
22894 #define HAVE_EXPLICIT 1
22895 _ACEOF
22896
22897 fi
22898
22899
22900 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22901 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22902 if test "${ac_cv_cxx_const_cast+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 else
22905
22906
22907 ac_ext=cc
22908 ac_cpp='$CXXCPP $CPPFLAGS'
22909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919
22920 int
22921 main ()
22922 {
22923 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22924 ;
22925 return 0;
22926 }
22927 _ACEOF
22928 rm -f conftest.$ac_objext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22930 (eval $ac_compile) 2>conftest.er1
22931 ac_status=$?
22932 grep -v '^ *+' conftest.er1 >conftest.err
22933 rm -f conftest.er1
22934 cat conftest.err >&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_cxx_const_cast=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22953
22954 ac_cv_cxx_const_cast=no
22955 fi
22956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22957 ac_ext=c
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22962
22963
22964 fi
22965 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22966 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22967 if test "$ac_cv_cxx_const_cast" = yes; then
22968
22969 cat >>confdefs.h <<\_ACEOF
22970 #define HAVE_CONST_CAST
22971 _ACEOF
22972
22973 fi
22974
22975 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22976 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22977 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22979 else
22980
22981
22982 ac_ext=cc
22983 ac_cpp='$CXXCPP $CPPFLAGS'
22984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22987
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 #include <typeinfo>
22995 class Base { public : Base () {} virtual void f () = 0;};
22996 class Derived : public Base { public : Derived () {} virtual void f () {} };
22997 class Unrelated { public : Unrelated () {} };
22998 int g (Unrelated&) { return 0; }
22999 int
23000 main ()
23001 {
23002
23003 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23004 ;
23005 return 0;
23006 }
23007 _ACEOF
23008 rm -f conftest.$ac_objext
23009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23010 (eval $ac_compile) 2>conftest.er1
23011 ac_status=$?
23012 grep -v '^ *+' conftest.er1 >conftest.err
23013 rm -f conftest.er1
23014 cat conftest.err >&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); } &&
23017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; } &&
23023 { ac_try='test -s conftest.$ac_objext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 ac_cv_cxx_reinterpret_cast=yes
23030 else
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.$ac_ext >&5
23033
23034 ac_cv_cxx_reinterpret_cast=no
23035 fi
23036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23037 ac_ext=c
23038 ac_cpp='$CPP $CPPFLAGS'
23039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23042
23043
23044 fi
23045 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23046 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23047 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23048
23049 cat >>confdefs.h <<\_ACEOF
23050 #define HAVE_REINTERPRET_CAST
23051 _ACEOF
23052
23053 fi
23054
23055 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23056 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23057 if test "${ac_cv_cxx_static_cast+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 else
23060
23061
23062 ac_ext=cc
23063 ac_cpp='$CXXCPP $CPPFLAGS'
23064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23067
23068 cat >conftest.$ac_ext <<_ACEOF
23069 /* confdefs.h. */
23070 _ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 #include <typeinfo>
23075 class Base { public : Base () {} virtual void f () = 0; };
23076 class Derived : public Base { public : Derived () {} virtual void f () {} };
23077 int g (Derived&) { return 0; }
23078 int
23079 main ()
23080 {
23081
23082 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23083 ;
23084 return 0;
23085 }
23086 _ACEOF
23087 rm -f conftest.$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23105 ac_status=$?
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_cxx_static_cast=yes
23109 else
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.$ac_ext >&5
23112
23113 ac_cv_cxx_static_cast=no
23114 fi
23115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123 fi
23124 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23125 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23126 if test "$ac_cv_cxx_static_cast" = yes; then
23127
23128 cat >>confdefs.h <<\_ACEOF
23129 #define HAVE_STATIC_CAST
23130 _ACEOF
23131
23132 fi
23133
23134
23135 if test "x$SUNCXX" = xyes; then
23136 CXXFLAGS="-features=tmplife $CXXFLAGS"
23137 fi
23138
23139 if test "x$SUNCC" = xyes; then
23140 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23141 fi
23142
23143 if test "x$SGICC" = "xyes"; then
23144 CFLAGS="-woff 3970 $CFLAGS"
23145 fi
23146 if test "x$SGICXX" = "xyes"; then
23147 CXXFLAGS="-woff 3970 $CXXFLAGS"
23148 fi
23149
23150 if test "x$HPCC" = "xyes"; then
23151 CFLAGS="+W 2011,2450 $CFLAGS"
23152 fi
23153 if test "x$HPCXX" = "xyes"; then
23154 CXXFLAGS="+W 2340 $CXXFLAGS"
23155 fi
23156
23157 if test "x$COMPAQCXX" = "xyes"; then
23158 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23159 fi
23160
23161 ac_ext=cc
23162 ac_cpp='$CXXCPP $CPPFLAGS'
23163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166
23167
23168 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23169 if test "$wxUSE_UNICODE" = "yes"; then
23170 std_string="std::wstring"
23171 char_type="wchar_t"
23172 else
23173 std_string="std::string"
23174 char_type="char"
23175 fi
23176
23177 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23178 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23179 if test "${wx_cv_class_stdstring+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 else
23182
23183 cat >conftest.$ac_ext <<_ACEOF
23184 /* confdefs.h. */
23185 _ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 #include <string>
23190 int
23191 main ()
23192 {
23193 $std_string foo;
23194 ;
23195 return 0;
23196 }
23197 _ACEOF
23198 rm -f conftest.$ac_objext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23200 (eval $ac_compile) 2>conftest.er1
23201 ac_status=$?
23202 grep -v '^ *+' conftest.er1 >conftest.err
23203 rm -f conftest.er1
23204 cat conftest.err >&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23210 ac_status=$?
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try='test -s conftest.$ac_objext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 wx_cv_class_stdstring=yes
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 wx_cv_class_stdstring=no
23225
23226 fi
23227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23228
23229
23230 fi
23231 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23232 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23233
23234 if test "$wx_cv_class_stdstring" = yes; then
23235 if test "$wxUSE_UNICODE" = "yes"; then
23236 cat >>confdefs.h <<\_ACEOF
23237 #define HAVE_STD_WSTRING 1
23238 _ACEOF
23239
23240 fi
23241 else
23242 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23243 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23244 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23245 echo $ECHO_N "(cached) $ECHO_C" >&6
23246 else
23247
23248 cat >conftest.$ac_ext <<_ACEOF
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254
23255 #ifdef HAVE_WCHAR_H
23256 # ifdef __CYGWIN__
23257 # include <stddef.h>
23258 # endif
23259 # include <wchar.h>
23260 #endif
23261 #ifdef HAVE_STDLIB_H
23262 # include <stdlib.h>
23263 #endif
23264 #include <stdio.h>
23265 #include <string>
23266
23267 int
23268 main ()
23269 {
23270 std::basic_string<$char_type> foo;
23271 const $char_type* dummy = foo.c_str();
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278 (eval $ac_compile) 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23288 ac_status=$?
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; } &&
23291 { ac_try='test -s conftest.$ac_objext'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23294 ac_status=$?
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; }; then
23297 wx_cv_class_stdbasicstring=yes
23298 else
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.$ac_ext >&5
23301
23302 wx_cv_class_stdbasicstring=no
23303
23304 fi
23305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23306
23307
23308 fi
23309 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23310 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23311
23312 if test "$wx_cv_class_stdbasicstring" != yes; then
23313 if test "$wxUSE_STL" = "yes"; then
23314 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23315 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23316 { (exit 1); exit 1; }; }
23317 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23318 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23319 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23320 { (exit 1); exit 1; }; }
23321 else
23322 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23323 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23324 wxUSE_STD_STRING=no
23325 fi
23326 fi
23327 fi
23328 fi
23329
23330 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23331 echo "$as_me:$LINENO: checking for std::istream" >&5
23332 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23333 if test "${ac_cv_type_std__istream+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 else
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 #include <iostream>
23343
23344 int
23345 main ()
23346 {
23347 if ((std::istream *) 0)
23348 return 0;
23349 if (sizeof (std::istream))
23350 return 0;
23351 ;
23352 return 0;
23353 }
23354 _ACEOF
23355 rm -f conftest.$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23358 ac_status=$?
23359 grep -v '^ *+' conftest.er1 >conftest.err
23360 rm -f conftest.er1
23361 cat conftest.err >&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23367 ac_status=$?
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; } &&
23370 { ac_try='test -s conftest.$ac_objext'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_type_std__istream=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23380
23381 ac_cv_type_std__istream=no
23382 fi
23383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23384 fi
23385 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23386 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23387 if test $ac_cv_type_std__istream = yes; then
23388
23389 cat >>confdefs.h <<_ACEOF
23390 #define HAVE_STD__ISTREAM 1
23391 _ACEOF
23392
23393
23394 else
23395 wxUSE_STD_IOSTREAM=no
23396 fi
23397 echo "$as_me:$LINENO: checking for std::ostream" >&5
23398 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23399 if test "${ac_cv_type_std__ostream+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <iostream>
23409
23410 int
23411 main ()
23412 {
23413 if ((std::ostream *) 0)
23414 return 0;
23415 if (sizeof (std::ostream))
23416 return 0;
23417 ;
23418 return 0;
23419 }
23420 _ACEOF
23421 rm -f conftest.$ac_objext
23422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23423 (eval $ac_compile) 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } &&
23430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 ac_cv_type_std__ostream=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ac_cv_type_std__ostream=no
23448 fi
23449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23450 fi
23451 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23452 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23453 if test $ac_cv_type_std__ostream = yes; then
23454
23455 cat >>confdefs.h <<_ACEOF
23456 #define HAVE_STD__OSTREAM 1
23457 _ACEOF
23458
23459
23460 else
23461 wxUSE_STD_IOSTREAM=no
23462 fi
23463
23464
23465 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23466 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23467 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23468 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23469 { (exit 1); exit 1; }; }
23470 else
23471 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23472 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23473 fi
23474 fi
23475 fi
23476
23477 if test "$wxUSE_STL" = "yes"; then
23478 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23479 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23480 if test "${wx_cv_lib_stl+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 cat >conftest.$ac_ext <<_ACEOF
23484 /* confdefs.h. */
23485 _ACEOF
23486 cat confdefs.h >>conftest.$ac_ext
23487 cat >>conftest.$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23489 #include <string>
23490 #include <functional>
23491 #include <algorithm>
23492 #include <vector>
23493 #include <list>
23494 int
23495 main ()
23496 {
23497 std::vector<int> moo;
23498 std::list<int> foo;
23499 std::vector<int>::iterator it =
23500 std::find_if(moo.begin(), moo.end(),
23501 std::bind2nd(std::less<int>(), 3));
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>conftest.er1
23509 ac_status=$?
23510 grep -v '^ *+' conftest.er1 >conftest.err
23511 rm -f conftest.er1
23512 cat conftest.err >&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23518 ac_status=$?
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; } &&
23521 { ac_try='test -s conftest.$ac_objext'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23524 ac_status=$?
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; }; then
23527 wx_cv_lib_stl=yes
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 wx_cv_lib_stl=no
23533
23534 fi
23535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23536
23537 fi
23538 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23539 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23540
23541 if test "$wx_cv_lib_stl" != yes; then
23542 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23543 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23544 { (exit 1); exit 1; }; }
23545 fi
23546
23547 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23548 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23549 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 else
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 #include <string>
23559 int
23560 main ()
23561 {
23562 std::string foo, bar;
23563 foo.compare(bar);
23564 foo.compare(1, 1, bar);
23565 foo.compare(1, 1, bar, 1, 1);
23566 foo.compare("");
23567 foo.compare(1, 1, "");
23568 foo.compare(1, 1, "", 2);
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_func_stdstring_compare=yes
23595 else
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 wx_cv_func_stdstring_compare=no
23600
23601 fi
23602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23603
23604 fi
23605 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23606 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23607
23608 if test "$wx_cv_func_stdstring_compare" = yes; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_STD_STRING_COMPARE 1
23611 _ACEOF
23612
23613 fi
23614
23615 if test "${ac_cv_header_hash_map+set}" = set; then
23616 echo "$as_me:$LINENO: checking for hash_map" >&5
23617 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23618 if test "${ac_cv_header_hash_map+set}" = set; then
23619 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 fi
23621 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23622 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23623 else
23624 # Is the header compilable?
23625 echo "$as_me:$LINENO: checking hash_map usability" >&5
23626 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23627 cat >conftest.$ac_ext <<_ACEOF
23628 /* confdefs.h. */
23629 _ACEOF
23630 cat confdefs.h >>conftest.$ac_ext
23631 cat >>conftest.$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 $ac_includes_default
23634 #include <hash_map>
23635 _ACEOF
23636 rm -f conftest.$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try='test -s conftest.$ac_objext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 ac_header_compiler=yes
23658 else
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23661
23662 ac_header_compiler=no
23663 fi
23664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23666 echo "${ECHO_T}$ac_header_compiler" >&6
23667
23668 # Is the header present?
23669 echo "$as_me:$LINENO: checking hash_map presence" >&5
23670 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 #include <hash_map>
23678 _ACEOF
23679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23681 ac_status=$?
23682 grep -v '^ *+' conftest.er1 >conftest.err
23683 rm -f conftest.er1
23684 cat conftest.err >&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } >/dev/null; then
23687 if test -s conftest.err; then
23688 ac_cpp_err=$ac_cxx_preproc_warn_flag
23689 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23690 else
23691 ac_cpp_err=
23692 fi
23693 else
23694 ac_cpp_err=yes
23695 fi
23696 if test -z "$ac_cpp_err"; then
23697 ac_header_preproc=yes
23698 else
23699 echo "$as_me: failed program was:" >&5
23700 sed 's/^/| /' conftest.$ac_ext >&5
23701
23702 ac_header_preproc=no
23703 fi
23704 rm -f conftest.err conftest.$ac_ext
23705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23706 echo "${ECHO_T}$ac_header_preproc" >&6
23707
23708 # So? What about this header?
23709 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23710 yes:no: )
23711 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23712 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23713 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23714 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23715 ac_header_preproc=yes
23716 ;;
23717 no:yes:* )
23718 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23719 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23720 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23721 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23722 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23723 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23724 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23725 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23727 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23728 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23729 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23730 (
23731 cat <<\_ASBOX
23732 ## ----------------------------------------- ##
23733 ## Report this to wx-dev@lists.wxwidgets.org ##
23734 ## ----------------------------------------- ##
23735 _ASBOX
23736 ) |
23737 sed "s/^/$as_me: WARNING: /" >&2
23738 ;;
23739 esac
23740 echo "$as_me:$LINENO: checking for hash_map" >&5
23741 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23742 if test "${ac_cv_header_hash_map+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 else
23745 ac_cv_header_hash_map=$ac_header_preproc
23746 fi
23747 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23748 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23749
23750 fi
23751 if test $ac_cv_header_hash_map = yes; then
23752 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23753 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23754 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 #include <hash_map>
23764 #include <hash_set>
23765 int
23766 main ()
23767 {
23768 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23769 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23770 ;
23771 return 0;
23772 }
23773 _ACEOF
23774 rm -f conftest.$ac_objext
23775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23776 (eval $ac_compile) 2>conftest.er1
23777 ac_status=$?
23778 grep -v '^ *+' conftest.er1 >conftest.err
23779 rm -f conftest.er1
23780 cat conftest.err >&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } &&
23783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23786 ac_status=$?
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; } &&
23789 { ac_try='test -s conftest.$ac_objext'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23792 ac_status=$?
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; }; then
23795 wx_cv_class_stdhashmapset=yes
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 wx_cv_class_stdhashmapset=no
23801 fi
23802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23803
23804
23805 fi
23806 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23807 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23808
23809 fi
23810
23811
23812
23813 if test "$wx_cv_class_stdhashmapset" = yes; then
23814 cat >>confdefs.h <<\_ACEOF
23815 #define HAVE_HASH_MAP 1
23816 _ACEOF
23817
23818 cat >>confdefs.h <<\_ACEOF
23819 #define HAVE_STD_HASH_MAP 1
23820 _ACEOF
23821
23822 fi
23823
23824 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23825 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23826 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23827 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 fi
23830 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23831 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23832 else
23833 # Is the header compilable?
23834 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23835 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 #include <ext/hash_map>
23844 _ACEOF
23845 rm -f conftest.$ac_objext
23846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23847 (eval $ac_compile) 2>conftest.er1
23848 ac_status=$?
23849 grep -v '^ *+' conftest.er1 >conftest.err
23850 rm -f conftest.er1
23851 cat conftest.err >&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); } &&
23854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; } &&
23860 { ac_try='test -s conftest.$ac_objext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866 ac_header_compiler=yes
23867 else
23868 echo "$as_me: failed program was:" >&5
23869 sed 's/^/| /' conftest.$ac_ext >&5
23870
23871 ac_header_compiler=no
23872 fi
23873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23875 echo "${ECHO_T}$ac_header_compiler" >&6
23876
23877 # Is the header present?
23878 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23879 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23880 cat >conftest.$ac_ext <<_ACEOF
23881 /* confdefs.h. */
23882 _ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23886 #include <ext/hash_map>
23887 _ACEOF
23888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23890 ac_status=$?
23891 grep -v '^ *+' conftest.er1 >conftest.err
23892 rm -f conftest.er1
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } >/dev/null; then
23896 if test -s conftest.err; then
23897 ac_cpp_err=$ac_cxx_preproc_warn_flag
23898 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23899 else
23900 ac_cpp_err=
23901 fi
23902 else
23903 ac_cpp_err=yes
23904 fi
23905 if test -z "$ac_cpp_err"; then
23906 ac_header_preproc=yes
23907 else
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23910
23911 ac_header_preproc=no
23912 fi
23913 rm -f conftest.err conftest.$ac_ext
23914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23915 echo "${ECHO_T}$ac_header_preproc" >&6
23916
23917 # So? What about this header?
23918 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23919 yes:no: )
23920 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23921 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23922 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23923 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23924 ac_header_preproc=yes
23925 ;;
23926 no:yes:* )
23927 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23928 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23929 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23930 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23931 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23932 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23933 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23934 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23935 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23936 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23937 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23938 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23939 (
23940 cat <<\_ASBOX
23941 ## ----------------------------------------- ##
23942 ## Report this to wx-dev@lists.wxwidgets.org ##
23943 ## ----------------------------------------- ##
23944 _ASBOX
23945 ) |
23946 sed "s/^/$as_me: WARNING: /" >&2
23947 ;;
23948 esac
23949 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23950 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23951 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 else
23954 ac_cv_header_ext_hash_map=$ac_header_preproc
23955 fi
23956 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23957 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23958
23959 fi
23960 if test $ac_cv_header_ext_hash_map = yes; then
23961 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23962 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23963 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966 cat >conftest.$ac_ext <<_ACEOF
23967 /* confdefs.h. */
23968 _ACEOF
23969 cat confdefs.h >>conftest.$ac_ext
23970 cat >>conftest.$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972 #include <ext/hash_map>
23973 #include <ext/hash_set>
23974 int
23975 main ()
23976 {
23977 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23978 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23979 ;
23980 return 0;
23981 }
23982 _ACEOF
23983 rm -f conftest.$ac_objext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23985 (eval $ac_compile) 2>conftest.er1
23986 ac_status=$?
23987 grep -v '^ *+' conftest.er1 >conftest.err
23988 rm -f conftest.er1
23989 cat conftest.err >&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; } &&
23998 { ac_try='test -s conftest.$ac_objext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 wx_cv_class_gnuhashmapset=yes
24005 else
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24008
24009 wx_cv_class_gnuhashmapset=no
24010 fi
24011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24012
24013
24014 fi
24015 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24016 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24017
24018 fi
24019
24020
24021
24022 if test "$wx_cv_class_gnuhashmapset" = yes; then
24023 cat >>confdefs.h <<\_ACEOF
24024 #define HAVE_EXT_HASH_MAP 1
24025 _ACEOF
24026
24027 cat >>confdefs.h <<\_ACEOF
24028 #define HAVE_GNU_CXX_HASH_MAP 1
24029 _ACEOF
24030
24031 fi
24032 fi
24033
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039
24040
24041
24042 SEARCH_INCLUDE="\
24043 /usr/local/include \
24044 \
24045 /usr/Motif-2.1/include \
24046 /usr/Motif-1.2/include \
24047 /usr/include/Motif1.2 \
24048 \
24049 /usr/dt/include \
24050 /usr/openwin/include \
24051 \
24052 /usr/include/Xm \
24053 \
24054 /usr/X11R6/include \
24055 /usr/X11R6.4/include \
24056 /usr/X11R5/include \
24057 /usr/X11R4/include \
24058 \
24059 /usr/include/X11R6 \
24060 /usr/include/X11R5 \
24061 /usr/include/X11R4 \
24062 \
24063 /usr/local/X11R6/include \
24064 /usr/local/X11R5/include \
24065 /usr/local/X11R4/include \
24066 \
24067 /usr/local/include/X11R6 \
24068 /usr/local/include/X11R5 \
24069 /usr/local/include/X11R4 \
24070 \
24071 /usr/X11/include \
24072 /usr/include/X11 \
24073 /usr/local/X11/include \
24074 /usr/local/include/X11 \
24075 \
24076 /usr/XFree86/include/X11 \
24077 /usr/pkg/include \
24078 \
24079 /usr/openwin/share/include"
24080
24081 echo "$as_me:$LINENO: checking for libraries directory" >&5
24082 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24083
24084 case "${host}" in
24085 *-*-irix6* )
24086 if test "${wx_cv_std_libpath+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 else
24089
24090 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24091 for e in a so sl dylib dll.a; do
24092 libc="$d/libc.$e"
24093 if test -f $libc; then
24094 save_LIBS="$LIBS"
24095 LIBS="$libc"
24096 cat >conftest.$ac_ext <<_ACEOF
24097 int main() { return 0; }
24098 _ACEOF
24099 rm -f conftest.$ac_objext conftest$ac_exeext
24100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24101 (eval $ac_link) 2>conftest.er1
24102 ac_status=$?
24103 grep -v '^ *+' conftest.er1 >conftest.err
24104 rm -f conftest.er1
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } &&
24108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24121 else
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 fi
24126 rm -f conftest.err conftest.$ac_objext \
24127 conftest$ac_exeext conftest.$ac_ext
24128 LIBS="$save_LIBS"
24129 if test "x$wx_cv_std_libpath" != "x"; then
24130 break 2
24131 fi
24132 fi
24133 done
24134 done
24135 if test "x$wx_cv_std_libpath" = "x"; then
24136 wx_cv_std_libpath="lib"
24137 fi
24138
24139
24140 fi
24141
24142 ;;
24143
24144 *-*-solaris2* )
24145 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24146 wx_cv_std_libpath="lib/64"
24147 else
24148 wx_cv_std_libpath="lib"
24149 fi
24150 ;;
24151
24152 *-*-linux* )
24153 if test "$ac_cv_sizeof_void_p" = 8 -a \
24154 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24155 wx_cv_std_libpath="lib64"
24156 else
24157 wx_cv_std_libpath="lib"
24158 fi
24159 ;;
24160
24161 *)
24162 wx_cv_std_libpath="lib";
24163 ;;
24164 esac
24165
24166 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24167 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24168
24169 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24170
24171 if test "$build" != "$host" -a "$GCC" = yes; then
24172 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24173 cross_root=`dirname $cross_root`
24174 cross_root=`dirname $cross_root`
24175
24176 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24177 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24178 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24179
24180 if test -z "$PKG_CONFIG_PATH"; then
24181 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24182 export PKG_CONFIG_PATH
24183 fi
24184
24185 if test -z "$x_includes" -o "$x_includes" = NONE; then
24186
24187 ac_find_includes=
24188 for ac_dir in $SEARCH_INCLUDE /usr/include;
24189 do
24190 if test -f "$ac_dir/X11/Intrinsic.h"; then
24191 ac_find_includes=$ac_dir
24192 break
24193 fi
24194 done
24195
24196 x_includes=$ac_find_includes
24197 fi
24198 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24199
24200 ac_find_libraries=
24201 for ac_dir in $SEARCH_LIB;
24202 do
24203 for ac_extension in a so sl dylib dll.a; do
24204 if test -f "$ac_dir/libXt.$ac_extension"; then
24205 ac_find_libraries=$ac_dir
24206 break 2
24207 fi
24208 done
24209 done
24210
24211 x_libraries=$ac_find_libraries
24212 fi
24213 fi
24214 fi
24215
24216
24217 cat >confcache <<\_ACEOF
24218 # This file is a shell script that caches the results of configure
24219 # tests run on this system so they can be shared between configure
24220 # scripts and configure runs, see configure's option --config-cache.
24221 # It is not useful on other systems. If it contains results you don't
24222 # want to keep, you may remove or edit it.
24223 #
24224 # config.status only pays attention to the cache file if you give it
24225 # the --recheck option to rerun configure.
24226 #
24227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24229 # following values.
24230
24231 _ACEOF
24232
24233 # The following way of writing the cache mishandles newlines in values,
24234 # but we know of no workaround that is simple, portable, and efficient.
24235 # So, don't put newlines in cache variables' values.
24236 # Ultrix sh set writes to stderr and can't be redirected directly,
24237 # and sets the high bit in the cache file unless we assign to the vars.
24238 {
24239 (set) 2>&1 |
24240 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24241 *ac_space=\ *)
24242 # `set' does not quote correctly, so add quotes (double-quote
24243 # substitution turns \\\\ into \\, and sed turns \\ into \).
24244 sed -n \
24245 "s/'/'\\\\''/g;
24246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24247 ;;
24248 *)
24249 # `set' quotes correctly as required by POSIX, so do not add quotes.
24250 sed -n \
24251 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24252 ;;
24253 esac;
24254 } |
24255 sed '
24256 t clear
24257 : clear
24258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24259 t end
24260 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24261 : end' >>confcache
24262 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24263 if test -w $cache_file; then
24264 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24265 cat confcache >$cache_file
24266 else
24267 echo "not updating unwritable cache $cache_file"
24268 fi
24269 fi
24270 rm -f confcache
24271
24272 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24273 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24274 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24275 if test "${wx_cv_lib_glibc21+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 else
24278
24279 cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h. */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 #include <features.h>
24286 int
24287 main ()
24288 {
24289
24290 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24291 not glibc 2.1
24292 #endif
24293
24294 ;
24295 return 0;
24296 }
24297 _ACEOF
24298 rm -f conftest.$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300 (eval $ac_compile) 2>conftest.er1
24301 ac_status=$?
24302 grep -v '^ *+' conftest.er1 >conftest.err
24303 rm -f conftest.er1
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } &&
24307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24310 ac_status=$?
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try='test -s conftest.$ac_objext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24319
24320 wx_cv_lib_glibc21=yes
24321
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24325
24326
24327 wx_cv_lib_glibc21=no
24328
24329
24330 fi
24331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24332
24333 fi
24334 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24335 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24336 if test "$wx_cv_lib_glibc21" = "yes"; then
24337 cat >>confdefs.h <<\_ACEOF
24338 #define wxHAVE_GLIBC2 1
24339 _ACEOF
24340
24341 fi
24342 fi
24343
24344 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24345 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24346 cat >>confdefs.h <<\_ACEOF
24347 #define _GNU_SOURCE 1
24348 _ACEOF
24349
24350 fi
24351 fi
24352
24353 have_cos=0
24354 have_floor=0
24355
24356 for ac_func in cos
24357 do
24358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 echo "$as_me:$LINENO: checking for $ac_func" >&5
24360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24361 if eval "test \"\${$as_ac_var+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24372 #define $ac_func innocuous_$ac_func
24373
24374 /* System header to define __stub macros and hopefully few prototypes,
24375 which can conflict with char $ac_func (); below.
24376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24377 <limits.h> exists even on freestanding compilers. */
24378
24379 #ifdef __STDC__
24380 # include <limits.h>
24381 #else
24382 # include <assert.h>
24383 #endif
24384
24385 #undef $ac_func
24386
24387 /* Override any gcc2 internal prototype to avoid an error. */
24388 #ifdef __cplusplus
24389 extern "C"
24390 {
24391 #endif
24392 /* We use char because int might match the return type of a gcc2
24393 builtin and then its argument prototype would still apply. */
24394 char $ac_func ();
24395 /* The GNU C library defines this for functions which it implements
24396 to always fail with ENOSYS. Some functions are actually named
24397 something starting with __ and the normal name is an alias. */
24398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24399 choke me
24400 #else
24401 char (*f) () = $ac_func;
24402 #endif
24403 #ifdef __cplusplus
24404 }
24405 #endif
24406
24407 int
24408 main ()
24409 {
24410 return f != $ac_func;
24411 ;
24412 return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417 (eval $ac_link) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try='test -s conftest$ac_exeext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 eval "$as_ac_var=yes"
24437 else
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24440
24441 eval "$as_ac_var=no"
24442 fi
24443 rm -f conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24445 fi
24446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24448 if test `eval echo '${'$as_ac_var'}'` = yes; then
24449 cat >>confdefs.h <<_ACEOF
24450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24451 _ACEOF
24452 have_cos=1
24453 fi
24454 done
24455
24456
24457 for ac_func in floor
24458 do
24459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24460 echo "$as_me:$LINENO: checking for $ac_func" >&5
24461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24462 if eval "test \"\${$as_ac_var+set}\" = set"; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 else
24465 cat >conftest.$ac_ext <<_ACEOF
24466 /* confdefs.h. */
24467 _ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24473 #define $ac_func innocuous_$ac_func
24474
24475 /* System header to define __stub macros and hopefully few prototypes,
24476 which can conflict with char $ac_func (); below.
24477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24478 <limits.h> exists even on freestanding compilers. */
24479
24480 #ifdef __STDC__
24481 # include <limits.h>
24482 #else
24483 # include <assert.h>
24484 #endif
24485
24486 #undef $ac_func
24487
24488 /* Override any gcc2 internal prototype to avoid an error. */
24489 #ifdef __cplusplus
24490 extern "C"
24491 {
24492 #endif
24493 /* We use char because int might match the return type of a gcc2
24494 builtin and then its argument prototype would still apply. */
24495 char $ac_func ();
24496 /* The GNU C library defines this for functions which it implements
24497 to always fail with ENOSYS. Some functions are actually named
24498 something starting with __ and the normal name is an alias. */
24499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24500 choke me
24501 #else
24502 char (*f) () = $ac_func;
24503 #endif
24504 #ifdef __cplusplus
24505 }
24506 #endif
24507
24508 int
24509 main ()
24510 {
24511 return f != $ac_func;
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 rm -f conftest.$ac_objext conftest$ac_exeext
24517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24518 (eval $ac_link) 2>conftest.er1
24519 ac_status=$?
24520 grep -v '^ *+' conftest.er1 >conftest.err
24521 rm -f conftest.er1
24522 cat conftest.err >&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } &&
24525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24528 ac_status=$?
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; } &&
24531 { ac_try='test -s conftest$ac_exeext'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24534 ac_status=$?
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; }; then
24537 eval "$as_ac_var=yes"
24538 else
24539 echo "$as_me: failed program was:" >&5
24540 sed 's/^/| /' conftest.$ac_ext >&5
24541
24542 eval "$as_ac_var=no"
24543 fi
24544 rm -f conftest.err conftest.$ac_objext \
24545 conftest$ac_exeext conftest.$ac_ext
24546 fi
24547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24549 if test `eval echo '${'$as_ac_var'}'` = yes; then
24550 cat >>confdefs.h <<_ACEOF
24551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24552 _ACEOF
24553 have_floor=1
24554 fi
24555 done
24556
24557 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24558 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24559 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24560 echo "$as_me:$LINENO: result: yes" >&5
24561 echo "${ECHO_T}yes" >&6
24562 else
24563 echo "$as_me:$LINENO: result: no" >&5
24564 echo "${ECHO_T}no" >&6
24565 LIBS="$LIBS -lm"
24566 # use different functions to avoid configure caching
24567 have_sin=0
24568 have_ceil=0
24569
24570 for ac_func in sin
24571 do
24572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24573 echo "$as_me:$LINENO: checking for $ac_func" >&5
24574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24575 if eval "test \"\${$as_ac_var+set}\" = set"; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24577 else
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24586 #define $ac_func innocuous_$ac_func
24587
24588 /* System header to define __stub macros and hopefully few prototypes,
24589 which can conflict with char $ac_func (); below.
24590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24591 <limits.h> exists even on freestanding compilers. */
24592
24593 #ifdef __STDC__
24594 # include <limits.h>
24595 #else
24596 # include <assert.h>
24597 #endif
24598
24599 #undef $ac_func
24600
24601 /* Override any gcc2 internal prototype to avoid an error. */
24602 #ifdef __cplusplus
24603 extern "C"
24604 {
24605 #endif
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24608 char $ac_func ();
24609 /* The GNU C library defines this for functions which it implements
24610 to always fail with ENOSYS. Some functions are actually named
24611 something starting with __ and the normal name is an alias. */
24612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24613 choke me
24614 #else
24615 char (*f) () = $ac_func;
24616 #endif
24617 #ifdef __cplusplus
24618 }
24619 #endif
24620
24621 int
24622 main ()
24623 {
24624 return f != $ac_func;
24625 ;
24626 return 0;
24627 }
24628 _ACEOF
24629 rm -f conftest.$ac_objext conftest$ac_exeext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24631 (eval $ac_link) 2>conftest.er1
24632 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 eval "$as_ac_var=yes"
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 eval "$as_ac_var=no"
24656 fi
24657 rm -f conftest.err conftest.$ac_objext \
24658 conftest$ac_exeext conftest.$ac_ext
24659 fi
24660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h <<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24665 _ACEOF
24666 have_sin=1
24667 fi
24668 done
24669
24670
24671 for ac_func in ceil
24672 do
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24676 if eval "test \"\${$as_ac_var+set}\" = set"; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24688
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24693
24694 #ifdef __STDC__
24695 # include <limits.h>
24696 #else
24697 # include <assert.h>
24698 #endif
24699
24700 #undef $ac_func
24701
24702 /* Override any gcc2 internal prototype to avoid an error. */
24703 #ifdef __cplusplus
24704 extern "C"
24705 {
24706 #endif
24707 /* We use char because int might match the return type of a gcc2
24708 builtin and then its argument prototype would still apply. */
24709 char $ac_func ();
24710 /* The GNU C library defines this for functions which it implements
24711 to always fail with ENOSYS. Some functions are actually named
24712 something starting with __ and the normal name is an alias. */
24713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24714 choke me
24715 #else
24716 char (*f) () = $ac_func;
24717 #endif
24718 #ifdef __cplusplus
24719 }
24720 #endif
24721
24722 int
24723 main ()
24724 {
24725 return f != $ac_func;
24726 ;
24727 return 0;
24728 }
24729 _ACEOF
24730 rm -f conftest.$ac_objext conftest$ac_exeext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24732 (eval $ac_link) 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; } &&
24745 { ac_try='test -s conftest$ac_exeext'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; }; then
24751 eval "$as_ac_var=yes"
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 eval "$as_ac_var=no"
24757 fi
24758 rm -f conftest.err conftest.$ac_objext \
24759 conftest$ac_exeext conftest.$ac_ext
24760 fi
24761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24763 if test `eval echo '${'$as_ac_var'}'` = yes; then
24764 cat >>confdefs.h <<_ACEOF
24765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24766 _ACEOF
24767 have_ceil=1
24768 fi
24769 done
24770
24771 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24772 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24773 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24774 echo "$as_me:$LINENO: result: yes" >&5
24775 echo "${ECHO_T}yes" >&6
24776 else
24777 echo "$as_me:$LINENO: result: no" >&5
24778 echo "${ECHO_T}no" >&6
24779 # not sure we should warn the user, crash, etc.
24780 fi
24781 fi
24782
24783 if test "wxUSE_UNICODE" = "yes"; then
24784
24785 for wx_func in wcstoull
24786 do
24787 echo "$as_me:$LINENO: checking for $wx_func" >&5
24788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24789 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792
24793 cat >conftest.$ac_ext <<_ACEOF
24794
24795 /* confdefs.h. */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800
24801
24802 $ac_includes_default
24803
24804 int
24805 main ()
24806 {
24807
24808 #ifndef $wx_func
24809 &$wx_func;
24810 #endif
24811
24812
24813 ;
24814 return 0;
24815 }
24816
24817 _ACEOF
24818 rm -f conftest.$ac_objext conftest$ac_exeext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24820 (eval $ac_link) 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829 (eval $ac_try) 2>&5
24830 ac_status=$?
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); }; } &&
24833 { ac_try='test -s conftest$ac_exeext'
24834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24835 (eval $ac_try) 2>&5
24836 ac_status=$?
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); }; }; then
24839 eval wx_cv_func_$wx_func=yes
24840 else
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.$ac_ext >&5
24843
24844 eval wx_cv_func_$wx_func=no
24845 fi
24846 rm -f conftest.err conftest.$ac_objext \
24847 conftest$ac_exeext conftest.$ac_ext
24848
24849 fi
24850 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24851 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24852
24853 if eval test \$wx_cv_func_$wx_func = yes
24854 then
24855 cat >>confdefs.h <<_ACEOF
24856 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24857 _ACEOF
24858
24859
24860 else
24861 :
24862
24863 fi
24864 done
24865
24866 else
24867
24868 for wx_func in strtoull
24869 do
24870 echo "$as_me:$LINENO: checking for $wx_func" >&5
24871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24872 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24873 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 else
24875
24876 cat >conftest.$ac_ext <<_ACEOF
24877
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883
24884
24885 $ac_includes_default
24886
24887 int
24888 main ()
24889 {
24890
24891 #ifndef $wx_func
24892 &$wx_func;
24893 #endif
24894
24895
24896 ;
24897 return 0;
24898 }
24899
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 eval wx_cv_func_$wx_func=yes
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 eval wx_cv_func_$wx_func=no
24928 fi
24929 rm -f conftest.err conftest.$ac_objext \
24930 conftest$ac_exeext conftest.$ac_ext
24931
24932 fi
24933 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24934 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24935
24936 if eval test \$wx_cv_func_$wx_func = yes
24937 then
24938 cat >>confdefs.h <<_ACEOF
24939 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24940 _ACEOF
24941
24942
24943 else
24944 :
24945
24946 fi
24947 done
24948
24949 fi
24950
24951
24952
24953 if test "$wxUSE_REGEX" != "no"; then
24954 cat >>confdefs.h <<\_ACEOF
24955 #define wxUSE_REGEX 1
24956 _ACEOF
24957
24958
24959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24960 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24961 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24962 wxUSE_REGEX=builtin
24963 fi
24964
24965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24966 if test "${ac_cv_header_regex_h+set}" = set; then
24967 echo "$as_me:$LINENO: checking for regex.h" >&5
24968 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24969 if test "${ac_cv_header_regex_h+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 fi
24972 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24973 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24974 else
24975 # Is the header compilable?
24976 echo "$as_me:$LINENO: checking regex.h usability" >&5
24977 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24978 cat >conftest.$ac_ext <<_ACEOF
24979 /* confdefs.h. */
24980 _ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 $ac_includes_default
24985 #include <regex.h>
24986 _ACEOF
24987 rm -f conftest.$ac_objext
24988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24989 (eval $ac_compile) 2>conftest.er1
24990 ac_status=$?
24991 grep -v '^ *+' conftest.er1 >conftest.err
24992 rm -f conftest.er1
24993 cat conftest.err >&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } &&
24996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998 (eval $ac_try) 2>&5
24999 ac_status=$?
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); }; } &&
25002 { ac_try='test -s conftest.$ac_objext'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25005 ac_status=$?
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; }; then
25008 ac_header_compiler=yes
25009 else
25010 echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25012
25013 ac_header_compiler=no
25014 fi
25015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25017 echo "${ECHO_T}$ac_header_compiler" >&6
25018
25019 # Is the header present?
25020 echo "$as_me:$LINENO: checking regex.h presence" >&5
25021 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h. */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <regex.h>
25029 _ACEOF
25030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25032 ac_status=$?
25033 grep -v '^ *+' conftest.er1 >conftest.err
25034 rm -f conftest.er1
25035 cat conftest.err >&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } >/dev/null; then
25038 if test -s conftest.err; then
25039 ac_cpp_err=$ac_c_preproc_warn_flag
25040 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25041 else
25042 ac_cpp_err=
25043 fi
25044 else
25045 ac_cpp_err=yes
25046 fi
25047 if test -z "$ac_cpp_err"; then
25048 ac_header_preproc=yes
25049 else
25050 echo "$as_me: failed program was:" >&5
25051 sed 's/^/| /' conftest.$ac_ext >&5
25052
25053 ac_header_preproc=no
25054 fi
25055 rm -f conftest.err conftest.$ac_ext
25056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25057 echo "${ECHO_T}$ac_header_preproc" >&6
25058
25059 # So? What about this header?
25060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25061 yes:no: )
25062 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25063 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25064 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25065 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25066 ac_header_preproc=yes
25067 ;;
25068 no:yes:* )
25069 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25070 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25071 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25072 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25073 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25074 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25075 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25076 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25078 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25079 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25080 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25081 (
25082 cat <<\_ASBOX
25083 ## ----------------------------------------- ##
25084 ## Report this to wx-dev@lists.wxwidgets.org ##
25085 ## ----------------------------------------- ##
25086 _ASBOX
25087 ) |
25088 sed "s/^/$as_me: WARNING: /" >&2
25089 ;;
25090 esac
25091 echo "$as_me:$LINENO: checking for regex.h" >&5
25092 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25093 if test "${ac_cv_header_regex_h+set}" = set; then
25094 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 else
25096 ac_cv_header_regex_h=$ac_header_preproc
25097 fi
25098 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25099 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25100
25101 fi
25102 if test $ac_cv_header_regex_h = yes; then
25103
25104
25105 for ac_func in regcomp re_search
25106 do
25107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25108 echo "$as_me:$LINENO: checking for $ac_func" >&5
25109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25110 if eval "test \"\${$as_ac_var+set}\" = set"; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 else
25113 cat >conftest.$ac_ext <<_ACEOF
25114 /* confdefs.h. */
25115 _ACEOF
25116 cat confdefs.h >>conftest.$ac_ext
25117 cat >>conftest.$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25121 #define $ac_func innocuous_$ac_func
25122
25123 /* System header to define __stub macros and hopefully few prototypes,
25124 which can conflict with char $ac_func (); below.
25125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25126 <limits.h> exists even on freestanding compilers. */
25127
25128 #ifdef __STDC__
25129 # include <limits.h>
25130 #else
25131 # include <assert.h>
25132 #endif
25133
25134 #undef $ac_func
25135
25136 /* Override any gcc2 internal prototype to avoid an error. */
25137 #ifdef __cplusplus
25138 extern "C"
25139 {
25140 #endif
25141 /* We use char because int might match the return type of a gcc2
25142 builtin and then its argument prototype would still apply. */
25143 char $ac_func ();
25144 /* The GNU C library defines this for functions which it implements
25145 to always fail with ENOSYS. Some functions are actually named
25146 something starting with __ and the normal name is an alias. */
25147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25148 choke me
25149 #else
25150 char (*f) () = $ac_func;
25151 #endif
25152 #ifdef __cplusplus
25153 }
25154 #endif
25155
25156 int
25157 main ()
25158 {
25159 return f != $ac_func;
25160 ;
25161 return 0;
25162 }
25163 _ACEOF
25164 rm -f conftest.$ac_objext conftest$ac_exeext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25166 (eval $ac_link) 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } &&
25173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; } &&
25179 { ac_try='test -s conftest$ac_exeext'
25180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25181 (eval $ac_try) 2>&5
25182 ac_status=$?
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); }; }; then
25185 eval "$as_ac_var=yes"
25186 else
25187 echo "$as_me: failed program was:" >&5
25188 sed 's/^/| /' conftest.$ac_ext >&5
25189
25190 eval "$as_ac_var=no"
25191 fi
25192 rm -f conftest.err conftest.$ac_objext \
25193 conftest$ac_exeext conftest.$ac_ext
25194 fi
25195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25197 if test `eval echo '${'$as_ac_var'}'` = yes; then
25198 cat >>confdefs.h <<_ACEOF
25199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25200 _ACEOF
25201
25202 fi
25203 done
25204
25205 fi
25206
25207
25208
25209 if test "x$ac_cv_func_regcomp" != "xyes"; then
25210 if test "$wxUSE_REGEX" = "sys" ; then
25211 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25212 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25213 { (exit 1); exit 1; }; }
25214 else
25215 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25216 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25217 wxUSE_REGEX=builtin
25218 fi
25219 else
25220 wxUSE_REGEX=sys
25221 cat >>confdefs.h <<\_ACEOF
25222 #define WX_NO_REGEX_ADVANCED 1
25223 _ACEOF
25224
25225 fi
25226 fi
25227 fi
25228
25229
25230 ZLIB_LINK=
25231 if test "$wxUSE_ZLIB" != "no" ; then
25232 cat >>confdefs.h <<\_ACEOF
25233 #define wxUSE_ZLIB 1
25234 _ACEOF
25235
25236
25237 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25238 if test "$USE_DARWIN" = 1; then
25239 system_zlib_h_ok="yes"
25240 else
25241 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25242 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25243 if test "${ac_cv_header_zlib_h+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246 if test "$cross_compiling" = yes; then
25247 unset ac_cv_header_zlib_h
25248
25249 else
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256
25257 #include <zlib.h>
25258 #include <stdio.h>
25259
25260 int main()
25261 {
25262 FILE *f=fopen("conftestval", "w");
25263 if (!f) exit(1);
25264 fprintf(f, "%s",
25265 ZLIB_VERSION[0] == '1' &&
25266 (ZLIB_VERSION[2] > '1' ||
25267 (ZLIB_VERSION[2] == '1' &&
25268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25269 exit(0);
25270 }
25271
25272 _ACEOF
25273 rm -f conftest$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275 (eval $ac_link) 2>&5
25276 ac_status=$?
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25281 ac_status=$?
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_header_zlib_h=`cat conftestval`
25285 else
25286 echo "$as_me: program exited with status $ac_status" >&5
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.$ac_ext >&5
25289
25290 ( exit $ac_status )
25291 ac_cv_header_zlib_h=no
25292 fi
25293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25294 fi
25295
25296 fi
25297 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25299 if test "${ac_cv_header_zlib_h+set}" = set; then
25300 echo "$as_me:$LINENO: checking for zlib.h" >&5
25301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_zlib_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 fi
25305 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25307 else
25308 # Is the header compilable?
25309 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25310 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25311 cat >conftest.$ac_ext <<_ACEOF
25312 /* confdefs.h. */
25313 _ACEOF
25314 cat confdefs.h >>conftest.$ac_ext
25315 cat >>conftest.$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317 $ac_includes_default
25318 #include <zlib.h>
25319 _ACEOF
25320 rm -f conftest.$ac_objext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25322 (eval $ac_compile) 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25331 (eval $ac_try) 2>&5
25332 ac_status=$?
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); }; } &&
25335 { ac_try='test -s conftest.$ac_objext'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25338 ac_status=$?
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; }; then
25341 ac_header_compiler=yes
25342 else
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25345
25346 ac_header_compiler=no
25347 fi
25348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25350 echo "${ECHO_T}$ac_header_compiler" >&6
25351
25352 # Is the header present?
25353 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25354 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25355 cat >conftest.$ac_ext <<_ACEOF
25356 /* confdefs.h. */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25361 #include <zlib.h>
25362 _ACEOF
25363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25365 ac_status=$?
25366 grep -v '^ *+' conftest.er1 >conftest.err
25367 rm -f conftest.er1
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } >/dev/null; then
25371 if test -s conftest.err; then
25372 ac_cpp_err=$ac_c_preproc_warn_flag
25373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25374 else
25375 ac_cpp_err=
25376 fi
25377 else
25378 ac_cpp_err=yes
25379 fi
25380 if test -z "$ac_cpp_err"; then
25381 ac_header_preproc=yes
25382 else
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.$ac_ext >&5
25385
25386 ac_header_preproc=no
25387 fi
25388 rm -f conftest.err conftest.$ac_ext
25389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25390 echo "${ECHO_T}$ac_header_preproc" >&6
25391
25392 # So? What about this header?
25393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25394 yes:no: )
25395 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25396 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25398 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25399 ac_header_preproc=yes
25400 ;;
25401 no:yes:* )
25402 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25403 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25404 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25405 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25406 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25407 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25408 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25409 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25410 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25411 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25412 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25413 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25414 (
25415 cat <<\_ASBOX
25416 ## ----------------------------------------- ##
25417 ## Report this to wx-dev@lists.wxwidgets.org ##
25418 ## ----------------------------------------- ##
25419 _ASBOX
25420 ) |
25421 sed "s/^/$as_me: WARNING: /" >&2
25422 ;;
25423 esac
25424 echo "$as_me:$LINENO: checking for zlib.h" >&5
25425 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25426 if test "${ac_cv_header_zlib_h+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 else
25429 ac_cv_header_zlib_h=$ac_header_preproc
25430 fi
25431 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25433
25434 fi
25435
25436
25437
25438 system_zlib_h_ok=$ac_cv_header_zlib_h
25439 fi
25440
25441 if test "$system_zlib_h_ok" = "yes"; then
25442 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25443 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25444 if test "${ac_cv_lib_z_deflate+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 ac_check_lib_save_LIBS=$LIBS
25448 LIBS="-lz $LIBS"
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455
25456 /* Override any gcc2 internal prototype to avoid an error. */
25457 #ifdef __cplusplus
25458 extern "C"
25459 #endif
25460 /* We use char because int might match the return type of a gcc2
25461 builtin and then its argument prototype would still apply. */
25462 char deflate ();
25463 int
25464 main ()
25465 {
25466 deflate ();
25467 ;
25468 return 0;
25469 }
25470 _ACEOF
25471 rm -f conftest.$ac_objext conftest$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; } &&
25486 { ac_try='test -s conftest$ac_exeext'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25489 ac_status=$?
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; }; then
25492 ac_cv_lib_z_deflate=yes
25493 else
25494 echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.$ac_ext >&5
25496
25497 ac_cv_lib_z_deflate=no
25498 fi
25499 rm -f conftest.err conftest.$ac_objext \
25500 conftest$ac_exeext conftest.$ac_ext
25501 LIBS=$ac_check_lib_save_LIBS
25502 fi
25503 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25504 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25505 if test $ac_cv_lib_z_deflate = yes; then
25506 ZLIB_LINK=" -lz"
25507 fi
25508
25509 fi
25510
25511 if test "x$ZLIB_LINK" = "x" ; then
25512 if test "$wxUSE_ZLIB" = "sys" ; then
25513 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25514 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25515 { (exit 1); exit 1; }; }
25516 else
25517 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25518 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25519 wxUSE_ZLIB=builtin
25520 fi
25521 else
25522 wxUSE_ZLIB=sys
25523 fi
25524 fi
25525 fi
25526
25527
25528 PNG_LINK=
25529 if test "$wxUSE_LIBPNG" != "no" ; then
25530 cat >>confdefs.h <<\_ACEOF
25531 #define wxUSE_LIBPNG 1
25532 _ACEOF
25533
25534
25535 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25536 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25537 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25538 wxUSE_LIBPNG=sys
25539 fi
25540
25541 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25542 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25543 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25544 wxUSE_LIBPNG=builtin
25545 fi
25546
25547 if test "$wxUSE_MGL" != 1 ; then
25548 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25549 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25550 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25551 if test "${ac_cv_header_png_h+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25554 if test "$cross_compiling" = yes; then
25555 unset ac_cv_header_png_h
25556
25557 else
25558 cat >conftest.$ac_ext <<_ACEOF
25559 /* confdefs.h. */
25560 _ACEOF
25561 cat confdefs.h >>conftest.$ac_ext
25562 cat >>conftest.$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25564
25565 #include <png.h>
25566 #include <stdio.h>
25567
25568 int main()
25569 {
25570 FILE *f=fopen("conftestval", "w");
25571 if (!f) exit(1);
25572 fprintf(f, "%s",
25573 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25574 exit(0);
25575 }
25576
25577 _ACEOF
25578 rm -f conftest$ac_exeext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25580 (eval $ac_link) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25586 ac_status=$?
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; }; then
25589 ac_cv_header_png_h=`cat conftestval`
25590 else
25591 echo "$as_me: program exited with status $ac_status" >&5
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ( exit $ac_status )
25596 ac_cv_header_png_h=no
25597 fi
25598 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25599 fi
25600
25601 fi
25602 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25603 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25604 if test "${ac_cv_header_png_h+set}" = set; then
25605 echo "$as_me:$LINENO: checking for png.h" >&5
25606 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25607 if test "${ac_cv_header_png_h+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 fi
25610 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25612 else
25613 # Is the header compilable?
25614 echo "$as_me:$LINENO: checking png.h usability" >&5
25615 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 $ac_includes_default
25623 #include <png.h>
25624 _ACEOF
25625 rm -f conftest.$ac_objext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25627 (eval $ac_compile) 2>conftest.er1
25628 ac_status=$?
25629 grep -v '^ *+' conftest.er1 >conftest.err
25630 rm -f conftest.er1
25631 cat conftest.err >&5
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); } &&
25634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25637 ac_status=$?
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; } &&
25640 { ac_try='test -s conftest.$ac_objext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25643 ac_status=$?
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_header_compiler=yes
25647 else
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.$ac_ext >&5
25650
25651 ac_header_compiler=no
25652 fi
25653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25655 echo "${ECHO_T}$ac_header_compiler" >&6
25656
25657 # Is the header present?
25658 echo "$as_me:$LINENO: checking png.h presence" >&5
25659 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25660 cat >conftest.$ac_ext <<_ACEOF
25661 /* confdefs.h. */
25662 _ACEOF
25663 cat confdefs.h >>conftest.$ac_ext
25664 cat >>conftest.$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25666 #include <png.h>
25667 _ACEOF
25668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25670 ac_status=$?
25671 grep -v '^ *+' conftest.er1 >conftest.err
25672 rm -f conftest.er1
25673 cat conftest.err >&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); } >/dev/null; then
25676 if test -s conftest.err; then
25677 ac_cpp_err=$ac_c_preproc_warn_flag
25678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25679 else
25680 ac_cpp_err=
25681 fi
25682 else
25683 ac_cpp_err=yes
25684 fi
25685 if test -z "$ac_cpp_err"; then
25686 ac_header_preproc=yes
25687 else
25688 echo "$as_me: failed program was:" >&5
25689 sed 's/^/| /' conftest.$ac_ext >&5
25690
25691 ac_header_preproc=no
25692 fi
25693 rm -f conftest.err conftest.$ac_ext
25694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25695 echo "${ECHO_T}$ac_header_preproc" >&6
25696
25697 # So? What about this header?
25698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25699 yes:no: )
25700 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25701 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25703 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25704 ac_header_preproc=yes
25705 ;;
25706 no:yes:* )
25707 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25708 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25709 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25710 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25712 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25713 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25714 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25715 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25716 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25717 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25718 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25719 (
25720 cat <<\_ASBOX
25721 ## ----------------------------------------- ##
25722 ## Report this to wx-dev@lists.wxwidgets.org ##
25723 ## ----------------------------------------- ##
25724 _ASBOX
25725 ) |
25726 sed "s/^/$as_me: WARNING: /" >&2
25727 ;;
25728 esac
25729 echo "$as_me:$LINENO: checking for png.h" >&5
25730 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25731 if test "${ac_cv_header_png_h+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 else
25734 ac_cv_header_png_h=$ac_header_preproc
25735 fi
25736 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25737 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25738
25739 fi
25740
25741
25742
25743 if test "$ac_cv_header_png_h" = "yes"; then
25744 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25745 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25746 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749 ac_check_lib_save_LIBS=$LIBS
25750 LIBS="-lpng -lz -lm $LIBS"
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757
25758 /* Override any gcc2 internal prototype to avoid an error. */
25759 #ifdef __cplusplus
25760 extern "C"
25761 #endif
25762 /* We use char because int might match the return type of a gcc2
25763 builtin and then its argument prototype would still apply. */
25764 char png_check_sig ();
25765 int
25766 main ()
25767 {
25768 png_check_sig ();
25769 ;
25770 return 0;
25771 }
25772 _ACEOF
25773 rm -f conftest.$ac_objext conftest$ac_exeext
25774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25775 (eval $ac_link) 2>conftest.er1
25776 ac_status=$?
25777 grep -v '^ *+' conftest.er1 >conftest.err
25778 rm -f conftest.er1
25779 cat conftest.err >&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } &&
25782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try='test -s conftest$ac_exeext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25791 ac_status=$?
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25794 ac_cv_lib_png_png_check_sig=yes
25795 else
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.$ac_ext >&5
25798
25799 ac_cv_lib_png_png_check_sig=no
25800 fi
25801 rm -f conftest.err conftest.$ac_objext \
25802 conftest$ac_exeext conftest.$ac_ext
25803 LIBS=$ac_check_lib_save_LIBS
25804 fi
25805 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25806 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25807 if test $ac_cv_lib_png_png_check_sig = yes; then
25808 PNG_LINK=" -lpng -lz"
25809 fi
25810
25811 fi
25812
25813 if test "x$PNG_LINK" = "x" ; then
25814 if test "$wxUSE_LIBPNG" = "sys" ; then
25815 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25816 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25817 { (exit 1); exit 1; }; }
25818 else
25819 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25820 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25821 wxUSE_LIBPNG=builtin
25822 fi
25823 else
25824 wxUSE_LIBPNG=sys
25825 fi
25826 fi
25827 fi
25828
25829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25830 fi
25831
25832
25833 JPEG_LINK=
25834 if test "$wxUSE_LIBJPEG" != "no" ; then
25835 cat >>confdefs.h <<\_ACEOF
25836 #define wxUSE_LIBJPEG 1
25837 _ACEOF
25838
25839
25840 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25841 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25842 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25843 wxUSE_LIBJPEG=sys
25844 fi
25845
25846 if test "$wxUSE_MGL" != 1 ; then
25847 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25848 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25849 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25850 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 else
25853 cat >conftest.$ac_ext <<_ACEOF
25854 /* confdefs.h. */
25855 _ACEOF
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859
25860 #undef HAVE_STDLIB_H
25861 #include <stdio.h>
25862 #include <jpeglib.h>
25863
25864 int
25865 main ()
25866 {
25867
25868
25869 ;
25870 return 0;
25871 }
25872 _ACEOF
25873 rm -f conftest.$ac_objext
25874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25875 (eval $ac_compile) 2>conftest.er1
25876 ac_status=$?
25877 grep -v '^ *+' conftest.er1 >conftest.err
25878 rm -f conftest.er1
25879 cat conftest.err >&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } &&
25882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; } &&
25888 { ac_try='test -s conftest.$ac_objext'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; }; then
25894 ac_cv_header_jpeglib_h=yes
25895 else
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.$ac_ext >&5
25898
25899 ac_cv_header_jpeglib_h=no
25900
25901 fi
25902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25903
25904 fi
25905
25906 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25907 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25908
25909 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25910 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25911 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25912 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915 ac_check_lib_save_LIBS=$LIBS
25916 LIBS="-ljpeg $LIBS"
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923
25924 /* Override any gcc2 internal prototype to avoid an error. */
25925 #ifdef __cplusplus
25926 extern "C"
25927 #endif
25928 /* We use char because int might match the return type of a gcc2
25929 builtin and then its argument prototype would still apply. */
25930 char jpeg_read_header ();
25931 int
25932 main ()
25933 {
25934 jpeg_read_header ();
25935 ;
25936 return 0;
25937 }
25938 _ACEOF
25939 rm -f conftest.$ac_objext conftest$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; } &&
25954 { ac_try='test -s conftest$ac_exeext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_lib_jpeg_jpeg_read_header=yes
25961 else
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25964
25965 ac_cv_lib_jpeg_jpeg_read_header=no
25966 fi
25967 rm -f conftest.err conftest.$ac_objext \
25968 conftest$ac_exeext conftest.$ac_ext
25969 LIBS=$ac_check_lib_save_LIBS
25970 fi
25971 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25972 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25973 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25974 JPEG_LINK=" -ljpeg"
25975 fi
25976
25977 fi
25978
25979 if test "x$JPEG_LINK" = "x" ; then
25980 if test "$wxUSE_LIBJPEG" = "sys" ; then
25981 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25982 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25983 { (exit 1); exit 1; }; }
25984 else
25985 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25986 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25987 wxUSE_LIBJPEG=builtin
25988 fi
25989 else
25990 wxUSE_LIBJPEG=sys
25991 fi
25992 fi
25993 fi
25994 fi
25995
25996
25997 TIFF_LINK=
25998 TIFF_PREREQ_LINKS=-lm
25999 if test "$wxUSE_LIBTIFF" != "no" ; then
26000 cat >>confdefs.h <<\_ACEOF
26001 #define wxUSE_LIBTIFF 1
26002 _ACEOF
26003
26004
26005 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26006 if test "$wxUSE_LIBJPEG" = "sys"; then
26007 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26008 fi
26009 if test "$wxUSE_ZLIB" = "sys"; then
26010 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26011 fi
26012 if test "${ac_cv_header_tiffio_h+set}" = set; then
26013 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26014 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26015 if test "${ac_cv_header_tiffio_h+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 fi
26018 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26019 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26020 else
26021 # Is the header compilable?
26022 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26023 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26024 cat >conftest.$ac_ext <<_ACEOF
26025 /* confdefs.h. */
26026 _ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030 $ac_includes_default
26031 #include <tiffio.h>
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26036 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest.$ac_objext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_header_compiler=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_header_compiler=no
26060 fi
26061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26063 echo "${ECHO_T}$ac_header_compiler" >&6
26064
26065 # Is the header present?
26066 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26067 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26068 cat >conftest.$ac_ext <<_ACEOF
26069 /* confdefs.h. */
26070 _ACEOF
26071 cat confdefs.h >>conftest.$ac_ext
26072 cat >>conftest.$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26074 #include <tiffio.h>
26075 _ACEOF
26076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } >/dev/null; then
26084 if test -s conftest.err; then
26085 ac_cpp_err=$ac_c_preproc_warn_flag
26086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26087 else
26088 ac_cpp_err=
26089 fi
26090 else
26091 ac_cpp_err=yes
26092 fi
26093 if test -z "$ac_cpp_err"; then
26094 ac_header_preproc=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 ac_header_preproc=no
26100 fi
26101 rm -f conftest.err conftest.$ac_ext
26102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26103 echo "${ECHO_T}$ac_header_preproc" >&6
26104
26105 # So? What about this header?
26106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26107 yes:no: )
26108 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26109 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26110 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26111 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26112 ac_header_preproc=yes
26113 ;;
26114 no:yes:* )
26115 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26116 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26118 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26119 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26120 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26121 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26122 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26123 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26124 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26125 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26126 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26127 (
26128 cat <<\_ASBOX
26129 ## ----------------------------------------- ##
26130 ## Report this to wx-dev@lists.wxwidgets.org ##
26131 ## ----------------------------------------- ##
26132 _ASBOX
26133 ) |
26134 sed "s/^/$as_me: WARNING: /" >&2
26135 ;;
26136 esac
26137 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26138 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26139 if test "${ac_cv_header_tiffio_h+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 else
26142 ac_cv_header_tiffio_h=$ac_header_preproc
26143 fi
26144 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26145 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26146
26147 fi
26148 if test $ac_cv_header_tiffio_h = yes; then
26149
26150 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26151 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26152 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26153 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 else
26155 ac_check_lib_save_LIBS=$LIBS
26156 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26157 cat >conftest.$ac_ext <<_ACEOF
26158 /* confdefs.h. */
26159 _ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26163
26164 /* Override any gcc2 internal prototype to avoid an error. */
26165 #ifdef __cplusplus
26166 extern "C"
26167 #endif
26168 /* We use char because int might match the return type of a gcc2
26169 builtin and then its argument prototype would still apply. */
26170 char TIFFError ();
26171 int
26172 main ()
26173 {
26174 TIFFError ();
26175 ;
26176 return 0;
26177 }
26178 _ACEOF
26179 rm -f conftest.$ac_objext conftest$ac_exeext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26181 (eval $ac_link) 2>conftest.er1
26182 ac_status=$?
26183 grep -v '^ *+' conftest.er1 >conftest.err
26184 rm -f conftest.er1
26185 cat conftest.err >&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } &&
26188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try='test -s conftest$ac_exeext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26197 ac_status=$?
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_lib_tiff_TIFFError=yes
26201 else
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26204
26205 ac_cv_lib_tiff_TIFFError=no
26206 fi
26207 rm -f conftest.err conftest.$ac_objext \
26208 conftest$ac_exeext conftest.$ac_ext
26209 LIBS=$ac_check_lib_save_LIBS
26210 fi
26211 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26212 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26213 if test $ac_cv_lib_tiff_TIFFError = yes; then
26214 TIFF_LINK=" -ltiff"
26215 fi
26216
26217
26218
26219 fi
26220
26221
26222
26223 if test "x$TIFF_LINK" = "x" ; then
26224 if test "$wxUSE_LIBTIFF" = "sys" ; then
26225 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26226 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26227 { (exit 1); exit 1; }; }
26228 else
26229 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26230 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26231 wxUSE_LIBTIFF=builtin
26232 fi
26233 else
26234 wxUSE_LIBTIFF=sys
26235 fi
26236 fi
26237 fi
26238
26239
26240 if test "$wxUSE_WCHAR_T" != "yes"; then
26241 if test "$wxUSE_EXPAT" != "no"; then
26242 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26243 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26244 wxUSE_EXPAT=no
26245 fi
26246 if test "$wxUSE_XML" != "no"; then
26247 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26248 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26249 wxUSE_XML=no
26250 fi
26251 fi
26252
26253 if test "$wxUSE_EXPAT" != "no"; then
26254 wxUSE_XML=yes
26255 cat >>confdefs.h <<\_ACEOF
26256 #define wxUSE_EXPAT 1
26257 _ACEOF
26258
26259 cat >>confdefs.h <<\_ACEOF
26260 #define wxUSE_XML 1
26261 _ACEOF
26262
26263
26264 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26265 if test "${ac_cv_header_expat_h+set}" = set; then
26266 echo "$as_me:$LINENO: checking for expat.h" >&5
26267 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26268 if test "${ac_cv_header_expat_h+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 fi
26271 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26272 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26273 else
26274 # Is the header compilable?
26275 echo "$as_me:$LINENO: checking expat.h usability" >&5
26276 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 $ac_includes_default
26284 #include <expat.h>
26285 _ACEOF
26286 rm -f conftest.$ac_objext
26287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26288 (eval $ac_compile) 2>conftest.er1
26289 ac_status=$?
26290 grep -v '^ *+' conftest.er1 >conftest.err
26291 rm -f conftest.er1
26292 cat conftest.err >&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); } &&
26295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297 (eval $ac_try) 2>&5
26298 ac_status=$?
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); }; } &&
26301 { ac_try='test -s conftest.$ac_objext'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; }; then
26307 ac_header_compiler=yes
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26311
26312 ac_header_compiler=no
26313 fi
26314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26316 echo "${ECHO_T}$ac_header_compiler" >&6
26317
26318 # Is the header present?
26319 echo "$as_me:$LINENO: checking expat.h presence" >&5
26320 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26321 cat >conftest.$ac_ext <<_ACEOF
26322 /* confdefs.h. */
26323 _ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327 #include <expat.h>
26328 _ACEOF
26329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } >/dev/null; then
26337 if test -s conftest.err; then
26338 ac_cpp_err=$ac_c_preproc_warn_flag
26339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26340 else
26341 ac_cpp_err=
26342 fi
26343 else
26344 ac_cpp_err=yes
26345 fi
26346 if test -z "$ac_cpp_err"; then
26347 ac_header_preproc=yes
26348 else
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26351
26352 ac_header_preproc=no
26353 fi
26354 rm -f conftest.err conftest.$ac_ext
26355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26356 echo "${ECHO_T}$ac_header_preproc" >&6
26357
26358 # So? What about this header?
26359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26360 yes:no: )
26361 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26362 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26364 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26365 ac_header_preproc=yes
26366 ;;
26367 no:yes:* )
26368 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26369 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26370 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26371 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26373 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26375 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26377 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26379 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26380 (
26381 cat <<\_ASBOX
26382 ## ----------------------------------------- ##
26383 ## Report this to wx-dev@lists.wxwidgets.org ##
26384 ## ----------------------------------------- ##
26385 _ASBOX
26386 ) |
26387 sed "s/^/$as_me: WARNING: /" >&2
26388 ;;
26389 esac
26390 echo "$as_me:$LINENO: checking for expat.h" >&5
26391 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26392 if test "${ac_cv_header_expat_h+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395 ac_cv_header_expat_h=$ac_header_preproc
26396 fi
26397 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26398 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26399
26400 fi
26401 if test $ac_cv_header_expat_h = yes; then
26402 found_expat_h=1
26403 fi
26404
26405
26406 if test "x$found_expat_h" = "x1"; then
26407 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26408 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26409 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 else
26412
26413 ac_ext=cc
26414 ac_cpp='$CXXCPP $CPPFLAGS'
26415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26418
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425 #include <expat.h>
26426 int
26427 main ()
26428 {
26429
26430 ;
26431 return 0;
26432 }
26433 _ACEOF
26434 rm -f conftest.$ac_objext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26436 (eval $ac_compile) 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try='test -s conftest.$ac_objext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 wx_cv_expat_is_not_broken=yes
26456 else
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.$ac_ext >&5
26459
26460 wx_cv_expat_is_not_broken=no
26461
26462 fi
26463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26469
26470
26471
26472 fi
26473 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26474 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26475 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26476 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26477 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26478 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 else
26481 ac_check_lib_save_LIBS=$LIBS
26482 LIBS="-lexpat $LIBS"
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489
26490 /* Override any gcc2 internal prototype to avoid an error. */
26491 #ifdef __cplusplus
26492 extern "C"
26493 #endif
26494 /* We use char because int might match the return type of a gcc2
26495 builtin and then its argument prototype would still apply. */
26496 char XML_ParserCreate ();
26497 int
26498 main ()
26499 {
26500 XML_ParserCreate ();
26501 ;
26502 return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest.$ac_objext conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>conftest.er1
26508 ac_status=$?
26509 grep -v '^ *+' conftest.er1 >conftest.err
26510 rm -f conftest.er1
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26517 ac_status=$?
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try='test -s conftest$ac_exeext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 ac_cv_lib_expat_XML_ParserCreate=yes
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26530
26531 ac_cv_lib_expat_XML_ParserCreate=no
26532 fi
26533 rm -f conftest.err conftest.$ac_objext \
26534 conftest$ac_exeext conftest.$ac_ext
26535 LIBS=$ac_check_lib_save_LIBS
26536 fi
26537 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26538 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26539 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26540 EXPAT_LINK=" -lexpat"
26541 fi
26542
26543 fi
26544 fi
26545 if test "x$EXPAT_LINK" = "x" ; then
26546 if test "$wxUSE_EXPAT" = "sys" ; then
26547 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26548 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26549 { (exit 1); exit 1; }; }
26550 else
26551 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26552 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26553 wxUSE_EXPAT=builtin
26554 fi
26555 else
26556 wxUSE_EXPAT=sys
26557 fi
26558 fi
26559 if test "$wxUSE_EXPAT" = "builtin" ; then
26560
26561
26562 subdirs="$subdirs src/expat"
26563
26564 fi
26565 fi
26566
26567
26568
26569 if test "$wxUSE_LIBMSPACK" != "no"; then
26570 if test "${ac_cv_header_mspack_h+set}" = set; then
26571 echo "$as_me:$LINENO: checking for mspack.h" >&5
26572 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26573 if test "${ac_cv_header_mspack_h+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 fi
26576 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26577 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26578 else
26579 # Is the header compilable?
26580 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26581 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26582 cat >conftest.$ac_ext <<_ACEOF
26583 /* confdefs.h. */
26584 _ACEOF
26585 cat confdefs.h >>conftest.$ac_ext
26586 cat >>conftest.$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26588 $ac_includes_default
26589 #include <mspack.h>
26590 _ACEOF
26591 rm -f conftest.$ac_objext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26593 (eval $ac_compile) 2>conftest.er1
26594 ac_status=$?
26595 grep -v '^ *+' conftest.er1 >conftest.err
26596 rm -f conftest.er1
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try='test -s conftest.$ac_objext'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26609 ac_status=$?
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; }; then
26612 ac_header_compiler=yes
26613 else
26614 echo "$as_me: failed program was:" >&5
26615 sed 's/^/| /' conftest.$ac_ext >&5
26616
26617 ac_header_compiler=no
26618 fi
26619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26621 echo "${ECHO_T}$ac_header_compiler" >&6
26622
26623 # Is the header present?
26624 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26625 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632 #include <mspack.h>
26633 _ACEOF
26634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26636 ac_status=$?
26637 grep -v '^ *+' conftest.er1 >conftest.err
26638 rm -f conftest.er1
26639 cat conftest.err >&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } >/dev/null; then
26642 if test -s conftest.err; then
26643 ac_cpp_err=$ac_c_preproc_warn_flag
26644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26645 else
26646 ac_cpp_err=
26647 fi
26648 else
26649 ac_cpp_err=yes
26650 fi
26651 if test -z "$ac_cpp_err"; then
26652 ac_header_preproc=yes
26653 else
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26656
26657 ac_header_preproc=no
26658 fi
26659 rm -f conftest.err conftest.$ac_ext
26660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26661 echo "${ECHO_T}$ac_header_preproc" >&6
26662
26663 # So? What about this header?
26664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26665 yes:no: )
26666 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26667 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26668 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26669 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26670 ac_header_preproc=yes
26671 ;;
26672 no:yes:* )
26673 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26674 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26675 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26676 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26677 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26678 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26679 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26680 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26681 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26682 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26683 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26684 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26685 (
26686 cat <<\_ASBOX
26687 ## ----------------------------------------- ##
26688 ## Report this to wx-dev@lists.wxwidgets.org ##
26689 ## ----------------------------------------- ##
26690 _ASBOX
26691 ) |
26692 sed "s/^/$as_me: WARNING: /" >&2
26693 ;;
26694 esac
26695 echo "$as_me:$LINENO: checking for mspack.h" >&5
26696 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26697 if test "${ac_cv_header_mspack_h+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700 ac_cv_header_mspack_h=$ac_header_preproc
26701 fi
26702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26704
26705 fi
26706 if test $ac_cv_header_mspack_h = yes; then
26707 found_mspack_h=1
26708 fi
26709
26710
26711 if test "x$found_mspack_h" = "x1"; then
26712 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26713 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26714 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26717 ac_check_lib_save_LIBS=$LIBS
26718 LIBS="-lmspack $LIBS"
26719 cat >conftest.$ac_ext <<_ACEOF
26720 /* confdefs.h. */
26721 _ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26725
26726 /* Override any gcc2 internal prototype to avoid an error. */
26727 #ifdef __cplusplus
26728 extern "C"
26729 #endif
26730 /* We use char because int might match the return type of a gcc2
26731 builtin and then its argument prototype would still apply. */
26732 char mspack_create_chm_decompressor ();
26733 int
26734 main ()
26735 {
26736 mspack_create_chm_decompressor ();
26737 ;
26738 return 0;
26739 }
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26753 ac_status=$?
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; } &&
26756 { ac_try='test -s conftest$ac_exeext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26759 ac_status=$?
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26762 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26768 fi
26769 rm -f conftest.err conftest.$ac_objext \
26770 conftest$ac_exeext conftest.$ac_ext
26771 LIBS=$ac_check_lib_save_LIBS
26772 fi
26773 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26774 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26775 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26776 MSPACK_LINK=" -lmspack"
26777 fi
26778
26779 fi
26780 if test "x$MSPACK_LINK" = "x" ; then
26781 wxUSE_LIBMSPACK=no
26782 fi
26783 fi
26784
26785 if test "$wxUSE_LIBMSPACK" != "no"; then
26786 cat >>confdefs.h <<\_ACEOF
26787 #define wxUSE_LIBMSPACK 1
26788 _ACEOF
26789
26790 fi
26791
26792
26793
26794 AFMINSTALL=
26795 WIN32INSTALL=
26796
26797 TOOLKIT=
26798 TOOLKIT_INCLUDE=
26799 WIDGET_SET=
26800
26801 if test "$USE_WIN32" = 1 ; then
26802
26803 for ac_header in w32api.h
26804 do
26805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26807 echo "$as_me:$LINENO: checking for $ac_header" >&5
26808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 fi
26812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26814 else
26815 # Is the header compilable?
26816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26818 cat >conftest.$ac_ext <<_ACEOF
26819 /* confdefs.h. */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 $ac_includes_default
26825 #include <$ac_header>
26826 _ACEOF
26827 rm -f conftest.$ac_objext
26828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26829 (eval $ac_compile) 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } &&
26836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26839 ac_status=$?
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; } &&
26842 { ac_try='test -s conftest.$ac_objext'
26843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26844 (eval $ac_try) 2>&5
26845 ac_status=$?
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); }; }; then
26848 ac_header_compiler=yes
26849 else
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26852
26853 ac_header_compiler=no
26854 fi
26855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26857 echo "${ECHO_T}$ac_header_compiler" >&6
26858
26859 # Is the header present?
26860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26862 cat >conftest.$ac_ext <<_ACEOF
26863 /* confdefs.h. */
26864 _ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26868 #include <$ac_header>
26869 _ACEOF
26870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } >/dev/null; then
26878 if test -s conftest.err; then
26879 ac_cpp_err=$ac_c_preproc_warn_flag
26880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26881 else
26882 ac_cpp_err=
26883 fi
26884 else
26885 ac_cpp_err=yes
26886 fi
26887 if test -z "$ac_cpp_err"; then
26888 ac_header_preproc=yes
26889 else
26890 echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.$ac_ext >&5
26892
26893 ac_header_preproc=no
26894 fi
26895 rm -f conftest.err conftest.$ac_ext
26896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26897 echo "${ECHO_T}$ac_header_preproc" >&6
26898
26899 # So? What about this header?
26900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26901 yes:no: )
26902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26906 ac_header_preproc=yes
26907 ;;
26908 no:yes:* )
26909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26921 (
26922 cat <<\_ASBOX
26923 ## ----------------------------------------- ##
26924 ## Report this to wx-dev@lists.wxwidgets.org ##
26925 ## ----------------------------------------- ##
26926 _ASBOX
26927 ) |
26928 sed "s/^/$as_me: WARNING: /" >&2
26929 ;;
26930 esac
26931 echo "$as_me:$LINENO: checking for $ac_header" >&5
26932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26935 else
26936 eval "$as_ac_Header=\$ac_header_preproc"
26937 fi
26938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26940
26941 fi
26942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26943 cat >>confdefs.h <<_ACEOF
26944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26945 _ACEOF
26946
26947 fi
26948
26949 done
26950
26951 if test "${ac_cv_header_windows_h+set}" = set; then
26952 echo "$as_me:$LINENO: checking for windows.h" >&5
26953 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26954 if test "${ac_cv_header_windows_h+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 fi
26957 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26958 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26959 else
26960 # Is the header compilable?
26961 echo "$as_me:$LINENO: checking windows.h usability" >&5
26962 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26963 cat >conftest.$ac_ext <<_ACEOF
26964 /* confdefs.h. */
26965 _ACEOF
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969 $ac_includes_default
26970 #include <windows.h>
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26975 ac_status=$?
26976 grep -v '^ *+' conftest.er1 >conftest.err
26977 rm -f conftest.er1
26978 cat conftest.err >&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; } &&
26987 { ac_try='test -s conftest.$ac_objext'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; }; then
26993 ac_header_compiler=yes
26994 else
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26997
26998 ac_header_compiler=no
26999 fi
27000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27002 echo "${ECHO_T}$ac_header_compiler" >&6
27003
27004 # Is the header present?
27005 echo "$as_me:$LINENO: checking windows.h presence" >&5
27006 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27007 cat >conftest.$ac_ext <<_ACEOF
27008 /* confdefs.h. */
27009 _ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h. */
27013 #include <windows.h>
27014 _ACEOF
27015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27017 ac_status=$?
27018 grep -v '^ *+' conftest.er1 >conftest.err
27019 rm -f conftest.er1
27020 cat conftest.err >&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } >/dev/null; then
27023 if test -s conftest.err; then
27024 ac_cpp_err=$ac_c_preproc_warn_flag
27025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27026 else
27027 ac_cpp_err=
27028 fi
27029 else
27030 ac_cpp_err=yes
27031 fi
27032 if test -z "$ac_cpp_err"; then
27033 ac_header_preproc=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_header_preproc=no
27039 fi
27040 rm -f conftest.err conftest.$ac_ext
27041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27042 echo "${ECHO_T}$ac_header_preproc" >&6
27043
27044 # So? What about this header?
27045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27046 yes:no: )
27047 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27048 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27050 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27051 ac_header_preproc=yes
27052 ;;
27053 no:yes:* )
27054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27055 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27057 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27058 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27059 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27060 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27061 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27062 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27063 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27064 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27065 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27066 (
27067 cat <<\_ASBOX
27068 ## ----------------------------------------- ##
27069 ## Report this to wx-dev@lists.wxwidgets.org ##
27070 ## ----------------------------------------- ##
27071 _ASBOX
27072 ) |
27073 sed "s/^/$as_me: WARNING: /" >&2
27074 ;;
27075 esac
27076 echo "$as_me:$LINENO: checking for windows.h" >&5
27077 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27078 if test "${ac_cv_header_windows_h+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27081 ac_cv_header_windows_h=$ac_header_preproc
27082 fi
27083 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27084 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27085
27086 fi
27087 if test $ac_cv_header_windows_h = yes; then
27088 :
27089 else
27090
27091 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27092 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27093 { (exit 1); exit 1; }; }
27094
27095 fi
27096
27097
27098
27099 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27100
27101 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27102 LIBS="$LIBS -loleacc"
27103 fi
27104
27105 case "${host}" in
27106 *-*-cygwin* )
27107 LIBS="$LIBS -lkernel32 -luser32"
27108 esac
27109
27110 if test "$wxUSE_ODBC" = "sys" ; then
27111 wxUSE_ODBC = "yes"
27112 fi
27113 if test "$wxUSE_ODBC" = "yes" ; then
27114 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27115 cat >>confdefs.h <<\_ACEOF
27116 #define wxUSE_ODBC 1
27117 _ACEOF
27118
27119 fi
27120
27121 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27122 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27123
27124 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27125
27126 WIN32INSTALL=win32install
27127
27128 echo "$as_me:$LINENO: checking for boolean" >&5
27129 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27130 if test "${ac_cv_type_boolean+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133 cat >conftest.$ac_ext <<_ACEOF
27134 /* confdefs.h. */
27135 _ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <windows.h>
27140
27141 int
27142 main ()
27143 {
27144 if ((boolean *) 0)
27145 return 0;
27146 if (sizeof (boolean))
27147 return 0;
27148 ;
27149 return 0;
27150 }
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_cv_type_boolean=yes
27174 else
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.$ac_ext >&5
27177
27178 ac_cv_type_boolean=no
27179 fi
27180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27181 fi
27182 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27183 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27184 if test $ac_cv_type_boolean = yes; then
27185
27186 cat >>confdefs.h <<_ACEOF
27187 #define HAVE_BOOLEAN 1
27188 _ACEOF
27189
27190
27191 fi
27192
27193
27194
27195 for ac_header in pbt.h
27196 do
27197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27199 echo "$as_me:$LINENO: checking for $ac_header" >&5
27200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 fi
27204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27206 else
27207 # Is the header compilable?
27208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27210 cat >conftest.$ac_ext <<_ACEOF
27211 /* confdefs.h. */
27212 _ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 $ac_includes_default
27217 #include <$ac_header>
27218 _ACEOF
27219 rm -f conftest.$ac_objext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27221 (eval $ac_compile) 2>conftest.er1
27222 ac_status=$?
27223 grep -v '^ *+' conftest.er1 >conftest.err
27224 rm -f conftest.er1
27225 cat conftest.err >&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27231 ac_status=$?
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; } &&
27234 { ac_try='test -s conftest.$ac_objext'
27235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27236 (eval $ac_try) 2>&5
27237 ac_status=$?
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); }; }; then
27240 ac_header_compiler=yes
27241 else
27242 echo "$as_me: failed program was:" >&5
27243 sed 's/^/| /' conftest.$ac_ext >&5
27244
27245 ac_header_compiler=no
27246 fi
27247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27249 echo "${ECHO_T}$ac_header_compiler" >&6
27250
27251 # Is the header present?
27252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27254 cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h. */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260 #include <$ac_header>
27261 _ACEOF
27262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27264 ac_status=$?
27265 grep -v '^ *+' conftest.er1 >conftest.err
27266 rm -f conftest.er1
27267 cat conftest.err >&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } >/dev/null; then
27270 if test -s conftest.err; then
27271 ac_cpp_err=$ac_c_preproc_warn_flag
27272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27273 else
27274 ac_cpp_err=
27275 fi
27276 else
27277 ac_cpp_err=yes
27278 fi
27279 if test -z "$ac_cpp_err"; then
27280 ac_header_preproc=yes
27281 else
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.$ac_ext >&5
27284
27285 ac_header_preproc=no
27286 fi
27287 rm -f conftest.err conftest.$ac_ext
27288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27289 echo "${ECHO_T}$ac_header_preproc" >&6
27290
27291 # So? What about this header?
27292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27293 yes:no: )
27294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27298 ac_header_preproc=yes
27299 ;;
27300 no:yes:* )
27301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27313 (
27314 cat <<\_ASBOX
27315 ## ----------------------------------------- ##
27316 ## Report this to wx-dev@lists.wxwidgets.org ##
27317 ## ----------------------------------------- ##
27318 _ASBOX
27319 ) |
27320 sed "s/^/$as_me: WARNING: /" >&2
27321 ;;
27322 esac
27323 echo "$as_me:$LINENO: checking for $ac_header" >&5
27324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27326 echo $ECHO_N "(cached) $ECHO_C" >&6
27327 else
27328 eval "$as_ac_Header=\$ac_header_preproc"
27329 fi
27330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27332
27333 fi
27334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27335 cat >>confdefs.h <<_ACEOF
27336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27337 _ACEOF
27338
27339 else
27340 cat >>confdefs.h <<\_ACEOF
27341 #define NEED_PBT_H 1
27342 _ACEOF
27343
27344 fi
27345
27346 done
27347
27348 fi
27349
27350 if test "$wxUSE_GUI" = "yes"; then
27351 USE_GUI=1
27352
27353 GUI_TK_LIBRARY=
27354
27355 WXGTK12=
27356 WXGTK127=
27357 WXGTK20=
27358 WXGPE=
27359
27360 if test "$wxUSE_COCOA" = 1 ; then
27361 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27362 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27363 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27364 wxUSE_PRINTING_ARCHITECTURE=no
27365 fi
27366 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27367 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27368 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27369 wxUSE_DRAG_AND_DROP=no
27370 fi
27371 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27372 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27373 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27374 wxUSE_DRAGIMAGE=no
27375 fi
27376 fi
27377
27378 if test "$wxUSE_MSW" = 1 ; then
27379 TOOLKIT=MSW
27380 GUIDIST=MSW_DIST
27381
27382 case "${host}" in
27383 *-*-mingw32* )
27384 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27385 esac
27386 fi
27387
27388 if test "$wxUSE_GTK" = 1; then
27389 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27390 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27391
27392 gtk_version_cached=1
27393 if test "${wx_cv_lib_gtk+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27396
27397 gtk_version_cached=0
27398 echo "$as_me:$LINENO: result: " >&5
27399 echo "${ECHO_T}" >&6
27400
27401 GTK_MODULES=
27402 if test "$wxUSE_THREADS" = "yes"; then
27403 GTK_MODULES=gthread
27404 fi
27405
27406 wx_cv_lib_gtk=
27407 if test "x$wxGTK_VERSION" != "x1"
27408 then
27409 case "${host}" in
27410 *-*-solaris2* )
27411 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27412 enable_gtktest=no
27413 fi
27414 esac
27415
27416 # Check whether --enable-gtktest or --disable-gtktest was given.
27417 if test "${enable_gtktest+set}" = set; then
27418 enableval="$enable_gtktest"
27419
27420 else
27421 enable_gtktest=yes
27422 fi;
27423
27424 pkg_config_args=gtk+-2.0
27425 for module in . $GTK_MODULES
27426 do
27427 case "$module" in
27428 gthread)
27429 pkg_config_args="$pkg_config_args gthread-2.0"
27430 ;;
27431 esac
27432 done
27433
27434 no_gtk=""
27435
27436 # Extract the first word of "pkg-config", so it can be a program name with args.
27437 set dummy pkg-config; ac_word=$2
27438 echo "$as_me:$LINENO: checking for $ac_word" >&5
27439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27440 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27442 else
27443 case $PKG_CONFIG in
27444 [\\/]* | ?:[\\/]*)
27445 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27446 ;;
27447 *)
27448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27449 for as_dir in $PATH
27450 do
27451 IFS=$as_save_IFS
27452 test -z "$as_dir" && as_dir=.
27453 for ac_exec_ext in '' $ac_executable_extensions; do
27454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27455 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27457 break 2
27458 fi
27459 done
27460 done
27461
27462 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27463 ;;
27464 esac
27465 fi
27466 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27467
27468 if test -n "$PKG_CONFIG"; then
27469 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27470 echo "${ECHO_T}$PKG_CONFIG" >&6
27471 else
27472 echo "$as_me:$LINENO: result: no" >&5
27473 echo "${ECHO_T}no" >&6
27474 fi
27475
27476
27477 if test x$PKG_CONFIG != xno ; then
27478 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27479 :
27480 else
27481 echo "*** pkg-config too old; version 0.7 or better required."
27482 no_gtk=yes
27483 PKG_CONFIG=no
27484 fi
27485 else
27486 no_gtk=yes
27487 fi
27488
27489 min_gtk_version=2.0.0
27490 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27491 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27492
27493 if test x$PKG_CONFIG != xno ; then
27494 ## don't try to run the test against uninstalled libtool libs
27495 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27496 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27497 enable_gtktest=no
27498 fi
27499
27500 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27501 :
27502 else
27503 no_gtk=yes
27504 fi
27505 fi
27506
27507 if test x"$no_gtk" = x ; then
27508 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27509 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27510 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27512 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27514 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27516 if test "x$enable_gtktest" = "xyes" ; then
27517 ac_save_CFLAGS="$CFLAGS"
27518 ac_save_LIBS="$LIBS"
27519 CFLAGS="$CFLAGS $GTK_CFLAGS"
27520 LIBS="$GTK_LIBS $LIBS"
27521 rm -f conf.gtktest
27522 if test "$cross_compiling" = yes; then
27523 echo $ac_n "cross compiling; assumed OK... $ac_c"
27524 else
27525 cat >conftest.$ac_ext <<_ACEOF
27526 /* confdefs.h. */
27527 _ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531
27532 #include <gtk/gtk.h>
27533 #include <stdio.h>
27534 #include <stdlib.h>
27535
27536 int
27537 main ()
27538 {
27539 int major, minor, micro;
27540 char *tmp_version;
27541
27542 system ("touch conf.gtktest");
27543
27544 /* HP/UX 9 (%@#!) writes to sscanf strings */
27545 tmp_version = g_strdup("$min_gtk_version");
27546 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27547 printf("%s, bad version string\n", "$min_gtk_version");
27548 exit(1);
27549 }
27550
27551 if ((gtk_major_version != $gtk_config_major_version) ||
27552 (gtk_minor_version != $gtk_config_minor_version) ||
27553 (gtk_micro_version != $gtk_config_micro_version))
27554 {
27555 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27556 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27557 gtk_major_version, gtk_minor_version, gtk_micro_version);
27558 printf ("*** was found! If pkg-config was correct, then it is best\n");
27559 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27560 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27561 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27562 printf("*** required on your system.\n");
27563 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27564 printf("*** to point to the correct configuration files\n");
27565 }
27566 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27567 (gtk_minor_version != GTK_MINOR_VERSION) ||
27568 (gtk_micro_version != GTK_MICRO_VERSION))
27569 {
27570 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27571 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27572 printf("*** library (version %d.%d.%d)\n",
27573 gtk_major_version, gtk_minor_version, gtk_micro_version);
27574 }
27575 else
27576 {
27577 if ((gtk_major_version > major) ||
27578 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27579 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27580 {
27581 return 0;
27582 }
27583 else
27584 {
27585 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27586 gtk_major_version, gtk_minor_version, gtk_micro_version);
27587 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27588 major, minor, micro);
27589 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27590 printf("***\n");
27591 printf("*** If you have already installed a sufficiently new version, this error\n");
27592 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27593 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27594 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27595 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27596 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27597 printf("*** so that the correct libraries are found at run-time))\n");
27598 }
27599 }
27600 return 1;
27601 }
27602
27603 _ACEOF
27604 rm -f conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>&5
27607 ac_status=$?
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27612 ac_status=$?
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 :
27616 else
27617 echo "$as_me: program exited with status $ac_status" >&5
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.$ac_ext >&5
27620
27621 ( exit $ac_status )
27622 no_gtk=yes
27623 fi
27624 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27625 fi
27626 CFLAGS="$ac_save_CFLAGS"
27627 LIBS="$ac_save_LIBS"
27628 fi
27629 fi
27630 if test "x$no_gtk" = x ; then
27631 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27632 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27633 wx_cv_lib_gtk=2.0
27634 else
27635 echo "$as_me:$LINENO: result: no" >&5
27636 echo "${ECHO_T}no" >&6
27637 if test "$PKG_CONFIG" = "no" ; then
27638 echo "*** A new enough version of pkg-config was not found."
27639 echo "*** See http://pkgconfig.sourceforge.net"
27640 else
27641 if test -f conf.gtktest ; then
27642 :
27643 else
27644 echo "*** Could not run GTK+ test program, checking why..."
27645 ac_save_CFLAGS="$CFLAGS"
27646 ac_save_LIBS="$LIBS"
27647 CFLAGS="$CFLAGS $GTK_CFLAGS"
27648 LIBS="$LIBS $GTK_LIBS"
27649 cat >conftest.$ac_ext <<_ACEOF
27650 /* confdefs.h. */
27651 _ACEOF
27652 cat confdefs.h >>conftest.$ac_ext
27653 cat >>conftest.$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27655
27656 #include <gtk/gtk.h>
27657 #include <stdio.h>
27658
27659 int
27660 main ()
27661 {
27662 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27663 ;
27664 return 0;
27665 }
27666 _ACEOF
27667 rm -f conftest.$ac_objext conftest$ac_exeext
27668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27669 (eval $ac_link) 2>conftest.er1
27670 ac_status=$?
27671 grep -v '^ *+' conftest.er1 >conftest.err
27672 rm -f conftest.er1
27673 cat conftest.err >&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27679 ac_status=$?
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; } &&
27682 { ac_try='test -s conftest$ac_exeext'
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27685 ac_status=$?
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; }; then
27688 echo "*** The test program compiled, but did not run. This usually means"
27689 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27690 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27691 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27692 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27693 echo "*** is required on your system"
27694 echo "***"
27695 echo "*** If you have an old version installed, it is best to remove it, although"
27696 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27697 else
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.$ac_ext >&5
27700
27701 echo "*** The test program failed to compile or link. See the file config.log for the"
27702 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27703 fi
27704 rm -f conftest.err conftest.$ac_objext \
27705 conftest$ac_exeext conftest.$ac_ext
27706 CFLAGS="$ac_save_CFLAGS"
27707 LIBS="$ac_save_LIBS"
27708 fi
27709 fi
27710 GTK_CFLAGS=""
27711 GTK_LIBS=""
27712 :
27713 fi
27714
27715
27716 rm -f conf.gtktest
27717
27718
27719 case "${host}" in
27720 *-*-solaris2* )
27721 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27722 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27723 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27724 fi
27725 if test "$wxUSE_SHARED" != "yes"; then
27726 GTK_LIBS="$GTK_LIBS -lX11"
27727 fi
27728 esac
27729 fi
27730
27731 if test -z "$wx_cv_lib_gtk"; then
27732 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27733
27734 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27735 if test "${with_gtk_prefix+set}" = set; then
27736 withval="$with_gtk_prefix"
27737 gtk_config_prefix="$withval"
27738 else
27739 gtk_config_prefix=""
27740 fi;
27741
27742 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27743 if test "${with_gtk_exec_prefix+set}" = set; then
27744 withval="$with_gtk_exec_prefix"
27745 gtk_config_exec_prefix="$withval"
27746 else
27747 gtk_config_exec_prefix=""
27748 fi;
27749 # Check whether --enable-gtktest or --disable-gtktest was given.
27750 if test "${enable_gtktest+set}" = set; then
27751 enableval="$enable_gtktest"
27752
27753 else
27754 enable_gtktest=yes
27755 fi;
27756
27757 for module in . $GTK_MODULES
27758 do
27759 case "$module" in
27760 gthread)
27761 gtk_config_args="$gtk_config_args gthread"
27762 ;;
27763 esac
27764 done
27765
27766 if test x$gtk_config_exec_prefix != x ; then
27767 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27768 if test x${GTK_CONFIG+set} != xset ; then
27769 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27770 fi
27771 fi
27772 if test x$gtk_config_prefix != x ; then
27773 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27774 if test x${GTK_CONFIG+set} != xset ; then
27775 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27776 fi
27777 fi
27778
27779 # Extract the first word of "gtk-config", so it can be a program name with args.
27780 set dummy gtk-config; ac_word=$2
27781 echo "$as_me:$LINENO: checking for $ac_word" >&5
27782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27783 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27785 else
27786 case $GTK_CONFIG in
27787 [\\/]* | ?:[\\/]*)
27788 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27789 ;;
27790 *)
27791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27792 for as_dir in $PATH
27793 do
27794 IFS=$as_save_IFS
27795 test -z "$as_dir" && as_dir=.
27796 for ac_exec_ext in '' $ac_executable_extensions; do
27797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27798 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27800 break 2
27801 fi
27802 done
27803 done
27804
27805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27806 ;;
27807 esac
27808 fi
27809 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27810
27811 if test -n "$GTK_CONFIG"; then
27812 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27813 echo "${ECHO_T}$GTK_CONFIG" >&6
27814 else
27815 echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6
27817 fi
27818
27819 min_gtk_version=1.2.7
27820 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27821 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27822 no_gtk=""
27823 if test "$GTK_CONFIG" = "no" ; then
27824 no_gtk=yes
27825 else
27826 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27827 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27828 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27830 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27832 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27834 if test "x$enable_gtktest" = "xyes" ; then
27835 ac_save_CFLAGS="$CFLAGS"
27836 ac_save_LIBS="$LIBS"
27837 CFLAGS="$CFLAGS $GTK_CFLAGS"
27838 LIBS="$GTK_LIBS $LIBS"
27839 rm -f conf.gtktest
27840 if test "$cross_compiling" = yes; then
27841 echo $ac_n "cross compiling; assumed OK... $ac_c"
27842 else
27843 cat >conftest.$ac_ext <<_ACEOF
27844 /* confdefs.h. */
27845 _ACEOF
27846 cat confdefs.h >>conftest.$ac_ext
27847 cat >>conftest.$ac_ext <<_ACEOF
27848 /* end confdefs.h. */
27849
27850 #include <gtk/gtk.h>
27851 #include <stdio.h>
27852 #include <stdlib.h>
27853
27854 int
27855 main ()
27856 {
27857 int major, minor, micro;
27858 char *tmp_version;
27859
27860 system ("touch conf.gtktest");
27861
27862 /* HP/UX 9 (%@#!) writes to sscanf strings */
27863 tmp_version = g_strdup("$min_gtk_version");
27864 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27865 printf("%s, bad version string\n", "$min_gtk_version");
27866 exit(1);
27867 }
27868
27869 if ((gtk_major_version != $gtk_config_major_version) ||
27870 (gtk_minor_version != $gtk_config_minor_version) ||
27871 (gtk_micro_version != $gtk_config_micro_version))
27872 {
27873 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27874 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27875 gtk_major_version, gtk_minor_version, gtk_micro_version);
27876 printf ("*** was found! If gtk-config was correct, then it is best\n");
27877 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27878 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27879 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27880 printf("*** required on your system.\n");
27881 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27882 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27883 printf("*** before re-running configure\n");
27884 }
27885 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27886 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27887 (gtk_minor_version != GTK_MINOR_VERSION) ||
27888 (gtk_micro_version != GTK_MICRO_VERSION))
27889 {
27890 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27891 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27892 printf("*** library (version %d.%d.%d)\n",
27893 gtk_major_version, gtk_minor_version, gtk_micro_version);
27894 }
27895 #endif /* defined (GTK_MAJOR_VERSION) ... */
27896 else
27897 {
27898 if ((gtk_major_version > major) ||
27899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27901 {
27902 return 0;
27903 }
27904 else
27905 {
27906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27907 gtk_major_version, gtk_minor_version, gtk_micro_version);
27908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27909 major, minor, micro);
27910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27911 printf("***\n");
27912 printf("*** If you have already installed a sufficiently new version, this error\n");
27913 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27915 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27916 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27918 printf("*** so that the correct libraries are found at run-time))\n");
27919 }
27920 }
27921 return 1;
27922 }
27923
27924 _ACEOF
27925 rm -f conftest$ac_exeext
27926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27927 (eval $ac_link) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; }; then
27936 :
27937 else
27938 echo "$as_me: program exited with status $ac_status" >&5
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942 ( exit $ac_status )
27943 no_gtk=yes
27944 fi
27945 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27946 fi
27947 CFLAGS="$ac_save_CFLAGS"
27948 LIBS="$ac_save_LIBS"
27949 fi
27950 fi
27951 if test "x$no_gtk" = x ; then
27952 echo "$as_me:$LINENO: result: yes" >&5
27953 echo "${ECHO_T}yes" >&6
27954 wx_cv_lib_gtk=1.2.7
27955 else
27956 echo "$as_me:$LINENO: result: no" >&5
27957 echo "${ECHO_T}no" >&6
27958 if test "$GTK_CONFIG" = "no" ; then
27959 echo "*** The gtk-config script installed by GTK could not be found"
27960 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27961 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27962 echo "*** full path to gtk-config."
27963 else
27964 if test -f conf.gtktest ; then
27965 :
27966 else
27967 echo "*** Could not run GTK test program, checking why..."
27968 CFLAGS="$CFLAGS $GTK_CFLAGS"
27969 LIBS="$LIBS $GTK_LIBS"
27970 cat >conftest.$ac_ext <<_ACEOF
27971 /* confdefs.h. */
27972 _ACEOF
27973 cat confdefs.h >>conftest.$ac_ext
27974 cat >>conftest.$ac_ext <<_ACEOF
27975 /* end confdefs.h. */
27976
27977 #include <gtk/gtk.h>
27978 #include <stdio.h>
27979
27980 int
27981 main ()
27982 {
27983 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27984 ;
27985 return 0;
27986 }
27987 _ACEOF
27988 rm -f conftest.$ac_objext conftest$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990 (eval $ac_link) 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } &&
27997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 echo "*** The test program compiled, but did not run. This usually means"
28010 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28011 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28012 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28013 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28014 echo "*** is required on your system"
28015 echo "***"
28016 echo "*** If you have an old version installed, it is best to remove it, although"
28017 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28018 echo "***"
28019 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28020 echo "*** came with the system with the command"
28021 echo "***"
28022 echo "*** rpm --erase --nodeps gtk gtk-devel"
28023 else
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.$ac_ext >&5
28026
28027 echo "*** The test program failed to compile or link. See the file config.log for the"
28028 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28029 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28030 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28031 fi
28032 rm -f conftest.err conftest.$ac_objext \
28033 conftest$ac_exeext conftest.$ac_ext
28034 CFLAGS="$ac_save_CFLAGS"
28035 LIBS="$ac_save_LIBS"
28036 fi
28037 fi
28038 GTK_CFLAGS=""
28039 GTK_LIBS=""
28040 :
28041 fi
28042
28043
28044 rm -f conf.gtktest
28045
28046
28047 if test -z "$wx_cv_lib_gtk"; then
28048
28049 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28050 if test "${with_gtk_prefix+set}" = set; then
28051 withval="$with_gtk_prefix"
28052 gtk_config_prefix="$withval"
28053 else
28054 gtk_config_prefix=""
28055 fi;
28056
28057 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28058 if test "${with_gtk_exec_prefix+set}" = set; then
28059 withval="$with_gtk_exec_prefix"
28060 gtk_config_exec_prefix="$withval"
28061 else
28062 gtk_config_exec_prefix=""
28063 fi;
28064 # Check whether --enable-gtktest or --disable-gtktest was given.
28065 if test "${enable_gtktest+set}" = set; then
28066 enableval="$enable_gtktest"
28067
28068 else
28069 enable_gtktest=yes
28070 fi;
28071
28072 for module in . $GTK_MODULES
28073 do
28074 case "$module" in
28075 gthread)
28076 gtk_config_args="$gtk_config_args gthread"
28077 ;;
28078 esac
28079 done
28080
28081 if test x$gtk_config_exec_prefix != x ; then
28082 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28083 if test x${GTK_CONFIG+set} != xset ; then
28084 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28085 fi
28086 fi
28087 if test x$gtk_config_prefix != x ; then
28088 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28089 if test x${GTK_CONFIG+set} != xset ; then
28090 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28091 fi
28092 fi
28093
28094 # Extract the first word of "gtk-config", so it can be a program name with args.
28095 set dummy gtk-config; ac_word=$2
28096 echo "$as_me:$LINENO: checking for $ac_word" >&5
28097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28098 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28100 else
28101 case $GTK_CONFIG in
28102 [\\/]* | ?:[\\/]*)
28103 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28104 ;;
28105 *)
28106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28107 for as_dir in $PATH
28108 do
28109 IFS=$as_save_IFS
28110 test -z "$as_dir" && as_dir=.
28111 for ac_exec_ext in '' $ac_executable_extensions; do
28112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28113 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28115 break 2
28116 fi
28117 done
28118 done
28119
28120 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28121 ;;
28122 esac
28123 fi
28124 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28125
28126 if test -n "$GTK_CONFIG"; then
28127 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28128 echo "${ECHO_T}$GTK_CONFIG" >&6
28129 else
28130 echo "$as_me:$LINENO: result: no" >&5
28131 echo "${ECHO_T}no" >&6
28132 fi
28133
28134 min_gtk_version=1.2.3
28135 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28136 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28137 no_gtk=""
28138 if test "$GTK_CONFIG" = "no" ; then
28139 no_gtk=yes
28140 else
28141 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28142 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28143 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28145 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28147 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28149 if test "x$enable_gtktest" = "xyes" ; then
28150 ac_save_CFLAGS="$CFLAGS"
28151 ac_save_LIBS="$LIBS"
28152 CFLAGS="$CFLAGS $GTK_CFLAGS"
28153 LIBS="$GTK_LIBS $LIBS"
28154 rm -f conf.gtktest
28155 if test "$cross_compiling" = yes; then
28156 echo $ac_n "cross compiling; assumed OK... $ac_c"
28157 else
28158 cat >conftest.$ac_ext <<_ACEOF
28159 /* confdefs.h. */
28160 _ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164
28165 #include <gtk/gtk.h>
28166 #include <stdio.h>
28167 #include <stdlib.h>
28168
28169 int
28170 main ()
28171 {
28172 int major, minor, micro;
28173 char *tmp_version;
28174
28175 system ("touch conf.gtktest");
28176
28177 /* HP/UX 9 (%@#!) writes to sscanf strings */
28178 tmp_version = g_strdup("$min_gtk_version");
28179 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28180 printf("%s, bad version string\n", "$min_gtk_version");
28181 exit(1);
28182 }
28183
28184 if ((gtk_major_version != $gtk_config_major_version) ||
28185 (gtk_minor_version != $gtk_config_minor_version) ||
28186 (gtk_micro_version != $gtk_config_micro_version))
28187 {
28188 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28189 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28190 gtk_major_version, gtk_minor_version, gtk_micro_version);
28191 printf ("*** was found! If gtk-config was correct, then it is best\n");
28192 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28193 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28194 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28195 printf("*** required on your system.\n");
28196 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28197 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28198 printf("*** before re-running configure\n");
28199 }
28200 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28201 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28202 (gtk_minor_version != GTK_MINOR_VERSION) ||
28203 (gtk_micro_version != GTK_MICRO_VERSION))
28204 {
28205 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28206 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28207 printf("*** library (version %d.%d.%d)\n",
28208 gtk_major_version, gtk_minor_version, gtk_micro_version);
28209 }
28210 #endif /* defined (GTK_MAJOR_VERSION) ... */
28211 else
28212 {
28213 if ((gtk_major_version > major) ||
28214 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28215 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28216 {
28217 return 0;
28218 }
28219 else
28220 {
28221 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28222 gtk_major_version, gtk_minor_version, gtk_micro_version);
28223 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28224 major, minor, micro);
28225 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28226 printf("***\n");
28227 printf("*** If you have already installed a sufficiently new version, this error\n");
28228 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28229 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28230 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28231 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28232 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28233 printf("*** so that the correct libraries are found at run-time))\n");
28234 }
28235 }
28236 return 1;
28237 }
28238
28239 _ACEOF
28240 rm -f conftest$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242 (eval $ac_link) 2>&5
28243 ac_status=$?
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28247 (eval $ac_try) 2>&5
28248 ac_status=$?
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; }; then
28251 :
28252 else
28253 echo "$as_me: program exited with status $ac_status" >&5
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28256
28257 ( exit $ac_status )
28258 no_gtk=yes
28259 fi
28260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28261 fi
28262 CFLAGS="$ac_save_CFLAGS"
28263 LIBS="$ac_save_LIBS"
28264 fi
28265 fi
28266 if test "x$no_gtk" = x ; then
28267 echo "$as_me:$LINENO: result: yes" >&5
28268 echo "${ECHO_T}yes" >&6
28269 wx_cv_lib_gtk=1.2.3
28270 else
28271 echo "$as_me:$LINENO: result: no" >&5
28272 echo "${ECHO_T}no" >&6
28273 if test "$GTK_CONFIG" = "no" ; then
28274 echo "*** The gtk-config script installed by GTK could not be found"
28275 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28276 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28277 echo "*** full path to gtk-config."
28278 else
28279 if test -f conf.gtktest ; then
28280 :
28281 else
28282 echo "*** Could not run GTK test program, checking why..."
28283 CFLAGS="$CFLAGS $GTK_CFLAGS"
28284 LIBS="$LIBS $GTK_LIBS"
28285 cat >conftest.$ac_ext <<_ACEOF
28286 /* confdefs.h. */
28287 _ACEOF
28288 cat confdefs.h >>conftest.$ac_ext
28289 cat >>conftest.$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28291
28292 #include <gtk/gtk.h>
28293 #include <stdio.h>
28294
28295 int
28296 main ()
28297 {
28298 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28299 ;
28300 return 0;
28301 }
28302 _ACEOF
28303 rm -f conftest.$ac_objext conftest$ac_exeext
28304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28305 (eval $ac_link) 2>conftest.er1
28306 ac_status=$?
28307 grep -v '^ *+' conftest.er1 >conftest.err
28308 rm -f conftest.er1
28309 cat conftest.err >&5
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; } &&
28318 { ac_try='test -s conftest$ac_exeext'
28319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28320 (eval $ac_try) 2>&5
28321 ac_status=$?
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); }; }; then
28324 echo "*** The test program compiled, but did not run. This usually means"
28325 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28326 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28327 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28328 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28329 echo "*** is required on your system"
28330 echo "***"
28331 echo "*** If you have an old version installed, it is best to remove it, although"
28332 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28333 echo "***"
28334 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28335 echo "*** came with the system with the command"
28336 echo "***"
28337 echo "*** rpm --erase --nodeps gtk gtk-devel"
28338 else
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28341
28342 echo "*** The test program failed to compile or link. See the file config.log for the"
28343 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28344 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28345 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28346 fi
28347 rm -f conftest.err conftest.$ac_objext \
28348 conftest$ac_exeext conftest.$ac_ext
28349 CFLAGS="$ac_save_CFLAGS"
28350 LIBS="$ac_save_LIBS"
28351 fi
28352 fi
28353 GTK_CFLAGS=""
28354 GTK_LIBS=""
28355 :
28356 fi
28357
28358
28359 rm -f conf.gtktest
28360
28361 fi
28362 fi
28363 fi
28364
28365 if test -z "$wx_cv_lib_gtk"; then
28366 wx_cv_lib_gtk=none
28367 else
28368 wx_cv_cflags_gtk=$GTK_CFLAGS
28369 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28370 fi
28371
28372
28373 fi
28374
28375
28376 if test "$gtk_version_cached" = 1; then
28377 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28378 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28379 fi
28380
28381 case "$wx_cv_lib_gtk" in
28382 2.0) WXGTK20=1
28383 TOOLKIT_VERSION=2
28384 ;;
28385 1.2.7) WXGTK127=1
28386 WXGTK12=1
28387 ;;
28388 1.2.3) WXGTK12=1
28389 ;;
28390 *) { { echo "$as_me:$LINENO: error:
28391 The development files for GTK+ were not found. For GTK+ 2, please
28392 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28393 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28394 and that the version is 1.2.3 or above. Also check that the
28395 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28396 --libs' are in the LD_LIBRARY_PATH or equivalent.
28397 " >&5
28398 echo "$as_me: error:
28399 The development files for GTK+ were not found. For GTK+ 2, please
28400 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28401 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28402 and that the version is 1.2.3 or above. Also check that the
28403 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28404 --libs' are in the LD_LIBRARY_PATH or equivalent.
28405 " >&2;}
28406 { (exit 1); exit 1; }; }
28407 ;;
28408 esac
28409
28410 if test "$WXGTK20" = 1; then
28411 save_CFLAGS="$CFLAGS"
28412 save_LIBS="$LIBS"
28413 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28414 LIBS="$LIBS $wx_cv_libs_gtk"
28415
28416 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28417 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28418 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 else
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h. */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427 #include <gtk/gtk.h>
28428
28429 int
28430 main ()
28431 {
28432 #ifndef gtk_icon_size_lookup
28433 char *p = (char *) gtk_icon_size_lookup;
28434 #endif
28435
28436 ;
28437 return 0;
28438 }
28439 _ACEOF
28440 rm -f conftest.$ac_objext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28442 (eval $ac_compile) 2>conftest.er1
28443 ac_status=$?
28444 grep -v '^ *+' conftest.er1 >conftest.err
28445 rm -f conftest.er1
28446 cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28452 ac_status=$?
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; } &&
28455 { ac_try='test -s conftest.$ac_objext'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28458 ac_status=$?
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; }; then
28461 ac_cv_have_decl_gtk_icon_size_lookup=yes
28462 else
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28465
28466 ac_cv_have_decl_gtk_icon_size_lookup=no
28467 fi
28468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28469 fi
28470 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28471 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28472 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28473
28474 cat >>confdefs.h <<_ACEOF
28475 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28476 _ACEOF
28477
28478
28479 else
28480 cat >>confdefs.h <<_ACEOF
28481 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28482 _ACEOF
28483
28484 cat >>confdefs.h <<\_ACEOF
28485 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28486 _ACEOF
28487
28488 fi
28489
28490
28491
28492 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28493 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28494 cat >conftest.$ac_ext <<_ACEOF
28495 /* confdefs.h. */
28496 _ACEOF
28497 cat confdefs.h >>conftest.$ac_ext
28498 cat >>conftest.$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28500
28501 #include <gtk/gtk.h>
28502
28503 int
28504 main ()
28505 {
28506
28507 #if !GTK_CHECK_VERSION(2,6,0)
28508 Not GTK+ 2.6
28509 #endif
28510
28511 ;
28512 return 0;
28513 }
28514 _ACEOF
28515 rm -f conftest.$ac_objext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28517 (eval $ac_compile) 2>conftest.er1
28518 ac_status=$?
28519 grep -v '^ *+' conftest.er1 >conftest.err
28520 rm -f conftest.er1
28521 cat conftest.err >&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28527 ac_status=$?
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; } &&
28530 { ac_try='test -s conftest.$ac_objext'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28533 ac_status=$?
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; }; then
28536
28537 cat >>confdefs.h <<\_ACEOF
28538 #define __WXGTK26__ 1
28539 _ACEOF
28540
28541 cat >>confdefs.h <<\_ACEOF
28542 #define __WXGTK24__ 1
28543 _ACEOF
28544
28545 echo "$as_me:$LINENO: result: yes" >&5
28546 echo "${ECHO_T}yes" >&6
28547 ac_wxgtk26=1
28548
28549 else
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.$ac_ext >&5
28552
28553
28554 echo "$as_me:$LINENO: result: no" >&5
28555 echo "${ECHO_T}no" >&6
28556 ac_wxgtk26=0
28557
28558 fi
28559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28560
28561 if test "$ac_wxgtk26" = 0; then
28562 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28563 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28564 cat >conftest.$ac_ext <<_ACEOF
28565 /* confdefs.h. */
28566 _ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28570
28571 #include <gtk/gtk.h>
28572
28573 int
28574 main ()
28575 {
28576
28577 #if !GTK_CHECK_VERSION(2,4,0)
28578 Not GTK+ 2.4
28579 #endif
28580
28581 ;
28582 return 0;
28583 }
28584 _ACEOF
28585 rm -f conftest.$ac_objext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28587 (eval $ac_compile) 2>conftest.er1
28588 ac_status=$?
28589 grep -v '^ *+' conftest.er1 >conftest.err
28590 rm -f conftest.er1
28591 cat conftest.err >&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } &&
28594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try='test -s conftest.$ac_objext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28603 ac_status=$?
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28606
28607 cat >>confdefs.h <<\_ACEOF
28608 #define __WXGTK24__ 1
28609 _ACEOF
28610
28611 echo "$as_me:$LINENO: result: yes" >&5
28612 echo "${ECHO_T}yes" >&6
28613
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28617
28618
28619 echo "$as_me:$LINENO: result: no" >&5
28620 echo "${ECHO_T}no" >&6
28621
28622 fi
28623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28624 fi
28625
28626 CFLAGS="$save_CFLAGS"
28627 LIBS="$save_LIBS"
28628 else
28629 if test "$wxUSE_UNICODE" = "yes"; then
28630 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28631 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28632 wxUSE_UNICODE=no
28633 fi
28634
28635 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28636 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28637 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28638 echo $ECHO_N "(cached) $ECHO_C" >&6
28639 else
28640 ac_check_lib_save_LIBS=$LIBS
28641 LIBS="-lgdk $LIBS"
28642 cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h. */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648
28649 /* Override any gcc2 internal prototype to avoid an error. */
28650 #ifdef __cplusplus
28651 extern "C"
28652 #endif
28653 /* We use char because int might match the return type of a gcc2
28654 builtin and then its argument prototype would still apply. */
28655 char gdk_im_open ();
28656 int
28657 main ()
28658 {
28659 gdk_im_open ();
28660 ;
28661 return 0;
28662 }
28663 _ACEOF
28664 rm -f conftest.$ac_objext conftest$ac_exeext
28665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28666 (eval $ac_link) 2>conftest.er1
28667 ac_status=$?
28668 grep -v '^ *+' conftest.er1 >conftest.err
28669 rm -f conftest.er1
28670 cat conftest.err >&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); } &&
28673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; } &&
28679 { ac_try='test -s conftest$ac_exeext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28682 ac_status=$?
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_cv_lib_gdk_gdk_im_open=yes
28686 else
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28689
28690 ac_cv_lib_gdk_gdk_im_open=no
28691 fi
28692 rm -f conftest.err conftest.$ac_objext \
28693 conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28695 fi
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28697 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28698 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28699 cat >>confdefs.h <<\_ACEOF
28700 #define HAVE_XIM 1
28701 _ACEOF
28702
28703 fi
28704
28705 fi
28706
28707 if test "$USE_DARWIN" != 1; then
28708
28709 for ac_func in poll
28710 do
28711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28712 echo "$as_me:$LINENO: checking for $ac_func" >&5
28713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28714 if eval "test \"\${$as_ac_var+set}\" = set"; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 else
28717 cat >conftest.$ac_ext <<_ACEOF
28718 /* confdefs.h. */
28719 _ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28725 #define $ac_func innocuous_$ac_func
28726
28727 /* System header to define __stub macros and hopefully few prototypes,
28728 which can conflict with char $ac_func (); below.
28729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28730 <limits.h> exists even on freestanding compilers. */
28731
28732 #ifdef __STDC__
28733 # include <limits.h>
28734 #else
28735 # include <assert.h>
28736 #endif
28737
28738 #undef $ac_func
28739
28740 /* Override any gcc2 internal prototype to avoid an error. */
28741 #ifdef __cplusplus
28742 extern "C"
28743 {
28744 #endif
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28747 char $ac_func ();
28748 /* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28752 choke me
28753 #else
28754 char (*f) () = $ac_func;
28755 #endif
28756 #ifdef __cplusplus
28757 }
28758 #endif
28759
28760 int
28761 main ()
28762 {
28763 return f != $ac_func;
28764 ;
28765 return 0;
28766 }
28767 _ACEOF
28768 rm -f conftest.$ac_objext conftest$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>conftest.er1
28771 ac_status=$?
28772 grep -v '^ *+' conftest.er1 >conftest.err
28773 rm -f conftest.er1
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28780 ac_status=$?
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; } &&
28783 { ac_try='test -s conftest$ac_exeext'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; }; then
28789 eval "$as_ac_var=yes"
28790 else
28791 echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.$ac_ext >&5
28793
28794 eval "$as_ac_var=no"
28795 fi
28796 rm -f conftest.err conftest.$ac_objext \
28797 conftest$ac_exeext conftest.$ac_ext
28798 fi
28799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28801 if test `eval echo '${'$as_ac_var'}'` = yes; then
28802 cat >>confdefs.h <<_ACEOF
28803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28804 _ACEOF
28805
28806 fi
28807 done
28808
28809 fi
28810
28811 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28812 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28813
28814 AFMINSTALL=afminstall
28815 TOOLKIT=GTK
28816 GUIDIST=GTK_DIST
28817
28818 if test "$wxUSE_GPE" = "yes"; then
28819 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28820 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28821
28822 ac_find_libraries=
28823 for ac_dir in $SEARCH_LIB;
28824 do
28825 for ac_extension in a so sl dylib dll.a; do
28826 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28827 ac_find_libraries=$ac_dir
28828 break 2
28829 fi
28830 done
28831 done
28832
28833 if test "$ac_find_libraries" != "" ; then
28834
28835 if test "$ac_find_libraries" = "default location"; then
28836 ac_path_to_link=""
28837 else
28838 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28839 result=$?
28840 if test $result = 0; then
28841 ac_path_to_link=""
28842 else
28843 ac_path_to_link=" -L$ac_find_libraries"
28844 fi
28845 fi
28846
28847 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28848 WXGPE=1
28849 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28850 echo "${ECHO_T}found in $ac_find_libraries" >&6
28851 else
28852 echo "$as_me:$LINENO: result: not found" >&5
28853 echo "${ECHO_T}not found" >&6
28854 fi
28855
28856 fi
28857 fi
28858
28859 if test "$wxUSE_MGL" = 1; then
28860 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28861 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28862 if test "x$MGL_ROOT" = x ; then
28863 echo "$as_me:$LINENO: result: not found" >&5
28864 echo "${ECHO_T}not found" >&6
28865 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28866 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28867 { (exit 1); exit 1; }; }
28868 else
28869 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28870 echo "${ECHO_T}$MGL_ROOT" >&6
28871 fi
28872
28873 echo "$as_me:$LINENO: checking for libmgl location" >&5
28874 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28875 case "${host}" in
28876 *-*-linux* )
28877 if test "x$wxUSE_SHARED" = xyes ; then
28878 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28879 else
28880 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28881 fi
28882 ;;
28883 *-pc-msdosdjgpp )
28884 mgl_os_candidates="dos32/dj2"
28885 ;;
28886 *)
28887 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28888 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28889 { (exit 1); exit 1; }; }
28890 esac
28891
28892 mgl_lib_type=""
28893 mgl_os=""
28894
28895 for mgl_os_i in $mgl_os_candidates ; do
28896 if test "x$mgl_os" = x ; then
28897 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28898 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28899 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28900 mgl_lib_type=debug
28901 mgl_os=$mgl_os_i
28902 fi
28903 fi
28904 if test "x$mgl_lib_type" = x ; then
28905 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28906 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28907 mgl_lib_type=release
28908 mgl_os=$mgl_os_i
28909 fi
28910 fi
28911 fi
28912 done
28913
28914 if test "x$mgl_os" = x ; then
28915 echo "$as_me:$LINENO: result: not found" >&5
28916 echo "${ECHO_T}not found" >&6
28917 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28918 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28919 { (exit 1); exit 1; }; }
28920 fi
28921 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28922 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28923
28924 wxUSE_UNIVERSAL="yes"
28925
28926 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28927 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28928
28929 AFMINSTALL=afminstall
28930 TOOLKIT=MGL
28931 GUIDIST=MGL_DIST
28932 fi
28933
28934 if test "$wxUSE_DFB" = 1; then
28935
28936
28937 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28938 if test -n "$ac_tool_prefix"; then
28939 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28940 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28941 echo "$as_me:$LINENO: checking for $ac_word" >&5
28942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945 else
28946 case $PKG_CONFIG in
28947 [\\/]* | ?:[\\/]*)
28948 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28949 ;;
28950 *)
28951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28952 for as_dir in $PATH
28953 do
28954 IFS=$as_save_IFS
28955 test -z "$as_dir" && as_dir=.
28956 for ac_exec_ext in '' $ac_executable_extensions; do
28957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28958 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28960 break 2
28961 fi
28962 done
28963 done
28964
28965 ;;
28966 esac
28967 fi
28968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28969
28970 if test -n "$PKG_CONFIG"; then
28971 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28972 echo "${ECHO_T}$PKG_CONFIG" >&6
28973 else
28974 echo "$as_me:$LINENO: result: no" >&5
28975 echo "${ECHO_T}no" >&6
28976 fi
28977
28978 fi
28979 if test -z "$ac_cv_path_PKG_CONFIG"; then
28980 ac_pt_PKG_CONFIG=$PKG_CONFIG
28981 # Extract the first word of "pkg-config", so it can be a program name with args.
28982 set dummy pkg-config; ac_word=$2
28983 echo "$as_me:$LINENO: checking for $ac_word" >&5
28984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28985 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 else
28988 case $ac_pt_PKG_CONFIG in
28989 [\\/]* | ?:[\\/]*)
28990 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28991 ;;
28992 *)
28993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28994 for as_dir in $PATH
28995 do
28996 IFS=$as_save_IFS
28997 test -z "$as_dir" && as_dir=.
28998 for ac_exec_ext in '' $ac_executable_extensions; do
28999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29000 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29002 break 2
29003 fi
29004 done
29005 done
29006
29007 ;;
29008 esac
29009 fi
29010 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29011
29012 if test -n "$ac_pt_PKG_CONFIG"; then
29013 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29014 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29015 else
29016 echo "$as_me:$LINENO: result: no" >&5
29017 echo "${ECHO_T}no" >&6
29018 fi
29019
29020 PKG_CONFIG=$ac_pt_PKG_CONFIG
29021 else
29022 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29023 fi
29024
29025 fi
29026 if test -n "$PKG_CONFIG"; then
29027 _pkg_min_version=0.9.0
29028 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29029 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29030 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29031 echo "$as_me:$LINENO: result: yes" >&5
29032 echo "${ECHO_T}yes" >&6
29033 else
29034 echo "$as_me:$LINENO: result: no" >&5
29035 echo "${ECHO_T}no" >&6
29036 PKG_CONFIG=""
29037 fi
29038
29039 fi
29040
29041
29042 pkg_failed=no
29043 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29044 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29045
29046 if test -n "$PKG_CONFIG"; then
29047 if test -n "$DIRECTFB_CFLAGS"; then
29048 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29049 else
29050 if test -n "$PKG_CONFIG" && \
29051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29052 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; then
29056 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29057 else
29058 pkg_failed=yes
29059 fi
29060 fi
29061 else
29062 pkg_failed=untried
29063 fi
29064 if test -n "$PKG_CONFIG"; then
29065 if test -n "$DIRECTFB_LIBS"; then
29066 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29067 else
29068 if test -n "$PKG_CONFIG" && \
29069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29070 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29071 ac_status=$?
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; then
29074 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29075 else
29076 pkg_failed=yes
29077 fi
29078 fi
29079 else
29080 pkg_failed=untried
29081 fi
29082
29083
29084
29085 if test $pkg_failed = yes; then
29086
29087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29088 _pkg_short_errors_supported=yes
29089 else
29090 _pkg_short_errors_supported=no
29091 fi
29092 if test $_pkg_short_errors_supported = yes; then
29093 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29094 else
29095 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29096 fi
29097 # Put the nasty error message in config.log where it belongs
29098 echo "$DIRECTFB_PKG_ERRORS" >&5
29099
29100
29101 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29102 echo "$as_me: error: DirectFB not found." >&2;}
29103 { (exit 1); exit 1; }; }
29104
29105
29106 elif test $pkg_failed = untried; then
29107
29108 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29109 echo "$as_me: error: DirectFB not found." >&2;}
29110 { (exit 1); exit 1; }; }
29111
29112
29113 else
29114 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29115 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29116 echo "$as_me:$LINENO: result: yes" >&5
29117 echo "${ECHO_T}yes" >&6
29118
29119 wxUSE_UNIVERSAL="yes"
29120 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29121 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29122 TOOLKIT=DFB
29123 GUIDIST=DFB_DIST
29124
29125 fi
29126 fi
29127
29128 if test "$wxUSE_MICROWIN" = 1; then
29129 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29130 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29131 if test "x$MICROWINDOWS" = x ; then
29132 echo "$as_me:$LINENO: result: not found" >&5
29133 echo "${ECHO_T}not found" >&6
29134 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29135 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29136 { (exit 1); exit 1; }; }
29137 else
29138 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29139 echo "${ECHO_T}$MICROWINDOWS" >&6
29140 fi
29141
29142 if test -f $MICROWINDOWS/lib/libmwin.a; then
29143 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29144 echo "${ECHO_T}MicroWindows' libraries found." >&6
29145 else
29146 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29147 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29148 { (exit 1); exit 1; }; }
29149 fi
29150
29151 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29152 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29153
29154 wxUSE_UNIVERSAL="yes"
29155
29156 AFMINSTALL=afminstall
29157 TOOLKIT=MICROWIN
29158 GUIDIST=MICROWIN_DIST
29159
29160 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29161 fi
29162
29163 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29164
29165 if test "x$ac_path_x_has_been_run" != xyes; then
29166 echo "$as_me:$LINENO: checking for X" >&5
29167 echo $ECHO_N "checking for X... $ECHO_C" >&6
29168
29169 ac_path_x_has_been_run=yes
29170
29171 # Check whether --with-x or --without-x was given.
29172 if test "${with_x+set}" = set; then
29173 withval="$with_x"
29174
29175 fi;
29176 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29177 if test "x$with_x" = xno; then
29178 # The user explicitly disabled X.
29179 have_x=disabled
29180 else
29181 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29182 # Both variables are already set.
29183 have_x=yes
29184 else
29185 if test "${ac_cv_have_x+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29188 # One or both of the vars are not set, and there is no cached value.
29189 ac_x_includes=no ac_x_libraries=no
29190 rm -fr conftest.dir
29191 if mkdir conftest.dir; then
29192 cd conftest.dir
29193 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29194 cat >Imakefile <<'_ACEOF'
29195 acfindx:
29196 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29197 _ACEOF
29198 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29199 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29200 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29201 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29202 for ac_extension in a so sl; do
29203 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29204 test -f $ac_im_libdir/libX11.$ac_extension; then
29205 ac_im_usrlibdir=$ac_im_libdir; break
29206 fi
29207 done
29208 # Screen out bogus values from the imake configuration. They are
29209 # bogus both because they are the default anyway, and because
29210 # using them would break gcc on systems where it needs fixed includes.
29211 case $ac_im_incroot in
29212 /usr/include) ;;
29213 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29214 esac
29215 case $ac_im_usrlibdir in
29216 /usr/lib | /lib) ;;
29217 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29218 esac
29219 fi
29220 cd ..
29221 rm -fr conftest.dir
29222 fi
29223
29224 # Standard set of common directories for X headers.
29225 # Check X11 before X11Rn because it is often a symlink to the current release.
29226 ac_x_header_dirs='
29227 /usr/X11/include
29228 /usr/X11R6/include
29229 /usr/X11R5/include
29230 /usr/X11R4/include
29231
29232 /usr/include/X11
29233 /usr/include/X11R6
29234 /usr/include/X11R5
29235 /usr/include/X11R4
29236
29237 /usr/local/X11/include
29238 /usr/local/X11R6/include
29239 /usr/local/X11R5/include
29240 /usr/local/X11R4/include
29241
29242 /usr/local/include/X11
29243 /usr/local/include/X11R6
29244 /usr/local/include/X11R5
29245 /usr/local/include/X11R4
29246
29247 /usr/X386/include
29248 /usr/x386/include
29249 /usr/XFree86/include/X11
29250
29251 /usr/include
29252 /usr/local/include
29253 /usr/unsupported/include
29254 /usr/athena/include
29255 /usr/local/x11r5/include
29256 /usr/lpp/Xamples/include
29257
29258 /usr/openwin/include
29259 /usr/openwin/share/include'
29260
29261 if test "$ac_x_includes" = no; then
29262 # Guess where to find include files, by looking for a specified header file.
29263 # First, try using that file with no special directory specified.
29264 cat >conftest.$ac_ext <<_ACEOF
29265 /* confdefs.h. */
29266 _ACEOF
29267 cat confdefs.h >>conftest.$ac_ext
29268 cat >>conftest.$ac_ext <<_ACEOF
29269 /* end confdefs.h. */
29270 #include <X11/Intrinsic.h>
29271 _ACEOF
29272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29274 ac_status=$?
29275 grep -v '^ *+' conftest.er1 >conftest.err
29276 rm -f conftest.er1
29277 cat conftest.err >&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } >/dev/null; then
29280 if test -s conftest.err; then
29281 ac_cpp_err=$ac_c_preproc_warn_flag
29282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29283 else
29284 ac_cpp_err=
29285 fi
29286 else
29287 ac_cpp_err=yes
29288 fi
29289 if test -z "$ac_cpp_err"; then
29290 # We can compile using X headers with no special include directory.
29291 ac_x_includes=
29292 else
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29295
29296 for ac_dir in $ac_x_header_dirs; do
29297 if test -r "$ac_dir/X11/Intrinsic.h"; then
29298 ac_x_includes=$ac_dir
29299 break
29300 fi
29301 done
29302 fi
29303 rm -f conftest.err conftest.$ac_ext
29304 fi # $ac_x_includes = no
29305
29306 if test "$ac_x_libraries" = no; then
29307 # Check for the libraries.
29308 # See if we find them without any special options.
29309 # Don't add to $LIBS permanently.
29310 ac_save_LIBS=$LIBS
29311 LIBS="-lXt $LIBS"
29312 cat >conftest.$ac_ext <<_ACEOF
29313 /* confdefs.h. */
29314 _ACEOF
29315 cat confdefs.h >>conftest.$ac_ext
29316 cat >>conftest.$ac_ext <<_ACEOF
29317 /* end confdefs.h. */
29318 #include <X11/Intrinsic.h>
29319 int
29320 main ()
29321 {
29322 XtMalloc (0)
29323 ;
29324 return 0;
29325 }
29326 _ACEOF
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29338 (eval $ac_try) 2>&5
29339 ac_status=$?
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); }; } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29345 ac_status=$?
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 LIBS=$ac_save_LIBS
29349 # We can link X programs with no special library path.
29350 ac_x_libraries=
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 LIBS=$ac_save_LIBS
29356 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29357 do
29358 # Don't even attempt the hair of trying to link an X program!
29359 for ac_extension in a so sl; do
29360 if test -r $ac_dir/libXt.$ac_extension; then
29361 ac_x_libraries=$ac_dir
29362 break 2
29363 fi
29364 done
29365 done
29366 fi
29367 rm -f conftest.err conftest.$ac_objext \
29368 conftest$ac_exeext conftest.$ac_ext
29369 fi # $ac_x_libraries = no
29370
29371 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29372 # Didn't find X anywhere. Cache the known absence of X.
29373 ac_cv_have_x="have_x=no"
29374 else
29375 # Record where we found X for the cache.
29376 ac_cv_have_x="have_x=yes \
29377 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29378 fi
29379 fi
29380
29381 fi
29382 eval "$ac_cv_have_x"
29383 fi # $with_x != no
29384
29385 if test "$have_x" != yes; then
29386 echo "$as_me:$LINENO: result: $have_x" >&5
29387 echo "${ECHO_T}$have_x" >&6
29388 no_x=yes
29389 else
29390 # If each of the values was on the command line, it overrides each guess.
29391 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29392 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29393 # Update the cache value to reflect the command line values.
29394 ac_cv_have_x="have_x=yes \
29395 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29396 # It might be that x_includes is empty (headers are found in the
29397 # standard search path. Then output the corresponding message
29398 ac_out_x_includes=$x_includes
29399 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29400 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29401 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29402 fi
29403
29404 fi
29405 if test "$no_x" = yes; then
29406 # Not all programs may use this symbol, but it does not hurt to define it.
29407
29408 cat >>confdefs.h <<\_ACEOF
29409 #define X_DISPLAY_MISSING 1
29410 _ACEOF
29411
29412 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29413 else
29414 if test -n "$x_includes"; then
29415 X_CFLAGS="$X_CFLAGS -I$x_includes"
29416 fi
29417
29418 # It would also be nice to do this for all -L options, not just this one.
29419 if test -n "$x_libraries"; then
29420 X_LIBS="$X_LIBS -L$x_libraries"
29421 # For Solaris; some versions of Sun CC require a space after -R and
29422 # others require no space. Words are not sufficient . . . .
29423 case `(uname -sr) 2>/dev/null` in
29424 "SunOS 5"*)
29425 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29426 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29427 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29428 cat >conftest.$ac_ext <<_ACEOF
29429 /* confdefs.h. */
29430 _ACEOF
29431 cat confdefs.h >>conftest.$ac_ext
29432 cat >>conftest.$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29434
29435 int
29436 main ()
29437 {
29438
29439 ;
29440 return 0;
29441 }
29442 _ACEOF
29443 rm -f conftest.$ac_objext conftest$ac_exeext
29444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29445 (eval $ac_link) 2>conftest.er1
29446 ac_status=$?
29447 grep -v '^ *+' conftest.er1 >conftest.err
29448 rm -f conftest.er1
29449 cat conftest.err >&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } &&
29452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29455 ac_status=$?
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; } &&
29458 { ac_try='test -s conftest$ac_exeext'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29461 ac_status=$?
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; }; then
29464 ac_R_nospace=yes
29465 else
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.$ac_ext >&5
29468
29469 ac_R_nospace=no
29470 fi
29471 rm -f conftest.err conftest.$ac_objext \
29472 conftest$ac_exeext conftest.$ac_ext
29473 if test $ac_R_nospace = yes; then
29474 echo "$as_me:$LINENO: result: no" >&5
29475 echo "${ECHO_T}no" >&6
29476 X_LIBS="$X_LIBS -R$x_libraries"
29477 else
29478 LIBS="$ac_xsave_LIBS -R $x_libraries"
29479 cat >conftest.$ac_ext <<_ACEOF
29480 /* confdefs.h. */
29481 _ACEOF
29482 cat confdefs.h >>conftest.$ac_ext
29483 cat >>conftest.$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29485
29486 int
29487 main ()
29488 {
29489
29490 ;
29491 return 0;
29492 }
29493 _ACEOF
29494 rm -f conftest.$ac_objext conftest$ac_exeext
29495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29496 (eval $ac_link) 2>conftest.er1
29497 ac_status=$?
29498 grep -v '^ *+' conftest.er1 >conftest.err
29499 rm -f conftest.er1
29500 cat conftest.err >&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); } &&
29503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29506 ac_status=$?
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; } &&
29509 { ac_try='test -s conftest$ac_exeext'
29510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29511 (eval $ac_try) 2>&5
29512 ac_status=$?
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); }; }; then
29515 ac_R_space=yes
29516 else
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.$ac_ext >&5
29519
29520 ac_R_space=no
29521 fi
29522 rm -f conftest.err conftest.$ac_objext \
29523 conftest$ac_exeext conftest.$ac_ext
29524 if test $ac_R_space = yes; then
29525 echo "$as_me:$LINENO: result: yes" >&5
29526 echo "${ECHO_T}yes" >&6
29527 X_LIBS="$X_LIBS -R $x_libraries"
29528 else
29529 echo "$as_me:$LINENO: result: neither works" >&5
29530 echo "${ECHO_T}neither works" >&6
29531 fi
29532 fi
29533 LIBS=$ac_xsave_LIBS
29534 esac
29535 fi
29536
29537 # Check for system-dependent libraries X programs must link with.
29538 # Do this before checking for the system-independent R6 libraries
29539 # (-lICE), since we may need -lsocket or whatever for X linking.
29540
29541 if test "$ISC" = yes; then
29542 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29543 else
29544 # Martyn Johnson says this is needed for Ultrix, if the X
29545 # libraries were built with DECnet support. And Karl Berry says
29546 # the Alpha needs dnet_stub (dnet does not exist).
29547 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29548 cat >conftest.$ac_ext <<_ACEOF
29549 /* confdefs.h. */
29550 _ACEOF
29551 cat confdefs.h >>conftest.$ac_ext
29552 cat >>conftest.$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29554
29555 /* Override any gcc2 internal prototype to avoid an error. */
29556 #ifdef __cplusplus
29557 extern "C"
29558 #endif
29559 /* We use char because int might match the return type of a gcc2
29560 builtin and then its argument prototype would still apply. */
29561 char XOpenDisplay ();
29562 int
29563 main ()
29564 {
29565 XOpenDisplay ();
29566 ;
29567 return 0;
29568 }
29569 _ACEOF
29570 rm -f conftest.$ac_objext conftest$ac_exeext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29572 (eval $ac_link) 2>conftest.er1
29573 ac_status=$?
29574 grep -v '^ *+' conftest.er1 >conftest.err
29575 rm -f conftest.er1
29576 cat conftest.err >&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; } &&
29585 { ac_try='test -s conftest$ac_exeext'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29588 ac_status=$?
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; }; then
29591 :
29592 else
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.$ac_ext >&5
29595
29596 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29597 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29598 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29600 else
29601 ac_check_lib_save_LIBS=$LIBS
29602 LIBS="-ldnet $LIBS"
29603 cat >conftest.$ac_ext <<_ACEOF
29604 /* confdefs.h. */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609
29610 /* Override any gcc2 internal prototype to avoid an error. */
29611 #ifdef __cplusplus
29612 extern "C"
29613 #endif
29614 /* We use char because int might match the return type of a gcc2
29615 builtin and then its argument prototype would still apply. */
29616 char dnet_ntoa ();
29617 int
29618 main ()
29619 {
29620 dnet_ntoa ();
29621 ;
29622 return 0;
29623 }
29624 _ACEOF
29625 rm -f conftest.$ac_objext conftest$ac_exeext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29627 (eval $ac_link) 2>conftest.er1
29628 ac_status=$?
29629 grep -v '^ *+' conftest.er1 >conftest.err
29630 rm -f conftest.er1
29631 cat conftest.err >&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29637 ac_status=$?
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try='test -s conftest$ac_exeext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29643 ac_status=$?
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29646 ac_cv_lib_dnet_dnet_ntoa=yes
29647 else
29648 echo "$as_me: failed program was:" >&5
29649 sed 's/^/| /' conftest.$ac_ext >&5
29650
29651 ac_cv_lib_dnet_dnet_ntoa=no
29652 fi
29653 rm -f conftest.err conftest.$ac_objext \
29654 conftest$ac_exeext conftest.$ac_ext
29655 LIBS=$ac_check_lib_save_LIBS
29656 fi
29657 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29658 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29659 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29660 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29661 fi
29662
29663 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29664 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29665 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29666 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29669 ac_check_lib_save_LIBS=$LIBS
29670 LIBS="-ldnet_stub $LIBS"
29671 cat >conftest.$ac_ext <<_ACEOF
29672 /* confdefs.h. */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677
29678 /* Override any gcc2 internal prototype to avoid an error. */
29679 #ifdef __cplusplus
29680 extern "C"
29681 #endif
29682 /* We use char because int might match the return type of a gcc2
29683 builtin and then its argument prototype would still apply. */
29684 char dnet_ntoa ();
29685 int
29686 main ()
29687 {
29688 dnet_ntoa ();
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 rm -f conftest.$ac_objext conftest$ac_exeext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29695 (eval $ac_link) 2>conftest.er1
29696 ac_status=$?
29697 grep -v '^ *+' conftest.er1 >conftest.err
29698 rm -f conftest.er1
29699 cat conftest.err >&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try='test -s conftest$ac_exeext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 ac_cv_lib_dnet_stub_dnet_ntoa=no
29720 fi
29721 rm -f conftest.err conftest.$ac_objext \
29722 conftest$ac_exeext conftest.$ac_ext
29723 LIBS=$ac_check_lib_save_LIBS
29724 fi
29725 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29726 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29727 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29728 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29729 fi
29730
29731 fi
29732 fi
29733 rm -f conftest.err conftest.$ac_objext \
29734 conftest$ac_exeext conftest.$ac_ext
29735 LIBS="$ac_xsave_LIBS"
29736
29737 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29738 # to get the SysV transport functions.
29739 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29740 # needs -lnsl.
29741 # The nsl library prevents programs from opening the X display
29742 # on Irix 5.2, according to T.E. Dickey.
29743 # The functions gethostbyname, getservbyname, and inet_addr are
29744 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29745 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29746 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29747 if test "${ac_cv_func_gethostbyname+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749 else
29750 cat >conftest.$ac_ext <<_ACEOF
29751 /* confdefs.h. */
29752 _ACEOF
29753 cat confdefs.h >>conftest.$ac_ext
29754 cat >>conftest.$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29756 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29758 #define gethostbyname innocuous_gethostbyname
29759
29760 /* System header to define __stub macros and hopefully few prototypes,
29761 which can conflict with char gethostbyname (); below.
29762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29763 <limits.h> exists even on freestanding compilers. */
29764
29765 #ifdef __STDC__
29766 # include <limits.h>
29767 #else
29768 # include <assert.h>
29769 #endif
29770
29771 #undef gethostbyname
29772
29773 /* Override any gcc2 internal prototype to avoid an error. */
29774 #ifdef __cplusplus
29775 extern "C"
29776 {
29777 #endif
29778 /* We use char because int might match the return type of a gcc2
29779 builtin and then its argument prototype would still apply. */
29780 char gethostbyname ();
29781 /* The GNU C library defines this for functions which it implements
29782 to always fail with ENOSYS. Some functions are actually named
29783 something starting with __ and the normal name is an alias. */
29784 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29785 choke me
29786 #else
29787 char (*f) () = gethostbyname;
29788 #endif
29789 #ifdef __cplusplus
29790 }
29791 #endif
29792
29793 int
29794 main ()
29795 {
29796 return f != gethostbyname;
29797 ;
29798 return 0;
29799 }
29800 _ACEOF
29801 rm -f conftest.$ac_objext conftest$ac_exeext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29803 (eval $ac_link) 2>conftest.er1
29804 ac_status=$?
29805 grep -v '^ *+' conftest.er1 >conftest.err
29806 rm -f conftest.er1
29807 cat conftest.err >&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } &&
29810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try='test -s conftest$ac_exeext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29822 ac_cv_func_gethostbyname=yes
29823 else
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.$ac_ext >&5
29826
29827 ac_cv_func_gethostbyname=no
29828 fi
29829 rm -f conftest.err conftest.$ac_objext \
29830 conftest$ac_exeext conftest.$ac_ext
29831 fi
29832 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29833 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29834
29835 if test $ac_cv_func_gethostbyname = no; then
29836 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29837 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29838 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29839 echo $ECHO_N "(cached) $ECHO_C" >&6
29840 else
29841 ac_check_lib_save_LIBS=$LIBS
29842 LIBS="-lnsl $LIBS"
29843 cat >conftest.$ac_ext <<_ACEOF
29844 /* confdefs.h. */
29845 _ACEOF
29846 cat confdefs.h >>conftest.$ac_ext
29847 cat >>conftest.$ac_ext <<_ACEOF
29848 /* end confdefs.h. */
29849
29850 /* Override any gcc2 internal prototype to avoid an error. */
29851 #ifdef __cplusplus
29852 extern "C"
29853 #endif
29854 /* We use char because int might match the return type of a gcc2
29855 builtin and then its argument prototype would still apply. */
29856 char gethostbyname ();
29857 int
29858 main ()
29859 {
29860 gethostbyname ();
29861 ;
29862 return 0;
29863 }
29864 _ACEOF
29865 rm -f conftest.$ac_objext conftest$ac_exeext
29866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29867 (eval $ac_link) 2>conftest.er1
29868 ac_status=$?
29869 grep -v '^ *+' conftest.er1 >conftest.err
29870 rm -f conftest.er1
29871 cat conftest.err >&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } &&
29874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29877 ac_status=$?
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try='test -s conftest$ac_exeext'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29883 ac_status=$?
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; }; then
29886 ac_cv_lib_nsl_gethostbyname=yes
29887 else
29888 echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.$ac_ext >&5
29890
29891 ac_cv_lib_nsl_gethostbyname=no
29892 fi
29893 rm -f conftest.err conftest.$ac_objext \
29894 conftest$ac_exeext conftest.$ac_ext
29895 LIBS=$ac_check_lib_save_LIBS
29896 fi
29897 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29898 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29899 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29900 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29901 fi
29902
29903 if test $ac_cv_lib_nsl_gethostbyname = no; then
29904 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29905 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29906 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29907 echo $ECHO_N "(cached) $ECHO_C" >&6
29908 else
29909 ac_check_lib_save_LIBS=$LIBS
29910 LIBS="-lbsd $LIBS"
29911 cat >conftest.$ac_ext <<_ACEOF
29912 /* confdefs.h. */
29913 _ACEOF
29914 cat confdefs.h >>conftest.$ac_ext
29915 cat >>conftest.$ac_ext <<_ACEOF
29916 /* end confdefs.h. */
29917
29918 /* Override any gcc2 internal prototype to avoid an error. */
29919 #ifdef __cplusplus
29920 extern "C"
29921 #endif
29922 /* We use char because int might match the return type of a gcc2
29923 builtin and then its argument prototype would still apply. */
29924 char gethostbyname ();
29925 int
29926 main ()
29927 {
29928 gethostbyname ();
29929 ;
29930 return 0;
29931 }
29932 _ACEOF
29933 rm -f conftest.$ac_objext conftest$ac_exeext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29935 (eval $ac_link) 2>conftest.er1
29936 ac_status=$?
29937 grep -v '^ *+' conftest.er1 >conftest.err
29938 rm -f conftest.er1
29939 cat conftest.err >&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; } &&
29948 { ac_try='test -s conftest$ac_exeext'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29951 ac_status=$?
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29954 ac_cv_lib_bsd_gethostbyname=yes
29955 else
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.$ac_ext >&5
29958
29959 ac_cv_lib_bsd_gethostbyname=no
29960 fi
29961 rm -f conftest.err conftest.$ac_objext \
29962 conftest$ac_exeext conftest.$ac_ext
29963 LIBS=$ac_check_lib_save_LIBS
29964 fi
29965 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29966 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29967 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29968 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29969 fi
29970
29971 fi
29972 fi
29973
29974 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29975 # socket/setsockopt and other routines are undefined under SCO ODT
29976 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29977 # on later versions), says Simon Leinen: it contains gethostby*
29978 # variants that don't use the name server (or something). -lsocket
29979 # must be given before -lnsl if both are needed. We assume that
29980 # if connect needs -lnsl, so does gethostbyname.
29981 echo "$as_me:$LINENO: checking for connect" >&5
29982 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29983 if test "${ac_cv_func_connect+set}" = set; then
29984 echo $ECHO_N "(cached) $ECHO_C" >&6
29985 else
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29994 #define connect innocuous_connect
29995
29996 /* System header to define __stub macros and hopefully few prototypes,
29997 which can conflict with char connect (); below.
29998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29999 <limits.h> exists even on freestanding compilers. */
30000
30001 #ifdef __STDC__
30002 # include <limits.h>
30003 #else
30004 # include <assert.h>
30005 #endif
30006
30007 #undef connect
30008
30009 /* Override any gcc2 internal prototype to avoid an error. */
30010 #ifdef __cplusplus
30011 extern "C"
30012 {
30013 #endif
30014 /* We use char because int might match the return type of a gcc2
30015 builtin and then its argument prototype would still apply. */
30016 char connect ();
30017 /* The GNU C library defines this for functions which it implements
30018 to always fail with ENOSYS. Some functions are actually named
30019 something starting with __ and the normal name is an alias. */
30020 #if defined (__stub_connect) || defined (__stub___connect)
30021 choke me
30022 #else
30023 char (*f) () = connect;
30024 #endif
30025 #ifdef __cplusplus
30026 }
30027 #endif
30028
30029 int
30030 main ()
30031 {
30032 return f != connect;
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30040 ac_status=$?
30041 grep -v '^ *+' conftest.er1 >conftest.err
30042 rm -f conftest.er1
30043 cat conftest.err >&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_cv_func_connect=yes
30059 else
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 ac_cv_func_connect=no
30064 fi
30065 rm -f conftest.err conftest.$ac_objext \
30066 conftest$ac_exeext conftest.$ac_ext
30067 fi
30068 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30069 echo "${ECHO_T}$ac_cv_func_connect" >&6
30070
30071 if test $ac_cv_func_connect = no; then
30072 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30073 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30074 if test "${ac_cv_lib_socket_connect+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 else
30077 ac_check_lib_save_LIBS=$LIBS
30078 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30079 cat >conftest.$ac_ext <<_ACEOF
30080 /* confdefs.h. */
30081 _ACEOF
30082 cat confdefs.h >>conftest.$ac_ext
30083 cat >>conftest.$ac_ext <<_ACEOF
30084 /* end confdefs.h. */
30085
30086 /* Override any gcc2 internal prototype to avoid an error. */
30087 #ifdef __cplusplus
30088 extern "C"
30089 #endif
30090 /* We use char because int might match the return type of a gcc2
30091 builtin and then its argument prototype would still apply. */
30092 char connect ();
30093 int
30094 main ()
30095 {
30096 connect ();
30097 ;
30098 return 0;
30099 }
30100 _ACEOF
30101 rm -f conftest.$ac_objext conftest$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>conftest.er1
30104 ac_status=$?
30105 grep -v '^ *+' conftest.er1 >conftest.err
30106 rm -f conftest.er1
30107 cat conftest.err >&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30113 ac_status=$?
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; } &&
30116 { ac_try='test -s conftest$ac_exeext'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30119 ac_status=$?
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; }; then
30122 ac_cv_lib_socket_connect=yes
30123 else
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 ac_cv_lib_socket_connect=no
30128 fi
30129 rm -f conftest.err conftest.$ac_objext \
30130 conftest$ac_exeext conftest.$ac_ext
30131 LIBS=$ac_check_lib_save_LIBS
30132 fi
30133 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30134 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30135 if test $ac_cv_lib_socket_connect = yes; then
30136 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30137 fi
30138
30139 fi
30140
30141 # Guillermo Gomez says -lposix is necessary on A/UX.
30142 echo "$as_me:$LINENO: checking for remove" >&5
30143 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30144 if test "${ac_cv_func_remove+set}" = set; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 else
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30155 #define remove innocuous_remove
30156
30157 /* System header to define __stub macros and hopefully few prototypes,
30158 which can conflict with char remove (); below.
30159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30160 <limits.h> exists even on freestanding compilers. */
30161
30162 #ifdef __STDC__
30163 # include <limits.h>
30164 #else
30165 # include <assert.h>
30166 #endif
30167
30168 #undef remove
30169
30170 /* Override any gcc2 internal prototype to avoid an error. */
30171 #ifdef __cplusplus
30172 extern "C"
30173 {
30174 #endif
30175 /* We use char because int might match the return type of a gcc2
30176 builtin and then its argument prototype would still apply. */
30177 char remove ();
30178 /* The GNU C library defines this for functions which it implements
30179 to always fail with ENOSYS. Some functions are actually named
30180 something starting with __ and the normal name is an alias. */
30181 #if defined (__stub_remove) || defined (__stub___remove)
30182 choke me
30183 #else
30184 char (*f) () = remove;
30185 #endif
30186 #ifdef __cplusplus
30187 }
30188 #endif
30189
30190 int
30191 main ()
30192 {
30193 return f != remove;
30194 ;
30195 return 0;
30196 }
30197 _ACEOF
30198 rm -f conftest.$ac_objext conftest$ac_exeext
30199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30200 (eval $ac_link) 2>conftest.er1
30201 ac_status=$?
30202 grep -v '^ *+' conftest.er1 >conftest.err
30203 rm -f conftest.er1
30204 cat conftest.err >&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); } &&
30207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30210 ac_status=$?
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; } &&
30213 { ac_try='test -s conftest$ac_exeext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30216 ac_status=$?
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 ac_cv_func_remove=yes
30220 else
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30223
30224 ac_cv_func_remove=no
30225 fi
30226 rm -f conftest.err conftest.$ac_objext \
30227 conftest$ac_exeext conftest.$ac_ext
30228 fi
30229 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30230 echo "${ECHO_T}$ac_cv_func_remove" >&6
30231
30232 if test $ac_cv_func_remove = no; then
30233 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30234 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30235 if test "${ac_cv_lib_posix_remove+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30237 else
30238 ac_check_lib_save_LIBS=$LIBS
30239 LIBS="-lposix $LIBS"
30240 cat >conftest.$ac_ext <<_ACEOF
30241 /* confdefs.h. */
30242 _ACEOF
30243 cat confdefs.h >>conftest.$ac_ext
30244 cat >>conftest.$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30246
30247 /* Override any gcc2 internal prototype to avoid an error. */
30248 #ifdef __cplusplus
30249 extern "C"
30250 #endif
30251 /* We use char because int might match the return type of a gcc2
30252 builtin and then its argument prototype would still apply. */
30253 char remove ();
30254 int
30255 main ()
30256 {
30257 remove ();
30258 ;
30259 return 0;
30260 }
30261 _ACEOF
30262 rm -f conftest.$ac_objext conftest$ac_exeext
30263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30264 (eval $ac_link) 2>conftest.er1
30265 ac_status=$?
30266 grep -v '^ *+' conftest.er1 >conftest.err
30267 rm -f conftest.er1
30268 cat conftest.err >&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } &&
30271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30273 (eval $ac_try) 2>&5
30274 ac_status=$?
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); }; } &&
30277 { ac_try='test -s conftest$ac_exeext'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30280 ac_status=$?
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; }; then
30283 ac_cv_lib_posix_remove=yes
30284 else
30285 echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30287
30288 ac_cv_lib_posix_remove=no
30289 fi
30290 rm -f conftest.err conftest.$ac_objext \
30291 conftest$ac_exeext conftest.$ac_ext
30292 LIBS=$ac_check_lib_save_LIBS
30293 fi
30294 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30295 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30296 if test $ac_cv_lib_posix_remove = yes; then
30297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30298 fi
30299
30300 fi
30301
30302 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30303 echo "$as_me:$LINENO: checking for shmat" >&5
30304 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30305 if test "${ac_cv_func_shmat+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 else
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30316 #define shmat innocuous_shmat
30317
30318 /* System header to define __stub macros and hopefully few prototypes,
30319 which can conflict with char shmat (); below.
30320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30321 <limits.h> exists even on freestanding compilers. */
30322
30323 #ifdef __STDC__
30324 # include <limits.h>
30325 #else
30326 # include <assert.h>
30327 #endif
30328
30329 #undef shmat
30330
30331 /* Override any gcc2 internal prototype to avoid an error. */
30332 #ifdef __cplusplus
30333 extern "C"
30334 {
30335 #endif
30336 /* We use char because int might match the return type of a gcc2
30337 builtin and then its argument prototype would still apply. */
30338 char shmat ();
30339 /* The GNU C library defines this for functions which it implements
30340 to always fail with ENOSYS. Some functions are actually named
30341 something starting with __ and the normal name is an alias. */
30342 #if defined (__stub_shmat) || defined (__stub___shmat)
30343 choke me
30344 #else
30345 char (*f) () = shmat;
30346 #endif
30347 #ifdef __cplusplus
30348 }
30349 #endif
30350
30351 int
30352 main ()
30353 {
30354 return f != shmat;
30355 ;
30356 return 0;
30357 }
30358 _ACEOF
30359 rm -f conftest.$ac_objext conftest$ac_exeext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30361 (eval $ac_link) 2>conftest.er1
30362 ac_status=$?
30363 grep -v '^ *+' conftest.er1 >conftest.err
30364 rm -f conftest.er1
30365 cat conftest.err >&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } &&
30368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30370 (eval $ac_try) 2>&5
30371 ac_status=$?
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; } &&
30374 { ac_try='test -s conftest$ac_exeext'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30377 ac_status=$?
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; }; then
30380 ac_cv_func_shmat=yes
30381 else
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385 ac_cv_func_shmat=no
30386 fi
30387 rm -f conftest.err conftest.$ac_objext \
30388 conftest$ac_exeext conftest.$ac_ext
30389 fi
30390 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30391 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30392
30393 if test $ac_cv_func_shmat = no; then
30394 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30395 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30396 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30398 else
30399 ac_check_lib_save_LIBS=$LIBS
30400 LIBS="-lipc $LIBS"
30401 cat >conftest.$ac_ext <<_ACEOF
30402 /* confdefs.h. */
30403 _ACEOF
30404 cat confdefs.h >>conftest.$ac_ext
30405 cat >>conftest.$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30407
30408 /* Override any gcc2 internal prototype to avoid an error. */
30409 #ifdef __cplusplus
30410 extern "C"
30411 #endif
30412 /* We use char because int might match the return type of a gcc2
30413 builtin and then its argument prototype would still apply. */
30414 char shmat ();
30415 int
30416 main ()
30417 {
30418 shmat ();
30419 ;
30420 return 0;
30421 }
30422 _ACEOF
30423 rm -f conftest.$ac_objext conftest$ac_exeext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30425 (eval $ac_link) 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30435 ac_status=$?
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try='test -s conftest$ac_exeext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 ac_cv_lib_ipc_shmat=yes
30445 else
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30448
30449 ac_cv_lib_ipc_shmat=no
30450 fi
30451 rm -f conftest.err conftest.$ac_objext \
30452 conftest$ac_exeext conftest.$ac_ext
30453 LIBS=$ac_check_lib_save_LIBS
30454 fi
30455 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30456 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30457 if test $ac_cv_lib_ipc_shmat = yes; then
30458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30459 fi
30460
30461 fi
30462 fi
30463
30464 # Check for libraries that X11R6 Xt/Xaw programs need.
30465 ac_save_LDFLAGS=$LDFLAGS
30466 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30467 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30468 # check for ICE first), but we must link in the order -lSM -lICE or
30469 # we get undefined symbols. So assume we have SM if we have ICE.
30470 # These have to be linked with before -lX11, unlike the other
30471 # libraries we check for below, so use a different variable.
30472 # John Interrante, Karl Berry
30473 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30474 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30475 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 else
30478 ac_check_lib_save_LIBS=$LIBS
30479 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30480 cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h. */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486
30487 /* Override any gcc2 internal prototype to avoid an error. */
30488 #ifdef __cplusplus
30489 extern "C"
30490 #endif
30491 /* We use char because int might match the return type of a gcc2
30492 builtin and then its argument prototype would still apply. */
30493 char IceConnectionNumber ();
30494 int
30495 main ()
30496 {
30497 IceConnectionNumber ();
30498 ;
30499 return 0;
30500 }
30501 _ACEOF
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>conftest.er1
30505 ac_status=$?
30506 grep -v '^ *+' conftest.er1 >conftest.err
30507 rm -f conftest.er1
30508 cat conftest.err >&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); } &&
30511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; } &&
30517 { ac_try='test -s conftest$ac_exeext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30520 ac_status=$?
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30523 ac_cv_lib_ICE_IceConnectionNumber=yes
30524 else
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30527
30528 ac_cv_lib_ICE_IceConnectionNumber=no
30529 fi
30530 rm -f conftest.err conftest.$ac_objext \
30531 conftest$ac_exeext conftest.$ac_ext
30532 LIBS=$ac_check_lib_save_LIBS
30533 fi
30534 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30535 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30536 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30537 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30538 fi
30539
30540 LDFLAGS=$ac_save_LDFLAGS
30541
30542 fi
30543
30544
30545 if test "$no_x" = "yes"; then
30546 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30547 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30548 { (exit 1); exit 1; }; }
30549 fi
30550
30551 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30552 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30553 AFMINSTALL=afminstall
30554 COMPILED_X_PROGRAM=0
30555
30556 fi
30557
30558 if test "$wxUSE_X11" = 1; then
30559 if test "$wxUSE_NANOX" = "yes"; then
30560 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30561 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30562 if test "x$MICROWIN" = x ; then
30563 echo "$as_me:$LINENO: result: not found" >&5
30564 echo "${ECHO_T}not found" >&6
30565 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30566 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30567 { (exit 1); exit 1; }; }
30568 else
30569 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30570 echo "${ECHO_T}$MICROWIN" >&6
30571 cat >>confdefs.h <<\_ACEOF
30572 #define wxUSE_NANOX 1
30573 _ACEOF
30574
30575 fi
30576 fi
30577
30578 if test "$wxUSE_UNICODE" = "yes"; then
30579
30580
30581 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30582 if test -n "$ac_tool_prefix"; then
30583 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30584 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30585 echo "$as_me:$LINENO: checking for $ac_word" >&5
30586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30588 echo $ECHO_N "(cached) $ECHO_C" >&6
30589 else
30590 case $PKG_CONFIG in
30591 [\\/]* | ?:[\\/]*)
30592 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30593 ;;
30594 *)
30595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30596 for as_dir in $PATH
30597 do
30598 IFS=$as_save_IFS
30599 test -z "$as_dir" && as_dir=.
30600 for ac_exec_ext in '' $ac_executable_extensions; do
30601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30602 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30604 break 2
30605 fi
30606 done
30607 done
30608
30609 ;;
30610 esac
30611 fi
30612 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30613
30614 if test -n "$PKG_CONFIG"; then
30615 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30616 echo "${ECHO_T}$PKG_CONFIG" >&6
30617 else
30618 echo "$as_me:$LINENO: result: no" >&5
30619 echo "${ECHO_T}no" >&6
30620 fi
30621
30622 fi
30623 if test -z "$ac_cv_path_PKG_CONFIG"; then
30624 ac_pt_PKG_CONFIG=$PKG_CONFIG
30625 # Extract the first word of "pkg-config", so it can be a program name with args.
30626 set dummy pkg-config; ac_word=$2
30627 echo "$as_me:$LINENO: checking for $ac_word" >&5
30628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30629 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 else
30632 case $ac_pt_PKG_CONFIG in
30633 [\\/]* | ?:[\\/]*)
30634 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30635 ;;
30636 *)
30637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30638 for as_dir in $PATH
30639 do
30640 IFS=$as_save_IFS
30641 test -z "$as_dir" && as_dir=.
30642 for ac_exec_ext in '' $ac_executable_extensions; do
30643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30644 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30646 break 2
30647 fi
30648 done
30649 done
30650
30651 ;;
30652 esac
30653 fi
30654 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30655
30656 if test -n "$ac_pt_PKG_CONFIG"; then
30657 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30658 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30659 else
30660 echo "$as_me:$LINENO: result: no" >&5
30661 echo "${ECHO_T}no" >&6
30662 fi
30663
30664 PKG_CONFIG=$ac_pt_PKG_CONFIG
30665 else
30666 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30667 fi
30668
30669 fi
30670 if test -n "$PKG_CONFIG"; then
30671 _pkg_min_version=0.9.0
30672 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30673 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30674 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30675 echo "$as_me:$LINENO: result: yes" >&5
30676 echo "${ECHO_T}yes" >&6
30677 else
30678 echo "$as_me:$LINENO: result: no" >&5
30679 echo "${ECHO_T}no" >&6
30680 PKG_CONFIG=""
30681 fi
30682
30683 fi
30684
30685
30686 pkg_failed=no
30687 echo "$as_me:$LINENO: checking for PANGOX" >&5
30688 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30689
30690 if test -n "$PKG_CONFIG"; then
30691 if test -n "$PANGOX_CFLAGS"; then
30692 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30693 else
30694 if test -n "$PKG_CONFIG" && \
30695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30696 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30697 ac_status=$?
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; then
30700 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30701 else
30702 pkg_failed=yes
30703 fi
30704 fi
30705 else
30706 pkg_failed=untried
30707 fi
30708 if test -n "$PKG_CONFIG"; then
30709 if test -n "$PANGOX_LIBS"; then
30710 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30711 else
30712 if test -n "$PKG_CONFIG" && \
30713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30714 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30715 ac_status=$?
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); }; then
30718 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30719 else
30720 pkg_failed=yes
30721 fi
30722 fi
30723 else
30724 pkg_failed=untried
30725 fi
30726
30727
30728
30729 if test $pkg_failed = yes; then
30730
30731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30732 _pkg_short_errors_supported=yes
30733 else
30734 _pkg_short_errors_supported=no
30735 fi
30736 if test $_pkg_short_errors_supported = yes; then
30737 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30738 else
30739 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30740 fi
30741 # Put the nasty error message in config.log where it belongs
30742 echo "$PANGOX_PKG_ERRORS" >&5
30743
30744
30745 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30746 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30747 { (exit 1); exit 1; }; }
30748
30749
30750 elif test $pkg_failed = untried; then
30751
30752 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30753 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30754 { (exit 1); exit 1; }; }
30755
30756
30757 else
30758 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30759 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30760 echo "$as_me:$LINENO: result: yes" >&5
30761 echo "${ECHO_T}yes" >&6
30762
30763 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30764 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30766
30767 fi
30768
30769 pkg_failed=no
30770 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30771 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30772
30773 if test -n "$PKG_CONFIG"; then
30774 if test -n "$PANGOFT2_CFLAGS"; then
30775 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30776 else
30777 if test -n "$PKG_CONFIG" && \
30778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30779 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; then
30783 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30784 else
30785 pkg_failed=yes
30786 fi
30787 fi
30788 else
30789 pkg_failed=untried
30790 fi
30791 if test -n "$PKG_CONFIG"; then
30792 if test -n "$PANGOFT2_LIBS"; then
30793 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30794 else
30795 if test -n "$PKG_CONFIG" && \
30796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30797 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; then
30801 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30802 else
30803 pkg_failed=yes
30804 fi
30805 fi
30806 else
30807 pkg_failed=untried
30808 fi
30809
30810
30811
30812 if test $pkg_failed = yes; then
30813
30814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30815 _pkg_short_errors_supported=yes
30816 else
30817 _pkg_short_errors_supported=no
30818 fi
30819 if test $_pkg_short_errors_supported = yes; then
30820 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30821 else
30822 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30823 fi
30824 # Put the nasty error message in config.log where it belongs
30825 echo "$PANGOFT2_PKG_ERRORS" >&5
30826
30827
30828 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30829 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30830 wxUSE_PRINTING_ARCHITECTURE="no"
30831
30832
30833 elif test $pkg_failed = untried; then
30834
30835 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30836 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30837 wxUSE_PRINTING_ARCHITECTURE="no"
30838
30839
30840 else
30841 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30842 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30843 echo "$as_me:$LINENO: result: yes" >&5
30844 echo "${ECHO_T}yes" >&6
30845
30846 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30847 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30849
30850 fi
30851
30852 pkg_failed=no
30853 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30854 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30855
30856 if test -n "$PKG_CONFIG"; then
30857 if test -n "$PANGOXFT_CFLAGS"; then
30858 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30859 else
30860 if test -n "$PKG_CONFIG" && \
30861 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30862 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; then
30866 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30867 else
30868 pkg_failed=yes
30869 fi
30870 fi
30871 else
30872 pkg_failed=untried
30873 fi
30874 if test -n "$PKG_CONFIG"; then
30875 if test -n "$PANGOXFT_LIBS"; then
30876 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30877 else
30878 if test -n "$PKG_CONFIG" && \
30879 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30880 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30881 ac_status=$?
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); }; then
30884 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30885 else
30886 pkg_failed=yes
30887 fi
30888 fi
30889 else
30890 pkg_failed=untried
30891 fi
30892
30893
30894
30895 if test $pkg_failed = yes; then
30896
30897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30898 _pkg_short_errors_supported=yes
30899 else
30900 _pkg_short_errors_supported=no
30901 fi
30902 if test $_pkg_short_errors_supported = yes; then
30903 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30904 else
30905 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30906 fi
30907 # Put the nasty error message in config.log where it belongs
30908 echo "$PANGOXFT_PKG_ERRORS" >&5
30909
30910
30911 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30912 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30913
30914
30915 elif test $pkg_failed = untried; then
30916
30917 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30918 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30919
30920
30921 else
30922 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30923 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30924 echo "$as_me:$LINENO: result: yes" >&5
30925 echo "${ECHO_T}yes" >&6
30926
30927 cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_PANGO_XFT 1
30929 _ACEOF
30930
30931 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30932 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30934
30935 fi
30936 save_LIBS="$LIBS"
30937 LIBS="$LIBS $PANGOX_LIBS"
30938
30939 for ac_func in pango_font_family_is_monospace
30940 do
30941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30942 echo "$as_me:$LINENO: checking for $ac_func" >&5
30943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30944 if eval "test \"\${$as_ac_var+set}\" = set"; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 else
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30955 #define $ac_func innocuous_$ac_func
30956
30957 /* System header to define __stub macros and hopefully few prototypes,
30958 which can conflict with char $ac_func (); below.
30959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30960 <limits.h> exists even on freestanding compilers. */
30961
30962 #ifdef __STDC__
30963 # include <limits.h>
30964 #else
30965 # include <assert.h>
30966 #endif
30967
30968 #undef $ac_func
30969
30970 /* Override any gcc2 internal prototype to avoid an error. */
30971 #ifdef __cplusplus
30972 extern "C"
30973 {
30974 #endif
30975 /* We use char because int might match the return type of a gcc2
30976 builtin and then its argument prototype would still apply. */
30977 char $ac_func ();
30978 /* The GNU C library defines this for functions which it implements
30979 to always fail with ENOSYS. Some functions are actually named
30980 something starting with __ and the normal name is an alias. */
30981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30982 choke me
30983 #else
30984 char (*f) () = $ac_func;
30985 #endif
30986 #ifdef __cplusplus
30987 }
30988 #endif
30989
30990 int
30991 main ()
30992 {
30993 return f != $ac_func;
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31000 (eval $ac_link) 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31010 ac_status=$?
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; } &&
31013 { ac_try='test -s conftest$ac_exeext'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31016 ac_status=$?
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31019 eval "$as_ac_var=yes"
31020 else
31021 echo "$as_me: failed program was:" >&5
31022 sed 's/^/| /' conftest.$ac_ext >&5
31023
31024 eval "$as_ac_var=no"
31025 fi
31026 rm -f conftest.err conftest.$ac_objext \
31027 conftest$ac_exeext conftest.$ac_ext
31028 fi
31029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31031 if test `eval echo '${'$as_ac_var'}'` = yes; then
31032 cat >>confdefs.h <<_ACEOF
31033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039 LIBS="$save_LIBS"
31040 fi
31041
31042 wxUSE_UNIVERSAL="yes"
31043
31044 if test "$wxUSE_NANOX" = "yes"; then
31045 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31046 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"
31047 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31048 else
31049 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31050 fi
31051
31052 TOOLKIT=X11
31053 GUIDIST=X11_DIST
31054 fi
31055
31056 if test "$wxUSE_MOTIF" = 1; then
31057 if test "$wxUSE_UNICODE" = "yes"; then
31058 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31059 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31060 { (exit 1); exit 1; }; }
31061 fi
31062
31063 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31064 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31065
31066 ac_find_includes=
31067 for ac_dir in $SEARCH_INCLUDE /usr/include;
31068 do
31069 if test -f "$ac_dir/Xm/Xm.h"; then
31070 ac_find_includes=$ac_dir
31071 break
31072 fi
31073 done
31074
31075 if test "$ac_find_includes" != "" ; then
31076 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31077 echo "${ECHO_T}found in $ac_find_includes" >&6
31078
31079 if test "x$ac_find_includes" = "x/usr/include"; then
31080 ac_path_to_include=""
31081 else
31082 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31083 result=$?
31084 if test $result = 0; then
31085 ac_path_to_include=""
31086 else
31087 ac_path_to_include=" -I$ac_find_includes"
31088 fi
31089 fi
31090
31091 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31092 else
31093 save_CFLAGS=$CFLAGS
31094 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31095
31096 cat >conftest.$ac_ext <<_ACEOF
31097 /* confdefs.h. */
31098 _ACEOF
31099 cat confdefs.h >>conftest.$ac_ext
31100 cat >>conftest.$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31102
31103 #include <Xm/Xm.h>
31104
31105 int
31106 main ()
31107 {
31108
31109 int version;
31110 version = xmUseVersion;
31111
31112 ;
31113 return 0;
31114 }
31115 _ACEOF
31116 rm -f conftest.$ac_objext
31117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31118 (eval $ac_compile) 2>conftest.er1
31119 ac_status=$?
31120 grep -v '^ *+' conftest.er1 >conftest.err
31121 rm -f conftest.er1
31122 cat conftest.err >&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); } &&
31125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; } &&
31131 { ac_try='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31134 ac_status=$?
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137
31138 echo "$as_me:$LINENO: result: found in default search path" >&5
31139 echo "${ECHO_T}found in default search path" >&6
31140 COMPILED_X_PROGRAM=1
31141
31142 else
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.$ac_ext >&5
31145
31146
31147 echo "$as_me:$LINENO: result: no" >&5
31148 echo "${ECHO_T}no" >&6
31149 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31150 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31151 { (exit 1); exit 1; }; }
31152
31153
31154 fi
31155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31156
31157 CFLAGS=$save_CFLAGS
31158 fi
31159
31160
31161 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31162 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31163
31164 ac_find_libraries=
31165 for ac_dir in $SEARCH_LIB;
31166 do
31167 for ac_extension in a so sl dylib dll.a; do
31168 if test -f "$ac_dir/libXm.$ac_extension"; then
31169 ac_find_libraries=$ac_dir
31170 break 2
31171 fi
31172 done
31173 done
31174
31175
31176 if test "x$ac_find_libraries" != "x" ; then
31177 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31178 echo "${ECHO_T}found in $ac_find_libraries" >&6
31179
31180
31181 if test "$ac_find_libraries" = "default location"; then
31182 ac_path_to_link=""
31183 else
31184 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31185 result=$?
31186 if test $result = 0; then
31187 ac_path_to_link=""
31188 else
31189 ac_path_to_link=" -L$ac_find_libraries"
31190 fi
31191 fi
31192
31193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31194 else
31195 save_CFLAGS=$CFLAGS
31196 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31197 save_LIBS="$LIBS"
31198 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31199
31200 cat >conftest.$ac_ext <<_ACEOF
31201 /* confdefs.h. */
31202 _ACEOF
31203 cat confdefs.h >>conftest.$ac_ext
31204 cat >>conftest.$ac_ext <<_ACEOF
31205 /* end confdefs.h. */
31206
31207 #include <Xm/Xm.h>
31208
31209 int
31210 main ()
31211 {
31212
31213 int version;
31214 version = xmUseVersion;
31215
31216 ;
31217 return 0;
31218 }
31219 _ACEOF
31220 rm -f conftest.$ac_objext conftest$ac_exeext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31222 (eval $ac_link) 2>conftest.er1
31223 ac_status=$?
31224 grep -v '^ *+' conftest.er1 >conftest.err
31225 rm -f conftest.er1
31226 cat conftest.err >&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31232 ac_status=$?
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; } &&
31235 { ac_try='test -s conftest$ac_exeext'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31238 ac_status=$?
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; }; then
31241
31242 echo "$as_me:$LINENO: result: found in default search path" >&5
31243 echo "${ECHO_T}found in default search path" >&6
31244 COMPILED_X_PROGRAM=1
31245
31246 else
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250
31251 echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6
31253 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31254 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31255 { (exit 1); exit 1; }; }
31256
31257
31258 fi
31259 rm -f conftest.err conftest.$ac_objext \
31260 conftest$ac_exeext conftest.$ac_ext
31261
31262 CFLAGS=$save_CFLAGS
31263 LIBS="$save_LIBS"
31264 fi
31265
31266 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31267 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31268 libp_link=""
31269 libsm_ice_link=""
31270 libs_found=0
31271 for libp in "" " -lXp"; do
31272 if test "$libs_found" = "0"; then
31273 for libsm_ice in "" " -lSM -lICE"; do
31274 if test "$libs_found" = "0"; then
31275 save_LIBS="$LIBS"
31276 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31277 save_CFLAGS=$CFLAGS
31278 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31279
31280 cat >conftest.$ac_ext <<_ACEOF
31281 /* confdefs.h. */
31282 _ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286
31287 #include <Xm/Xm.h>
31288 #include <Xm/List.h>
31289
31290 int
31291 main ()
31292 {
31293
31294 XmString string = NULL;
31295 Widget w = NULL;
31296 int position = 0;
31297 XmListAddItem(w, string, position);
31298
31299 ;
31300 return 0;
31301 }
31302 _ACEOF
31303 rm -f conftest.$ac_objext conftest$ac_exeext
31304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31305 (eval $ac_link) 2>conftest.er1
31306 ac_status=$?
31307 grep -v '^ *+' conftest.er1 >conftest.err
31308 rm -f conftest.er1
31309 cat conftest.err >&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); } &&
31312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31315 ac_status=$?
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; } &&
31318 { ac_try='test -s conftest$ac_exeext'
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; }; then
31324
31325 libp_link="$libp"
31326 libsm_ice_link="$libsm_ice"
31327 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31328 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31329 libs_found=1
31330
31331 else
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335
31336
31337 fi
31338 rm -f conftest.err conftest.$ac_objext \
31339 conftest$ac_exeext conftest.$ac_ext
31340
31341 LIBS="$save_LIBS"
31342 CFLAGS=$save_CFLAGS
31343 fi
31344 done
31345 fi
31346 done
31347
31348 if test "$libs_found" = "0"; then
31349 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31350 echo "${ECHO_T}can't find the right libraries" >&6
31351 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31352 echo "$as_me: error: can't link a simple motif program" >&2;}
31353 { (exit 1); exit 1; }; }
31354 fi
31355
31356 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31357 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31358 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31359 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 else
31361 ac_check_lib_save_LIBS=$LIBS
31362 LIBS="-lSgm $LIBS"
31363 cat >conftest.$ac_ext <<_ACEOF
31364 /* confdefs.h. */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31369
31370 /* Override any gcc2 internal prototype to avoid an error. */
31371 #ifdef __cplusplus
31372 extern "C"
31373 #endif
31374 /* We use char because int might match the return type of a gcc2
31375 builtin and then its argument prototype would still apply. */
31376 char SgCreateList ();
31377 int
31378 main ()
31379 {
31380 SgCreateList ();
31381 ;
31382 return 0;
31383 }
31384 _ACEOF
31385 rm -f conftest.$ac_objext conftest$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387 (eval $ac_link) 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31397 ac_status=$?
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 ac_cv_lib_Sgm_SgCreateList=yes
31407 else
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.$ac_ext >&5
31410
31411 ac_cv_lib_Sgm_SgCreateList=no
31412 fi
31413 rm -f conftest.err conftest.$ac_objext \
31414 conftest$ac_exeext conftest.$ac_ext
31415 LIBS=$ac_check_lib_save_LIBS
31416 fi
31417 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31418 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31419 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31420 libsgm_link=" -lSgm"
31421 fi
31422
31423
31424 save_CFLAGS=$CFLAGS
31425 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31426
31427 echo "$as_me:$LINENO: checking for Motif 2" >&5
31428 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31429 if test "${wx_cv_lib_motif2+set}" = set; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31431 else
31432 cat >conftest.$ac_ext <<_ACEOF
31433 /* confdefs.h. */
31434 _ACEOF
31435 cat confdefs.h >>conftest.$ac_ext
31436 cat >>conftest.$ac_ext <<_ACEOF
31437 /* end confdefs.h. */
31438
31439 #include <Xm/Xm.h>
31440
31441 int
31442 main ()
31443 {
31444
31445 #if XmVersion < 2000
31446 Not Motif 2
31447 #endif
31448
31449 ;
31450 return 0;
31451 }
31452 _ACEOF
31453 rm -f conftest.$ac_objext
31454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31455 (eval $ac_compile) 2>conftest.er1
31456 ac_status=$?
31457 grep -v '^ *+' conftest.er1 >conftest.err
31458 rm -f conftest.er1
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } &&
31462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31464 (eval $ac_try) 2>&5
31465 ac_status=$?
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); }; } &&
31468 { ac_try='test -s conftest.$ac_objext'
31469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470 (eval $ac_try) 2>&5
31471 ac_status=$?
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; }; then
31474 wx_cv_lib_motif2="yes"
31475 else
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.$ac_ext >&5
31478
31479 wx_cv_lib_motif2="no"
31480 fi
31481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31482 fi
31483 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31484 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31485 if test "$wx_cv_lib_motif2" = "yes"; then
31486 cat >>confdefs.h <<\_ACEOF
31487 #define __WXMOTIF20__ 1
31488 _ACEOF
31489
31490 else
31491 cat >>confdefs.h <<\_ACEOF
31492 #define __WXMOTIF20__ 0
31493 _ACEOF
31494
31495 fi
31496
31497 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31498 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31499 if test "${wx_cv_lib_lesstif+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31502 cat >conftest.$ac_ext <<_ACEOF
31503 /* confdefs.h. */
31504 _ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508
31509 #include <Xm/Xm.h>
31510
31511 int
31512 main ()
31513 {
31514
31515 #if !defined(LesstifVersion) || LesstifVersion <= 0
31516 Not Lesstif
31517 #endif
31518
31519 ;
31520 return 0;
31521 }
31522 _ACEOF
31523 rm -f conftest.$ac_objext
31524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31525 (eval $ac_compile) 2>conftest.er1
31526 ac_status=$?
31527 grep -v '^ *+' conftest.er1 >conftest.err
31528 rm -f conftest.er1
31529 cat conftest.err >&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } &&
31532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try='test -s conftest.$ac_objext'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; }; then
31544 wx_cv_lib_lesstif="yes"
31545 else
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31548
31549 wx_cv_lib_lesstif="no"
31550 fi
31551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31552
31553 fi
31554 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31555 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31556 if test "$wx_cv_lib_lesstif" = "yes"; then
31557 cat >>confdefs.h <<\_ACEOF
31558 #define __WXLESSTIF__ 1
31559 _ACEOF
31560
31561 else
31562 cat >>confdefs.h <<\_ACEOF
31563 #define __WXLESSTIF__ 0
31564 _ACEOF
31565
31566 fi
31567
31568 CFLAGS=$save_CFLAGS
31569
31570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31571 TOOLKIT=MOTIF
31572 GUIDIST=MOTIF_DIST
31573 fi
31574
31575 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31576 if test "$wxUSE_LIBXPM" = "sys"; then
31577 echo "$as_me:$LINENO: checking for Xpm library" >&5
31578 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31579
31580 ac_find_libraries=
31581 for ac_dir in $SEARCH_LIB;
31582 do
31583 for ac_extension in a so sl dylib dll.a; do
31584 if test -f "$ac_dir/libXpm.$ac_extension"; then
31585 ac_find_libraries=$ac_dir
31586 break 2
31587 fi
31588 done
31589 done
31590
31591 if test "$ac_find_libraries" != "" ; then
31592
31593 if test "$ac_find_libraries" = "default location"; then
31594 ac_path_to_link=""
31595 else
31596 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31597 result=$?
31598 if test $result = 0; then
31599 ac_path_to_link=""
31600 else
31601 ac_path_to_link=" -L$ac_find_libraries"
31602 fi
31603 fi
31604
31605 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31606 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31607 echo "${ECHO_T}found in $ac_find_libraries" >&6
31608
31609 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31610 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31611 if test "${wx_cv_x11_xpm_h+set}" = set; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31613 else
31614
31615 save_CFLAGS=$CFLAGS
31616 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31617
31618 cat >conftest.$ac_ext <<_ACEOF
31619 /* confdefs.h. */
31620 _ACEOF
31621 cat confdefs.h >>conftest.$ac_ext
31622 cat >>conftest.$ac_ext <<_ACEOF
31623 /* end confdefs.h. */
31624
31625 #include <X11/xpm.h>
31626
31627 int
31628 main ()
31629 {
31630
31631 int version;
31632 version = XpmLibraryVersion();
31633
31634 ;
31635 return 0;
31636 }
31637 _ACEOF
31638 rm -f conftest.$ac_objext
31639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31640 (eval $ac_compile) 2>conftest.er1
31641 ac_status=$?
31642 grep -v '^ *+' conftest.er1 >conftest.err
31643 rm -f conftest.er1
31644 cat conftest.err >&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } &&
31647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try='test -s conftest.$ac_objext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31656 ac_status=$?
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 wx_cv_x11_xpm_h=yes
31660 else
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.$ac_ext >&5
31663
31664 wx_cv_x11_xpm_h=no
31665
31666 fi
31667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31668
31669 CFLAGS=$save_CFLAGS
31670
31671
31672 fi
31673 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31674 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31675
31676 if test $wx_cv_x11_xpm_h = "yes"; then
31677 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31678 cat >>confdefs.h <<\_ACEOF
31679 #define wxHAVE_LIB_XPM 1
31680 _ACEOF
31681
31682 else
31683 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31684 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31685 fi
31686 fi
31687
31688 fi
31689
31690 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31691 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31692 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31693 echo $ECHO_N "(cached) $ECHO_C" >&6
31694 else
31695 ac_check_lib_save_LIBS=$LIBS
31696 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31697 cat >conftest.$ac_ext <<_ACEOF
31698 /* confdefs.h. */
31699 _ACEOF
31700 cat confdefs.h >>conftest.$ac_ext
31701 cat >>conftest.$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703
31704 /* Override any gcc2 internal prototype to avoid an error. */
31705 #ifdef __cplusplus
31706 extern "C"
31707 #endif
31708 /* We use char because int might match the return type of a gcc2
31709 builtin and then its argument prototype would still apply. */
31710 char XShapeQueryExtension ();
31711 int
31712 main ()
31713 {
31714 XShapeQueryExtension ();
31715 ;
31716 return 0;
31717 }
31718 _ACEOF
31719 rm -f conftest.$ac_objext conftest$ac_exeext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } &&
31728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31731 ac_status=$?
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; } &&
31734 { ac_try='test -s conftest$ac_exeext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 ac_cv_lib_Xext_XShapeQueryExtension=yes
31741 else
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745 ac_cv_lib_Xext_XShapeQueryExtension=no
31746 fi
31747 rm -f conftest.err conftest.$ac_objext \
31748 conftest$ac_exeext conftest.$ac_ext
31749 LIBS=$ac_check_lib_save_LIBS
31750 fi
31751 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31752 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31753 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31754
31755 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31756 wxHAVE_XEXT_LIB=1
31757
31758 fi
31759
31760
31761 if test "$wxHAVE_XEXT_LIB" = 1; then
31762 save_CFLAGS="$CFLAGS"
31763 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31764
31765 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31766 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31767 cat >conftest.$ac_ext <<_ACEOF
31768 /* confdefs.h. */
31769 _ACEOF
31770 cat confdefs.h >>conftest.$ac_ext
31771 cat >>conftest.$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31773
31774 #include <X11/Xlib.h>
31775 #include <X11/extensions/shape.h>
31776
31777 int
31778 main ()
31779 {
31780
31781 int dummy1, dummy2;
31782 XShapeQueryExtension((Display*)NULL,
31783 (int*)NULL, (int*)NULL);
31784
31785 ;
31786 return 0;
31787 }
31788 _ACEOF
31789 rm -f conftest.$ac_objext
31790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31791 (eval $ac_compile) 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } &&
31798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810
31811 cat >>confdefs.h <<\_ACEOF
31812 #define HAVE_XSHAPE 1
31813 _ACEOF
31814
31815 echo "$as_me:$LINENO: result: found" >&5
31816 echo "${ECHO_T}found" >&6
31817
31818 else
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.$ac_ext >&5
31821
31822
31823 echo "$as_me:$LINENO: result: not found" >&5
31824 echo "${ECHO_T}not found" >&6
31825
31826 fi
31827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31828 CFLAGS="$save_CFLAGS"
31829
31830 fi
31831 fi
31832
31833 if test "$wxUSE_MAC" = 1; then
31834 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31835 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31836 if test "$GCC" = yes; then
31837 echo "$as_me:$LINENO: result: gcc" >&5
31838 echo "${ECHO_T}gcc" >&6
31839 CPPFLAGS_PASCAL="-fpascal-strings"
31840 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31841 echo "$as_me:$LINENO: result: xlc" >&5
31842 echo "${ECHO_T}xlc" >&6
31843 CPPFLAGS_PASCAL="-qmacpstr"
31844 else
31845 echo "$as_me:$LINENO: result: none" >&5
31846 echo "${ECHO_T}none" >&6
31847 fi
31848
31849 if test "x$wxUSE_UNIX" = "xyes"; then
31850 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31851 else
31852 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31853 fi
31854
31855 TOOLKIT=MAC
31856 GUIDIST=MACX_DIST
31857 WXBASEPORT="_carbon"
31858 fi
31859
31860 if test "$wxUSE_COCOA" = 1; then
31861 TOOLKIT=COCOA
31862 GUIDIST=COCOA_DIST
31863 fi
31864
31865 if test "$wxUSE_PM" = 1; then
31866 TOOLKIT=PM
31867 GUIDIST=PM_DIST
31868 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31869 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31870 if test "${wx_cv_spbcdata+set}" = set; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 else
31873
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880
31881 #define INCL_PM
31882 #include <os2.h>
31883
31884 int
31885 main ()
31886 {
31887
31888 SPBCDATA test;
31889
31890 ;
31891 return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31896 (eval $ac_compile) 2>conftest.er1
31897 ac_status=$?
31898 grep -v '^ *+' conftest.er1 >conftest.err
31899 rm -f conftest.er1
31900 cat conftest.err >&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31906 ac_status=$?
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; } &&
31909 { ac_try='test -s conftest.$ac_objext'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; }; then
31915 wx_cv_spbcdata=yes
31916 else
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31919
31920 wx_cv_spbcdata=no
31921
31922 fi
31923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31924
31925
31926 fi
31927 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31928 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31929
31930 if test $wx_cv_spbcdata = "yes"; then
31931 cat >>confdefs.h <<\_ACEOF
31932 #define HAVE_SPBCDATA 1
31933 _ACEOF
31934
31935 fi
31936 fi
31937
31938 if test "$TOOLKIT" = "PM" ; then
31939 TOOLKIT_DIR="os2"
31940 else
31941 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31942 fi
31943
31944 if test "$wxUSE_UNIVERSAL" = "yes"; then
31945 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31946 WIDGET_SET=univ
31947 fi
31948
31949 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31950 DISTDIR="wx\$(TOOLKIT)"
31951 else
31952 USE_GUI=0
31953
31954 TOOLKIT_DIR="base"
31955
31956 if test "$USE_WIN32" = 1 ; then
31957 TOOLKIT="MSW"
31958 fi
31959
31960 GUIDIST="BASE_DIST"
31961 DISTDIR="wxBase"
31962 fi
31963
31964
31965 if test "$wxUSE_GUI" = "yes"; then
31966 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31967
31968 for ac_header in X11/Xlib.h
31969 do
31970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31972 echo "$as_me:$LINENO: checking for $ac_header" >&5
31973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31976 fi
31977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31979 else
31980 # Is the header compilable?
31981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31983 cat >conftest.$ac_ext <<_ACEOF
31984 /* confdefs.h. */
31985 _ACEOF
31986 cat confdefs.h >>conftest.$ac_ext
31987 cat >>conftest.$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31989 $ac_includes_default
31990 #include <$ac_header>
31991 _ACEOF
31992 rm -f conftest.$ac_objext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31994 (eval $ac_compile) 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32004 ac_status=$?
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try='test -s conftest.$ac_objext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32010 ac_status=$?
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 ac_header_compiler=yes
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32017
32018 ac_header_compiler=no
32019 fi
32020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32022 echo "${ECHO_T}$ac_header_compiler" >&6
32023
32024 # Is the header present?
32025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32027 cat >conftest.$ac_ext <<_ACEOF
32028 /* confdefs.h. */
32029 _ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 #include <$ac_header>
32034 _ACEOF
32035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32037 ac_status=$?
32038 grep -v '^ *+' conftest.er1 >conftest.err
32039 rm -f conftest.er1
32040 cat conftest.err >&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } >/dev/null; then
32043 if test -s conftest.err; then
32044 ac_cpp_err=$ac_c_preproc_warn_flag
32045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32046 else
32047 ac_cpp_err=
32048 fi
32049 else
32050 ac_cpp_err=yes
32051 fi
32052 if test -z "$ac_cpp_err"; then
32053 ac_header_preproc=yes
32054 else
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32057
32058 ac_header_preproc=no
32059 fi
32060 rm -f conftest.err conftest.$ac_ext
32061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32062 echo "${ECHO_T}$ac_header_preproc" >&6
32063
32064 # So? What about this header?
32065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32066 yes:no: )
32067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32071 ac_header_preproc=yes
32072 ;;
32073 no:yes:* )
32074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32086 (
32087 cat <<\_ASBOX
32088 ## ----------------------------------------- ##
32089 ## Report this to wx-dev@lists.wxwidgets.org ##
32090 ## ----------------------------------------- ##
32091 _ASBOX
32092 ) |
32093 sed "s/^/$as_me: WARNING: /" >&2
32094 ;;
32095 esac
32096 echo "$as_me:$LINENO: checking for $ac_header" >&5
32097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32099 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 else
32101 eval "$as_ac_Header=\$ac_header_preproc"
32102 fi
32103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32105
32106 fi
32107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32108 cat >>confdefs.h <<_ACEOF
32109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32110 _ACEOF
32111
32112 fi
32113
32114 done
32115
32116
32117 for ac_header in X11/XKBlib.h
32118 do
32119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32120 echo "$as_me:$LINENO: checking for $ac_header" >&5
32121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h. */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131
32132 #if HAVE_X11_XLIB_H
32133 #include <X11/Xlib.h>
32134 #endif
32135
32136
32137 #include <$ac_header>
32138 _ACEOF
32139 rm -f conftest.$ac_objext
32140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32141 (eval $ac_compile) 2>conftest.er1
32142 ac_status=$?
32143 grep -v '^ *+' conftest.er1 >conftest.err
32144 rm -f conftest.er1
32145 cat conftest.err >&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } &&
32148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32154 { ac_try='test -s conftest.$ac_objext'
32155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32156 (eval $ac_try) 2>&5
32157 ac_status=$?
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); }; }; then
32160 eval "$as_ac_Header=yes"
32161 else
32162 echo "$as_me: failed program was:" >&5
32163 sed 's/^/| /' conftest.$ac_ext >&5
32164
32165 eval "$as_ac_Header=no"
32166 fi
32167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32168 fi
32169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32172 cat >>confdefs.h <<_ACEOF
32173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32174 _ACEOF
32175
32176 fi
32177
32178 done
32179
32180 fi
32181 fi
32182
32183
32184
32185 IODBC_C_SRC=""
32186
32187
32188 if test "$TOOLKIT" != "MSW" ; then
32189
32190 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32191
32192 if test "${ac_cv_header_sql_h+set}" = set; then
32193 echo "$as_me:$LINENO: checking for sql.h" >&5
32194 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32195 if test "${ac_cv_header_sql_h+set}" = set; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 fi
32198 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32199 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32200 else
32201 # Is the header compilable?
32202 echo "$as_me:$LINENO: checking sql.h usability" >&5
32203 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32204 cat >conftest.$ac_ext <<_ACEOF
32205 /* confdefs.h. */
32206 _ACEOF
32207 cat confdefs.h >>conftest.$ac_ext
32208 cat >>conftest.$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32210 $ac_includes_default
32211 #include <sql.h>
32212 _ACEOF
32213 rm -f conftest.$ac_objext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32215 (eval $ac_compile) 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } &&
32222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32224 (eval $ac_try) 2>&5
32225 ac_status=$?
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); }; } &&
32228 { ac_try='test -s conftest.$ac_objext'
32229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32230 (eval $ac_try) 2>&5
32231 ac_status=$?
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); }; }; then
32234 ac_header_compiler=yes
32235 else
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.$ac_ext >&5
32238
32239 ac_header_compiler=no
32240 fi
32241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32243 echo "${ECHO_T}$ac_header_compiler" >&6
32244
32245 # Is the header present?
32246 echo "$as_me:$LINENO: checking sql.h presence" >&5
32247 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32248 cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h. */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 #include <sql.h>
32255 _ACEOF
32256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32258 ac_status=$?
32259 grep -v '^ *+' conftest.er1 >conftest.err
32260 rm -f conftest.er1
32261 cat conftest.err >&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } >/dev/null; then
32264 if test -s conftest.err; then
32265 ac_cpp_err=$ac_c_preproc_warn_flag
32266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32267 else
32268 ac_cpp_err=
32269 fi
32270 else
32271 ac_cpp_err=yes
32272 fi
32273 if test -z "$ac_cpp_err"; then
32274 ac_header_preproc=yes
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 ac_header_preproc=no
32280 fi
32281 rm -f conftest.err conftest.$ac_ext
32282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32283 echo "${ECHO_T}$ac_header_preproc" >&6
32284
32285 # So? What about this header?
32286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32287 yes:no: )
32288 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32289 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32290 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32291 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32292 ac_header_preproc=yes
32293 ;;
32294 no:yes:* )
32295 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32296 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32297 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32298 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32299 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32300 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32301 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32302 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32303 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32304 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32306 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32307 (
32308 cat <<\_ASBOX
32309 ## ----------------------------------------- ##
32310 ## Report this to wx-dev@lists.wxwidgets.org ##
32311 ## ----------------------------------------- ##
32312 _ASBOX
32313 ) |
32314 sed "s/^/$as_me: WARNING: /" >&2
32315 ;;
32316 esac
32317 echo "$as_me:$LINENO: checking for sql.h" >&5
32318 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32319 if test "${ac_cv_header_sql_h+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 else
32322 ac_cv_header_sql_h=$ac_header_preproc
32323 fi
32324 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32325 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32326
32327 fi
32328 if test $ac_cv_header_sql_h = yes; then
32329 found_sql_h=1
32330 fi
32331
32332
32333 if test "x$found_sql_h" = "x1" ; then
32334 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32335 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32336 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 else
32339 ac_check_lib_save_LIBS=$LIBS
32340 LIBS="-liodbc $LIBS"
32341 cat >conftest.$ac_ext <<_ACEOF
32342 /* confdefs.h. */
32343 _ACEOF
32344 cat confdefs.h >>conftest.$ac_ext
32345 cat >>conftest.$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32347
32348 /* Override any gcc2 internal prototype to avoid an error. */
32349 #ifdef __cplusplus
32350 extern "C"
32351 #endif
32352 /* We use char because int might match the return type of a gcc2
32353 builtin and then its argument prototype would still apply. */
32354 char SQLAllocEnv ();
32355 int
32356 main ()
32357 {
32358 SQLAllocEnv ();
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 rm -f conftest.$ac_objext conftest$ac_exeext
32364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32365 (eval $ac_link) 2>conftest.er1
32366 ac_status=$?
32367 grep -v '^ *+' conftest.er1 >conftest.err
32368 rm -f conftest.er1
32369 cat conftest.err >&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32375 ac_status=$?
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; } &&
32378 { ac_try='test -s conftest$ac_exeext'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; }; then
32384 ac_cv_lib_iodbc_SQLAllocEnv=yes
32385 else
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32388
32389 ac_cv_lib_iodbc_SQLAllocEnv=no
32390 fi
32391 rm -f conftest.err conftest.$ac_objext \
32392 conftest$ac_exeext conftest.$ac_ext
32393 LIBS=$ac_check_lib_save_LIBS
32394 fi
32395 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32396 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32397 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32398 ODBC_LINK=" -liodbc"
32399 else
32400
32401 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32402 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32403 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32404 echo $ECHO_N "(cached) $ECHO_C" >&6
32405 else
32406 ac_check_lib_save_LIBS=$LIBS
32407 LIBS="-lunixodbc $LIBS"
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414
32415 /* Override any gcc2 internal prototype to avoid an error. */
32416 #ifdef __cplusplus
32417 extern "C"
32418 #endif
32419 /* We use char because int might match the return type of a gcc2
32420 builtin and then its argument prototype would still apply. */
32421 char SQLAllocEnv ();
32422 int
32423 main ()
32424 {
32425 SQLAllocEnv ();
32426 ;
32427 return 0;
32428 }
32429 _ACEOF
32430 rm -f conftest.$ac_objext conftest$ac_exeext
32431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32432 (eval $ac_link) 2>conftest.er1
32433 ac_status=$?
32434 grep -v '^ *+' conftest.er1 >conftest.err
32435 rm -f conftest.er1
32436 cat conftest.err >&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } &&
32439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; } &&
32445 { ac_try='test -s conftest$ac_exeext'
32446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32447 (eval $ac_try) 2>&5
32448 ac_status=$?
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; }; then
32451 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32452 else
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.$ac_ext >&5
32455
32456 ac_cv_lib_unixodbc_SQLAllocEnv=no
32457 fi
32458 rm -f conftest.err conftest.$ac_objext \
32459 conftest$ac_exeext conftest.$ac_ext
32460 LIBS=$ac_check_lib_save_LIBS
32461 fi
32462 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32463 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32464 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32465 ODBC_LINK=" -lunixodbc"
32466 else
32467
32468 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32469 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32470 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32471 echo $ECHO_N "(cached) $ECHO_C" >&6
32472 else
32473 ac_check_lib_save_LIBS=$LIBS
32474 LIBS="-lodbc $LIBS"
32475 cat >conftest.$ac_ext <<_ACEOF
32476 /* confdefs.h. */
32477 _ACEOF
32478 cat confdefs.h >>conftest.$ac_ext
32479 cat >>conftest.$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32481
32482 /* Override any gcc2 internal prototype to avoid an error. */
32483 #ifdef __cplusplus
32484 extern "C"
32485 #endif
32486 /* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32488 char SQLAllocEnv ();
32489 int
32490 main ()
32491 {
32492 SQLAllocEnv ();
32493 ;
32494 return 0;
32495 }
32496 _ACEOF
32497 rm -f conftest.$ac_objext conftest$ac_exeext
32498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32499 (eval $ac_link) 2>conftest.er1
32500 ac_status=$?
32501 grep -v '^ *+' conftest.er1 >conftest.err
32502 rm -f conftest.er1
32503 cat conftest.err >&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); } &&
32506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32509 ac_status=$?
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; } &&
32512 { ac_try='test -s conftest$ac_exeext'
32513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32514 (eval $ac_try) 2>&5
32515 ac_status=$?
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; }; then
32518 ac_cv_lib_odbc_SQLAllocEnv=yes
32519 else
32520 echo "$as_me: failed program was:" >&5
32521 sed 's/^/| /' conftest.$ac_ext >&5
32522
32523 ac_cv_lib_odbc_SQLAllocEnv=no
32524 fi
32525 rm -f conftest.err conftest.$ac_objext \
32526 conftest$ac_exeext conftest.$ac_ext
32527 LIBS=$ac_check_lib_save_LIBS
32528 fi
32529 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32530 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32531 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32532 ODBC_LINK=" -lodbc"
32533 fi
32534
32535
32536 fi
32537
32538
32539 fi
32540
32541 fi
32542 if test "x$ODBC_LINK" = "x" ; then
32543 if test "$wxUSE_ODBC" = "sys" ; then
32544 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32545 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32546 { (exit 1); exit 1; }; }
32547 else
32548 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32549 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32550 wxUSE_ODBC=builtin
32551 fi
32552 else
32553 wxUSE_ODBC=sys
32554 fi
32555 fi
32556
32557 if test "$wxUSE_ODBC" = "builtin" ; then
32558 cat >>confdefs.h <<\_ACEOF
32559 #define wxUSE_BUILTIN_IODBC 1
32560 _ACEOF
32561
32562 fi
32563 fi
32564
32565 if test "$wxUSE_ODBC" != "no" ; then
32566 cat >>confdefs.h <<\_ACEOF
32567 #define wxUSE_ODBC 1
32568 _ACEOF
32569
32570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32571
32572 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32573 fi
32574
32575
32576 if test "$wxUSE_DISPLAY" = "yes"; then
32577 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32578 echo "$as_me:$LINENO: checking for Xinerama" >&5
32579 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32580
32581 ac_find_libraries=
32582 for ac_dir in $SEARCH_LIB;
32583 do
32584 for ac_extension in a so sl dylib dll.a; do
32585 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32586 ac_find_libraries=$ac_dir
32587 break 2
32588 fi
32589 done
32590 done
32591
32592 if test "$ac_find_libraries" != "" ; then
32593
32594 if test "$ac_find_libraries" = "default location"; then
32595 ac_path_to_link=""
32596 else
32597 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32598 result=$?
32599 if test $result = 0; then
32600 ac_path_to_link=""
32601 else
32602 ac_path_to_link=" -L$ac_find_libraries"
32603 fi
32604 fi
32605
32606 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32607 LDFLAGS="$LDFLAGS $ac_path_to_link"
32608 fi
32609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32610 echo "$as_me:$LINENO: result: yes" >&5
32611 echo "${ECHO_T}yes" >&6
32612
32613 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32614 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32615
32616 ac_find_libraries=
32617 for ac_dir in $SEARCH_LIB;
32618 do
32619 for ac_extension in a so sl dylib dll.a; do
32620 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32621 ac_find_libraries=$ac_dir
32622 break 2
32623 fi
32624 done
32625 done
32626
32627 if test "$ac_find_libraries" != "" ; then
32628 echo "$as_me:$LINENO: result: yes" >&5
32629 echo "${ECHO_T}yes" >&6
32630
32631 for ac_header in X11/extensions/xf86vmode.h
32632 do
32633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32634 echo "$as_me:$LINENO: checking for $ac_header" >&5
32635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 else
32639 cat >conftest.$ac_ext <<_ACEOF
32640 /* confdefs.h. */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645
32646 #if HAVE_X11_XLIB_H
32647 #include <X11/Xlib.h>
32648 #endif
32649
32650
32651 #include <$ac_header>
32652 _ACEOF
32653 rm -f conftest.$ac_objext
32654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32655 (eval $ac_compile) 2>conftest.er1
32656 ac_status=$?
32657 grep -v '^ *+' conftest.er1 >conftest.err
32658 rm -f conftest.er1
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } &&
32662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32665 ac_status=$?
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; } &&
32668 { ac_try='test -s conftest.$ac_objext'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32671 ac_status=$?
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; }; then
32674 eval "$as_ac_Header=yes"
32675 else
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679 eval "$as_ac_Header=no"
32680 fi
32681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32682 fi
32683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32686 cat >>confdefs.h <<_ACEOF
32687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32688 _ACEOF
32689
32690 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32691
32692 fi
32693
32694 done
32695
32696 else
32697 echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6
32699 fi
32700
32701 else
32702 echo "$as_me:$LINENO: result: no" >&5
32703 echo "${ECHO_T}no" >&6
32704 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32705 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32706 wxUSE_DISPLAY="no"
32707 fi
32708 elif test "$wxUSE_MSW" = 1; then
32709
32710 for ac_header in ddraw.h
32711 do
32712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32713 echo "$as_me:$LINENO: checking for $ac_header" >&5
32714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 else
32718 cat >conftest.$ac_ext <<_ACEOF
32719 /* confdefs.h. */
32720 _ACEOF
32721 cat confdefs.h >>conftest.$ac_ext
32722 cat >>conftest.$ac_ext <<_ACEOF
32723 /* end confdefs.h. */
32724 #include <windows.h>
32725
32726 #include <$ac_header>
32727 _ACEOF
32728 rm -f conftest.$ac_objext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32730 (eval $ac_compile) 2>conftest.er1
32731 ac_status=$?
32732 grep -v '^ *+' conftest.er1 >conftest.err
32733 rm -f conftest.er1
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest.$ac_objext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_Header=yes"
32750 else
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 eval "$as_ac_Header=no"
32755 fi
32756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32757 fi
32758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32761 cat >>confdefs.h <<_ACEOF
32762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32763 _ACEOF
32764
32765 fi
32766
32767 done
32768
32769 fi
32770 fi
32771
32772 if test "$wxUSE_DETECT_SM" = "yes"; then
32773 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32774 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32775 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
32776
32777 ac_find_libraries=
32778 for ac_dir in $SEARCH_LIB;
32779 do
32780 for ac_extension in a so sl dylib dll.a; do
32781 if test -f "$ac_dir/libSM.$ac_extension"; then
32782 ac_find_libraries=$ac_dir
32783 break 2
32784 fi
32785 done
32786 done
32787
32788 if test "$ac_find_libraries" != "" ; then
32789
32790 if test "$ac_find_libraries" = "default location"; then
32791 ac_path_to_link=""
32792 else
32793 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32794 result=$?
32795 if test $result = 0; then
32796 ac_path_to_link=""
32797 else
32798 ac_path_to_link=" -L$ac_find_libraries"
32799 fi
32800 fi
32801
32802 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32803 LDFLAGS="$LDFLAGS $ac_path_to_link"
32804 fi
32805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32806 echo "$as_me:$LINENO: result: yes" >&5
32807 echo "${ECHO_T}yes" >&6
32808 else
32809 echo "$as_me:$LINENO: result: no" >&5
32810 echo "${ECHO_T}no" >&6
32811 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32812 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32813 wxUSE_DETECT_SM="no"
32814 fi
32815 else
32816 wxUSE_DETECT_SM="no"
32817 fi
32818 fi
32819
32820
32821
32822 USE_OPENGL=0
32823 if test "$wxUSE_OPENGL" = "yes"; then
32824 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32825 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32826 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32827 wxUSE_OPENGL="no"
32828 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32829 OPENGL_LIBS="-framework OpenGL -framework AGL"
32830 elif test "$wxUSE_MSW" = 1; then
32831 OPENGL_LIBS="-lopengl32 -lglu32"
32832 else
32833 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32834 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
32835
32836 ac_find_includes=
32837 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32838 do
32839 if test -f "$ac_dir/GL/gl.h"; then
32840 ac_find_includes=$ac_dir
32841 break
32842 fi
32843 done
32844
32845 if test "$ac_find_includes" != "" ; then
32846 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32847 echo "${ECHO_T}found in $ac_find_includes" >&6
32848
32849 if test "x$ac_find_includes" = "x/usr/include"; then
32850 ac_path_to_include=""
32851 else
32852 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32853 result=$?
32854 if test $result = 0; then
32855 ac_path_to_include=""
32856 else
32857 ac_path_to_include=" -I$ac_find_includes"
32858 fi
32859 fi
32860
32861 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32862 else
32863 echo "$as_me:$LINENO: result: not found" >&5
32864 echo "${ECHO_T}not found" >&6
32865 fi
32866
32867 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32868 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32869 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32870 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 fi
32873 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32874 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32875 else
32876 # Is the header compilable?
32877 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32878 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 $ac_includes_default
32886 #include <GL/gl.h>
32887 _ACEOF
32888 rm -f conftest.$ac_objext
32889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32890 (eval $ac_compile) 2>conftest.er1
32891 ac_status=$?
32892 grep -v '^ *+' conftest.er1 >conftest.err
32893 rm -f conftest.er1
32894 cat conftest.err >&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); } &&
32897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32899 (eval $ac_try) 2>&5
32900 ac_status=$?
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); }; } &&
32903 { ac_try='test -s conftest.$ac_objext'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32906 ac_status=$?
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; }; then
32909 ac_header_compiler=yes
32910 else
32911 echo "$as_me: failed program was:" >&5
32912 sed 's/^/| /' conftest.$ac_ext >&5
32913
32914 ac_header_compiler=no
32915 fi
32916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32918 echo "${ECHO_T}$ac_header_compiler" >&6
32919
32920 # Is the header present?
32921 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32922 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32923 cat >conftest.$ac_ext <<_ACEOF
32924 /* confdefs.h. */
32925 _ACEOF
32926 cat confdefs.h >>conftest.$ac_ext
32927 cat >>conftest.$ac_ext <<_ACEOF
32928 /* end confdefs.h. */
32929 #include <GL/gl.h>
32930 _ACEOF
32931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32933 ac_status=$?
32934 grep -v '^ *+' conftest.er1 >conftest.err
32935 rm -f conftest.er1
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } >/dev/null; then
32939 if test -s conftest.err; then
32940 ac_cpp_err=$ac_c_preproc_warn_flag
32941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32942 else
32943 ac_cpp_err=
32944 fi
32945 else
32946 ac_cpp_err=yes
32947 fi
32948 if test -z "$ac_cpp_err"; then
32949 ac_header_preproc=yes
32950 else
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32953
32954 ac_header_preproc=no
32955 fi
32956 rm -f conftest.err conftest.$ac_ext
32957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32958 echo "${ECHO_T}$ac_header_preproc" >&6
32959
32960 # So? What about this header?
32961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32962 yes:no: )
32963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32964 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32965 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32966 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32967 ac_header_preproc=yes
32968 ;;
32969 no:yes:* )
32970 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32971 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32972 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32973 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32974 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32975 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32977 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32978 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32979 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32980 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32981 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32982 (
32983 cat <<\_ASBOX
32984 ## ----------------------------------------- ##
32985 ## Report this to wx-dev@lists.wxwidgets.org ##
32986 ## ----------------------------------------- ##
32987 _ASBOX
32988 ) |
32989 sed "s/^/$as_me: WARNING: /" >&2
32990 ;;
32991 esac
32992 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32993 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32994 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 else
32997 ac_cv_header_GL_gl_h=$ac_header_preproc
32998 fi
32999 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33000 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33001
33002 fi
33003 if test $ac_cv_header_GL_gl_h = yes; then
33004
33005 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33006 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33007 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33008 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33009 echo $ECHO_N "(cached) $ECHO_C" >&6
33010 fi
33011 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33012 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33013 else
33014 # Is the header compilable?
33015 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33016 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33017 cat >conftest.$ac_ext <<_ACEOF
33018 /* confdefs.h. */
33019 _ACEOF
33020 cat confdefs.h >>conftest.$ac_ext
33021 cat >>conftest.$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33023 $ac_includes_default
33024 #include <GL/glu.h>
33025 _ACEOF
33026 rm -f conftest.$ac_objext
33027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33028 (eval $ac_compile) 2>conftest.er1
33029 ac_status=$?
33030 grep -v '^ *+' conftest.er1 >conftest.err
33031 rm -f conftest.er1
33032 cat conftest.err >&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); } &&
33035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037 (eval $ac_try) 2>&5
33038 ac_status=$?
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); }; } &&
33041 { ac_try='test -s conftest.$ac_objext'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; }; then
33047 ac_header_compiler=yes
33048 else
33049 echo "$as_me: failed program was:" >&5
33050 sed 's/^/| /' conftest.$ac_ext >&5
33051
33052 ac_header_compiler=no
33053 fi
33054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33056 echo "${ECHO_T}$ac_header_compiler" >&6
33057
33058 # Is the header present?
33059 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33060 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h. */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067 #include <GL/glu.h>
33068 _ACEOF
33069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33071 ac_status=$?
33072 grep -v '^ *+' conftest.er1 >conftest.err
33073 rm -f conftest.er1
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } >/dev/null; then
33077 if test -s conftest.err; then
33078 ac_cpp_err=$ac_c_preproc_warn_flag
33079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33080 else
33081 ac_cpp_err=
33082 fi
33083 else
33084 ac_cpp_err=yes
33085 fi
33086 if test -z "$ac_cpp_err"; then
33087 ac_header_preproc=yes
33088 else
33089 echo "$as_me: failed program was:" >&5
33090 sed 's/^/| /' conftest.$ac_ext >&5
33091
33092 ac_header_preproc=no
33093 fi
33094 rm -f conftest.err conftest.$ac_ext
33095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33096 echo "${ECHO_T}$ac_header_preproc" >&6
33097
33098 # So? What about this header?
33099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33100 yes:no: )
33101 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33102 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33103 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33104 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33105 ac_header_preproc=yes
33106 ;;
33107 no:yes:* )
33108 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33109 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33110 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33111 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33112 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33113 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33114 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33115 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33116 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33117 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33118 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33119 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33120 (
33121 cat <<\_ASBOX
33122 ## ----------------------------------------- ##
33123 ## Report this to wx-dev@lists.wxwidgets.org ##
33124 ## ----------------------------------------- ##
33125 _ASBOX
33126 ) |
33127 sed "s/^/$as_me: WARNING: /" >&2
33128 ;;
33129 esac
33130 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33131 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33132 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33133 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 else
33135 ac_cv_header_GL_glu_h=$ac_header_preproc
33136 fi
33137 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33138 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33139
33140 fi
33141 if test $ac_cv_header_GL_glu_h = yes; then
33142
33143 found_gl=0
33144
33145 echo "$as_me:$LINENO: checking for -lGL" >&5
33146 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33147
33148 ac_find_libraries=
33149 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33150 do
33151 for ac_extension in a so sl dylib dll.a; do
33152 if test -f "$ac_dir/libGL.$ac_extension"; then
33153 ac_find_libraries=$ac_dir
33154 break 2
33155 fi
33156 done
33157 done
33158
33159 if test "$ac_find_libraries" != "" ; then
33160 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33161 echo "${ECHO_T}found in $ac_find_libraries" >&6
33162
33163
33164 if test "$ac_find_libraries" = "default location"; then
33165 ac_path_to_link=""
33166 else
33167 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33168 result=$?
33169 if test $result = 0; then
33170 ac_path_to_link=""
33171 else
33172 ac_path_to_link=" -L$ac_find_libraries"
33173 fi
33174 fi
33175
33176 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33177 LDFLAGS_GL="$ac_path_to_link"
33178 fi
33179
33180 echo "$as_me:$LINENO: checking for -lGLU" >&5
33181 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33182
33183 ac_find_libraries=
33184 for ac_dir in $SEARCH_LIB;
33185 do
33186 for ac_extension in a so sl dylib dll.a; do
33187 if test -f "$ac_dir/libGLU.$ac_extension"; then
33188 ac_find_libraries=$ac_dir
33189 break 2
33190 fi
33191 done
33192 done
33193
33194 if test "$ac_find_libraries" != "" ; then
33195
33196 if test "$ac_find_libraries" = "default location"; then
33197 ac_path_to_link=""
33198 else
33199 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33200 result=$?
33201 if test $result = 0; then
33202 ac_path_to_link=""
33203 else
33204 ac_path_to_link=" -L$ac_find_libraries"
33205 fi
33206 fi
33207
33208 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33209 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33210 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33211 fi
33212
33213 found_gl=1
33214 OPENGL_LIBS="-lGL -lGLU"
33215 echo "$as_me:$LINENO: result: yes" >&5
33216 echo "${ECHO_T}yes" >&6
33217 else
33218 echo "$as_me:$LINENO: result: no" >&5
33219 echo "${ECHO_T}no" >&6
33220 fi
33221 else
33222 echo "$as_me:$LINENO: result: no" >&5
33223 echo "${ECHO_T}no" >&6
33224 fi
33225
33226 if test "$found_gl" != 1; then
33227 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33228 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33229
33230 ac_find_libraries=
33231 for ac_dir in $SEARCH_LIB;
33232 do
33233 for ac_extension in a so sl dylib dll.a; do
33234 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33235 ac_find_libraries=$ac_dir
33236 break 2
33237 fi
33238 done
33239 done
33240
33241 if test "$ac_find_libraries" != "" ; then
33242
33243 if test "$ac_find_libraries" = "default location"; then
33244 ac_path_to_link=""
33245 else
33246 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33247 result=$?
33248 if test $result = 0; then
33249 ac_path_to_link=""
33250 else
33251 ac_path_to_link=" -L$ac_find_libraries"
33252 fi
33253 fi
33254
33255 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33256 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33257 echo "$as_me:$LINENO: result: yes" >&5
33258 echo "${ECHO_T}yes" >&6
33259 else
33260 echo "$as_me:$LINENO: result: no" >&5
33261 echo "${ECHO_T}no" >&6
33262 fi
33263 fi
33264
33265 fi
33266
33267
33268
33269 fi
33270
33271
33272
33273 if test "x$OPENGL_LIBS" = "x"; then
33274 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33275 echo "$as_me: error: OpenGL libraries not available" >&2;}
33276 { (exit 1); exit 1; }; }
33277 fi
33278 fi
33279
33280 if test "$wxUSE_OPENGL" = "yes"; then
33281 USE_OPENGL=1
33282 cat >>confdefs.h <<\_ACEOF
33283 #define wxUSE_OPENGL 1
33284 _ACEOF
33285
33286 cat >>confdefs.h <<\_ACEOF
33287 #define wxUSE_GLCANVAS 1
33288 _ACEOF
33289
33290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33291 fi
33292 fi
33293
33294
33295 if test -n "$TOOLKIT" ; then
33296 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33297 fi
33298
33299
33300
33301 if test "$wxUSE_SHARED" = "yes"; then
33302 case "${host}" in
33303 *-pc-msdosdjgpp )
33304 wxUSE_SHARED=no
33305 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33306 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33307 ;;
33308 esac
33309 fi
33310
33311 if test "$wxUSE_SHARED" = "yes"; then
33312
33313
33314 case "${host}" in
33315 *-*-cygwin* | *-*-mingw* )
33316 wx_cv_version_script=no
33317 ;;
33318
33319 *)
33320 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33321 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33322 if test "${wx_cv_version_script+set}" = set; then
33323 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 else
33325
33326 echo "VER_1 { *; };" >conftest.sym
33327 echo "int main() { return 0; }" >conftest.cpp
33328
33329 if { ac_try='
33330 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33331 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33333 (eval $ac_try) 2>&5
33334 ac_status=$?
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); }; } ; then
33337 if test -s conftest.stderr ; then
33338 wx_cv_version_script=no
33339 else
33340 wx_cv_version_script=yes
33341 fi
33342 else
33343 wx_cv_version_script=no
33344 fi
33345
33346 if test $wx_cv_version_script = yes
33347 then
33348 echo "struct B { virtual ~B() { } }; \
33349 struct D : public B { }; \
33350 void F() { D d; }" > conftest.cpp
33351
33352 if { ac_try='
33353 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33354 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356 (eval $ac_try) 2>&5
33357 ac_status=$?
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; } &&
33360 { ac_try='
33361 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33362 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33365 ac_status=$?
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }
33368 then
33369 if { ac_try='
33370 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33371 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; }
33377 then
33378 wx_cv_version_script=yes
33379 else
33380 wx_cv_version_script=no
33381 fi
33382 fi
33383 fi
33384
33385 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33386 rm -f conftest1.output conftest2.output conftest3.output
33387
33388 fi
33389 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33390 echo "${ECHO_T}$wx_cv_version_script" >&6
33391
33392 if test $wx_cv_version_script = yes ; then
33393 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33394 fi
33395 ;;
33396 esac
33397
33398
33399 case "${host}" in
33400 *-*-linux* | *-*-gnu* )
33401 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33402 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33403 ;;
33404
33405 *-*-solaris2* )
33406 if test "$GCC" = yes ; then
33407 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33408
33409 saveLdflags="$LDFLAGS"
33410 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33411 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33412 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33413 cat >conftest.$ac_ext <<_ACEOF
33414 /* confdefs.h. */
33415 _ACEOF
33416 cat confdefs.h >>conftest.$ac_ext
33417 cat >>conftest.$ac_ext <<_ACEOF
33418 /* end confdefs.h. */
33419
33420 int
33421 main ()
33422 {
33423
33424 ;
33425 return 0;
33426 }
33427 _ACEOF
33428 rm -f conftest.$ac_objext conftest$ac_exeext
33429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33430 (eval $ac_link) 2>conftest.er1
33431 ac_status=$?
33432 grep -v '^ *+' conftest.er1 >conftest.err
33433 rm -f conftest.er1
33434 cat conftest.err >&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); } &&
33437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33440 ac_status=$?
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; } &&
33443 { ac_try='test -s conftest$ac_exeext'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33446 ac_status=$?
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; }; then
33449
33450 echo "$as_me:$LINENO: result: yes" >&5
33451 echo "${ECHO_T}yes" >&6
33452 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33453 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33454
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459
33460 echo "$as_me:$LINENO: result: no" >&5
33461 echo "${ECHO_T}no" >&6
33462 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33463 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33464 LDFLAGS="$saveLdflags -Wl,-R,/"
33465 cat >conftest.$ac_ext <<_ACEOF
33466 /* confdefs.h. */
33467 _ACEOF
33468 cat confdefs.h >>conftest.$ac_ext
33469 cat >>conftest.$ac_ext <<_ACEOF
33470 /* end confdefs.h. */
33471
33472 int
33473 main ()
33474 {
33475
33476 ;
33477 return 0;
33478 }
33479 _ACEOF
33480 rm -f conftest.$ac_objext conftest$ac_exeext
33481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33482 (eval $ac_link) 2>conftest.er1
33483 ac_status=$?
33484 grep -v '^ *+' conftest.er1 >conftest.err
33485 rm -f conftest.er1
33486 cat conftest.err >&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); } &&
33489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491 (eval $ac_try) 2>&5
33492 ac_status=$?
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); }; } &&
33495 { ac_try='test -s conftest$ac_exeext'
33496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497 (eval $ac_try) 2>&5
33498 ac_status=$?
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); }; }; then
33501
33502 echo "$as_me:$LINENO: result: yes" >&5
33503 echo "${ECHO_T}yes" >&6
33504 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33505 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33506
33507 else
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511
33512 echo "$as_me:$LINENO: result: no" >&5
33513 echo "${ECHO_T}no" >&6
33514
33515 fi
33516 rm -f conftest.err conftest.$ac_objext \
33517 conftest$ac_exeext conftest.$ac_ext
33518
33519 fi
33520 rm -f conftest.err conftest.$ac_objext \
33521 conftest$ac_exeext conftest.$ac_ext
33522 LDFLAGS="$saveLdflags"
33523 else
33524 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33525 WXCONFIG_RPATH="-R\$libdir"
33526 fi
33527 ;;
33528
33529 *-*-darwin* )
33530 install_name_tool=`which install_name_tool`
33531 if test "$install_name_tool" -a -x "$install_name_tool"; then
33532 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33533 cat <<EOF >change-install-names
33534 #!/bin/sh
33535 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33536 inst_cmd="install_name_tool "
33537 for i in \${libnames} ; do
33538 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33539 done
33540 \${inst_cmd} \${3}
33541 EOF
33542 chmod +x change-install-names
33543 fi
33544 ;;
33545
33546 *-*-cygwin* | *-*-mingw32* )
33547 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33548 ;;
33549
33550 *-*-hpux* )
33551 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33552 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33553 ;;
33554
33555 esac
33556
33557 if test $wxUSE_RPATH = "no"; then
33558 SAMPLES_RPATH_FLAG=''
33559 SAMPLES_RPATH_POSTLINK=''
33560 WXCONFIG_RPATH=''
33561 fi
33562
33563 SHARED=1
33564
33565 else
33566
33567 config_linkage_component="-static"
33568 SHARED=0
33569
33570 fi
33571
33572
33573 UNICODE=0
33574 lib_unicode_suffix=
33575 WX_CHARTYPE="ansi"
33576 if test "$wxUSE_UNICODE" = "yes"; then
33577 lib_unicode_suffix=u
33578 WX_CHARTYPE="unicode"
33579 UNICODE=1
33580 fi
33581
33582 lib_debug_suffix=
33583 WX_DEBUGTYPE="release"
33584 DEBUG_FLAG=0
33585 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33586 lib_debug_suffix=d
33587 WX_DEBUGTYPE="debug"
33588 DEBUG_FLAG=1
33589 fi
33590
33591 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33592 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33593
33594 DEBUG_INFO=0
33595 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33596 DEBUG_INFO=1
33597 fi
33598
33599 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33600
33601 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33602
33603 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33604
33605 if test "$cross_compiling" = "yes"; then
33606 HOST_SUFFIX="-$host_alias"
33607 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33608 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33609 fi
33610
33611 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33612 if test "${TOOLKIT_DIR}" = "os2"; then
33613 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33614 else
33615 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33616 fi
33617
33618
33619
33620 if test "$wxUSE_COCOA" = 1; then
33621
33622
33623 ac_ext=c
33624 ac_cpp='$CPP $CPPFLAGS'
33625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33628
33629 ac_ext=m
33630
33631 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33632 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33633 cat >conftest.$ac_ext <<_ACEOF
33634 /* confdefs.h. */
33635 _ACEOF
33636 cat confdefs.h >>conftest.$ac_ext
33637 cat >>conftest.$ac_ext <<_ACEOF
33638 /* end confdefs.h. */
33639 #include <AppKit/NSEvent.h>
33640 #include <CoreFoundation/CoreFoundation.h>
33641
33642 int
33643 main ()
33644 {
33645
33646 ;
33647 return 0;
33648 }
33649 _ACEOF
33650 rm -f conftest.$ac_objext
33651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33652 (eval $ac_compile) 2>conftest.er1
33653 ac_status=$?
33654 grep -v '^ *+' conftest.er1 >conftest.err
33655 rm -f conftest.er1
33656 cat conftest.err >&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33662 ac_status=$?
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); }; } &&
33665 { ac_try='test -s conftest.$ac_objext'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; }; then
33671 echo "$as_me:$LINENO: result: no" >&5
33672 echo "${ECHO_T}no" >&6
33673 else
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.$ac_ext >&5
33676
33677 echo "$as_me:$LINENO: result: yes" >&5
33678 echo "${ECHO_T}yes" >&6
33679 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33680 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33681 cat >conftest.$ac_ext <<_ACEOF
33682 /* confdefs.h. */
33683 _ACEOF
33684 cat confdefs.h >>conftest.$ac_ext
33685 cat >>conftest.$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33687 #define __Point__ 1
33688 #include <AppKit/NSEvent.h>
33689 #include <CoreFoundation/CoreFoundation.h>
33690
33691 int
33692 main ()
33693 {
33694
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33701 (eval $ac_compile) 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33711 ac_status=$?
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; } &&
33714 { ac_try='test -s conftest.$ac_objext'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33717 ac_status=$?
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; }; then
33720 echo "$as_me:$LINENO: result: yes" >&5
33721 echo "${ECHO_T}yes" >&6
33722 cat >>confdefs.h <<\_ACEOF
33723 #define __Point__ 1
33724 _ACEOF
33725
33726
33727 else
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33730
33731 { { echo "$as_me:$LINENO: error: no
33732 See \`config.log' for more details." >&5
33733 echo "$as_me: error: no
33734 See \`config.log' for more details." >&2;}
33735 { (exit 1); exit 1; }; }
33736
33737 fi
33738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33739
33740 fi
33741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33742 ac_ext=c
33743 ac_cpp='$CPP $CPPFLAGS'
33744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33747
33748 fi
33749
33750 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33751 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33752 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33753
33754 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33755
33756 # Extract the first word of "Rez", so it can be a program name with args.
33757 set dummy Rez; ac_word=$2
33758 echo "$as_me:$LINENO: checking for $ac_word" >&5
33759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33760 if test "${ac_cv_prog_REZ+set}" = set; then
33761 echo $ECHO_N "(cached) $ECHO_C" >&6
33762 else
33763 if test -n "$REZ"; then
33764 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33765 else
33766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33767 for as_dir in $PATH
33768 do
33769 IFS=$as_save_IFS
33770 test -z "$as_dir" && as_dir=.
33771 for ac_exec_ext in '' $ac_executable_extensions; do
33772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33773 ac_cv_prog_REZ="Rez"
33774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33775 break 2
33776 fi
33777 done
33778 done
33779
33780 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33781 fi
33782 fi
33783 REZ=$ac_cv_prog_REZ
33784 if test -n "$REZ"; then
33785 echo "$as_me:$LINENO: result: $REZ" >&5
33786 echo "${ECHO_T}$REZ" >&6
33787 else
33788 echo "$as_me:$LINENO: result: no" >&5
33789 echo "${ECHO_T}no" >&6
33790 fi
33791
33792 # Extract the first word of "DeRez", so it can be a program name with args.
33793 set dummy DeRez; ac_word=$2
33794 echo "$as_me:$LINENO: checking for $ac_word" >&5
33795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33796 if test "${ac_cv_prog_DEREZ+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799 if test -n "$DEREZ"; then
33800 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33801 else
33802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33803 for as_dir in $PATH
33804 do
33805 IFS=$as_save_IFS
33806 test -z "$as_dir" && as_dir=.
33807 for ac_exec_ext in '' $ac_executable_extensions; do
33808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33809 ac_cv_prog_DEREZ="DeRez"
33810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33811 break 2
33812 fi
33813 done
33814 done
33815
33816 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33817 fi
33818 fi
33819 DEREZ=$ac_cv_prog_DEREZ
33820 if test -n "$DEREZ"; then
33821 echo "$as_me:$LINENO: result: $DEREZ" >&5
33822 echo "${ECHO_T}$DEREZ" >&6
33823 else
33824 echo "$as_me:$LINENO: result: no" >&5
33825 echo "${ECHO_T}no" >&6
33826 fi
33827
33828 # Extract the first word of "SetFile", so it can be a program name with args.
33829 set dummy SetFile; ac_word=$2
33830 echo "$as_me:$LINENO: checking for $ac_word" >&5
33831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33832 if test "${ac_cv_prog_SETFILE+set}" = set; then
33833 echo $ECHO_N "(cached) $ECHO_C" >&6
33834 else
33835 if test -n "$SETFILE"; then
33836 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33837 else
33838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33839 for as_dir in $PATH
33840 do
33841 IFS=$as_save_IFS
33842 test -z "$as_dir" && as_dir=.
33843 for ac_exec_ext in '' $ac_executable_extensions; do
33844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33845 ac_cv_prog_SETFILE="SetFile"
33846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33847 break 2
33848 fi
33849 done
33850 done
33851
33852 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33853 fi
33854 fi
33855 SETFILE=$ac_cv_prog_SETFILE
33856 if test -n "$SETFILE"; then
33857 echo "$as_me:$LINENO: result: $SETFILE" >&5
33858 echo "${ECHO_T}$SETFILE" >&6
33859 else
33860 echo "$as_me:$LINENO: result: no" >&5
33861 echo "${ECHO_T}no" >&6
33862 fi
33863
33864
33865 MACSETFILE="\$(SETFILE)"
33866
33867 if test "$wxUSE_MAC" = 1; then
33868 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33869 RESCOMP="$REZ"
33870 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33871 else
33872 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33873 RESCOMP="echo -n \| $REZ"
33874 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33875 fi
33876
33877 else
33878 MACSETFILE="@true"
33879
33880 if test "$wxUSE_PM" = 1; then
33881 RESCOMP="emxbind"
33882 WXCONFIG_RESFLAGS="-ep"
33883
33884 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33885 else
33886 POSTLINK_COMMAND="@true"
33887 fi
33888
33889 fi
33890
33891
33892
33893 echo "$as_me:$LINENO: checking for mode_t" >&5
33894 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33895 if test "${ac_cv_type_mode_t+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33897 else
33898 cat >conftest.$ac_ext <<_ACEOF
33899 /* confdefs.h. */
33900 _ACEOF
33901 cat confdefs.h >>conftest.$ac_ext
33902 cat >>conftest.$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33904 $ac_includes_default
33905 int
33906 main ()
33907 {
33908 if ((mode_t *) 0)
33909 return 0;
33910 if (sizeof (mode_t))
33911 return 0;
33912 ;
33913 return 0;
33914 }
33915 _ACEOF
33916 rm -f conftest.$ac_objext
33917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33918 (eval $ac_compile) 2>conftest.er1
33919 ac_status=$?
33920 grep -v '^ *+' conftest.er1 >conftest.err
33921 rm -f conftest.er1
33922 cat conftest.err >&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); } &&
33925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33927 (eval $ac_try) 2>&5
33928 ac_status=$?
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); }; } &&
33931 { ac_try='test -s conftest.$ac_objext'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33934 ac_status=$?
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; }; then
33937 ac_cv_type_mode_t=yes
33938 else
33939 echo "$as_me: failed program was:" >&5
33940 sed 's/^/| /' conftest.$ac_ext >&5
33941
33942 ac_cv_type_mode_t=no
33943 fi
33944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33945 fi
33946 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33947 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33948 if test $ac_cv_type_mode_t = yes; then
33949 :
33950 else
33951
33952 cat >>confdefs.h <<_ACEOF
33953 #define mode_t int
33954 _ACEOF
33955
33956 fi
33957
33958 echo "$as_me:$LINENO: checking for off_t" >&5
33959 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33960 if test "${ac_cv_type_off_t+set}" = set; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 cat >conftest.$ac_ext <<_ACEOF
33964 /* confdefs.h. */
33965 _ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33969 $ac_includes_default
33970 int
33971 main ()
33972 {
33973 if ((off_t *) 0)
33974 return 0;
33975 if (sizeof (off_t))
33976 return 0;
33977 ;
33978 return 0;
33979 }
33980 _ACEOF
33981 rm -f conftest.$ac_objext
33982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33983 (eval $ac_compile) 2>conftest.er1
33984 ac_status=$?
33985 grep -v '^ *+' conftest.er1 >conftest.err
33986 rm -f conftest.er1
33987 cat conftest.err >&5
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); } &&
33990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
33996 { ac_try='test -s conftest.$ac_objext'
33997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33998 (eval $ac_try) 2>&5
33999 ac_status=$?
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); }; }; then
34002 ac_cv_type_off_t=yes
34003 else
34004 echo "$as_me: failed program was:" >&5
34005 sed 's/^/| /' conftest.$ac_ext >&5
34006
34007 ac_cv_type_off_t=no
34008 fi
34009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34010 fi
34011 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34012 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34013 if test $ac_cv_type_off_t = yes; then
34014 :
34015 else
34016
34017 cat >>confdefs.h <<_ACEOF
34018 #define off_t long
34019 _ACEOF
34020
34021 fi
34022
34023 echo "$as_me:$LINENO: checking for pid_t" >&5
34024 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34025 if test "${ac_cv_type_pid_t+set}" = set; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34027 else
34028 cat >conftest.$ac_ext <<_ACEOF
34029 /* confdefs.h. */
34030 _ACEOF
34031 cat confdefs.h >>conftest.$ac_ext
34032 cat >>conftest.$ac_ext <<_ACEOF
34033 /* end confdefs.h. */
34034 $ac_includes_default
34035 int
34036 main ()
34037 {
34038 if ((pid_t *) 0)
34039 return 0;
34040 if (sizeof (pid_t))
34041 return 0;
34042 ;
34043 return 0;
34044 }
34045 _ACEOF
34046 rm -f conftest.$ac_objext
34047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34048 (eval $ac_compile) 2>conftest.er1
34049 ac_status=$?
34050 grep -v '^ *+' conftest.er1 >conftest.err
34051 rm -f conftest.er1
34052 cat conftest.err >&5
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); } &&
34055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 ac_cv_type_pid_t=yes
34068 else
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.$ac_ext >&5
34071
34072 ac_cv_type_pid_t=no
34073 fi
34074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34075 fi
34076 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34077 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34078 if test $ac_cv_type_pid_t = yes; then
34079 :
34080 else
34081
34082 cat >>confdefs.h <<_ACEOF
34083 #define pid_t int
34084 _ACEOF
34085
34086 fi
34087
34088 echo "$as_me:$LINENO: checking for size_t" >&5
34089 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34090 if test "${ac_cv_type_size_t+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 else
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 $ac_includes_default
34100 int
34101 main ()
34102 {
34103 if ((size_t *) 0)
34104 return 0;
34105 if (sizeof (size_t))
34106 return 0;
34107 ;
34108 return 0;
34109 }
34110 _ACEOF
34111 rm -f conftest.$ac_objext
34112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34113 (eval $ac_compile) 2>conftest.er1
34114 ac_status=$?
34115 grep -v '^ *+' conftest.er1 >conftest.err
34116 rm -f conftest.er1
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } &&
34120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34122 (eval $ac_try) 2>&5
34123 ac_status=$?
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); }; } &&
34126 { ac_try='test -s conftest.$ac_objext'
34127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34128 (eval $ac_try) 2>&5
34129 ac_status=$?
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); }; }; then
34132 ac_cv_type_size_t=yes
34133 else
34134 echo "$as_me: failed program was:" >&5
34135 sed 's/^/| /' conftest.$ac_ext >&5
34136
34137 ac_cv_type_size_t=no
34138 fi
34139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34140 fi
34141 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34142 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34143 if test $ac_cv_type_size_t = yes; then
34144 :
34145 else
34146
34147 cat >>confdefs.h <<_ACEOF
34148 #define size_t unsigned
34149 _ACEOF
34150
34151 fi
34152
34153 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34154 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34155 if test "${ac_cv_type_uid_t+set}" = set; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 else
34158 cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h. */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 #include <sys/types.h>
34165
34166 _ACEOF
34167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34168 $EGREP "uid_t" >/dev/null 2>&1; then
34169 ac_cv_type_uid_t=yes
34170 else
34171 ac_cv_type_uid_t=no
34172 fi
34173 rm -f conftest*
34174
34175 fi
34176 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34177 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34178 if test $ac_cv_type_uid_t = no; then
34179
34180 cat >>confdefs.h <<\_ACEOF
34181 #define uid_t int
34182 _ACEOF
34183
34184
34185 cat >>confdefs.h <<\_ACEOF
34186 #define gid_t int
34187 _ACEOF
34188
34189 fi
34190
34191
34192 echo "$as_me:$LINENO: checking for ssize_t" >&5
34193 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34194 if test "${ac_cv_type_ssize_t+set}" = set; then
34195 echo $ECHO_N "(cached) $ECHO_C" >&6
34196 else
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 $ac_includes_default
34204 int
34205 main ()
34206 {
34207 if ((ssize_t *) 0)
34208 return 0;
34209 if (sizeof (ssize_t))
34210 return 0;
34211 ;
34212 return 0;
34213 }
34214 _ACEOF
34215 rm -f conftest.$ac_objext
34216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34217 (eval $ac_compile) 2>conftest.er1
34218 ac_status=$?
34219 grep -v '^ *+' conftest.er1 >conftest.err
34220 rm -f conftest.er1
34221 cat conftest.err >&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } &&
34224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34227 ac_status=$?
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; } &&
34230 { ac_try='test -s conftest.$ac_objext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 ac_cv_type_ssize_t=yes
34237 else
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34240
34241 ac_cv_type_ssize_t=no
34242 fi
34243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34244 fi
34245 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34246 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34247 if test $ac_cv_type_ssize_t = yes; then
34248
34249 cat >>confdefs.h <<_ACEOF
34250 #define HAVE_SSIZE_T 1
34251 _ACEOF
34252
34253
34254 fi
34255
34256
34257 ac_ext=cc
34258 ac_cpp='$CXXCPP $CPPFLAGS'
34259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34262 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34263 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34264 if test "${wx_cv_size_t_is_uint+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 else
34267
34268 cat >conftest.$ac_ext <<_ACEOF
34269 /* confdefs.h. */
34270 _ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34274 #include <stddef.h>
34275 int
34276 main ()
34277 {
34278
34279 return 0; }
34280
34281 struct Foo { void foo(size_t); void foo(unsigned int); };
34282
34283 int bar() {
34284
34285 ;
34286 return 0;
34287 }
34288 _ACEOF
34289 rm -f conftest.$ac_objext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34291 (eval $ac_compile) 2>conftest.er1
34292 ac_status=$?
34293 grep -v '^ *+' conftest.er1 >conftest.err
34294 rm -f conftest.er1
34295 cat conftest.err >&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try='test -s conftest.$ac_objext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 wx_cv_size_t_is_uint=no
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34314
34315 wx_cv_size_t_is_uint=yes
34316
34317 fi
34318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34319
34320
34321 fi
34322 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34323 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34324
34325 if test "$wx_cv_size_t_is_uint" = "yes"; then
34326 cat >>confdefs.h <<\_ACEOF
34327 #define wxSIZE_T_IS_UINT 1
34328 _ACEOF
34329
34330 else
34331 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34332 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34333 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34335 else
34336 cat >conftest.$ac_ext <<_ACEOF
34337 /* confdefs.h. */
34338 _ACEOF
34339 cat confdefs.h >>conftest.$ac_ext
34340 cat >>conftest.$ac_ext <<_ACEOF
34341 /* end confdefs.h. */
34342 #include <stddef.h>
34343 int
34344 main ()
34345 {
34346
34347 return 0; }
34348
34349 struct Foo { void foo(size_t); void foo(unsigned long); };
34350
34351 int bar() {
34352
34353 ;
34354 return 0;
34355 }
34356 _ACEOF
34357 rm -f conftest.$ac_objext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34359 (eval $ac_compile) 2>conftest.er1
34360 ac_status=$?
34361 grep -v '^ *+' conftest.er1 >conftest.err
34362 rm -f conftest.er1
34363 cat conftest.err >&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34369 ac_status=$?
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; } &&
34372 { ac_try='test -s conftest.$ac_objext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34375 ac_status=$?
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 wx_cv_size_t_is_ulong=no
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 wx_cv_size_t_is_ulong=yes
34384
34385 fi
34386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34387
34388 fi
34389 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34390 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34391
34392 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34393 cat >>confdefs.h <<\_ACEOF
34394 #define wxSIZE_T_IS_ULONG 1
34395 _ACEOF
34396
34397 fi
34398 fi
34399
34400 ac_ext=c
34401 ac_cpp='$CPP $CPPFLAGS'
34402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34405
34406
34407 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34408 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34409 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34410 echo $ECHO_N "(cached) $ECHO_C" >&6
34411 else
34412
34413 cat >conftest.$ac_ext <<_ACEOF
34414 /* confdefs.h. */
34415 _ACEOF
34416 cat confdefs.h >>conftest.$ac_ext
34417 cat >>conftest.$ac_ext <<_ACEOF
34418 /* end confdefs.h. */
34419 #include <pwd.h>
34420 int
34421 main ()
34422 {
34423
34424 char *p;
34425 struct passwd *pw;
34426 p = pw->pw_gecos;
34427
34428 ;
34429 return 0;
34430 }
34431 _ACEOF
34432 rm -f conftest.$ac_objext
34433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34434 (eval $ac_compile) 2>conftest.er1
34435 ac_status=$?
34436 grep -v '^ *+' conftest.er1 >conftest.err
34437 rm -f conftest.er1
34438 cat conftest.err >&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } &&
34441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34444 ac_status=$?
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; } &&
34447 { ac_try='test -s conftest.$ac_objext'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; }; then
34453
34454 wx_cv_struct_pw_gecos=yes
34455
34456 else
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34459
34460
34461 wx_cv_struct_pw_gecos=no
34462
34463
34464 fi
34465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34466
34467
34468 fi
34469 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34470 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34471
34472 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34473 cat >>confdefs.h <<\_ACEOF
34474 #define HAVE_PW_GECOS 1
34475 _ACEOF
34476
34477 fi
34478
34479
34480 if test "$wxUSE_WCHAR_T" = "yes"; then
34481 cat >>confdefs.h <<\_ACEOF
34482 #define wxUSE_WCHAR_T 1
34483 _ACEOF
34484
34485
34486 WCSLEN_FOUND=0
34487 WCHAR_LINK=
34488
34489 for ac_func in wcslen
34490 do
34491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34492 echo "$as_me:$LINENO: checking for $ac_func" >&5
34493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34494 if eval "test \"\${$as_ac_var+set}\" = set"; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497 cat >conftest.$ac_ext <<_ACEOF
34498 /* confdefs.h. */
34499 _ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34505 #define $ac_func innocuous_$ac_func
34506
34507 /* System header to define __stub macros and hopefully few prototypes,
34508 which can conflict with char $ac_func (); below.
34509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34510 <limits.h> exists even on freestanding compilers. */
34511
34512 #ifdef __STDC__
34513 # include <limits.h>
34514 #else
34515 # include <assert.h>
34516 #endif
34517
34518 #undef $ac_func
34519
34520 /* Override any gcc2 internal prototype to avoid an error. */
34521 #ifdef __cplusplus
34522 extern "C"
34523 {
34524 #endif
34525 /* We use char because int might match the return type of a gcc2
34526 builtin and then its argument prototype would still apply. */
34527 char $ac_func ();
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34532 choke me
34533 #else
34534 char (*f) () = $ac_func;
34535 #endif
34536 #ifdef __cplusplus
34537 }
34538 #endif
34539
34540 int
34541 main ()
34542 {
34543 return f != $ac_func;
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext conftest$ac_exeext
34549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34550 (eval $ac_link) 2>conftest.er1
34551 ac_status=$?
34552 grep -v '^ *+' conftest.er1 >conftest.err
34553 rm -f conftest.er1
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34560 ac_status=$?
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; } &&
34563 { ac_try='test -s conftest$ac_exeext'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34566 ac_status=$?
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; }; then
34569 eval "$as_ac_var=yes"
34570 else
34571 echo "$as_me: failed program was:" >&5
34572 sed 's/^/| /' conftest.$ac_ext >&5
34573
34574 eval "$as_ac_var=no"
34575 fi
34576 rm -f conftest.err conftest.$ac_objext \
34577 conftest$ac_exeext conftest.$ac_ext
34578 fi
34579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34581 if test `eval echo '${'$as_ac_var'}'` = yes; then
34582 cat >>confdefs.h <<_ACEOF
34583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34584 _ACEOF
34585 WCSLEN_FOUND=1
34586 fi
34587 done
34588
34589
34590 if test "$WCSLEN_FOUND" = 0; then
34591 if test "$TOOLKIT" = "MSW"; then
34592 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34593 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34594 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 else
34597 ac_check_lib_save_LIBS=$LIBS
34598 LIBS="-lmsvcrt $LIBS"
34599 cat >conftest.$ac_ext <<_ACEOF
34600 /* confdefs.h. */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34605
34606 /* Override any gcc2 internal prototype to avoid an error. */
34607 #ifdef __cplusplus
34608 extern "C"
34609 #endif
34610 /* We use char because int might match the return type of a gcc2
34611 builtin and then its argument prototype would still apply. */
34612 char wcslen ();
34613 int
34614 main ()
34615 {
34616 wcslen ();
34617 ;
34618 return 0;
34619 }
34620 _ACEOF
34621 rm -f conftest.$ac_objext conftest$ac_exeext
34622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34623 (eval $ac_link) 2>conftest.er1
34624 ac_status=$?
34625 grep -v '^ *+' conftest.er1 >conftest.err
34626 rm -f conftest.er1
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } &&
34630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34633 ac_status=$?
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; } &&
34636 { ac_try='test -s conftest$ac_exeext'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34639 ac_status=$?
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; }; then
34642 ac_cv_lib_msvcrt_wcslen=yes
34643 else
34644 echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.$ac_ext >&5
34646
34647 ac_cv_lib_msvcrt_wcslen=no
34648 fi
34649 rm -f conftest.err conftest.$ac_objext \
34650 conftest$ac_exeext conftest.$ac_ext
34651 LIBS=$ac_check_lib_save_LIBS
34652 fi
34653 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34654 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34655 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34656 WCHAR_OK=1
34657 fi
34658
34659 else
34660 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34661 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34662 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34663 echo $ECHO_N "(cached) $ECHO_C" >&6
34664 else
34665 ac_check_lib_save_LIBS=$LIBS
34666 LIBS="-lw $LIBS"
34667 cat >conftest.$ac_ext <<_ACEOF
34668 /* confdefs.h. */
34669 _ACEOF
34670 cat confdefs.h >>conftest.$ac_ext
34671 cat >>conftest.$ac_ext <<_ACEOF
34672 /* end confdefs.h. */
34673
34674 /* Override any gcc2 internal prototype to avoid an error. */
34675 #ifdef __cplusplus
34676 extern "C"
34677 #endif
34678 /* We use char because int might match the return type of a gcc2
34679 builtin and then its argument prototype would still apply. */
34680 char wcslen ();
34681 int
34682 main ()
34683 {
34684 wcslen ();
34685 ;
34686 return 0;
34687 }
34688 _ACEOF
34689 rm -f conftest.$ac_objext conftest$ac_exeext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34691 (eval $ac_link) 2>conftest.er1
34692 ac_status=$?
34693 grep -v '^ *+' conftest.er1 >conftest.err
34694 rm -f conftest.er1
34695 cat conftest.err >&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); } &&
34698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; } &&
34704 { ac_try='test -s conftest$ac_exeext'
34705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34706 (eval $ac_try) 2>&5
34707 ac_status=$?
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); }; }; then
34710 ac_cv_lib_w_wcslen=yes
34711 else
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34714
34715 ac_cv_lib_w_wcslen=no
34716 fi
34717 rm -f conftest.err conftest.$ac_objext \
34718 conftest$ac_exeext conftest.$ac_ext
34719 LIBS=$ac_check_lib_save_LIBS
34720 fi
34721 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34722 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34723 if test $ac_cv_lib_w_wcslen = yes; then
34724
34725 WCHAR_LINK=" -lw"
34726 WCSLEN_FOUND=1
34727
34728 fi
34729
34730 fi
34731 fi
34732
34733 if test "$WCSLEN_FOUND" = 1; then
34734 cat >>confdefs.h <<\_ACEOF
34735 #define HAVE_WCSLEN 1
34736 _ACEOF
34737
34738 fi
34739
34740 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34741 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34742 fi
34743
34744 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34745 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34746 if test "${ac_cv_type_mbstate_t+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749 cat >conftest.$ac_ext <<_ACEOF
34750 /* confdefs.h. */
34751 _ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 #include <wchar.h>
34756
34757 int
34758 main ()
34759 {
34760 if ((mbstate_t *) 0)
34761 return 0;
34762 if (sizeof (mbstate_t))
34763 return 0;
34764 ;
34765 return 0;
34766 }
34767 _ACEOF
34768 rm -f conftest.$ac_objext
34769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34770 (eval $ac_compile) 2>conftest.er1
34771 ac_status=$?
34772 grep -v '^ *+' conftest.er1 >conftest.err
34773 rm -f conftest.er1
34774 cat conftest.err >&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } &&
34777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34779 (eval $ac_try) 2>&5
34780 ac_status=$?
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); }; } &&
34783 { ac_try='test -s conftest.$ac_objext'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34786 ac_status=$?
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; }; then
34789 ac_cv_type_mbstate_t=yes
34790 else
34791 echo "$as_me: failed program was:" >&5
34792 sed 's/^/| /' conftest.$ac_ext >&5
34793
34794 ac_cv_type_mbstate_t=no
34795 fi
34796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34797 fi
34798 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34799 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34800 if test $ac_cv_type_mbstate_t = yes; then
34801
34802 cat >>confdefs.h <<_ACEOF
34803 #define HAVE_MBSTATE_T 1
34804 _ACEOF
34805
34806
34807 for ac_func in wcsrtombs
34808 do
34809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34810 echo "$as_me:$LINENO: checking for $ac_func" >&5
34811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34812 if eval "test \"\${$as_ac_var+set}\" = set"; then
34813 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 else
34815 cat >conftest.$ac_ext <<_ACEOF
34816 /* confdefs.h. */
34817 _ACEOF
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34823 #define $ac_func innocuous_$ac_func
34824
34825 /* System header to define __stub macros and hopefully few prototypes,
34826 which can conflict with char $ac_func (); below.
34827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34828 <limits.h> exists even on freestanding compilers. */
34829
34830 #ifdef __STDC__
34831 # include <limits.h>
34832 #else
34833 # include <assert.h>
34834 #endif
34835
34836 #undef $ac_func
34837
34838 /* Override any gcc2 internal prototype to avoid an error. */
34839 #ifdef __cplusplus
34840 extern "C"
34841 {
34842 #endif
34843 /* We use char because int might match the return type of a gcc2
34844 builtin and then its argument prototype would still apply. */
34845 char $ac_func ();
34846 /* The GNU C library defines this for functions which it implements
34847 to always fail with ENOSYS. Some functions are actually named
34848 something starting with __ and the normal name is an alias. */
34849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34850 choke me
34851 #else
34852 char (*f) () = $ac_func;
34853 #endif
34854 #ifdef __cplusplus
34855 }
34856 #endif
34857
34858 int
34859 main ()
34860 {
34861 return f != $ac_func;
34862 ;
34863 return 0;
34864 }
34865 _ACEOF
34866 rm -f conftest.$ac_objext conftest$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>conftest.er1
34869 ac_status=$?
34870 grep -v '^ *+' conftest.er1 >conftest.err
34871 rm -f conftest.er1
34872 cat conftest.err >&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try='test -s conftest$ac_exeext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 eval "$as_ac_var=yes"
34888 else
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34891
34892 eval "$as_ac_var=no"
34893 fi
34894 rm -f conftest.err conftest.$ac_objext \
34895 conftest$ac_exeext conftest.$ac_ext
34896 fi
34897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34899 if test `eval echo '${'$as_ac_var'}'` = yes; then
34900 cat >>confdefs.h <<_ACEOF
34901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34902 _ACEOF
34903
34904 fi
34905 done
34906
34907 fi
34908
34909 else
34910 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34911 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34912 fi
34913
34914
34915
34916 for ac_func in snprintf vsnprintf
34917 do
34918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34919 echo "$as_me:$LINENO: checking for $ac_func" >&5
34920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34921 if eval "test \"\${$as_ac_var+set}\" = set"; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924 cat >conftest.$ac_ext <<_ACEOF
34925 /* confdefs.h. */
34926 _ACEOF
34927 cat confdefs.h >>conftest.$ac_ext
34928 cat >>conftest.$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34932 #define $ac_func innocuous_$ac_func
34933
34934 /* System header to define __stub macros and hopefully few prototypes,
34935 which can conflict with char $ac_func (); below.
34936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34937 <limits.h> exists even on freestanding compilers. */
34938
34939 #ifdef __STDC__
34940 # include <limits.h>
34941 #else
34942 # include <assert.h>
34943 #endif
34944
34945 #undef $ac_func
34946
34947 /* Override any gcc2 internal prototype to avoid an error. */
34948 #ifdef __cplusplus
34949 extern "C"
34950 {
34951 #endif
34952 /* We use char because int might match the return type of a gcc2
34953 builtin and then its argument prototype would still apply. */
34954 char $ac_func ();
34955 /* The GNU C library defines this for functions which it implements
34956 to always fail with ENOSYS. Some functions are actually named
34957 something starting with __ and the normal name is an alias. */
34958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34959 choke me
34960 #else
34961 char (*f) () = $ac_func;
34962 #endif
34963 #ifdef __cplusplus
34964 }
34965 #endif
34966
34967 int
34968 main ()
34969 {
34970 return f != $ac_func;
34971 ;
34972 return 0;
34973 }
34974 _ACEOF
34975 rm -f conftest.$ac_objext conftest$ac_exeext
34976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34977 (eval $ac_link) 2>conftest.er1
34978 ac_status=$?
34979 grep -v '^ *+' conftest.er1 >conftest.err
34980 rm -f conftest.er1
34981 cat conftest.err >&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); } &&
34984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34987 ac_status=$?
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; } &&
34990 { ac_try='test -s conftest$ac_exeext'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34993 ac_status=$?
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; }; then
34996 eval "$as_ac_var=yes"
34997 else
34998 echo "$as_me: failed program was:" >&5
34999 sed 's/^/| /' conftest.$ac_ext >&5
35000
35001 eval "$as_ac_var=no"
35002 fi
35003 rm -f conftest.err conftest.$ac_objext \
35004 conftest$ac_exeext conftest.$ac_ext
35005 fi
35006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35008 if test `eval echo '${'$as_ac_var'}'` = yes; then
35009 cat >>confdefs.h <<_ACEOF
35010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35011 _ACEOF
35012
35013 fi
35014 done
35015
35016
35017 if test "$ac_cv_func_vsnprintf" = "yes"; then
35018 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35019 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35020 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023
35024 cat >conftest.$ac_ext <<_ACEOF
35025 /* confdefs.h. */
35026 _ACEOF
35027 cat confdefs.h >>conftest.$ac_ext
35028 cat >>conftest.$ac_ext <<_ACEOF
35029 /* end confdefs.h. */
35030
35031 #include <stdio.h>
35032 #include <stdarg.h>
35033 #ifdef __MSL__
35034 #if __MSL__ >= 0x6000
35035 namespace std {}
35036 using namespace std;
35037 #endif
35038 #endif
35039
35040 int
35041 main ()
35042 {
35043
35044 char *buf;
35045 va_list ap;
35046 vsnprintf(buf, 10u, "%s", ap);
35047
35048 ;
35049 return 0;
35050 }
35051 _ACEOF
35052 rm -f conftest.$ac_objext
35053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35054 (eval $ac_compile) 2>conftest.er1
35055 ac_status=$?
35056 grep -v '^ *+' conftest.er1 >conftest.err
35057 rm -f conftest.er1
35058 cat conftest.err >&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); } &&
35061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; } &&
35067 { ac_try='test -s conftest.$ac_objext'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35070 ac_status=$?
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }; then
35073 wx_cv_func_vsnprintf_decl=yes
35074 else
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35077
35078 wx_cv_func_vsnprintf_decl=no
35079
35080 fi
35081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35082
35083
35084 fi
35085 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35086 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35087
35088 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35089 cat >>confdefs.h <<\_ACEOF
35090 #define HAVE_VSNPRINTF_DECL 1
35091 _ACEOF
35092
35093
35094 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35095 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35096 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35097 echo $ECHO_N "(cached) $ECHO_C" >&6
35098 else
35099
35100 cat >conftest.$ac_ext <<_ACEOF
35101 /* confdefs.h. */
35102 _ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106
35107 #include <stdio.h>
35108 #include <stdarg.h>
35109 #ifdef __MSL__
35110 #if __MSL__ >= 0x6000
35111 namespace std {}
35112 using namespace std;
35113 #endif
35114 #endif
35115
35116 int
35117 main ()
35118 {
35119
35120 char *buf;
35121 va_list ap;
35122 const char *fmt = "%s";
35123 vsnprintf(buf, 10u, fmt, ap);
35124
35125 ;
35126 return 0;
35127 }
35128 _ACEOF
35129 rm -f conftest.$ac_objext
35130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35131 (eval $ac_compile) 2>conftest.er1
35132 ac_status=$?
35133 grep -v '^ *+' conftest.er1 >conftest.err
35134 rm -f conftest.er1
35135 cat conftest.err >&5
35136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35137 (exit $ac_status); } &&
35138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35140 (eval $ac_try) 2>&5
35141 ac_status=$?
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); }; } &&
35144 { ac_try='test -s conftest.$ac_objext'
35145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35146 (eval $ac_try) 2>&5
35147 ac_status=$?
35148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149 (exit $ac_status); }; }; then
35150 wx_cv_func_broken_vsnprintf_decl=no
35151 else
35152 echo "$as_me: failed program was:" >&5
35153 sed 's/^/| /' conftest.$ac_ext >&5
35154
35155 wx_cv_func_broken_vsnprintf_decl=yes
35156
35157 fi
35158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35159
35160
35161 fi
35162 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35163 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35164
35165 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35166 cat >>confdefs.h <<\_ACEOF
35167 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35168 _ACEOF
35169
35170 fi
35171 fi
35172 fi
35173
35174 if test "$ac_cv_func_snprintf" = "yes"; then
35175 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35176 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35177 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35178 echo $ECHO_N "(cached) $ECHO_C" >&6
35179 else
35180
35181 cat >conftest.$ac_ext <<_ACEOF
35182 /* confdefs.h. */
35183 _ACEOF
35184 cat confdefs.h >>conftest.$ac_ext
35185 cat >>conftest.$ac_ext <<_ACEOF
35186 /* end confdefs.h. */
35187
35188 #include <stdio.h>
35189 #include <stdarg.h>
35190 #ifdef __MSL__
35191 #if __MSL__ >= 0x6000
35192 namespace std {}
35193 using namespace std;
35194 #endif
35195 #endif
35196
35197 int
35198 main ()
35199 {
35200
35201 char *buf;
35202 snprintf(buf, 10u, "%s", "wx");
35203
35204 ;
35205 return 0;
35206 }
35207 _ACEOF
35208 rm -f conftest.$ac_objext
35209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35210 (eval $ac_compile) 2>conftest.er1
35211 ac_status=$?
35212 grep -v '^ *+' conftest.er1 >conftest.err
35213 rm -f conftest.er1
35214 cat conftest.err >&5
35215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35216 (exit $ac_status); } &&
35217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; } &&
35223 { ac_try='test -s conftest.$ac_objext'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; }; then
35229 wx_cv_func_snprintf_decl=yes
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35233
35234 wx_cv_func_snprintf_decl=no
35235
35236 fi
35237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35238
35239
35240 fi
35241 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35242 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35243
35244 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define HAVE_SNPRINTF_DECL 1
35247 _ACEOF
35248
35249
35250 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35251 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35252 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 else
35255
35256 cat >conftest.$ac_ext <<_ACEOF
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262
35263 #include <stdio.h>
35264 #include <stdarg.h>
35265 #ifdef __MSL__
35266 #if __MSL__ >= 0x6000
35267 namespace std {}
35268 using namespace std;
35269 #endif
35270 #endif
35271
35272 int
35273 main ()
35274 {
35275
35276 char *buf;
35277 const char *fmt = "%s";
35278 snprintf(buf, 10u, fmt, "wx");
35279
35280 ;
35281 return 0;
35282 }
35283 _ACEOF
35284 rm -f conftest.$ac_objext
35285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35286 (eval $ac_compile) 2>conftest.er1
35287 ac_status=$?
35288 grep -v '^ *+' conftest.er1 >conftest.err
35289 rm -f conftest.er1
35290 cat conftest.err >&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } &&
35293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35295 (eval $ac_try) 2>&5
35296 ac_status=$?
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); }; } &&
35299 { ac_try='test -s conftest.$ac_objext'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; }; then
35305 wx_cv_func_broken_snprintf_decl=no
35306 else
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35309
35310 wx_cv_func_broken_snprintf_decl=yes
35311
35312 fi
35313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35314
35315
35316 fi
35317 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35318 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35319
35320 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35321 cat >>confdefs.h <<\_ACEOF
35322 #define HAVE_BROKEN_SNPRINTF_DECL 1
35323 _ACEOF
35324
35325 fi
35326 fi
35327
35328 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35329
35330 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35331 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35332 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 else
35335
35336 if test "$cross_compiling" = yes; then
35337
35338 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35339 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35340 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35341 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35342 wx_cv_func_snprintf_pos_params=no
35343
35344
35345 else
35346 cat >conftest.$ac_ext <<_ACEOF
35347 /* confdefs.h. */
35348 _ACEOF
35349 cat confdefs.h >>conftest.$ac_ext
35350 cat >>conftest.$ac_ext <<_ACEOF
35351 /* end confdefs.h. */
35352
35353 #include <stdio.h>
35354
35355 int main (void)
35356 {
35357 char buffer[128];
35358 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35359 if (strcmp ("2 3 1", buffer) == 0)
35360 exit (0);
35361 exit (1);
35362 }
35363
35364 _ACEOF
35365 rm -f conftest$ac_exeext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35367 (eval $ac_link) 2>&5
35368 ac_status=$?
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
35376 wx_cv_func_snprintf_pos_params=no
35377 else
35378 echo "$as_me: program exited with status $ac_status" >&5
35379 echo "$as_me: failed program was:" >&5
35380 sed 's/^/| /' conftest.$ac_ext >&5
35381
35382 ( exit $ac_status )
35383 wx_cv_func_snprintf_pos_params=yes
35384 fi
35385 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35386 fi
35387
35388
35389 fi
35390 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35391 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35392
35393 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35394 cat >>confdefs.h <<\_ACEOF
35395 #define HAVE_UNIX98_PRINTF 1
35396 _ACEOF
35397
35398 fi
35399 fi
35400 fi
35401
35402 if test "$wxUSE_UNICODE" = yes; then
35403
35404
35405 for ac_func in swprintf
35406 do
35407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35408 echo "$as_me:$LINENO: checking for $ac_func" >&5
35409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35410 if eval "test \"\${$as_ac_var+set}\" = set"; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35413 cat >conftest.$ac_ext <<_ACEOF
35414 /* confdefs.h. */
35415 _ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35421 #define $ac_func innocuous_$ac_func
35422
35423 /* System header to define __stub macros and hopefully few prototypes,
35424 which can conflict with char $ac_func (); below.
35425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35426 <limits.h> exists even on freestanding compilers. */
35427
35428 #ifdef __STDC__
35429 # include <limits.h>
35430 #else
35431 # include <assert.h>
35432 #endif
35433
35434 #undef $ac_func
35435
35436 /* Override any gcc2 internal prototype to avoid an error. */
35437 #ifdef __cplusplus
35438 extern "C"
35439 {
35440 #endif
35441 /* We use char because int might match the return type of a gcc2
35442 builtin and then its argument prototype would still apply. */
35443 char $ac_func ();
35444 /* The GNU C library defines this for functions which it implements
35445 to always fail with ENOSYS. Some functions are actually named
35446 something starting with __ and the normal name is an alias. */
35447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35448 choke me
35449 #else
35450 char (*f) () = $ac_func;
35451 #endif
35452 #ifdef __cplusplus
35453 }
35454 #endif
35455
35456 int
35457 main ()
35458 {
35459 return f != $ac_func;
35460 ;
35461 return 0;
35462 }
35463 _ACEOF
35464 rm -f conftest.$ac_objext conftest$ac_exeext
35465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35466 (eval $ac_link) 2>conftest.er1
35467 ac_status=$?
35468 grep -v '^ *+' conftest.er1 >conftest.err
35469 rm -f conftest.er1
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } &&
35473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475 (eval $ac_try) 2>&5
35476 ac_status=$?
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; } &&
35479 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35485 eval "$as_ac_var=yes"
35486 else
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35489
35490 eval "$as_ac_var=no"
35491 fi
35492 rm -f conftest.err conftest.$ac_objext \
35493 conftest$ac_exeext conftest.$ac_ext
35494 fi
35495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35497 if test `eval echo '${'$as_ac_var'}'` = yes; then
35498 cat >>confdefs.h <<_ACEOF
35499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35500 _ACEOF
35501
35502 fi
35503 done
35504
35505
35506 if test "$ac_cv_func_swprintf" = "yes"; then
35507 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35508 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35509 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35510 echo $ECHO_N "(cached) $ECHO_C" >&6
35511 else
35512
35513 cat >conftest.$ac_ext <<_ACEOF
35514 /* confdefs.h. */
35515 _ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35519
35520 #include <stdio.h>
35521 #include <stdarg.h>
35522 #include <wchar.h>
35523
35524 int
35525 main ()
35526 {
35527
35528 wchar_t *buf;
35529 const wchar_t *fmt = L"test";
35530 swprintf(buf, 10u, fmt);
35531
35532 ;
35533 return 0;
35534 }
35535 _ACEOF
35536 rm -f conftest.$ac_objext
35537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35538 (eval $ac_compile) 2>conftest.er1
35539 ac_status=$?
35540 grep -v '^ *+' conftest.er1 >conftest.err
35541 rm -f conftest.er1
35542 cat conftest.err >&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } &&
35545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; } &&
35551 { ac_try='test -s conftest.$ac_objext'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35554 ac_status=$?
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; }; then
35557 wx_cv_func_broken_swprintf_decl=no
35558 else
35559 echo "$as_me: failed program was:" >&5
35560 sed 's/^/| /' conftest.$ac_ext >&5
35561
35562 wx_cv_func_broken_swprintf_decl=yes
35563
35564 fi
35565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35566
35567
35568 fi
35569 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35570 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35571
35572 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35573 cat >>confdefs.h <<\_ACEOF
35574 #define HAVE_BROKEN_SWPRINTF_DECL 1
35575 _ACEOF
35576
35577 fi
35578 fi
35579
35580 wchar_headers="#include <stdio.h>
35581 #include <wchar.h>"
35582 case "${host}" in
35583 *-*-solaris2* )
35584
35585 for ac_header in widec.h
35586 do
35587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35589 echo "$as_me:$LINENO: checking for $ac_header" >&5
35590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 fi
35594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35596 else
35597 # Is the header compilable?
35598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35600 cat >conftest.$ac_ext <<_ACEOF
35601 /* confdefs.h. */
35602 _ACEOF
35603 cat confdefs.h >>conftest.$ac_ext
35604 cat >>conftest.$ac_ext <<_ACEOF
35605 /* end confdefs.h. */
35606 $ac_includes_default
35607 #include <$ac_header>
35608 _ACEOF
35609 rm -f conftest.$ac_objext
35610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35611 (eval $ac_compile) 2>conftest.er1
35612 ac_status=$?
35613 grep -v '^ *+' conftest.er1 >conftest.err
35614 rm -f conftest.er1
35615 cat conftest.err >&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } &&
35618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620 (eval $ac_try) 2>&5
35621 ac_status=$?
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); }; } &&
35624 { ac_try='test -s conftest.$ac_objext'
35625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35626 (eval $ac_try) 2>&5
35627 ac_status=$?
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); }; }; then
35630 ac_header_compiler=yes
35631 else
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35634
35635 ac_header_compiler=no
35636 fi
35637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35639 echo "${ECHO_T}$ac_header_compiler" >&6
35640
35641 # Is the header present?
35642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35644 cat >conftest.$ac_ext <<_ACEOF
35645 /* confdefs.h. */
35646 _ACEOF
35647 cat confdefs.h >>conftest.$ac_ext
35648 cat >>conftest.$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35650 #include <$ac_header>
35651 _ACEOF
35652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35654 ac_status=$?
35655 grep -v '^ *+' conftest.er1 >conftest.err
35656 rm -f conftest.er1
35657 cat conftest.err >&5
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); } >/dev/null; then
35660 if test -s conftest.err; then
35661 ac_cpp_err=$ac_c_preproc_warn_flag
35662 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35663 else
35664 ac_cpp_err=
35665 fi
35666 else
35667 ac_cpp_err=yes
35668 fi
35669 if test -z "$ac_cpp_err"; then
35670 ac_header_preproc=yes
35671 else
35672 echo "$as_me: failed program was:" >&5
35673 sed 's/^/| /' conftest.$ac_ext >&5
35674
35675 ac_header_preproc=no
35676 fi
35677 rm -f conftest.err conftest.$ac_ext
35678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35679 echo "${ECHO_T}$ac_header_preproc" >&6
35680
35681 # So? What about this header?
35682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35683 yes:no: )
35684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35688 ac_header_preproc=yes
35689 ;;
35690 no:yes:* )
35691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35703 (
35704 cat <<\_ASBOX
35705 ## ----------------------------------------- ##
35706 ## Report this to wx-dev@lists.wxwidgets.org ##
35707 ## ----------------------------------------- ##
35708 _ASBOX
35709 ) |
35710 sed "s/^/$as_me: WARNING: /" >&2
35711 ;;
35712 esac
35713 echo "$as_me:$LINENO: checking for $ac_header" >&5
35714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35716 echo $ECHO_N "(cached) $ECHO_C" >&6
35717 else
35718 eval "$as_ac_Header=\$ac_header_preproc"
35719 fi
35720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35722
35723 fi
35724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35725 cat >>confdefs.h <<_ACEOF
35726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35727 _ACEOF
35728
35729 fi
35730
35731 done
35732
35733 if test "$ac_cv_header_widec_h" = "yes"; then
35734 wchar_headers="$wchar_headers
35735 #include <widec.h>"
35736 fi
35737 esac
35738
35739
35740 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35741 do
35742 echo "$as_me:$LINENO: checking for $wx_func" >&5
35743 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35744 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 else
35747
35748 cat >conftest.$ac_ext <<_ACEOF
35749
35750 /* confdefs.h. */
35751 _ACEOF
35752 cat confdefs.h >>conftest.$ac_ext
35753 cat >>conftest.$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755
35756 $wchar_headers
35757 $ac_includes_default
35758
35759 int
35760 main ()
35761 {
35762
35763 #ifndef $wx_func
35764 &$wx_func;
35765 #endif
35766
35767
35768 ;
35769 return 0;
35770 }
35771
35772 _ACEOF
35773 rm -f conftest.$ac_objext conftest$ac_exeext
35774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35775 (eval $ac_link) 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } &&
35782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest$ac_exeext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 eval wx_cv_func_$wx_func=yes
35795 else
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.$ac_ext >&5
35798
35799 eval wx_cv_func_$wx_func=no
35800 fi
35801 rm -f conftest.err conftest.$ac_objext \
35802 conftest$ac_exeext conftest.$ac_ext
35803
35804 fi
35805 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35806 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35807
35808 if eval test \$wx_cv_func_$wx_func = yes
35809 then
35810 cat >>confdefs.h <<_ACEOF
35811 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35812 _ACEOF
35813
35814
35815 else
35816 :
35817
35818 fi
35819 done
35820
35821
35822 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35823 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35824 cat >conftest.$ac_ext <<_ACEOF
35825 /* confdefs.h. */
35826 _ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830 #include <wchar.h>
35831 int
35832 main ()
35833 {
35834 &_vsnwprintf;
35835 ;
35836 return 0;
35837 }
35838 _ACEOF
35839 rm -f conftest.$ac_objext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35841 (eval $ac_compile) 2>conftest.er1
35842 ac_status=$?
35843 grep -v '^ *+' conftest.er1 >conftest.err
35844 rm -f conftest.er1
35845 cat conftest.err >&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35851 ac_status=$?
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try='test -s conftest.$ac_objext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 echo "$as_me:$LINENO: result: yes" >&5
35861 echo "${ECHO_T}yes" >&6
35862 cat >>confdefs.h <<\_ACEOF
35863 #define HAVE__VSNWPRINTF 1
35864 _ACEOF
35865
35866 else
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35869
35870 echo "$as_me:$LINENO: result: no" >&5
35871 echo "${ECHO_T}no" >&6
35872 fi
35873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35874 fi
35875
35876 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35877
35878 for wx_func in fnmatch
35879 do
35880 echo "$as_me:$LINENO: checking for $wx_func" >&5
35881 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35882 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35883 echo $ECHO_N "(cached) $ECHO_C" >&6
35884 else
35885
35886 cat >conftest.$ac_ext <<_ACEOF
35887
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893
35894 #include <fnmatch.h>
35895 $ac_includes_default
35896
35897 int
35898 main ()
35899 {
35900
35901 #ifndef $wx_func
35902 &$wx_func;
35903 #endif
35904
35905
35906 ;
35907 return 0;
35908 }
35909
35910 _ACEOF
35911 rm -f conftest.$ac_objext conftest$ac_exeext
35912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35913 (eval $ac_link) 2>conftest.er1
35914 ac_status=$?
35915 grep -v '^ *+' conftest.er1 >conftest.err
35916 rm -f conftest.er1
35917 cat conftest.err >&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); } &&
35920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35922 (eval $ac_try) 2>&5
35923 ac_status=$?
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); }; } &&
35926 { ac_try='test -s conftest$ac_exeext'
35927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35928 (eval $ac_try) 2>&5
35929 ac_status=$?
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); }; }; then
35932 eval wx_cv_func_$wx_func=yes
35933 else
35934 echo "$as_me: failed program was:" >&5
35935 sed 's/^/| /' conftest.$ac_ext >&5
35936
35937 eval wx_cv_func_$wx_func=no
35938 fi
35939 rm -f conftest.err conftest.$ac_objext \
35940 conftest$ac_exeext conftest.$ac_ext
35941
35942 fi
35943 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35944 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35945
35946 if eval test \$wx_cv_func_$wx_func = yes
35947 then
35948 cat >>confdefs.h <<_ACEOF
35949 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35950 _ACEOF
35951
35952
35953 else
35954 :
35955
35956 fi
35957 done
35958
35959 fi
35960
35961 if test "$wxUSE_FILE" = "yes"; then
35962
35963 for wx_func in fsync
35964 do
35965 echo "$as_me:$LINENO: checking for $wx_func" >&5
35966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35967 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 else
35970
35971 cat >conftest.$ac_ext <<_ACEOF
35972
35973 /* confdefs.h. */
35974 _ACEOF
35975 cat confdefs.h >>conftest.$ac_ext
35976 cat >>conftest.$ac_ext <<_ACEOF
35977 /* end confdefs.h. */
35978
35979
35980 $ac_includes_default
35981
35982 int
35983 main ()
35984 {
35985
35986 #ifndef $wx_func
35987 &$wx_func;
35988 #endif
35989
35990
35991 ;
35992 return 0;
35993 }
35994
35995 _ACEOF
35996 rm -f conftest.$ac_objext conftest$ac_exeext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35998 (eval $ac_link) 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36007 (eval $ac_try) 2>&5
36008 ac_status=$?
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); }; } &&
36011 { ac_try='test -s conftest$ac_exeext'
36012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36013 (eval $ac_try) 2>&5
36014 ac_status=$?
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); }; }; then
36017 eval wx_cv_func_$wx_func=yes
36018 else
36019 echo "$as_me: failed program was:" >&5
36020 sed 's/^/| /' conftest.$ac_ext >&5
36021
36022 eval wx_cv_func_$wx_func=no
36023 fi
36024 rm -f conftest.err conftest.$ac_objext \
36025 conftest$ac_exeext conftest.$ac_ext
36026
36027 fi
36028 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36029 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36030
36031 if eval test \$wx_cv_func_$wx_func = yes
36032 then
36033 cat >>confdefs.h <<_ACEOF
36034 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36035 _ACEOF
36036
36037
36038 else
36039 :
36040
36041 fi
36042 done
36043
36044 fi
36045
36046
36047 for wx_func in round
36048 do
36049 echo "$as_me:$LINENO: checking for $wx_func" >&5
36050 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36051 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36053 else
36054
36055 cat >conftest.$ac_ext <<_ACEOF
36056
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062
36063 #include <math.h>
36064 $ac_includes_default
36065
36066 int
36067 main ()
36068 {
36069
36070 #ifndef $wx_func
36071 &$wx_func;
36072 #endif
36073
36074
36075 ;
36076 return 0;
36077 }
36078
36079 _ACEOF
36080 rm -f conftest.$ac_objext conftest$ac_exeext
36081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36082 (eval $ac_link) 2>conftest.er1
36083 ac_status=$?
36084 grep -v '^ *+' conftest.er1 >conftest.err
36085 rm -f conftest.er1
36086 cat conftest.err >&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); } &&
36089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36091 (eval $ac_try) 2>&5
36092 ac_status=$?
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); }; } &&
36095 { ac_try='test -s conftest$ac_exeext'
36096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36097 (eval $ac_try) 2>&5
36098 ac_status=$?
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); }; }; then
36101 eval wx_cv_func_$wx_func=yes
36102 else
36103 echo "$as_me: failed program was:" >&5
36104 sed 's/^/| /' conftest.$ac_ext >&5
36105
36106 eval wx_cv_func_$wx_func=no
36107 fi
36108 rm -f conftest.err conftest.$ac_objext \
36109 conftest$ac_exeext conftest.$ac_ext
36110
36111 fi
36112 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36113 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36114
36115 if eval test \$wx_cv_func_$wx_func = yes
36116 then
36117 cat >>confdefs.h <<_ACEOF
36118 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36119 _ACEOF
36120
36121
36122 else
36123 :
36124
36125 fi
36126 done
36127
36128
36129 if test "$TOOLKIT" != "MSW"; then
36130
36131
36132
36133
36134
36135 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36136 if test "${with_libiconv_prefix+set}" = set; then
36137 withval="$with_libiconv_prefix"
36138
36139 for dir in `echo "$withval" | tr : ' '`; do
36140 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36141 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36142 done
36143
36144 fi;
36145
36146 echo "$as_me:$LINENO: checking for iconv" >&5
36147 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36148 if test "${am_cv_func_iconv+set}" = set; then
36149 echo $ECHO_N "(cached) $ECHO_C" >&6
36150 else
36151
36152 am_cv_func_iconv="no, consider installing GNU libiconv"
36153 am_cv_lib_iconv=no
36154 cat >conftest.$ac_ext <<_ACEOF
36155 /* confdefs.h. */
36156 _ACEOF
36157 cat confdefs.h >>conftest.$ac_ext
36158 cat >>conftest.$ac_ext <<_ACEOF
36159 /* end confdefs.h. */
36160 #include <stdlib.h>
36161 #include <iconv.h>
36162 int
36163 main ()
36164 {
36165 iconv_t cd = iconv_open("","");
36166 iconv(cd,NULL,NULL,NULL,NULL);
36167 iconv_close(cd);
36168 ;
36169 return 0;
36170 }
36171 _ACEOF
36172 rm -f conftest.$ac_objext conftest$ac_exeext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36174 (eval $ac_link) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36184 ac_status=$?
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; } &&
36187 { ac_try='test -s conftest$ac_exeext'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36190 ac_status=$?
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; }; then
36193 am_cv_func_iconv=yes
36194 else
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36197
36198 fi
36199 rm -f conftest.err conftest.$ac_objext \
36200 conftest$ac_exeext conftest.$ac_ext
36201 if test "$am_cv_func_iconv" != yes; then
36202 am_save_LIBS="$LIBS"
36203 LIBS="$LIBS -liconv"
36204 cat >conftest.$ac_ext <<_ACEOF
36205 /* confdefs.h. */
36206 _ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210 #include <stdlib.h>
36211 #include <iconv.h>
36212 int
36213 main ()
36214 {
36215 iconv_t cd = iconv_open("","");
36216 iconv(cd,NULL,NULL,NULL,NULL);
36217 iconv_close(cd);
36218 ;
36219 return 0;
36220 }
36221 _ACEOF
36222 rm -f conftest.$ac_objext conftest$ac_exeext
36223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36224 (eval $ac_link) 2>conftest.er1
36225 ac_status=$?
36226 grep -v '^ *+' conftest.er1 >conftest.err
36227 rm -f conftest.er1
36228 cat conftest.err >&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } &&
36231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36233 (eval $ac_try) 2>&5
36234 ac_status=$?
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); }; } &&
36237 { ac_try='test -s conftest$ac_exeext'
36238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36239 (eval $ac_try) 2>&5
36240 ac_status=$?
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; }; then
36243 am_cv_lib_iconv=yes
36244 am_cv_func_iconv=yes
36245 else
36246 echo "$as_me: failed program was:" >&5
36247 sed 's/^/| /' conftest.$ac_ext >&5
36248
36249 fi
36250 rm -f conftest.err conftest.$ac_objext \
36251 conftest$ac_exeext conftest.$ac_ext
36252 LIBS="$am_save_LIBS"
36253 fi
36254
36255 fi
36256 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36257 echo "${ECHO_T}$am_cv_func_iconv" >&6
36258 if test "$am_cv_func_iconv" = yes; then
36259
36260 cat >>confdefs.h <<\_ACEOF
36261 #define HAVE_ICONV 1
36262 _ACEOF
36263
36264 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36265 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36266 if test "${wx_cv_func_iconv_const+set}" = set; then
36267 echo $ECHO_N "(cached) $ECHO_C" >&6
36268 else
36269 cat >conftest.$ac_ext <<_ACEOF
36270 /* confdefs.h. */
36271 _ACEOF
36272 cat confdefs.h >>conftest.$ac_ext
36273 cat >>conftest.$ac_ext <<_ACEOF
36274 /* end confdefs.h. */
36275
36276 #include <stdlib.h>
36277 #include <iconv.h>
36278 extern
36279 #ifdef __cplusplus
36280 "C"
36281 #endif
36282 #if defined(__STDC__) || defined(__cplusplus)
36283 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36284 #else
36285 size_t iconv();
36286 #endif
36287
36288 int
36289 main ()
36290 {
36291
36292 ;
36293 return 0;
36294 }
36295 _ACEOF
36296 rm -f conftest.$ac_objext
36297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36298 (eval $ac_compile) 2>conftest.er1
36299 ac_status=$?
36300 grep -v '^ *+' conftest.er1 >conftest.err
36301 rm -f conftest.er1
36302 cat conftest.err >&5
36303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); } &&
36305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307 (eval $ac_try) 2>&5
36308 ac_status=$?
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); }; } &&
36311 { ac_try='test -s conftest.$ac_objext'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 wx_cv_func_iconv_const="no"
36318 else
36319 echo "$as_me: failed program was:" >&5
36320 sed 's/^/| /' conftest.$ac_ext >&5
36321
36322 wx_cv_func_iconv_const="yes"
36323
36324 fi
36325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36326
36327 fi
36328 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36329 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36330
36331 iconv_const=
36332 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36333 iconv_const="const"
36334 fi
36335
36336
36337 cat >>confdefs.h <<_ACEOF
36338 #define ICONV_CONST $iconv_const
36339 _ACEOF
36340
36341 fi
36342 LIBICONV=
36343 if test "$am_cv_lib_iconv" = yes; then
36344 LIBICONV="-liconv"
36345 fi
36346
36347
36348 LIBS="$LIBICONV $LIBS"
36349
36350 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36351
36352 for ac_func in sigaction
36353 do
36354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36355 echo "$as_me:$LINENO: checking for $ac_func" >&5
36356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36357 if eval "test \"\${$as_ac_var+set}\" = set"; then
36358 echo $ECHO_N "(cached) $ECHO_C" >&6
36359 else
36360 cat >conftest.$ac_ext <<_ACEOF
36361 /* confdefs.h. */
36362 _ACEOF
36363 cat confdefs.h >>conftest.$ac_ext
36364 cat >>conftest.$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36368 #define $ac_func innocuous_$ac_func
36369
36370 /* System header to define __stub macros and hopefully few prototypes,
36371 which can conflict with char $ac_func (); below.
36372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36373 <limits.h> exists even on freestanding compilers. */
36374
36375 #ifdef __STDC__
36376 # include <limits.h>
36377 #else
36378 # include <assert.h>
36379 #endif
36380
36381 #undef $ac_func
36382
36383 /* Override any gcc2 internal prototype to avoid an error. */
36384 #ifdef __cplusplus
36385 extern "C"
36386 {
36387 #endif
36388 /* We use char because int might match the return type of a gcc2
36389 builtin and then its argument prototype would still apply. */
36390 char $ac_func ();
36391 /* The GNU C library defines this for functions which it implements
36392 to always fail with ENOSYS. Some functions are actually named
36393 something starting with __ and the normal name is an alias. */
36394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36395 choke me
36396 #else
36397 char (*f) () = $ac_func;
36398 #endif
36399 #ifdef __cplusplus
36400 }
36401 #endif
36402
36403 int
36404 main ()
36405 {
36406 return f != $ac_func;
36407 ;
36408 return 0;
36409 }
36410 _ACEOF
36411 rm -f conftest.$ac_objext conftest$ac_exeext
36412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36413 (eval $ac_link) 2>conftest.er1
36414 ac_status=$?
36415 grep -v '^ *+' conftest.er1 >conftest.err
36416 rm -f conftest.er1
36417 cat conftest.err >&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } &&
36420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36423 ac_status=$?
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; } &&
36426 { ac_try='test -s conftest$ac_exeext'
36427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36428 (eval $ac_try) 2>&5
36429 ac_status=$?
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); }; }; then
36432 eval "$as_ac_var=yes"
36433 else
36434 echo "$as_me: failed program was:" >&5
36435 sed 's/^/| /' conftest.$ac_ext >&5
36436
36437 eval "$as_ac_var=no"
36438 fi
36439 rm -f conftest.err conftest.$ac_objext \
36440 conftest$ac_exeext conftest.$ac_ext
36441 fi
36442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36444 if test `eval echo '${'$as_ac_var'}'` = yes; then
36445 cat >>confdefs.h <<_ACEOF
36446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36447 _ACEOF
36448
36449 fi
36450 done
36451
36452
36453 if test "$ac_cv_func_sigaction" = "no"; then
36454 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36455 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36456 wxUSE_ON_FATAL_EXCEPTION=no
36457 fi
36458
36459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36460 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36461 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36462 if test "${wx_cv_type_sa_handler+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465
36466 ac_ext=cc
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36471
36472 cat >conftest.$ac_ext <<_ACEOF
36473 /* confdefs.h. */
36474 _ACEOF
36475 cat confdefs.h >>conftest.$ac_ext
36476 cat >>conftest.$ac_ext <<_ACEOF
36477 /* end confdefs.h. */
36478 #include <signal.h>
36479 int
36480 main ()
36481 {
36482
36483 extern void testSigHandler(int);
36484
36485 struct sigaction sa;
36486 sa.sa_handler = testSigHandler;
36487
36488 ;
36489 return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36494 (eval $ac_compile) 2>conftest.er1
36495 ac_status=$?
36496 grep -v '^ *+' conftest.er1 >conftest.err
36497 rm -f conftest.er1
36498 cat conftest.err >&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); } &&
36501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36503 (eval $ac_try) 2>&5
36504 ac_status=$?
36505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36506 (exit $ac_status); }; } &&
36507 { ac_try='test -s conftest.$ac_objext'
36508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36509 (eval $ac_try) 2>&5
36510 ac_status=$?
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); }; }; then
36513
36514 wx_cv_type_sa_handler=int
36515
36516 else
36517 echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.$ac_ext >&5
36519
36520
36521 wx_cv_type_sa_handler=void
36522
36523 fi
36524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36525 ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36530
36531
36532 fi
36533 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36534 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36535
36536 cat >>confdefs.h <<_ACEOF
36537 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36538 _ACEOF
36539
36540 fi
36541 fi
36542
36543 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36544 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36545 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36546 if test "${wx_cv_func_backtrace+set}" = set; then
36547 echo $ECHO_N "(cached) $ECHO_C" >&6
36548 else
36549
36550 ac_ext=cc
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36555
36556 cat >conftest.$ac_ext <<_ACEOF
36557 /* confdefs.h. */
36558 _ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 #include <execinfo.h>
36563 int
36564 main ()
36565 {
36566
36567 void *trace[1];
36568 char **messages;
36569
36570 backtrace(trace, 1);
36571 messages = backtrace_symbols(trace, 1);
36572
36573 ;
36574 return 0;
36575 }
36576 _ACEOF
36577 rm -f conftest.$ac_objext
36578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36579 (eval $ac_compile) 2>conftest.er1
36580 ac_status=$?
36581 grep -v '^ *+' conftest.er1 >conftest.err
36582 rm -f conftest.er1
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } &&
36586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36588 (eval $ac_try) 2>&5
36589 ac_status=$?
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); }; } &&
36592 { ac_try='test -s conftest.$ac_objext'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36595 ac_status=$?
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; }; then
36598 wx_cv_func_backtrace=yes
36599 else
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36602
36603 wx_cv_func_backtrace=no
36604
36605 fi
36606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36607 ac_ext=c
36608 ac_cpp='$CPP $CPPFLAGS'
36609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36612
36613
36614
36615 fi
36616 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36617 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36618
36619
36620 if test "$wx_cv_func_backtrace" = "no"; then
36621 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36622 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36623 wxUSE_STACKWALKER=no
36624 else
36625 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36626 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36627 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36628 echo $ECHO_N "(cached) $ECHO_C" >&6
36629 else
36630
36631 ac_ext=cc
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36636
36637 cat >conftest.$ac_ext <<_ACEOF
36638 /* confdefs.h. */
36639 _ACEOF
36640 cat confdefs.h >>conftest.$ac_ext
36641 cat >>conftest.$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 #include <cxxabi.h>
36644 int
36645 main ()
36646 {
36647
36648 int rc;
36649 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36650
36651 ;
36652 return 0;
36653 }
36654 _ACEOF
36655 rm -f conftest.$ac_objext conftest$ac_exeext
36656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36657 (eval $ac_link) 2>conftest.er1
36658 ac_status=$?
36659 grep -v '^ *+' conftest.er1 >conftest.err
36660 rm -f conftest.er1
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } &&
36664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36667 ac_status=$?
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; } &&
36670 { ac_try='test -s conftest$ac_exeext'
36671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36672 (eval $ac_try) 2>&5
36673 ac_status=$?
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); }; }; then
36676 wx_cv_func_cxa_demangle=yes
36677 else
36678 echo "$as_me: failed program was:" >&5
36679 sed 's/^/| /' conftest.$ac_ext >&5
36680
36681 wx_cv_func_cxa_demangle=no
36682
36683 fi
36684 rm -f conftest.err conftest.$ac_objext \
36685 conftest$ac_exeext conftest.$ac_ext
36686 ac_ext=c
36687 ac_cpp='$CPP $CPPFLAGS'
36688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36691
36692
36693
36694 fi
36695 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36696 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36697
36698 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36699 cat >>confdefs.h <<\_ACEOF
36700 #define HAVE_CXA_DEMANGLE 1
36701 _ACEOF
36702
36703 fi
36704 fi
36705 fi
36706
36707 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36708 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36709 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36710 wxUSE_STACKWALKER=no
36711 fi
36712
36713
36714
36715
36716 for ac_func in mkstemp mktemp
36717 do
36718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36719 echo "$as_me:$LINENO: checking for $ac_func" >&5
36720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36721 if eval "test \"\${$as_ac_var+set}\" = set"; then
36722 echo $ECHO_N "(cached) $ECHO_C" >&6
36723 else
36724 cat >conftest.$ac_ext <<_ACEOF
36725 /* confdefs.h. */
36726 _ACEOF
36727 cat confdefs.h >>conftest.$ac_ext
36728 cat >>conftest.$ac_ext <<_ACEOF
36729 /* end confdefs.h. */
36730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36732 #define $ac_func innocuous_$ac_func
36733
36734 /* System header to define __stub macros and hopefully few prototypes,
36735 which can conflict with char $ac_func (); below.
36736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36737 <limits.h> exists even on freestanding compilers. */
36738
36739 #ifdef __STDC__
36740 # include <limits.h>
36741 #else
36742 # include <assert.h>
36743 #endif
36744
36745 #undef $ac_func
36746
36747 /* Override any gcc2 internal prototype to avoid an error. */
36748 #ifdef __cplusplus
36749 extern "C"
36750 {
36751 #endif
36752 /* We use char because int might match the return type of a gcc2
36753 builtin and then its argument prototype would still apply. */
36754 char $ac_func ();
36755 /* The GNU C library defines this for functions which it implements
36756 to always fail with ENOSYS. Some functions are actually named
36757 something starting with __ and the normal name is an alias. */
36758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36759 choke me
36760 #else
36761 char (*f) () = $ac_func;
36762 #endif
36763 #ifdef __cplusplus
36764 }
36765 #endif
36766
36767 int
36768 main ()
36769 {
36770 return f != $ac_func;
36771 ;
36772 return 0;
36773 }
36774 _ACEOF
36775 rm -f conftest.$ac_objext conftest$ac_exeext
36776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36777 (eval $ac_link) 2>conftest.er1
36778 ac_status=$?
36779 grep -v '^ *+' conftest.er1 >conftest.err
36780 rm -f conftest.er1
36781 cat conftest.err >&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } &&
36784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36787 ac_status=$?
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; } &&
36790 { ac_try='test -s conftest$ac_exeext'
36791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36792 (eval $ac_try) 2>&5
36793 ac_status=$?
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; }; then
36796 eval "$as_ac_var=yes"
36797 else
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.$ac_ext >&5
36800
36801 eval "$as_ac_var=no"
36802 fi
36803 rm -f conftest.err conftest.$ac_objext \
36804 conftest$ac_exeext conftest.$ac_ext
36805 fi
36806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36808 if test `eval echo '${'$as_ac_var'}'` = yes; then
36809 cat >>confdefs.h <<_ACEOF
36810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36811 _ACEOF
36812 break
36813 fi
36814 done
36815
36816
36817 echo "$as_me:$LINENO: checking for statfs" >&5
36818 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36819 if test "${wx_cv_func_statfs+set}" = set; then
36820 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 else
36822 cat >conftest.$ac_ext <<_ACEOF
36823 /* confdefs.h. */
36824 _ACEOF
36825 cat confdefs.h >>conftest.$ac_ext
36826 cat >>conftest.$ac_ext <<_ACEOF
36827 /* end confdefs.h. */
36828
36829 #if defined(__BSD__)
36830 #include <sys/param.h>
36831 #include <sys/mount.h>
36832 #else
36833 #include <sys/vfs.h>
36834 #endif
36835
36836 int
36837 main ()
36838 {
36839
36840 long l;
36841 struct statfs fs;
36842 statfs("/", &fs);
36843 l = fs.f_bsize;
36844 l += fs.f_blocks;
36845 l += fs.f_bavail;
36846
36847 ;
36848 return 0;
36849 }
36850 _ACEOF
36851 rm -f conftest.$ac_objext
36852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36853 (eval $ac_compile) 2>conftest.er1
36854 ac_status=$?
36855 grep -v '^ *+' conftest.er1 >conftest.err
36856 rm -f conftest.er1
36857 cat conftest.err >&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); } &&
36860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36863 ac_status=$?
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; } &&
36866 { ac_try='test -s conftest.$ac_objext'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36869 ac_status=$?
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; }; then
36872 wx_cv_func_statfs=yes
36873 else
36874 echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36876
36877 wx_cv_func_statfs=no
36878
36879 fi
36880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36881
36882 fi
36883 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36884 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36885
36886 if test "$wx_cv_func_statfs" = "yes"; then
36887 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36888 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36889 if test "${wx_cv_func_statfs_decl+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892 ac_ext=cc
36893 ac_cpp='$CXXCPP $CPPFLAGS'
36894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h. */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904
36905 #if defined(__BSD__)
36906 #include <sys/param.h>
36907 #include <sys/mount.h>
36908 #else
36909 #include <sys/vfs.h>
36910 #endif
36911
36912 int
36913 main ()
36914 {
36915
36916 struct statfs fs;
36917 statfs("", &fs);
36918
36919 ;
36920 return 0;
36921 }
36922 _ACEOF
36923 rm -f conftest.$ac_objext
36924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36925 (eval $ac_compile) 2>conftest.er1
36926 ac_status=$?
36927 grep -v '^ *+' conftest.er1 >conftest.err
36928 rm -f conftest.er1
36929 cat conftest.err >&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } &&
36932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36934 (eval $ac_try) 2>&5
36935 ac_status=$?
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); }; } &&
36938 { ac_try='test -s conftest.$ac_objext'
36939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36940 (eval $ac_try) 2>&5
36941 ac_status=$?
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); }; }; then
36944 wx_cv_func_statfs_decl=yes
36945 else
36946 echo "$as_me: failed program was:" >&5
36947 sed 's/^/| /' conftest.$ac_ext >&5
36948
36949 wx_cv_func_statfs_decl=no
36950
36951 fi
36952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36953 ac_ext=c
36954 ac_cpp='$CPP $CPPFLAGS'
36955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958
36959
36960 fi
36961 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36962 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36963
36964 if test "$wx_cv_func_statfs_decl" = "yes"; then
36965 cat >>confdefs.h <<\_ACEOF
36966 #define HAVE_STATFS_DECL 1
36967 _ACEOF
36968
36969 fi
36970
36971 wx_cv_type_statvfs_t="struct statfs"
36972 cat >>confdefs.h <<\_ACEOF
36973 #define HAVE_STATFS 1
36974 _ACEOF
36975
36976 else
36977 echo "$as_me:$LINENO: checking for statvfs" >&5
36978 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36979 if test "${wx_cv_func_statvfs+set}" = set; then
36980 echo $ECHO_N "(cached) $ECHO_C" >&6
36981 else
36982 cat >conftest.$ac_ext <<_ACEOF
36983 /* confdefs.h. */
36984 _ACEOF
36985 cat confdefs.h >>conftest.$ac_ext
36986 cat >>conftest.$ac_ext <<_ACEOF
36987 /* end confdefs.h. */
36988
36989 #include <stddef.h>
36990 #include <sys/statvfs.h>
36991
36992 int
36993 main ()
36994 {
36995
36996 statvfs("/", NULL);
36997
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 rm -f conftest.$ac_objext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37004 (eval $ac_compile) 2>conftest.er1
37005 ac_status=$?
37006 grep -v '^ *+' conftest.er1 >conftest.err
37007 rm -f conftest.er1
37008 cat conftest.err >&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); } &&
37011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37014 ac_status=$?
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; } &&
37017 { ac_try='test -s conftest.$ac_objext'
37018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37019 (eval $ac_try) 2>&5
37020 ac_status=$?
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); }; }; then
37023 wx_cv_func_statvfs=yes
37024 else
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37027
37028 wx_cv_func_statvfs=no
37029
37030 fi
37031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37032
37033 fi
37034 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37035 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37036
37037 if test "$wx_cv_func_statvfs" = "yes"; then
37038 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37039 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37040 if test "${wx_cv_type_statvfs_t+set}" = set; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 else
37043 ac_ext=cc
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048
37049 cat >conftest.$ac_ext <<_ACEOF
37050 /* confdefs.h. */
37051 _ACEOF
37052 cat confdefs.h >>conftest.$ac_ext
37053 cat >>conftest.$ac_ext <<_ACEOF
37054 /* end confdefs.h. */
37055
37056 #include <sys/statvfs.h>
37057
37058 int
37059 main ()
37060 {
37061
37062 long l;
37063 statvfs_t fs;
37064 statvfs("/", &fs);
37065 l = fs.f_bsize;
37066 l += fs.f_blocks;
37067 l += fs.f_bavail;
37068
37069 ;
37070 return 0;
37071 }
37072 _ACEOF
37073 rm -f conftest.$ac_objext
37074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37075 (eval $ac_compile) 2>conftest.er1
37076 ac_status=$?
37077 grep -v '^ *+' conftest.er1 >conftest.err
37078 rm -f conftest.er1
37079 cat conftest.err >&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); } &&
37082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37085 ac_status=$?
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; } &&
37088 { ac_try='test -s conftest.$ac_objext'
37089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37090 (eval $ac_try) 2>&5
37091 ac_status=$?
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); }; }; then
37094 wx_cv_type_statvfs_t=statvfs_t
37095 else
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.$ac_ext >&5
37098
37099
37100 cat >conftest.$ac_ext <<_ACEOF
37101 /* confdefs.h. */
37102 _ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106
37107 #include <sys/statvfs.h>
37108
37109 int
37110 main ()
37111 {
37112
37113 long l;
37114 struct statvfs fs;
37115 statvfs("/", &fs);
37116 l = fs.f_bsize;
37117 l += fs.f_blocks;
37118 l += fs.f_bavail;
37119
37120 ;
37121 return 0;
37122 }
37123 _ACEOF
37124 rm -f conftest.$ac_objext
37125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37126 (eval $ac_compile) 2>conftest.er1
37127 ac_status=$?
37128 grep -v '^ *+' conftest.er1 >conftest.err
37129 rm -f conftest.er1
37130 cat conftest.err >&5
37131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132 (exit $ac_status); } &&
37133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37135 (eval $ac_try) 2>&5
37136 ac_status=$?
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); }; } &&
37139 { ac_try='test -s conftest.$ac_objext'
37140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37141 (eval $ac_try) 2>&5
37142 ac_status=$?
37143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37144 (exit $ac_status); }; }; then
37145 wx_cv_type_statvfs_t="struct statvfs"
37146 else
37147 echo "$as_me: failed program was:" >&5
37148 sed 's/^/| /' conftest.$ac_ext >&5
37149
37150 wx_cv_type_statvfs_t="unknown"
37151
37152 fi
37153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37154
37155
37156 fi
37157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37158 ac_ext=c
37159 ac_cpp='$CPP $CPPFLAGS'
37160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37163
37164
37165 fi
37166 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37167 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37168
37169 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37170 cat >>confdefs.h <<\_ACEOF
37171 #define HAVE_STATVFS 1
37172 _ACEOF
37173
37174 fi
37175 else
37176 wx_cv_type_statvfs_t="unknown"
37177 fi
37178 fi
37179
37180 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37181 cat >>confdefs.h <<_ACEOF
37182 #define WX_STATFS_T $wx_cv_type_statvfs_t
37183 _ACEOF
37184
37185 else
37186 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37187 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37188 fi
37189
37190 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37191
37192
37193 for ac_func in fcntl flock
37194 do
37195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37196 echo "$as_me:$LINENO: checking for $ac_func" >&5
37197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37198 if eval "test \"\${$as_ac_var+set}\" = set"; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37200 else
37201 cat >conftest.$ac_ext <<_ACEOF
37202 /* confdefs.h. */
37203 _ACEOF
37204 cat confdefs.h >>conftest.$ac_ext
37205 cat >>conftest.$ac_ext <<_ACEOF
37206 /* end confdefs.h. */
37207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37209 #define $ac_func innocuous_$ac_func
37210
37211 /* System header to define __stub macros and hopefully few prototypes,
37212 which can conflict with char $ac_func (); below.
37213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37214 <limits.h> exists even on freestanding compilers. */
37215
37216 #ifdef __STDC__
37217 # include <limits.h>
37218 #else
37219 # include <assert.h>
37220 #endif
37221
37222 #undef $ac_func
37223
37224 /* Override any gcc2 internal prototype to avoid an error. */
37225 #ifdef __cplusplus
37226 extern "C"
37227 {
37228 #endif
37229 /* We use char because int might match the return type of a gcc2
37230 builtin and then its argument prototype would still apply. */
37231 char $ac_func ();
37232 /* The GNU C library defines this for functions which it implements
37233 to always fail with ENOSYS. Some functions are actually named
37234 something starting with __ and the normal name is an alias. */
37235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37236 choke me
37237 #else
37238 char (*f) () = $ac_func;
37239 #endif
37240 #ifdef __cplusplus
37241 }
37242 #endif
37243
37244 int
37245 main ()
37246 {
37247 return f != $ac_func;
37248 ;
37249 return 0;
37250 }
37251 _ACEOF
37252 rm -f conftest.$ac_objext conftest$ac_exeext
37253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37254 (eval $ac_link) 2>conftest.er1
37255 ac_status=$?
37256 grep -v '^ *+' conftest.er1 >conftest.err
37257 rm -f conftest.er1
37258 cat conftest.err >&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } &&
37261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37264 ac_status=$?
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; } &&
37267 { ac_try='test -s conftest$ac_exeext'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37270 ac_status=$?
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; }; then
37273 eval "$as_ac_var=yes"
37274 else
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.$ac_ext >&5
37277
37278 eval "$as_ac_var=no"
37279 fi
37280 rm -f conftest.err conftest.$ac_objext \
37281 conftest$ac_exeext conftest.$ac_ext
37282 fi
37283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37285 if test `eval echo '${'$as_ac_var'}'` = yes; then
37286 cat >>confdefs.h <<_ACEOF
37287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37288 _ACEOF
37289 break
37290 fi
37291 done
37292
37293
37294 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37295 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37296 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37297 wxUSE_SNGLINST_CHECKER=no
37298 fi
37299 fi
37300
37301
37302 for ac_func in timegm
37303 do
37304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37305 echo "$as_me:$LINENO: checking for $ac_func" >&5
37306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37307 if eval "test \"\${$as_ac_var+set}\" = set"; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 else
37310 cat >conftest.$ac_ext <<_ACEOF
37311 /* confdefs.h. */
37312 _ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37318 #define $ac_func innocuous_$ac_func
37319
37320 /* System header to define __stub macros and hopefully few prototypes,
37321 which can conflict with char $ac_func (); below.
37322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37323 <limits.h> exists even on freestanding compilers. */
37324
37325 #ifdef __STDC__
37326 # include <limits.h>
37327 #else
37328 # include <assert.h>
37329 #endif
37330
37331 #undef $ac_func
37332
37333 /* Override any gcc2 internal prototype to avoid an error. */
37334 #ifdef __cplusplus
37335 extern "C"
37336 {
37337 #endif
37338 /* We use char because int might match the return type of a gcc2
37339 builtin and then its argument prototype would still apply. */
37340 char $ac_func ();
37341 /* The GNU C library defines this for functions which it implements
37342 to always fail with ENOSYS. Some functions are actually named
37343 something starting with __ and the normal name is an alias. */
37344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37345 choke me
37346 #else
37347 char (*f) () = $ac_func;
37348 #endif
37349 #ifdef __cplusplus
37350 }
37351 #endif
37352
37353 int
37354 main ()
37355 {
37356 return f != $ac_func;
37357 ;
37358 return 0;
37359 }
37360 _ACEOF
37361 rm -f conftest.$ac_objext conftest$ac_exeext
37362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37363 (eval $ac_link) 2>conftest.er1
37364 ac_status=$?
37365 grep -v '^ *+' conftest.er1 >conftest.err
37366 rm -f conftest.er1
37367 cat conftest.err >&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); } &&
37370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37373 ac_status=$?
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; } &&
37376 { ac_try='test -s conftest$ac_exeext'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37379 ac_status=$?
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; }; then
37382 eval "$as_ac_var=yes"
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 eval "$as_ac_var=no"
37388 fi
37389 rm -f conftest.err conftest.$ac_objext \
37390 conftest$ac_exeext conftest.$ac_ext
37391 fi
37392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37394 if test `eval echo '${'$as_ac_var'}'` = yes; then
37395 cat >>confdefs.h <<_ACEOF
37396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37397 _ACEOF
37398
37399 fi
37400 done
37401
37402
37403
37404
37405 for ac_func in putenv setenv
37406 do
37407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37408 echo "$as_me:$LINENO: checking for $ac_func" >&5
37409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37410 if eval "test \"\${$as_ac_var+set}\" = set"; then
37411 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 else
37413 cat >conftest.$ac_ext <<_ACEOF
37414 /* confdefs.h. */
37415 _ACEOF
37416 cat confdefs.h >>conftest.$ac_ext
37417 cat >>conftest.$ac_ext <<_ACEOF
37418 /* end confdefs.h. */
37419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37421 #define $ac_func innocuous_$ac_func
37422
37423 /* System header to define __stub macros and hopefully few prototypes,
37424 which can conflict with char $ac_func (); below.
37425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37426 <limits.h> exists even on freestanding compilers. */
37427
37428 #ifdef __STDC__
37429 # include <limits.h>
37430 #else
37431 # include <assert.h>
37432 #endif
37433
37434 #undef $ac_func
37435
37436 /* Override any gcc2 internal prototype to avoid an error. */
37437 #ifdef __cplusplus
37438 extern "C"
37439 {
37440 #endif
37441 /* We use char because int might match the return type of a gcc2
37442 builtin and then its argument prototype would still apply. */
37443 char $ac_func ();
37444 /* The GNU C library defines this for functions which it implements
37445 to always fail with ENOSYS. Some functions are actually named
37446 something starting with __ and the normal name is an alias. */
37447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37448 choke me
37449 #else
37450 char (*f) () = $ac_func;
37451 #endif
37452 #ifdef __cplusplus
37453 }
37454 #endif
37455
37456 int
37457 main ()
37458 {
37459 return f != $ac_func;
37460 ;
37461 return 0;
37462 }
37463 _ACEOF
37464 rm -f conftest.$ac_objext conftest$ac_exeext
37465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37466 (eval $ac_link) 2>conftest.er1
37467 ac_status=$?
37468 grep -v '^ *+' conftest.er1 >conftest.err
37469 rm -f conftest.er1
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } &&
37473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37475 (eval $ac_try) 2>&5
37476 ac_status=$?
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); }; } &&
37479 { ac_try='test -s conftest$ac_exeext'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37482 ac_status=$?
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; }; then
37485 eval "$as_ac_var=yes"
37486 else
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37489
37490 eval "$as_ac_var=no"
37491 fi
37492 rm -f conftest.err conftest.$ac_objext \
37493 conftest$ac_exeext conftest.$ac_ext
37494 fi
37495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37497 if test `eval echo '${'$as_ac_var'}'` = yes; then
37498 cat >>confdefs.h <<_ACEOF
37499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37500 _ACEOF
37501 break
37502 fi
37503 done
37504
37505
37506 HAVE_SOME_SLEEP_FUNC=0
37507 if test "$USE_BEOS" = 1; then
37508 cat >>confdefs.h <<\_ACEOF
37509 #define HAVE_SLEEP 1
37510 _ACEOF
37511
37512 HAVE_SOME_SLEEP_FUNC=1
37513 fi
37514
37515 if test "$USE_DARWIN" = 1; then
37516 cat >>confdefs.h <<\_ACEOF
37517 #define HAVE_USLEEP 1
37518 _ACEOF
37519
37520 HAVE_SOME_SLEEP_FUNC=1
37521 fi
37522
37523 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37524 POSIX4_LINK=
37525
37526 for ac_func in nanosleep
37527 do
37528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37529 echo "$as_me:$LINENO: checking for $ac_func" >&5
37530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37531 if eval "test \"\${$as_ac_var+set}\" = set"; then
37532 echo $ECHO_N "(cached) $ECHO_C" >&6
37533 else
37534 cat >conftest.$ac_ext <<_ACEOF
37535 /* confdefs.h. */
37536 _ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37542 #define $ac_func innocuous_$ac_func
37543
37544 /* System header to define __stub macros and hopefully few prototypes,
37545 which can conflict with char $ac_func (); below.
37546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37547 <limits.h> exists even on freestanding compilers. */
37548
37549 #ifdef __STDC__
37550 # include <limits.h>
37551 #else
37552 # include <assert.h>
37553 #endif
37554
37555 #undef $ac_func
37556
37557 /* Override any gcc2 internal prototype to avoid an error. */
37558 #ifdef __cplusplus
37559 extern "C"
37560 {
37561 #endif
37562 /* We use char because int might match the return type of a gcc2
37563 builtin and then its argument prototype would still apply. */
37564 char $ac_func ();
37565 /* The GNU C library defines this for functions which it implements
37566 to always fail with ENOSYS. Some functions are actually named
37567 something starting with __ and the normal name is an alias. */
37568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37569 choke me
37570 #else
37571 char (*f) () = $ac_func;
37572 #endif
37573 #ifdef __cplusplus
37574 }
37575 #endif
37576
37577 int
37578 main ()
37579 {
37580 return f != $ac_func;
37581 ;
37582 return 0;
37583 }
37584 _ACEOF
37585 rm -f conftest.$ac_objext conftest$ac_exeext
37586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37587 (eval $ac_link) 2>conftest.er1
37588 ac_status=$?
37589 grep -v '^ *+' conftest.er1 >conftest.err
37590 rm -f conftest.er1
37591 cat conftest.err >&5
37592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593 (exit $ac_status); } &&
37594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37597 ac_status=$?
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; } &&
37600 { ac_try='test -s conftest$ac_exeext'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37603 ac_status=$?
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; }; then
37606 eval "$as_ac_var=yes"
37607 else
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37610
37611 eval "$as_ac_var=no"
37612 fi
37613 rm -f conftest.err conftest.$ac_objext \
37614 conftest$ac_exeext conftest.$ac_ext
37615 fi
37616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37618 if test `eval echo '${'$as_ac_var'}'` = yes; then
37619 cat >>confdefs.h <<_ACEOF
37620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37621 _ACEOF
37622 cat >>confdefs.h <<\_ACEOF
37623 #define HAVE_NANOSLEEP 1
37624 _ACEOF
37625
37626 else
37627
37628 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37629 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37630 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 else
37633 ac_check_lib_save_LIBS=$LIBS
37634 LIBS="-lposix4 $LIBS"
37635 cat >conftest.$ac_ext <<_ACEOF
37636 /* confdefs.h. */
37637 _ACEOF
37638 cat confdefs.h >>conftest.$ac_ext
37639 cat >>conftest.$ac_ext <<_ACEOF
37640 /* end confdefs.h. */
37641
37642 /* Override any gcc2 internal prototype to avoid an error. */
37643 #ifdef __cplusplus
37644 extern "C"
37645 #endif
37646 /* We use char because int might match the return type of a gcc2
37647 builtin and then its argument prototype would still apply. */
37648 char nanosleep ();
37649 int
37650 main ()
37651 {
37652 nanosleep ();
37653 ;
37654 return 0;
37655 }
37656 _ACEOF
37657 rm -f conftest.$ac_objext conftest$ac_exeext
37658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37659 (eval $ac_link) 2>conftest.er1
37660 ac_status=$?
37661 grep -v '^ *+' conftest.er1 >conftest.err
37662 rm -f conftest.er1
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } &&
37666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 ac_cv_lib_posix4_nanosleep=yes
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37682
37683 ac_cv_lib_posix4_nanosleep=no
37684 fi
37685 rm -f conftest.err conftest.$ac_objext \
37686 conftest$ac_exeext conftest.$ac_ext
37687 LIBS=$ac_check_lib_save_LIBS
37688 fi
37689 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37690 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37691 if test $ac_cv_lib_posix4_nanosleep = yes; then
37692
37693 cat >>confdefs.h <<\_ACEOF
37694 #define HAVE_NANOSLEEP 1
37695 _ACEOF
37696
37697 POSIX4_LINK=" -lposix4"
37698
37699 else
37700
37701
37702 for wx_func in usleep
37703 do
37704 echo "$as_me:$LINENO: checking for $wx_func" >&5
37705 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37706 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37709
37710 cat >conftest.$ac_ext <<_ACEOF
37711
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717
37718
37719 $ac_includes_default
37720
37721 int
37722 main ()
37723 {
37724
37725 #ifndef $wx_func
37726 &$wx_func;
37727 #endif
37728
37729
37730 ;
37731 return 0;
37732 }
37733
37734 _ACEOF
37735 rm -f conftest.$ac_objext conftest$ac_exeext
37736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37737 (eval $ac_link) 2>conftest.er1
37738 ac_status=$?
37739 grep -v '^ *+' conftest.er1 >conftest.err
37740 rm -f conftest.er1
37741 cat conftest.err >&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); } &&
37744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37747 ac_status=$?
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; } &&
37750 { ac_try='test -s conftest$ac_exeext'
37751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37752 (eval $ac_try) 2>&5
37753 ac_status=$?
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); }; }; then
37756 eval wx_cv_func_$wx_func=yes
37757 else
37758 echo "$as_me: failed program was:" >&5
37759 sed 's/^/| /' conftest.$ac_ext >&5
37760
37761 eval wx_cv_func_$wx_func=no
37762 fi
37763 rm -f conftest.err conftest.$ac_objext \
37764 conftest$ac_exeext conftest.$ac_ext
37765
37766 fi
37767 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37768 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37769
37770 if eval test \$wx_cv_func_$wx_func = yes
37771 then
37772 cat >>confdefs.h <<_ACEOF
37773 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37774 _ACEOF
37775
37776
37777 else
37778 :
37779 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37780 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37781
37782 fi
37783 done
37784
37785
37786
37787 fi
37788
37789
37790
37791 fi
37792 done
37793
37794 fi
37795
37796
37797 for wx_func in uname
37798 do
37799 echo "$as_me:$LINENO: checking for $wx_func" >&5
37800 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37801 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37802 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 else
37804
37805 cat >conftest.$ac_ext <<_ACEOF
37806
37807 /* confdefs.h. */
37808 _ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h. */
37812
37813 #include <sys/utsname.h>
37814 $ac_includes_default
37815
37816 int
37817 main ()
37818 {
37819
37820 #ifndef $wx_func
37821 &$wx_func;
37822 #endif
37823
37824
37825 ;
37826 return 0;
37827 }
37828
37829 _ACEOF
37830 rm -f conftest.$ac_objext conftest$ac_exeext
37831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37832 (eval $ac_link) 2>conftest.er1
37833 ac_status=$?
37834 grep -v '^ *+' conftest.er1 >conftest.err
37835 rm -f conftest.er1
37836 cat conftest.err >&5
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); } &&
37839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37842 ac_status=$?
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; } &&
37845 { ac_try='test -s conftest$ac_exeext'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; }; then
37851 eval wx_cv_func_$wx_func=yes
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37855
37856 eval wx_cv_func_$wx_func=no
37857 fi
37858 rm -f conftest.err conftest.$ac_objext \
37859 conftest$ac_exeext conftest.$ac_ext
37860
37861 fi
37862 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37863 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37864
37865 if eval test \$wx_cv_func_$wx_func = yes
37866 then
37867 cat >>confdefs.h <<_ACEOF
37868 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37869 _ACEOF
37870
37871
37872 else
37873 :
37874
37875 fi
37876 done
37877
37878 if test "$wx_cv_func_uname" != yes; then
37879
37880 for wx_func in gethostname
37881 do
37882 echo "$as_me:$LINENO: checking for $wx_func" >&5
37883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37884 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 else
37887
37888 cat >conftest.$ac_ext <<_ACEOF
37889
37890 /* confdefs.h. */
37891 _ACEOF
37892 cat confdefs.h >>conftest.$ac_ext
37893 cat >>conftest.$ac_ext <<_ACEOF
37894 /* end confdefs.h. */
37895
37896
37897 $ac_includes_default
37898
37899 int
37900 main ()
37901 {
37902
37903 #ifndef $wx_func
37904 &$wx_func;
37905 #endif
37906
37907
37908 ;
37909 return 0;
37910 }
37911
37912 _ACEOF
37913 rm -f conftest.$ac_objext conftest$ac_exeext
37914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37915 (eval $ac_link) 2>conftest.er1
37916 ac_status=$?
37917 grep -v '^ *+' conftest.er1 >conftest.err
37918 rm -f conftest.er1
37919 cat conftest.err >&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } &&
37922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37925 ac_status=$?
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; } &&
37928 { ac_try='test -s conftest$ac_exeext'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37931 ac_status=$?
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; }; then
37934 eval wx_cv_func_$wx_func=yes
37935 else
37936 echo "$as_me: failed program was:" >&5
37937 sed 's/^/| /' conftest.$ac_ext >&5
37938
37939 eval wx_cv_func_$wx_func=no
37940 fi
37941 rm -f conftest.err conftest.$ac_objext \
37942 conftest$ac_exeext conftest.$ac_ext
37943
37944 fi
37945 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37946 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37947
37948 if eval test \$wx_cv_func_$wx_func = yes
37949 then
37950 cat >>confdefs.h <<_ACEOF
37951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37952 _ACEOF
37953
37954
37955 else
37956 :
37957
37958 fi
37959 done
37960
37961 fi
37962
37963
37964 for wx_func in strtok_r
37965 do
37966 echo "$as_me:$LINENO: checking for $wx_func" >&5
37967 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37968 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 else
37971
37972 cat >conftest.$ac_ext <<_ACEOF
37973
37974 /* confdefs.h. */
37975 _ACEOF
37976 cat confdefs.h >>conftest.$ac_ext
37977 cat >>conftest.$ac_ext <<_ACEOF
37978 /* end confdefs.h. */
37979
37980 #define _REENTRANT
37981 $ac_includes_default
37982
37983 int
37984 main ()
37985 {
37986
37987 #ifndef $wx_func
37988 &$wx_func;
37989 #endif
37990
37991
37992 ;
37993 return 0;
37994 }
37995
37996 _ACEOF
37997 rm -f conftest.$ac_objext conftest$ac_exeext
37998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37999 (eval $ac_link) 2>conftest.er1
38000 ac_status=$?
38001 grep -v '^ *+' conftest.er1 >conftest.err
38002 rm -f conftest.er1
38003 cat conftest.err >&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); } &&
38006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38008 (eval $ac_try) 2>&5
38009 ac_status=$?
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); }; } &&
38012 { ac_try='test -s conftest$ac_exeext'
38013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38014 (eval $ac_try) 2>&5
38015 ac_status=$?
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); }; }; then
38018 eval wx_cv_func_$wx_func=yes
38019 else
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.$ac_ext >&5
38022
38023 eval wx_cv_func_$wx_func=no
38024 fi
38025 rm -f conftest.err conftest.$ac_objext \
38026 conftest$ac_exeext conftest.$ac_ext
38027
38028 fi
38029 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38030 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38031
38032 if eval test \$wx_cv_func_$wx_func = yes
38033 then
38034 cat >>confdefs.h <<_ACEOF
38035 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38036 _ACEOF
38037
38038
38039 else
38040 :
38041
38042 fi
38043 done
38044
38045
38046 INET_LINK=
38047
38048 for ac_func in inet_addr
38049 do
38050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38051 echo "$as_me:$LINENO: checking for $ac_func" >&5
38052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38053 if eval "test \"\${$as_ac_var+set}\" = set"; then
38054 echo $ECHO_N "(cached) $ECHO_C" >&6
38055 else
38056 cat >conftest.$ac_ext <<_ACEOF
38057 /* confdefs.h. */
38058 _ACEOF
38059 cat confdefs.h >>conftest.$ac_ext
38060 cat >>conftest.$ac_ext <<_ACEOF
38061 /* end confdefs.h. */
38062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38064 #define $ac_func innocuous_$ac_func
38065
38066 /* System header to define __stub macros and hopefully few prototypes,
38067 which can conflict with char $ac_func (); below.
38068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38069 <limits.h> exists even on freestanding compilers. */
38070
38071 #ifdef __STDC__
38072 # include <limits.h>
38073 #else
38074 # include <assert.h>
38075 #endif
38076
38077 #undef $ac_func
38078
38079 /* Override any gcc2 internal prototype to avoid an error. */
38080 #ifdef __cplusplus
38081 extern "C"
38082 {
38083 #endif
38084 /* We use char because int might match the return type of a gcc2
38085 builtin and then its argument prototype would still apply. */
38086 char $ac_func ();
38087 /* The GNU C library defines this for functions which it implements
38088 to always fail with ENOSYS. Some functions are actually named
38089 something starting with __ and the normal name is an alias. */
38090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38091 choke me
38092 #else
38093 char (*f) () = $ac_func;
38094 #endif
38095 #ifdef __cplusplus
38096 }
38097 #endif
38098
38099 int
38100 main ()
38101 {
38102 return f != $ac_func;
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 rm -f conftest.$ac_objext conftest$ac_exeext
38108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38109 (eval $ac_link) 2>conftest.er1
38110 ac_status=$?
38111 grep -v '^ *+' conftest.er1 >conftest.err
38112 rm -f conftest.er1
38113 cat conftest.err >&5
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); } &&
38116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38119 ac_status=$?
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; } &&
38122 { ac_try='test -s conftest$ac_exeext'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38125 ac_status=$?
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; }; then
38128 eval "$as_ac_var=yes"
38129 else
38130 echo "$as_me: failed program was:" >&5
38131 sed 's/^/| /' conftest.$ac_ext >&5
38132
38133 eval "$as_ac_var=no"
38134 fi
38135 rm -f conftest.err conftest.$ac_objext \
38136 conftest$ac_exeext conftest.$ac_ext
38137 fi
38138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38143 _ACEOF
38144 cat >>confdefs.h <<\_ACEOF
38145 #define HAVE_INET_ADDR 1
38146 _ACEOF
38147
38148 else
38149
38150 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38151 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38152 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38154 else
38155 ac_check_lib_save_LIBS=$LIBS
38156 LIBS="-lnsl $LIBS"
38157 cat >conftest.$ac_ext <<_ACEOF
38158 /* confdefs.h. */
38159 _ACEOF
38160 cat confdefs.h >>conftest.$ac_ext
38161 cat >>conftest.$ac_ext <<_ACEOF
38162 /* end confdefs.h. */
38163
38164 /* Override any gcc2 internal prototype to avoid an error. */
38165 #ifdef __cplusplus
38166 extern "C"
38167 #endif
38168 /* We use char because int might match the return type of a gcc2
38169 builtin and then its argument prototype would still apply. */
38170 char inet_addr ();
38171 int
38172 main ()
38173 {
38174 inet_addr ();
38175 ;
38176 return 0;
38177 }
38178 _ACEOF
38179 rm -f conftest.$ac_objext conftest$ac_exeext
38180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38181 (eval $ac_link) 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } &&
38188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38191 ac_status=$?
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38197 ac_status=$?
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 ac_cv_lib_nsl_inet_addr=yes
38201 else
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.$ac_ext >&5
38204
38205 ac_cv_lib_nsl_inet_addr=no
38206 fi
38207 rm -f conftest.err conftest.$ac_objext \
38208 conftest$ac_exeext conftest.$ac_ext
38209 LIBS=$ac_check_lib_save_LIBS
38210 fi
38211 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38212 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38213 if test $ac_cv_lib_nsl_inet_addr = yes; then
38214 INET_LINK="nsl"
38215 else
38216
38217 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38218 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38219 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 else
38222 ac_check_lib_save_LIBS=$LIBS
38223 LIBS="-lresolv $LIBS"
38224 cat >conftest.$ac_ext <<_ACEOF
38225 /* confdefs.h. */
38226 _ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230
38231 /* Override any gcc2 internal prototype to avoid an error. */
38232 #ifdef __cplusplus
38233 extern "C"
38234 #endif
38235 /* We use char because int might match the return type of a gcc2
38236 builtin and then its argument prototype would still apply. */
38237 char inet_addr ();
38238 int
38239 main ()
38240 {
38241 inet_addr ();
38242 ;
38243 return 0;
38244 }
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38248 (eval $ac_link) 2>conftest.er1
38249 ac_status=$?
38250 grep -v '^ *+' conftest.er1 >conftest.err
38251 rm -f conftest.er1
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } &&
38255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38257 (eval $ac_try) 2>&5
38258 ac_status=$?
38259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260 (exit $ac_status); }; } &&
38261 { ac_try='test -s conftest$ac_exeext'
38262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38263 (eval $ac_try) 2>&5
38264 ac_status=$?
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); }; }; then
38267 ac_cv_lib_resolv_inet_addr=yes
38268 else
38269 echo "$as_me: failed program was:" >&5
38270 sed 's/^/| /' conftest.$ac_ext >&5
38271
38272 ac_cv_lib_resolv_inet_addr=no
38273 fi
38274 rm -f conftest.err conftest.$ac_objext \
38275 conftest$ac_exeext conftest.$ac_ext
38276 LIBS=$ac_check_lib_save_LIBS
38277 fi
38278 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38279 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38280 if test $ac_cv_lib_resolv_inet_addr = yes; then
38281 INET_LINK="resolv"
38282 else
38283
38284 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38285 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38286 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289 ac_check_lib_save_LIBS=$LIBS
38290 LIBS="-lsocket $LIBS"
38291 cat >conftest.$ac_ext <<_ACEOF
38292 /* confdefs.h. */
38293 _ACEOF
38294 cat confdefs.h >>conftest.$ac_ext
38295 cat >>conftest.$ac_ext <<_ACEOF
38296 /* end confdefs.h. */
38297
38298 /* Override any gcc2 internal prototype to avoid an error. */
38299 #ifdef __cplusplus
38300 extern "C"
38301 #endif
38302 /* We use char because int might match the return type of a gcc2
38303 builtin and then its argument prototype would still apply. */
38304 char inet_addr ();
38305 int
38306 main ()
38307 {
38308 inet_addr ();
38309 ;
38310 return 0;
38311 }
38312 _ACEOF
38313 rm -f conftest.$ac_objext conftest$ac_exeext
38314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38315 (eval $ac_link) 2>conftest.er1
38316 ac_status=$?
38317 grep -v '^ *+' conftest.er1 >conftest.err
38318 rm -f conftest.er1
38319 cat conftest.err >&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); } &&
38322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try='test -s conftest$ac_exeext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38331 ac_status=$?
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 ac_cv_lib_socket_inet_addr=yes
38335 else
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.$ac_ext >&5
38338
38339 ac_cv_lib_socket_inet_addr=no
38340 fi
38341 rm -f conftest.err conftest.$ac_objext \
38342 conftest$ac_exeext conftest.$ac_ext
38343 LIBS=$ac_check_lib_save_LIBS
38344 fi
38345 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38346 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38347 if test $ac_cv_lib_socket_inet_addr = yes; then
38348 INET_LINK="socket"
38349
38350 fi
38351
38352
38353
38354 fi
38355
38356
38357
38358 fi
38359
38360
38361
38362 fi
38363 done
38364
38365
38366
38367 for ac_func in inet_aton
38368 do
38369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38370 echo "$as_me:$LINENO: checking for $ac_func" >&5
38371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38372 if eval "test \"\${$as_ac_var+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 cat >conftest.$ac_ext <<_ACEOF
38376 /* confdefs.h. */
38377 _ACEOF
38378 cat confdefs.h >>conftest.$ac_ext
38379 cat >>conftest.$ac_ext <<_ACEOF
38380 /* end confdefs.h. */
38381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38383 #define $ac_func innocuous_$ac_func
38384
38385 /* System header to define __stub macros and hopefully few prototypes,
38386 which can conflict with char $ac_func (); below.
38387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38388 <limits.h> exists even on freestanding compilers. */
38389
38390 #ifdef __STDC__
38391 # include <limits.h>
38392 #else
38393 # include <assert.h>
38394 #endif
38395
38396 #undef $ac_func
38397
38398 /* Override any gcc2 internal prototype to avoid an error. */
38399 #ifdef __cplusplus
38400 extern "C"
38401 {
38402 #endif
38403 /* We use char because int might match the return type of a gcc2
38404 builtin and then its argument prototype would still apply. */
38405 char $ac_func ();
38406 /* The GNU C library defines this for functions which it implements
38407 to always fail with ENOSYS. Some functions are actually named
38408 something starting with __ and the normal name is an alias. */
38409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38410 choke me
38411 #else
38412 char (*f) () = $ac_func;
38413 #endif
38414 #ifdef __cplusplus
38415 }
38416 #endif
38417
38418 int
38419 main ()
38420 {
38421 return f != $ac_func;
38422 ;
38423 return 0;
38424 }
38425 _ACEOF
38426 rm -f conftest.$ac_objext conftest$ac_exeext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38428 (eval $ac_link) 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38438 ac_status=$?
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; } &&
38441 { ac_try='test -s conftest$ac_exeext'
38442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38443 (eval $ac_try) 2>&5
38444 ac_status=$?
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); }; }; then
38447 eval "$as_ac_var=yes"
38448 else
38449 echo "$as_me: failed program was:" >&5
38450 sed 's/^/| /' conftest.$ac_ext >&5
38451
38452 eval "$as_ac_var=no"
38453 fi
38454 rm -f conftest.err conftest.$ac_objext \
38455 conftest$ac_exeext conftest.$ac_ext
38456 fi
38457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38459 if test `eval echo '${'$as_ac_var'}'` = yes; then
38460 cat >>confdefs.h <<_ACEOF
38461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38462 _ACEOF
38463 cat >>confdefs.h <<\_ACEOF
38464 #define HAVE_INET_ATON 1
38465 _ACEOF
38466
38467 else
38468
38469 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38470 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38471 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38472 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38473 echo $ECHO_N "(cached) $ECHO_C" >&6
38474 else
38475 ac_check_lib_save_LIBS=$LIBS
38476 LIBS="-l$INET_LINK $LIBS"
38477 cat >conftest.$ac_ext <<_ACEOF
38478 /* confdefs.h. */
38479 _ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38483
38484 /* Override any gcc2 internal prototype to avoid an error. */
38485 #ifdef __cplusplus
38486 extern "C"
38487 #endif
38488 /* We use char because int might match the return type of a gcc2
38489 builtin and then its argument prototype would still apply. */
38490 char inet_aton ();
38491 int
38492 main ()
38493 {
38494 inet_aton ();
38495 ;
38496 return 0;
38497 }
38498 _ACEOF
38499 rm -f conftest.$ac_objext conftest$ac_exeext
38500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38501 (eval $ac_link) 2>conftest.er1
38502 ac_status=$?
38503 grep -v '^ *+' conftest.er1 >conftest.err
38504 rm -f conftest.er1
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } &&
38508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38510 (eval $ac_try) 2>&5
38511 ac_status=$?
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); }; } &&
38514 { ac_try='test -s conftest$ac_exeext'
38515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38516 (eval $ac_try) 2>&5
38517 ac_status=$?
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); }; }; then
38520 eval "$as_ac_Lib=yes"
38521 else
38522 echo "$as_me: failed program was:" >&5
38523 sed 's/^/| /' conftest.$ac_ext >&5
38524
38525 eval "$as_ac_Lib=no"
38526 fi
38527 rm -f conftest.err conftest.$ac_objext \
38528 conftest$ac_exeext conftest.$ac_ext
38529 LIBS=$ac_check_lib_save_LIBS
38530 fi
38531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38532 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38533 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38534 cat >>confdefs.h <<\_ACEOF
38535 #define HAVE_INET_ATON 1
38536 _ACEOF
38537
38538 fi
38539
38540
38541 fi
38542 done
38543
38544
38545 if test "x$INET_LINK" != "x"; then
38546 cat >>confdefs.h <<\_ACEOF
38547 #define HAVE_INET_ADDR 1
38548 _ACEOF
38549
38550 INET_LINK=" -l$INET_LINK"
38551 fi
38552
38553
38554 for wx_func in fdopen
38555 do
38556 echo "$as_me:$LINENO: checking for $wx_func" >&5
38557 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38558 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38559 echo $ECHO_N "(cached) $ECHO_C" >&6
38560 else
38561
38562 cat >conftest.$ac_ext <<_ACEOF
38563
38564 /* confdefs.h. */
38565 _ACEOF
38566 cat confdefs.h >>conftest.$ac_ext
38567 cat >>conftest.$ac_ext <<_ACEOF
38568 /* end confdefs.h. */
38569
38570
38571 $ac_includes_default
38572
38573 int
38574 main ()
38575 {
38576
38577 #ifndef $wx_func
38578 &$wx_func;
38579 #endif
38580
38581
38582 ;
38583 return 0;
38584 }
38585
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38589 (eval $ac_link) 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } &&
38596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38599 ac_status=$?
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38605 ac_status=$?
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 eval wx_cv_func_$wx_func=yes
38609 else
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.$ac_ext >&5
38612
38613 eval wx_cv_func_$wx_func=no
38614 fi
38615 rm -f conftest.err conftest.$ac_objext \
38616 conftest$ac_exeext conftest.$ac_ext
38617
38618 fi
38619 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38620 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38621
38622 if eval test \$wx_cv_func_$wx_func = yes
38623 then
38624 cat >>confdefs.h <<_ACEOF
38625 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38626 _ACEOF
38627
38628
38629 else
38630 :
38631
38632 fi
38633 done
38634
38635
38636 fi
38637
38638
38639
38640
38641 EXTRALIBS_ESD=
38642 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38643 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38644 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38646 else
38647 ac_check_lib_save_LIBS=$LIBS
38648 LIBS="-lesd $LIBS"
38649 cat >conftest.$ac_ext <<_ACEOF
38650 /* confdefs.h. */
38651 _ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38655
38656 /* Override any gcc2 internal prototype to avoid an error. */
38657 #ifdef __cplusplus
38658 extern "C"
38659 #endif
38660 /* We use char because int might match the return type of a gcc2
38661 builtin and then its argument prototype would still apply. */
38662 char esd_close ();
38663 int
38664 main ()
38665 {
38666 esd_close ();
38667 ;
38668 return 0;
38669 }
38670 _ACEOF
38671 rm -f conftest.$ac_objext conftest$ac_exeext
38672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38673 (eval $ac_link) 2>conftest.er1
38674 ac_status=$?
38675 grep -v '^ *+' conftest.er1 >conftest.err
38676 rm -f conftest.er1
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } &&
38680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38682 (eval $ac_try) 2>&5
38683 ac_status=$?
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); }; } &&
38686 { ac_try='test -s conftest$ac_exeext'
38687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38688 (eval $ac_try) 2>&5
38689 ac_status=$?
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; }; then
38692 ac_cv_lib_esd_esd_close=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 ac_cv_lib_esd_esd_close=no
38698 fi
38699 rm -f conftest.err conftest.$ac_objext \
38700 conftest$ac_exeext conftest.$ac_ext
38701 LIBS=$ac_check_lib_save_LIBS
38702 fi
38703 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38704 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38705 if test $ac_cv_lib_esd_esd_close = yes; then
38706
38707
38708 for ac_header in esd.h
38709 do
38710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38712 echo "$as_me:$LINENO: checking for $ac_header" >&5
38713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 fi
38717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38719 else
38720 # Is the header compilable?
38721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 $ac_includes_default
38730 #include <$ac_header>
38731 _ACEOF
38732 rm -f conftest.$ac_objext
38733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38734 (eval $ac_compile) 2>conftest.er1
38735 ac_status=$?
38736 grep -v '^ *+' conftest.er1 >conftest.err
38737 rm -f conftest.er1
38738 cat conftest.err >&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); } &&
38741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38744 ac_status=$?
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; } &&
38747 { ac_try='test -s conftest.$ac_objext'
38748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38749 (eval $ac_try) 2>&5
38750 ac_status=$?
38751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38752 (exit $ac_status); }; }; then
38753 ac_header_compiler=yes
38754 else
38755 echo "$as_me: failed program was:" >&5
38756 sed 's/^/| /' conftest.$ac_ext >&5
38757
38758 ac_header_compiler=no
38759 fi
38760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38762 echo "${ECHO_T}$ac_header_compiler" >&6
38763
38764 # Is the header present?
38765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38767 cat >conftest.$ac_ext <<_ACEOF
38768 /* confdefs.h. */
38769 _ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38773 #include <$ac_header>
38774 _ACEOF
38775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } >/dev/null; then
38783 if test -s conftest.err; then
38784 ac_cpp_err=$ac_c_preproc_warn_flag
38785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38786 else
38787 ac_cpp_err=
38788 fi
38789 else
38790 ac_cpp_err=yes
38791 fi
38792 if test -z "$ac_cpp_err"; then
38793 ac_header_preproc=yes
38794 else
38795 echo "$as_me: failed program was:" >&5
38796 sed 's/^/| /' conftest.$ac_ext >&5
38797
38798 ac_header_preproc=no
38799 fi
38800 rm -f conftest.err conftest.$ac_ext
38801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38802 echo "${ECHO_T}$ac_header_preproc" >&6
38803
38804 # So? What about this header?
38805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38806 yes:no: )
38807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38811 ac_header_preproc=yes
38812 ;;
38813 no:yes:* )
38814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38826 (
38827 cat <<\_ASBOX
38828 ## ----------------------------------------- ##
38829 ## Report this to wx-dev@lists.wxwidgets.org ##
38830 ## ----------------------------------------- ##
38831 _ASBOX
38832 ) |
38833 sed "s/^/$as_me: WARNING: /" >&2
38834 ;;
38835 esac
38836 echo "$as_me:$LINENO: checking for $ac_header" >&5
38837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38839 echo $ECHO_N "(cached) $ECHO_C" >&6
38840 else
38841 eval "$as_ac_Header=\$ac_header_preproc"
38842 fi
38843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38845
38846 fi
38847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38848 cat >>confdefs.h <<_ACEOF
38849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38850 _ACEOF
38851
38852 EXTRALIBS_ESD="-lesd"
38853
38854 fi
38855
38856 done
38857
38858
38859 fi
38860
38861
38862
38863 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38864 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38865 cat >conftest.$ac_ext <<_ACEOF
38866 /* confdefs.h. */
38867 _ACEOF
38868 cat confdefs.h >>conftest.$ac_ext
38869 cat >>conftest.$ac_ext <<_ACEOF
38870 /* end confdefs.h. */
38871 #ifdef __linux__
38872 #include <linux/cdrom.h>
38873 #else
38874 /* For Solaris */
38875 #include <sys/cdio.h>
38876 #endif
38877
38878 int
38879 main ()
38880 {
38881 struct cdrom_tocentry entry, old_entry;
38882 ;
38883 return 0;
38884 }
38885 _ACEOF
38886 rm -f conftest.$ac_objext
38887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38888 (eval $ac_compile) 2>conftest.er1
38889 ac_status=$?
38890 grep -v '^ *+' conftest.er1 >conftest.err
38891 rm -f conftest.er1
38892 cat conftest.err >&5
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } &&
38895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38897 (eval $ac_try) 2>&5
38898 ac_status=$?
38899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38900 (exit $ac_status); }; } &&
38901 { ac_try='test -s conftest.$ac_objext'
38902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38903 (eval $ac_try) 2>&5
38904 ac_status=$?
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); }; }; then
38907 echo "$as_me:$LINENO: result: yes" >&5
38908 echo "${ECHO_T}yes" >&6
38909 cat >>confdefs.h <<\_ACEOF
38910 #define HAVE_KNOWN_CDROM_INTERFACE 1
38911 _ACEOF
38912
38913 else
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.$ac_ext >&5
38916
38917 echo "$as_me:$LINENO: result: no" >&5
38918 echo "${ECHO_T}no" >&6
38919 fi
38920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38921
38922
38923 cat >confcache <<\_ACEOF
38924 # This file is a shell script that caches the results of configure
38925 # tests run on this system so they can be shared between configure
38926 # scripts and configure runs, see configure's option --config-cache.
38927 # It is not useful on other systems. If it contains results you don't
38928 # want to keep, you may remove or edit it.
38929 #
38930 # config.status only pays attention to the cache file if you give it
38931 # the --recheck option to rerun configure.
38932 #
38933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38935 # following values.
38936
38937 _ACEOF
38938
38939 # The following way of writing the cache mishandles newlines in values,
38940 # but we know of no workaround that is simple, portable, and efficient.
38941 # So, don't put newlines in cache variables' values.
38942 # Ultrix sh set writes to stderr and can't be redirected directly,
38943 # and sets the high bit in the cache file unless we assign to the vars.
38944 {
38945 (set) 2>&1 |
38946 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38947 *ac_space=\ *)
38948 # `set' does not quote correctly, so add quotes (double-quote
38949 # substitution turns \\\\ into \\, and sed turns \\ into \).
38950 sed -n \
38951 "s/'/'\\\\''/g;
38952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38953 ;;
38954 *)
38955 # `set' quotes correctly as required by POSIX, so do not add quotes.
38956 sed -n \
38957 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38958 ;;
38959 esac;
38960 } |
38961 sed '
38962 t clear
38963 : clear
38964 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38965 t end
38966 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38967 : end' >>confcache
38968 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38969 if test -w $cache_file; then
38970 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38971 cat confcache >$cache_file
38972 else
38973 echo "not updating unwritable cache $cache_file"
38974 fi
38975 fi
38976 rm -f confcache
38977
38978
38979 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38980
38981
38982 THREADS_LINK=
38983 THREADS_CFLAGS=
38984
38985 if test "$wxUSE_THREADS" = "yes" ; then
38986 if test "$USE_BEOS" = 1; then
38987 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38988 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38989 wxUSE_THREADS="no"
38990 fi
38991 fi
38992
38993 if test "$wxUSE_THREADS" = "yes" ; then
38994
38995
38996 THREAD_OPTS="-pthread"
38997 case "${host}" in
38998 *-*-solaris2* | *-*-sunos4* )
38999 if test "x$GCC" = "xyes"; then
39000 THREAD_OPTS="-pthreads $THREAD_OPTS"
39001 else
39002 THREAD_OPTS="-mt $THREAD_OPTS"
39003 fi
39004 ;;
39005 *-*-freebsd*)
39006 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39007 ;;
39008 *-*-darwin* | *-*-cygwin* )
39009 THREAD_OPTS=""
39010 ;;
39011 *-*-aix*)
39012 THREAD_OPTS="pthreads"
39013 ;;
39014 *-hp-hpux* )
39015 if test "x$GCC" = "xyes"; then
39016 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39017 THREAD_OPTS=""
39018 else
39019 THREAD_OPTS="-mt"
39020 fi
39021 ;;
39022
39023 *-*-irix* )
39024 if test "x$GCC" = "xyes"; then
39025 THREAD_OPTS=""
39026 fi
39027 ;;
39028
39029 *-*-*UnixWare*)
39030 if test "x$GCC" != "xyes"; then
39031 THREAD_OPTS="-Ethread"
39032 fi
39033 ;;
39034 esac
39035
39036 THREAD_OPTS="$THREAD_OPTS pthread none"
39037
39038 THREADS_OK=no
39039 for flag in $THREAD_OPTS; do
39040 case $flag in
39041 none)
39042 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39043 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39044 ;;
39045
39046 -*)
39047 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39048 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39049 THREADS_CFLAGS="$flag"
39050 ;;
39051
39052 *)
39053 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39054 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39055 THREADS_LINK="-l$flag"
39056 ;;
39057 esac
39058
39059 save_LIBS="$LIBS"
39060 save_CFLAGS="$CFLAGS"
39061 LIBS="$THREADS_LINK $LIBS"
39062 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39063
39064 cat >conftest.$ac_ext <<_ACEOF
39065 /* confdefs.h. */
39066 _ACEOF
39067 cat confdefs.h >>conftest.$ac_ext
39068 cat >>conftest.$ac_ext <<_ACEOF
39069 /* end confdefs.h. */
39070 #include <pthread.h>
39071 int
39072 main ()
39073 {
39074 pthread_create(0,0,0,0);
39075 ;
39076 return 0;
39077 }
39078 _ACEOF
39079 rm -f conftest.$ac_objext conftest$ac_exeext
39080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39081 (eval $ac_link) 2>conftest.er1
39082 ac_status=$?
39083 grep -v '^ *+' conftest.er1 >conftest.err
39084 rm -f conftest.er1
39085 cat conftest.err >&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } &&
39088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39091 ac_status=$?
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; } &&
39094 { ac_try='test -s conftest$ac_exeext'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39097 ac_status=$?
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; }; then
39100 THREADS_OK=yes
39101 else
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.$ac_ext >&5
39104
39105 fi
39106 rm -f conftest.err conftest.$ac_objext \
39107 conftest$ac_exeext conftest.$ac_ext
39108
39109 LIBS="$save_LIBS"
39110 CFLAGS="$save_CFLAGS"
39111
39112 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39113 echo "${ECHO_T}$THREADS_OK" >&6
39114 if test "x$THREADS_OK" = "xyes"; then
39115 break;
39116 fi
39117
39118 THREADS_LINK=""
39119 THREADS_CFLAGS=""
39120 done
39121
39122 if test "x$THREADS_OK" != "xyes"; then
39123 wxUSE_THREADS=no
39124 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39125 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39126 else
39127 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39128 LIBS="$THREADS_LINK $LIBS"
39129
39130 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39131 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39132 flag=no
39133 case "${host}" in
39134 *-aix*)
39135 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39136 flag="-D_THREAD_SAFE"
39137 ;;
39138 *-freebsd*)
39139 flag="-D_THREAD_SAFE"
39140 ;;
39141 *-hp-hpux* )
39142 flag="-D_REENTRANT"
39143 if test "x$GCC" != "xyes"; then
39144 flag="$flag -D_RWSTD_MULTI_THREAD"
39145 fi
39146 ;;
39147 *solaris* | alpha*-osf*)
39148 flag="-D_REENTRANT"
39149 ;;
39150 esac
39151 echo "$as_me:$LINENO: result: ${flag}" >&5
39152 echo "${ECHO_T}${flag}" >&6
39153 if test "x$flag" != xno; then
39154 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39155 fi
39156
39157 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39158 fi
39159 fi
39160
39161 if test "$wxUSE_THREADS" = "yes" ; then
39162
39163 for ac_func in thr_setconcurrency
39164 do
39165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39166 echo "$as_me:$LINENO: checking for $ac_func" >&5
39167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39168 if eval "test \"\${$as_ac_var+set}\" = set"; then
39169 echo $ECHO_N "(cached) $ECHO_C" >&6
39170 else
39171 cat >conftest.$ac_ext <<_ACEOF
39172 /* confdefs.h. */
39173 _ACEOF
39174 cat confdefs.h >>conftest.$ac_ext
39175 cat >>conftest.$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39179 #define $ac_func innocuous_$ac_func
39180
39181 /* System header to define __stub macros and hopefully few prototypes,
39182 which can conflict with char $ac_func (); below.
39183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39184 <limits.h> exists even on freestanding compilers. */
39185
39186 #ifdef __STDC__
39187 # include <limits.h>
39188 #else
39189 # include <assert.h>
39190 #endif
39191
39192 #undef $ac_func
39193
39194 /* Override any gcc2 internal prototype to avoid an error. */
39195 #ifdef __cplusplus
39196 extern "C"
39197 {
39198 #endif
39199 /* We use char because int might match the return type of a gcc2
39200 builtin and then its argument prototype would still apply. */
39201 char $ac_func ();
39202 /* The GNU C library defines this for functions which it implements
39203 to always fail with ENOSYS. Some functions are actually named
39204 something starting with __ and the normal name is an alias. */
39205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39206 choke me
39207 #else
39208 char (*f) () = $ac_func;
39209 #endif
39210 #ifdef __cplusplus
39211 }
39212 #endif
39213
39214 int
39215 main ()
39216 {
39217 return f != $ac_func;
39218 ;
39219 return 0;
39220 }
39221 _ACEOF
39222 rm -f conftest.$ac_objext conftest$ac_exeext
39223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39224 (eval $ac_link) 2>conftest.er1
39225 ac_status=$?
39226 grep -v '^ *+' conftest.er1 >conftest.err
39227 rm -f conftest.er1
39228 cat conftest.err >&5
39229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39230 (exit $ac_status); } &&
39231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39233 (eval $ac_try) 2>&5
39234 ac_status=$?
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); }; } &&
39237 { ac_try='test -s conftest$ac_exeext'
39238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39239 (eval $ac_try) 2>&5
39240 ac_status=$?
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; }; then
39243 eval "$as_ac_var=yes"
39244 else
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.$ac_ext >&5
39247
39248 eval "$as_ac_var=no"
39249 fi
39250 rm -f conftest.err conftest.$ac_objext \
39251 conftest$ac_exeext conftest.$ac_ext
39252 fi
39253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39255 if test `eval echo '${'$as_ac_var'}'` = yes; then
39256 cat >>confdefs.h <<_ACEOF
39257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39258 _ACEOF
39259
39260 fi
39261 done
39262
39263
39264 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39265 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39266 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39267 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 else
39269
39270 cat >conftest.$ac_ext <<_ACEOF
39271 /* confdefs.h. */
39272 _ACEOF
39273 cat confdefs.h >>conftest.$ac_ext
39274 cat >>conftest.$ac_ext <<_ACEOF
39275 /* end confdefs.h. */
39276 #include <pthread.h>
39277 void ThreadCleanupFunc(void *p);
39278
39279 int
39280 main ()
39281 {
39282
39283 void *p;
39284 pthread_cleanup_push(ThreadCleanupFunc, p);
39285 pthread_cleanup_pop(0);
39286
39287 ;
39288 return 0;
39289 }
39290 _ACEOF
39291 rm -f conftest.$ac_objext
39292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39293 (eval $ac_compile) 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } &&
39300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39302 (eval $ac_try) 2>&5
39303 ac_status=$?
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); }; } &&
39306 { ac_try='test -s conftest.$ac_objext'
39307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39308 (eval $ac_try) 2>&5
39309 ac_status=$?
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); }; }; then
39312
39313 wx_cv_func_pthread_cleanup=yes
39314
39315 else
39316 echo "$as_me: failed program was:" >&5
39317 sed 's/^/| /' conftest.$ac_ext >&5
39318
39319
39320 wx_cv_func_pthread_cleanup=no
39321
39322
39323 fi
39324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39325
39326 fi
39327 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39328 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39329 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define wxHAVE_PTHREAD_CLEANUP 1
39332 _ACEOF
39333
39334 fi
39335
39336
39337 for ac_header in sched.h
39338 do
39339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39341 echo "$as_me:$LINENO: checking for $ac_header" >&5
39342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39344 echo $ECHO_N "(cached) $ECHO_C" >&6
39345 fi
39346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39348 else
39349 # Is the header compilable?
39350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 $ac_includes_default
39359 #include <$ac_header>
39360 _ACEOF
39361 rm -f conftest.$ac_objext
39362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39363 (eval $ac_compile) 2>conftest.er1
39364 ac_status=$?
39365 grep -v '^ *+' conftest.er1 >conftest.err
39366 rm -f conftest.er1
39367 cat conftest.err >&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } &&
39370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39373 ac_status=$?
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; } &&
39376 { ac_try='test -s conftest.$ac_objext'
39377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39378 (eval $ac_try) 2>&5
39379 ac_status=$?
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); }; }; then
39382 ac_header_compiler=yes
39383 else
39384 echo "$as_me: failed program was:" >&5
39385 sed 's/^/| /' conftest.$ac_ext >&5
39386
39387 ac_header_compiler=no
39388 fi
39389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39391 echo "${ECHO_T}$ac_header_compiler" >&6
39392
39393 # Is the header present?
39394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39396 cat >conftest.$ac_ext <<_ACEOF
39397 /* confdefs.h. */
39398 _ACEOF
39399 cat confdefs.h >>conftest.$ac_ext
39400 cat >>conftest.$ac_ext <<_ACEOF
39401 /* end confdefs.h. */
39402 #include <$ac_header>
39403 _ACEOF
39404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39406 ac_status=$?
39407 grep -v '^ *+' conftest.er1 >conftest.err
39408 rm -f conftest.er1
39409 cat conftest.err >&5
39410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411 (exit $ac_status); } >/dev/null; then
39412 if test -s conftest.err; then
39413 ac_cpp_err=$ac_c_preproc_warn_flag
39414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39415 else
39416 ac_cpp_err=
39417 fi
39418 else
39419 ac_cpp_err=yes
39420 fi
39421 if test -z "$ac_cpp_err"; then
39422 ac_header_preproc=yes
39423 else
39424 echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39426
39427 ac_header_preproc=no
39428 fi
39429 rm -f conftest.err conftest.$ac_ext
39430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39431 echo "${ECHO_T}$ac_header_preproc" >&6
39432
39433 # So? What about this header?
39434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39435 yes:no: )
39436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39440 ac_header_preproc=yes
39441 ;;
39442 no:yes:* )
39443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39455 (
39456 cat <<\_ASBOX
39457 ## ----------------------------------------- ##
39458 ## Report this to wx-dev@lists.wxwidgets.org ##
39459 ## ----------------------------------------- ##
39460 _ASBOX
39461 ) |
39462 sed "s/^/$as_me: WARNING: /" >&2
39463 ;;
39464 esac
39465 echo "$as_me:$LINENO: checking for $ac_header" >&5
39466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 else
39470 eval "$as_ac_Header=\$ac_header_preproc"
39471 fi
39472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39474
39475 fi
39476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39477 cat >>confdefs.h <<_ACEOF
39478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39479 _ACEOF
39480
39481 fi
39482
39483 done
39484
39485 if test "$ac_cv_header_sched_h" = "yes"; then
39486 echo "$as_me:$LINENO: checking for sched_yield" >&5
39487 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39488 if test "${ac_cv_func_sched_yield+set}" = set; then
39489 echo $ECHO_N "(cached) $ECHO_C" >&6
39490 else
39491 cat >conftest.$ac_ext <<_ACEOF
39492 /* confdefs.h. */
39493 _ACEOF
39494 cat confdefs.h >>conftest.$ac_ext
39495 cat >>conftest.$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39497 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39499 #define sched_yield innocuous_sched_yield
39500
39501 /* System header to define __stub macros and hopefully few prototypes,
39502 which can conflict with char sched_yield (); below.
39503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39504 <limits.h> exists even on freestanding compilers. */
39505
39506 #ifdef __STDC__
39507 # include <limits.h>
39508 #else
39509 # include <assert.h>
39510 #endif
39511
39512 #undef sched_yield
39513
39514 /* Override any gcc2 internal prototype to avoid an error. */
39515 #ifdef __cplusplus
39516 extern "C"
39517 {
39518 #endif
39519 /* We use char because int might match the return type of a gcc2
39520 builtin and then its argument prototype would still apply. */
39521 char sched_yield ();
39522 /* The GNU C library defines this for functions which it implements
39523 to always fail with ENOSYS. Some functions are actually named
39524 something starting with __ and the normal name is an alias. */
39525 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39526 choke me
39527 #else
39528 char (*f) () = sched_yield;
39529 #endif
39530 #ifdef __cplusplus
39531 }
39532 #endif
39533
39534 int
39535 main ()
39536 {
39537 return f != sched_yield;
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 rm -f conftest.$ac_objext conftest$ac_exeext
39543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39544 (eval $ac_link) 2>conftest.er1
39545 ac_status=$?
39546 grep -v '^ *+' conftest.er1 >conftest.err
39547 rm -f conftest.er1
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } &&
39551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 ac_cv_func_sched_yield=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 ac_cv_func_sched_yield=no
39569 fi
39570 rm -f conftest.err conftest.$ac_objext \
39571 conftest$ac_exeext conftest.$ac_ext
39572 fi
39573 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39574 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39575 if test $ac_cv_func_sched_yield = yes; then
39576 cat >>confdefs.h <<\_ACEOF
39577 #define HAVE_SCHED_YIELD 1
39578 _ACEOF
39579
39580 else
39581
39582 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39583 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39584 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587 ac_check_lib_save_LIBS=$LIBS
39588 LIBS="-lposix4 $LIBS"
39589 cat >conftest.$ac_ext <<_ACEOF
39590 /* confdefs.h. */
39591 _ACEOF
39592 cat confdefs.h >>conftest.$ac_ext
39593 cat >>conftest.$ac_ext <<_ACEOF
39594 /* end confdefs.h. */
39595
39596 /* Override any gcc2 internal prototype to avoid an error. */
39597 #ifdef __cplusplus
39598 extern "C"
39599 #endif
39600 /* We use char because int might match the return type of a gcc2
39601 builtin and then its argument prototype would still apply. */
39602 char sched_yield ();
39603 int
39604 main ()
39605 {
39606 sched_yield ();
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 rm -f conftest.$ac_objext conftest$ac_exeext
39612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39613 (eval $ac_link) 2>conftest.er1
39614 ac_status=$?
39615 grep -v '^ *+' conftest.er1 >conftest.err
39616 rm -f conftest.er1
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622 (eval $ac_try) 2>&5
39623 ac_status=$?
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); }; } &&
39626 { ac_try='test -s conftest$ac_exeext'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39629 ac_status=$?
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; }; then
39632 ac_cv_lib_posix4_sched_yield=yes
39633 else
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39636
39637 ac_cv_lib_posix4_sched_yield=no
39638 fi
39639 rm -f conftest.err conftest.$ac_objext \
39640 conftest$ac_exeext conftest.$ac_ext
39641 LIBS=$ac_check_lib_save_LIBS
39642 fi
39643 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39644 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39645 if test $ac_cv_lib_posix4_sched_yield = yes; then
39646 cat >>confdefs.h <<\_ACEOF
39647 #define HAVE_SCHED_YIELD 1
39648 _ACEOF
39649 POSIX4_LINK=" -lposix4"
39650 else
39651 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39652 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39653
39654 fi
39655
39656
39657
39658 fi
39659
39660 fi
39661
39662 HAVE_PRIOR_FUNCS=0
39663 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39664 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39665 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 else
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39676 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39677
39678 /* System header to define __stub macros and hopefully few prototypes,
39679 which can conflict with char pthread_attr_getschedpolicy (); below.
39680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39681 <limits.h> exists even on freestanding compilers. */
39682
39683 #ifdef __STDC__
39684 # include <limits.h>
39685 #else
39686 # include <assert.h>
39687 #endif
39688
39689 #undef pthread_attr_getschedpolicy
39690
39691 /* Override any gcc2 internal prototype to avoid an error. */
39692 #ifdef __cplusplus
39693 extern "C"
39694 {
39695 #endif
39696 /* We use char because int might match the return type of a gcc2
39697 builtin and then its argument prototype would still apply. */
39698 char pthread_attr_getschedpolicy ();
39699 /* The GNU C library defines this for functions which it implements
39700 to always fail with ENOSYS. Some functions are actually named
39701 something starting with __ and the normal name is an alias. */
39702 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39703 choke me
39704 #else
39705 char (*f) () = pthread_attr_getschedpolicy;
39706 #endif
39707 #ifdef __cplusplus
39708 }
39709 #endif
39710
39711 int
39712 main ()
39713 {
39714 return f != pthread_attr_getschedpolicy;
39715 ;
39716 return 0;
39717 }
39718 _ACEOF
39719 rm -f conftest.$ac_objext conftest$ac_exeext
39720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39721 (eval $ac_link) 2>conftest.er1
39722 ac_status=$?
39723 grep -v '^ *+' conftest.er1 >conftest.err
39724 rm -f conftest.er1
39725 cat conftest.err >&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } &&
39728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39731 ac_status=$?
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try='test -s conftest$ac_exeext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_func_pthread_attr_getschedpolicy=yes
39741 else
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.$ac_ext >&5
39744
39745 ac_cv_func_pthread_attr_getschedpolicy=no
39746 fi
39747 rm -f conftest.err conftest.$ac_objext \
39748 conftest$ac_exeext conftest.$ac_ext
39749 fi
39750 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39751 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39752 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39753 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39754 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39755 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39767
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char pthread_attr_setschedparam (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39772
39773 #ifdef __STDC__
39774 # include <limits.h>
39775 #else
39776 # include <assert.h>
39777 #endif
39778
39779 #undef pthread_attr_setschedparam
39780
39781 /* Override any gcc2 internal prototype to avoid an error. */
39782 #ifdef __cplusplus
39783 extern "C"
39784 {
39785 #endif
39786 /* We use char because int might match the return type of a gcc2
39787 builtin and then its argument prototype would still apply. */
39788 char pthread_attr_setschedparam ();
39789 /* The GNU C library defines this for functions which it implements
39790 to always fail with ENOSYS. Some functions are actually named
39791 something starting with __ and the normal name is an alias. */
39792 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39793 choke me
39794 #else
39795 char (*f) () = pthread_attr_setschedparam;
39796 #endif
39797 #ifdef __cplusplus
39798 }
39799 #endif
39800
39801 int
39802 main ()
39803 {
39804 return f != pthread_attr_setschedparam;
39805 ;
39806 return 0;
39807 }
39808 _ACEOF
39809 rm -f conftest.$ac_objext conftest$ac_exeext
39810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39811 (eval $ac_link) 2>conftest.er1
39812 ac_status=$?
39813 grep -v '^ *+' conftest.er1 >conftest.err
39814 rm -f conftest.er1
39815 cat conftest.err >&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); } &&
39818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39821 ac_status=$?
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; } &&
39824 { ac_try='test -s conftest$ac_exeext'
39825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39826 (eval $ac_try) 2>&5
39827 ac_status=$?
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); }; }; then
39830 ac_cv_func_pthread_attr_setschedparam=yes
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39834
39835 ac_cv_func_pthread_attr_setschedparam=no
39836 fi
39837 rm -f conftest.err conftest.$ac_objext \
39838 conftest$ac_exeext conftest.$ac_ext
39839 fi
39840 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39841 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39842 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39843 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39844 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39845 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39848 cat >conftest.$ac_ext <<_ACEOF
39849 /* confdefs.h. */
39850 _ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39856 #define sched_get_priority_max innocuous_sched_get_priority_max
39857
39858 /* System header to define __stub macros and hopefully few prototypes,
39859 which can conflict with char sched_get_priority_max (); below.
39860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39861 <limits.h> exists even on freestanding compilers. */
39862
39863 #ifdef __STDC__
39864 # include <limits.h>
39865 #else
39866 # include <assert.h>
39867 #endif
39868
39869 #undef sched_get_priority_max
39870
39871 /* Override any gcc2 internal prototype to avoid an error. */
39872 #ifdef __cplusplus
39873 extern "C"
39874 {
39875 #endif
39876 /* We use char because int might match the return type of a gcc2
39877 builtin and then its argument prototype would still apply. */
39878 char sched_get_priority_max ();
39879 /* The GNU C library defines this for functions which it implements
39880 to always fail with ENOSYS. Some functions are actually named
39881 something starting with __ and the normal name is an alias. */
39882 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39883 choke me
39884 #else
39885 char (*f) () = sched_get_priority_max;
39886 #endif
39887 #ifdef __cplusplus
39888 }
39889 #endif
39890
39891 int
39892 main ()
39893 {
39894 return f != sched_get_priority_max;
39895 ;
39896 return 0;
39897 }
39898 _ACEOF
39899 rm -f conftest.$ac_objext conftest$ac_exeext
39900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39901 (eval $ac_link) 2>conftest.er1
39902 ac_status=$?
39903 grep -v '^ *+' conftest.er1 >conftest.err
39904 rm -f conftest.er1
39905 cat conftest.err >&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } &&
39908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39917 ac_status=$?
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 ac_cv_func_sched_get_priority_max=yes
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 ac_cv_func_sched_get_priority_max=no
39926 fi
39927 rm -f conftest.err conftest.$ac_objext \
39928 conftest$ac_exeext conftest.$ac_ext
39929 fi
39930 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39931 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39932 if test $ac_cv_func_sched_get_priority_max = yes; then
39933 HAVE_PRIOR_FUNCS=1
39934 else
39935 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39936 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39937 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 else
39940 ac_check_lib_save_LIBS=$LIBS
39941 LIBS="-lposix4 $LIBS"
39942 cat >conftest.$ac_ext <<_ACEOF
39943 /* confdefs.h. */
39944 _ACEOF
39945 cat confdefs.h >>conftest.$ac_ext
39946 cat >>conftest.$ac_ext <<_ACEOF
39947 /* end confdefs.h. */
39948
39949 /* Override any gcc2 internal prototype to avoid an error. */
39950 #ifdef __cplusplus
39951 extern "C"
39952 #endif
39953 /* We use char because int might match the return type of a gcc2
39954 builtin and then its argument prototype would still apply. */
39955 char sched_get_priority_max ();
39956 int
39957 main ()
39958 {
39959 sched_get_priority_max ();
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 rm -f conftest.$ac_objext conftest$ac_exeext
39965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39966 (eval $ac_link) 2>conftest.er1
39967 ac_status=$?
39968 grep -v '^ *+' conftest.er1 >conftest.err
39969 rm -f conftest.er1
39970 cat conftest.err >&5
39971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39972 (exit $ac_status); } &&
39973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39975 (eval $ac_try) 2>&5
39976 ac_status=$?
39977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978 (exit $ac_status); }; } &&
39979 { ac_try='test -s conftest$ac_exeext'
39980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39981 (eval $ac_try) 2>&5
39982 ac_status=$?
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); }; }; then
39985 ac_cv_lib_posix4_sched_get_priority_max=yes
39986 else
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39989
39990 ac_cv_lib_posix4_sched_get_priority_max=no
39991 fi
39992 rm -f conftest.err conftest.$ac_objext \
39993 conftest$ac_exeext conftest.$ac_ext
39994 LIBS=$ac_check_lib_save_LIBS
39995 fi
39996 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39997 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39998 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39999
40000 HAVE_PRIOR_FUNCS=1
40001 POSIX4_LINK=" -lposix4"
40002
40003 fi
40004
40005
40006 fi
40007
40008
40009 fi
40010
40011
40012 fi
40013
40014
40015 if test "$HAVE_PRIOR_FUNCS" = 1; then
40016 cat >>confdefs.h <<\_ACEOF
40017 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40018 _ACEOF
40019
40020 else
40021 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40022 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40023 fi
40024
40025 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40026 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40027 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40028 echo $ECHO_N "(cached) $ECHO_C" >&6
40029 else
40030 cat >conftest.$ac_ext <<_ACEOF
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40038 #define pthread_cancel innocuous_pthread_cancel
40039
40040 /* System header to define __stub macros and hopefully few prototypes,
40041 which can conflict with char pthread_cancel (); below.
40042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40043 <limits.h> exists even on freestanding compilers. */
40044
40045 #ifdef __STDC__
40046 # include <limits.h>
40047 #else
40048 # include <assert.h>
40049 #endif
40050
40051 #undef pthread_cancel
40052
40053 /* Override any gcc2 internal prototype to avoid an error. */
40054 #ifdef __cplusplus
40055 extern "C"
40056 {
40057 #endif
40058 /* We use char because int might match the return type of a gcc2
40059 builtin and then its argument prototype would still apply. */
40060 char pthread_cancel ();
40061 /* The GNU C library defines this for functions which it implements
40062 to always fail with ENOSYS. Some functions are actually named
40063 something starting with __ and the normal name is an alias. */
40064 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40065 choke me
40066 #else
40067 char (*f) () = pthread_cancel;
40068 #endif
40069 #ifdef __cplusplus
40070 }
40071 #endif
40072
40073 int
40074 main ()
40075 {
40076 return f != pthread_cancel;
40077 ;
40078 return 0;
40079 }
40080 _ACEOF
40081 rm -f conftest.$ac_objext conftest$ac_exeext
40082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40083 (eval $ac_link) 2>conftest.er1
40084 ac_status=$?
40085 grep -v '^ *+' conftest.er1 >conftest.err
40086 rm -f conftest.er1
40087 cat conftest.err >&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); } &&
40090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40093 ac_status=$?
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; } &&
40096 { ac_try='test -s conftest$ac_exeext'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; }; then
40102 ac_cv_func_pthread_cancel=yes
40103 else
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40106
40107 ac_cv_func_pthread_cancel=no
40108 fi
40109 rm -f conftest.err conftest.$ac_objext \
40110 conftest$ac_exeext conftest.$ac_ext
40111 fi
40112 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40113 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40114 if test $ac_cv_func_pthread_cancel = yes; then
40115 cat >>confdefs.h <<\_ACEOF
40116 #define HAVE_PTHREAD_CANCEL 1
40117 _ACEOF
40118
40119 else
40120 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40121 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40122 fi
40123
40124
40125 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40126 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40127 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 else
40130 cat >conftest.$ac_ext <<_ACEOF
40131 /* confdefs.h. */
40132 _ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40138 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40139
40140 /* System header to define __stub macros and hopefully few prototypes,
40141 which can conflict with char pthread_attr_setstacksize (); below.
40142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40143 <limits.h> exists even on freestanding compilers. */
40144
40145 #ifdef __STDC__
40146 # include <limits.h>
40147 #else
40148 # include <assert.h>
40149 #endif
40150
40151 #undef pthread_attr_setstacksize
40152
40153 /* Override any gcc2 internal prototype to avoid an error. */
40154 #ifdef __cplusplus
40155 extern "C"
40156 {
40157 #endif
40158 /* We use char because int might match the return type of a gcc2
40159 builtin and then its argument prototype would still apply. */
40160 char pthread_attr_setstacksize ();
40161 /* The GNU C library defines this for functions which it implements
40162 to always fail with ENOSYS. Some functions are actually named
40163 something starting with __ and the normal name is an alias. */
40164 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40165 choke me
40166 #else
40167 char (*f) () = pthread_attr_setstacksize;
40168 #endif
40169 #ifdef __cplusplus
40170 }
40171 #endif
40172
40173 int
40174 main ()
40175 {
40176 return f != pthread_attr_setstacksize;
40177 ;
40178 return 0;
40179 }
40180 _ACEOF
40181 rm -f conftest.$ac_objext conftest$ac_exeext
40182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40183 (eval $ac_link) 2>conftest.er1
40184 ac_status=$?
40185 grep -v '^ *+' conftest.er1 >conftest.err
40186 rm -f conftest.er1
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40193 ac_status=$?
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try='test -s conftest$ac_exeext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 ac_cv_func_pthread_attr_setstacksize=yes
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40206
40207 ac_cv_func_pthread_attr_setstacksize=no
40208 fi
40209 rm -f conftest.err conftest.$ac_objext \
40210 conftest$ac_exeext conftest.$ac_ext
40211 fi
40212 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40213 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40214 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40215 cat >>confdefs.h <<\_ACEOF
40216 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40217 _ACEOF
40218
40219 fi
40220
40221
40222
40223 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40224 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40225 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40227 else
40228
40229 cat >conftest.$ac_ext <<_ACEOF
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <pthread.h>
40236 int
40237 main ()
40238 {
40239
40240 pthread_mutexattr_t attr;
40241 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40242
40243 ;
40244 return 0;
40245 }
40246 _ACEOF
40247 rm -f conftest.$ac_objext
40248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40249 (eval $ac_compile) 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } &&
40256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40259 ac_status=$?
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; } &&
40262 { ac_try='test -s conftest.$ac_objext'
40263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40264 (eval $ac_try) 2>&5
40265 ac_status=$?
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); }; }; then
40268 wx_cv_type_pthread_mutexattr_t=yes
40269 else
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.$ac_ext >&5
40272
40273 wx_cv_type_pthread_mutexattr_t=no
40274
40275 fi
40276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40277
40278 fi
40279 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40280 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40281
40282 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40283 cat >>confdefs.h <<\_ACEOF
40284 #define HAVE_PTHREAD_MUTEXATTR_T 1
40285 _ACEOF
40286
40287
40288 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40289 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40290 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40291 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 else
40293
40294 cat >conftest.$ac_ext <<_ACEOF
40295 /* confdefs.h. */
40296 _ACEOF
40297 cat confdefs.h >>conftest.$ac_ext
40298 cat >>conftest.$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40300 #include <pthread.h>
40301 int
40302 main ()
40303 {
40304
40305 pthread_mutexattr_t attr;
40306 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40307
40308 ;
40309 return 0;
40310 }
40311 _ACEOF
40312 rm -f conftest.$ac_objext
40313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40314 (eval $ac_compile) 2>conftest.er1
40315 ac_status=$?
40316 grep -v '^ *+' conftest.er1 >conftest.err
40317 rm -f conftest.er1
40318 cat conftest.err >&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); } &&
40321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; } &&
40327 { ac_try='test -s conftest.$ac_objext'
40328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40329 (eval $ac_try) 2>&5
40330 ac_status=$?
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); }; }; then
40333 wx_cv_func_pthread_mutexattr_settype_decl=yes
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338 wx_cv_func_pthread_mutexattr_settype_decl=no
40339
40340 fi
40341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40342
40343 fi
40344 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40345 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40346 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40347 cat >>confdefs.h <<\_ACEOF
40348 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40349 _ACEOF
40350
40351 fi
40352 else
40353 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40354 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40355 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40357 else
40358
40359 cat >conftest.$ac_ext <<_ACEOF
40360 /* confdefs.h. */
40361 _ACEOF
40362 cat confdefs.h >>conftest.$ac_ext
40363 cat >>conftest.$ac_ext <<_ACEOF
40364 /* end confdefs.h. */
40365 #include <pthread.h>
40366 int
40367 main ()
40368 {
40369
40370 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40371
40372 ;
40373 return 0;
40374 }
40375 _ACEOF
40376 rm -f conftest.$ac_objext
40377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40378 (eval $ac_compile) 2>conftest.er1
40379 ac_status=$?
40380 grep -v '^ *+' conftest.er1 >conftest.err
40381 rm -f conftest.er1
40382 cat conftest.err >&5
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); } &&
40385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40387 (eval $ac_try) 2>&5
40388 ac_status=$?
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); }; } &&
40391 { ac_try='test -s conftest.$ac_objext'
40392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40393 (eval $ac_try) 2>&5
40394 ac_status=$?
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); }; }; then
40397
40398 wx_cv_type_pthread_rec_mutex_init=yes
40399
40400 else
40401 echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.$ac_ext >&5
40403
40404
40405 wx_cv_type_pthread_rec_mutex_init=no
40406
40407
40408 fi
40409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40410
40411 fi
40412 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40413 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40414 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40415 cat >>confdefs.h <<\_ACEOF
40416 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40417 _ACEOF
40418
40419 else
40420 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40421 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40422 fi
40423 fi
40424 fi
40425
40426 else
40427 if test "$wxUSE_THREADS" = "yes" ; then
40428 case "${host}" in
40429 *-*-mingw32* )
40430 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40431 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40432 if test "${wx_cv_cflags_mthread+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435
40436 CFLAGS_OLD="$CFLAGS"
40437 CFLAGS="-mthreads $CFLAGS"
40438 cat >conftest.$ac_ext <<_ACEOF
40439 /* confdefs.h. */
40440 _ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40444
40445 int
40446 main ()
40447 {
40448
40449 ;
40450 return 0;
40451 }
40452 _ACEOF
40453 rm -f conftest.$ac_objext
40454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40455 (eval $ac_compile) 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } &&
40462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40464 (eval $ac_try) 2>&5
40465 ac_status=$?
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); }; } &&
40468 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
40474 wx_cv_cflags_mthread=yes
40475 else
40476 echo "$as_me: failed program was:" >&5
40477 sed 's/^/| /' conftest.$ac_ext >&5
40478
40479 wx_cv_cflags_mthread=no
40480
40481 fi
40482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40483
40484
40485 fi
40486 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40487 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40488
40489 if test "$wx_cv_cflags_mthread" = "yes"; then
40490 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40491 LDFLAGS="$LDFLAGS -mthreads"
40492 else
40493 CFLAGS="$CFLAGS_OLD"
40494 fi
40495 ;;
40496 *-pc-os2*emx )
40497 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40498 LDFLAGS="$LDFLAGS -Zmt"
40499 ;;
40500 esac
40501 fi
40502 fi
40503
40504 echo "$as_me:$LINENO: checking for localtime_r" >&5
40505 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40506 if test "${ac_cv_func_localtime_r+set}" = set; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 else
40509 cat >conftest.$ac_ext <<_ACEOF
40510 /* confdefs.h. */
40511 _ACEOF
40512 cat confdefs.h >>conftest.$ac_ext
40513 cat >>conftest.$ac_ext <<_ACEOF
40514 /* end confdefs.h. */
40515 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40517 #define localtime_r innocuous_localtime_r
40518
40519 /* System header to define __stub macros and hopefully few prototypes,
40520 which can conflict with char localtime_r (); below.
40521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40522 <limits.h> exists even on freestanding compilers. */
40523
40524 #ifdef __STDC__
40525 # include <limits.h>
40526 #else
40527 # include <assert.h>
40528 #endif
40529
40530 #undef localtime_r
40531
40532 /* Override any gcc2 internal prototype to avoid an error. */
40533 #ifdef __cplusplus
40534 extern "C"
40535 {
40536 #endif
40537 /* We use char because int might match the return type of a gcc2
40538 builtin and then its argument prototype would still apply. */
40539 char localtime_r ();
40540 /* The GNU C library defines this for functions which it implements
40541 to always fail with ENOSYS. Some functions are actually named
40542 something starting with __ and the normal name is an alias. */
40543 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40544 choke me
40545 #else
40546 char (*f) () = localtime_r;
40547 #endif
40548 #ifdef __cplusplus
40549 }
40550 #endif
40551
40552 int
40553 main ()
40554 {
40555 return f != localtime_r;
40556 ;
40557 return 0;
40558 }
40559 _ACEOF
40560 rm -f conftest.$ac_objext conftest$ac_exeext
40561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40562 (eval $ac_link) 2>conftest.er1
40563 ac_status=$?
40564 grep -v '^ *+' conftest.er1 >conftest.err
40565 rm -f conftest.er1
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } &&
40569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40571 (eval $ac_try) 2>&5
40572 ac_status=$?
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); }; } &&
40575 { ac_try='test -s conftest$ac_exeext'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40578 ac_status=$?
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; }; then
40581 ac_cv_func_localtime_r=yes
40582 else
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.$ac_ext >&5
40585
40586 ac_cv_func_localtime_r=no
40587 fi
40588 rm -f conftest.err conftest.$ac_objext \
40589 conftest$ac_exeext conftest.$ac_ext
40590 fi
40591 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40592 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40593 if test $ac_cv_func_localtime_r = yes; then
40594 cat >>confdefs.h <<\_ACEOF
40595 #define HAVE_LOCALTIME_R 1
40596 _ACEOF
40597
40598 fi
40599
40600 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40601 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40602 if test "${ac_cv_func_gmtime_r+set}" = set; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 else
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define gmtime_r innocuous_gmtime_r
40614
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char gmtime_r (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40619
40620 #ifdef __STDC__
40621 # include <limits.h>
40622 #else
40623 # include <assert.h>
40624 #endif
40625
40626 #undef gmtime_r
40627
40628 /* Override any gcc2 internal prototype to avoid an error. */
40629 #ifdef __cplusplus
40630 extern "C"
40631 {
40632 #endif
40633 /* We use char because int might match the return type of a gcc2
40634 builtin and then its argument prototype would still apply. */
40635 char gmtime_r ();
40636 /* The GNU C library defines this for functions which it implements
40637 to always fail with ENOSYS. Some functions are actually named
40638 something starting with __ and the normal name is an alias. */
40639 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40640 choke me
40641 #else
40642 char (*f) () = gmtime_r;
40643 #endif
40644 #ifdef __cplusplus
40645 }
40646 #endif
40647
40648 int
40649 main ()
40650 {
40651 return f != gmtime_r;
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 rm -f conftest.$ac_objext conftest$ac_exeext
40657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40658 (eval $ac_link) 2>conftest.er1
40659 ac_status=$?
40660 grep -v '^ *+' conftest.er1 >conftest.err
40661 rm -f conftest.er1
40662 cat conftest.err >&5
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); } &&
40665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667 (eval $ac_try) 2>&5
40668 ac_status=$?
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); }; } &&
40671 { ac_try='test -s conftest$ac_exeext'
40672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673 (eval $ac_try) 2>&5
40674 ac_status=$?
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); }; }; then
40677 ac_cv_func_gmtime_r=yes
40678 else
40679 echo "$as_me: failed program was:" >&5
40680 sed 's/^/| /' conftest.$ac_ext >&5
40681
40682 ac_cv_func_gmtime_r=no
40683 fi
40684 rm -f conftest.err conftest.$ac_objext \
40685 conftest$ac_exeext conftest.$ac_ext
40686 fi
40687 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40688 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40689 if test $ac_cv_func_gmtime_r = yes; then
40690 cat >>confdefs.h <<\_ACEOF
40691 #define HAVE_GMTIME_R 1
40692 _ACEOF
40693
40694 fi
40695
40696 echo "$as_me:$LINENO: checking for readdir_r" >&5
40697 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40698 if test "${ac_cv_func_readdir_r+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40709 #define readdir_r innocuous_readdir_r
40710
40711 /* System header to define __stub macros and hopefully few prototypes,
40712 which can conflict with char readdir_r (); below.
40713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40714 <limits.h> exists even on freestanding compilers. */
40715
40716 #ifdef __STDC__
40717 # include <limits.h>
40718 #else
40719 # include <assert.h>
40720 #endif
40721
40722 #undef readdir_r
40723
40724 /* Override any gcc2 internal prototype to avoid an error. */
40725 #ifdef __cplusplus
40726 extern "C"
40727 {
40728 #endif
40729 /* We use char because int might match the return type of a gcc2
40730 builtin and then its argument prototype would still apply. */
40731 char readdir_r ();
40732 /* The GNU C library defines this for functions which it implements
40733 to always fail with ENOSYS. Some functions are actually named
40734 something starting with __ and the normal name is an alias. */
40735 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40736 choke me
40737 #else
40738 char (*f) () = readdir_r;
40739 #endif
40740 #ifdef __cplusplus
40741 }
40742 #endif
40743
40744 int
40745 main ()
40746 {
40747 return f != readdir_r;
40748 ;
40749 return 0;
40750 }
40751 _ACEOF
40752 rm -f conftest.$ac_objext conftest$ac_exeext
40753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40754 (eval $ac_link) 2>conftest.er1
40755 ac_status=$?
40756 grep -v '^ *+' conftest.er1 >conftest.err
40757 rm -f conftest.er1
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } &&
40761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40764 ac_status=$?
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; } &&
40767 { ac_try='test -s conftest$ac_exeext'
40768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40769 (eval $ac_try) 2>&5
40770 ac_status=$?
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); }; }; then
40773 ac_cv_func_readdir_r=yes
40774 else
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40777
40778 ac_cv_func_readdir_r=no
40779 fi
40780 rm -f conftest.err conftest.$ac_objext \
40781 conftest$ac_exeext conftest.$ac_ext
40782 fi
40783 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40784 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40785 if test $ac_cv_func_readdir_r = yes; then
40786 cat >>confdefs.h <<\_ACEOF
40787 #define HAVE_READDIR_R 1
40788 _ACEOF
40789
40790 fi
40791
40792
40793
40794
40795 ac_ext=c
40796 ac_cpp='$CPP $CPPFLAGS'
40797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40800
40801 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40802 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40803
40804 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 else
40807
40808
40809 ################################################################
40810
40811 ac_cv_func_which_gethostbyname_r=unknown
40812
40813 #
40814 # ONE ARGUMENT (sanity check)
40815 #
40816
40817 # This should fail, as there is no variant of gethostbyname_r() that takes
40818 # a single argument. If it actually compiles, then we can assume that
40819 # netdb.h is not declaring the function, and the compiler is thereby
40820 # assuming an implicit prototype. In which case, we're out of luck.
40821 #
40822 cat >conftest.$ac_ext <<_ACEOF
40823 /* confdefs.h. */
40824 _ACEOF
40825 cat confdefs.h >>conftest.$ac_ext
40826 cat >>conftest.$ac_ext <<_ACEOF
40827 /* end confdefs.h. */
40828 #include <netdb.h>
40829 int
40830 main ()
40831 {
40832
40833 char *name = "www.gnu.org";
40834 (void)gethostbyname_r(name) /* ; */
40835
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 rm -f conftest.$ac_objext
40841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40842 (eval $ac_compile) 2>conftest.er1
40843 ac_status=$?
40844 grep -v '^ *+' conftest.er1 >conftest.err
40845 rm -f conftest.er1
40846 cat conftest.err >&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } &&
40849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851 (eval $ac_try) 2>&5
40852 ac_status=$?
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); }; } &&
40855 { ac_try='test -s conftest.$ac_objext'
40856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40857 (eval $ac_try) 2>&5
40858 ac_status=$?
40859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860 (exit $ac_status); }; }; then
40861 ac_cv_func_which_gethostbyname_r=no
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 fi
40867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40868
40869 #
40870 # SIX ARGUMENTS
40871 # (e.g. Linux)
40872 #
40873
40874 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40875
40876 cat >conftest.$ac_ext <<_ACEOF
40877 /* confdefs.h. */
40878 _ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40882 #include <netdb.h>
40883 int
40884 main ()
40885 {
40886
40887 char *name = "www.gnu.org";
40888 struct hostent ret, *retp;
40889 char buf[1024];
40890 int buflen = 1024;
40891 int my_h_errno;
40892 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40893
40894 ;
40895 return 0;
40896 }
40897 _ACEOF
40898 rm -f conftest.$ac_objext
40899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40900 (eval $ac_compile) 2>conftest.er1
40901 ac_status=$?
40902 grep -v '^ *+' conftest.er1 >conftest.err
40903 rm -f conftest.er1
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } &&
40907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909 (eval $ac_try) 2>&5
40910 ac_status=$?
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; } &&
40913 { ac_try='test -s conftest.$ac_objext'
40914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40915 (eval $ac_try) 2>&5
40916 ac_status=$?
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); }; }; then
40919 ac_cv_func_which_gethostbyname_r=six
40920 else
40921 echo "$as_me: failed program was:" >&5
40922 sed 's/^/| /' conftest.$ac_ext >&5
40923
40924 fi
40925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40926
40927 fi
40928
40929 #
40930 # FIVE ARGUMENTS
40931 # (e.g. Solaris)
40932 #
40933
40934 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40935
40936 cat >conftest.$ac_ext <<_ACEOF
40937 /* confdefs.h. */
40938 _ACEOF
40939 cat confdefs.h >>conftest.$ac_ext
40940 cat >>conftest.$ac_ext <<_ACEOF
40941 /* end confdefs.h. */
40942 #include <netdb.h>
40943 int
40944 main ()
40945 {
40946
40947 char *name = "www.gnu.org";
40948 struct hostent ret;
40949 char buf[1024];
40950 int buflen = 1024;
40951 int my_h_errno;
40952 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40953
40954 ;
40955 return 0;
40956 }
40957 _ACEOF
40958 rm -f conftest.$ac_objext
40959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40960 (eval $ac_compile) 2>conftest.er1
40961 ac_status=$?
40962 grep -v '^ *+' conftest.er1 >conftest.err
40963 rm -f conftest.er1
40964 cat conftest.err >&5
40965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40966 (exit $ac_status); } &&
40967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40969 (eval $ac_try) 2>&5
40970 ac_status=$?
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); }; } &&
40973 { ac_try='test -s conftest.$ac_objext'
40974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40975 (eval $ac_try) 2>&5
40976 ac_status=$?
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); }; }; then
40979 ac_cv_func_which_gethostbyname_r=five
40980 else
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.$ac_ext >&5
40983
40984 fi
40985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40986
40987 fi
40988
40989 #
40990 # THREE ARGUMENTS
40991 # (e.g. AIX, HP-UX, Tru64)
40992 #
40993
40994 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40995
40996 cat >conftest.$ac_ext <<_ACEOF
40997 /* confdefs.h. */
40998 _ACEOF
40999 cat confdefs.h >>conftest.$ac_ext
41000 cat >>conftest.$ac_ext <<_ACEOF
41001 /* end confdefs.h. */
41002 #include <netdb.h>
41003 int
41004 main ()
41005 {
41006
41007 char *name = "www.gnu.org";
41008 struct hostent ret;
41009 struct hostent_data data;
41010 (void)gethostbyname_r(name, &ret, &data) /* ; */
41011
41012 ;
41013 return 0;
41014 }
41015 _ACEOF
41016 rm -f conftest.$ac_objext
41017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41018 (eval $ac_compile) 2>conftest.er1
41019 ac_status=$?
41020 grep -v '^ *+' conftest.er1 >conftest.err
41021 rm -f conftest.er1
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } &&
41025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41027 (eval $ac_try) 2>&5
41028 ac_status=$?
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); }; } &&
41031 { ac_try='test -s conftest.$ac_objext'
41032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41033 (eval $ac_try) 2>&5
41034 ac_status=$?
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); }; }; then
41037 ac_cv_func_which_gethostbyname_r=three
41038 else
41039 echo "$as_me: failed program was:" >&5
41040 sed 's/^/| /' conftest.$ac_ext >&5
41041
41042 fi
41043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41044
41045 fi
41046
41047 ################################################################
41048
41049
41050 fi
41051
41052 case "$ac_cv_func_which_gethostbyname_r" in
41053 three)
41054 echo "$as_me:$LINENO: result: three" >&5
41055 echo "${ECHO_T}three" >&6
41056 cat >>confdefs.h <<\_ACEOF
41057 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41058 _ACEOF
41059
41060 ;;
41061
41062 five)
41063 echo "$as_me:$LINENO: result: five" >&5
41064 echo "${ECHO_T}five" >&6
41065 cat >>confdefs.h <<\_ACEOF
41066 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41067 _ACEOF
41068
41069 ;;
41070
41071 six)
41072 echo "$as_me:$LINENO: result: six" >&5
41073 echo "${ECHO_T}six" >&6
41074 cat >>confdefs.h <<\_ACEOF
41075 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41076 _ACEOF
41077
41078 ;;
41079
41080 no)
41081 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41082 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41083 ;;
41084
41085 unknown)
41086 echo "$as_me:$LINENO: result: can't tell" >&5
41087 echo "${ECHO_T}can't tell" >&6
41088 ;;
41089
41090 *)
41091 { { echo "$as_me:$LINENO: error: internal error" >&5
41092 echo "$as_me: error: internal error" >&2;}
41093 { (exit 1); exit 1; }; }
41094 ;;
41095 esac
41096
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41102
41103
41104
41105 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41106 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41107 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41108 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41109 if test "${ac_cv_func_gethostbyname+set}" = set; then
41110 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 else
41112 cat >conftest.$ac_ext <<_ACEOF
41113 /* confdefs.h. */
41114 _ACEOF
41115 cat confdefs.h >>conftest.$ac_ext
41116 cat >>conftest.$ac_ext <<_ACEOF
41117 /* end confdefs.h. */
41118 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41120 #define gethostbyname innocuous_gethostbyname
41121
41122 /* System header to define __stub macros and hopefully few prototypes,
41123 which can conflict with char gethostbyname (); below.
41124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41125 <limits.h> exists even on freestanding compilers. */
41126
41127 #ifdef __STDC__
41128 # include <limits.h>
41129 #else
41130 # include <assert.h>
41131 #endif
41132
41133 #undef gethostbyname
41134
41135 /* Override any gcc2 internal prototype to avoid an error. */
41136 #ifdef __cplusplus
41137 extern "C"
41138 {
41139 #endif
41140 /* We use char because int might match the return type of a gcc2
41141 builtin and then its argument prototype would still apply. */
41142 char gethostbyname ();
41143 /* The GNU C library defines this for functions which it implements
41144 to always fail with ENOSYS. Some functions are actually named
41145 something starting with __ and the normal name is an alias. */
41146 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41147 choke me
41148 #else
41149 char (*f) () = gethostbyname;
41150 #endif
41151 #ifdef __cplusplus
41152 }
41153 #endif
41154
41155 int
41156 main ()
41157 {
41158 return f != gethostbyname;
41159 ;
41160 return 0;
41161 }
41162 _ACEOF
41163 rm -f conftest.$ac_objext conftest$ac_exeext
41164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41165 (eval $ac_link) 2>conftest.er1
41166 ac_status=$?
41167 grep -v '^ *+' conftest.er1 >conftest.err
41168 rm -f conftest.er1
41169 cat conftest.err >&5
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); } &&
41172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41174 (eval $ac_try) 2>&5
41175 ac_status=$?
41176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41177 (exit $ac_status); }; } &&
41178 { ac_try='test -s conftest$ac_exeext'
41179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41180 (eval $ac_try) 2>&5
41181 ac_status=$?
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; }; then
41184 ac_cv_func_gethostbyname=yes
41185 else
41186 echo "$as_me: failed program was:" >&5
41187 sed 's/^/| /' conftest.$ac_ext >&5
41188
41189 ac_cv_func_gethostbyname=no
41190 fi
41191 rm -f conftest.err conftest.$ac_objext \
41192 conftest$ac_exeext conftest.$ac_ext
41193 fi
41194 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41195 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41196 if test $ac_cv_func_gethostbyname = yes; then
41197 cat >>confdefs.h <<\_ACEOF
41198 #define HAVE_GETHOSTBYNAME 1
41199 _ACEOF
41200
41201 fi
41202
41203 fi
41204
41205 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41206 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41207 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41208 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 else
41210
41211 ac_ext=cc
41212 ac_cpp='$CXXCPP $CPPFLAGS'
41213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41216
41217
41218 cat >conftest.$ac_ext <<_ACEOF
41219 /* confdefs.h. */
41220 _ACEOF
41221 cat confdefs.h >>conftest.$ac_ext
41222 cat >>conftest.$ac_ext <<_ACEOF
41223 /* end confdefs.h. */
41224 #include <netdb.h>
41225 int
41226 main ()
41227 {
41228
41229 char *name;
41230 char *proto;
41231 struct servent *se, *res;
41232 char buffer[2048];
41233 int buflen = 2048;
41234 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41235
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 rm -f conftest.$ac_objext
41241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41242 (eval $ac_compile) 2>conftest.er1
41243 ac_status=$?
41244 grep -v '^ *+' conftest.er1 >conftest.err
41245 rm -f conftest.er1
41246 cat conftest.err >&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); } &&
41249 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41251 (eval $ac_try) 2>&5
41252 ac_status=$?
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); }; } &&
41255 { ac_try='test -s conftest.$ac_objext'
41256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41257 (eval $ac_try) 2>&5
41258 ac_status=$?
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); }; }; then
41261 ac_cv_func_which_getservbyname_r=six
41262 else
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41265
41266
41267 cat >conftest.$ac_ext <<_ACEOF
41268 /* confdefs.h. */
41269 _ACEOF
41270 cat confdefs.h >>conftest.$ac_ext
41271 cat >>conftest.$ac_ext <<_ACEOF
41272 /* end confdefs.h. */
41273 #include <netdb.h>
41274 int
41275 main ()
41276 {
41277
41278 char *name;
41279 char *proto;
41280 struct servent *se;
41281 char buffer[2048];
41282 int buflen = 2048;
41283 (void) getservbyname_r(name, proto, se, buffer, buflen)
41284
41285 ;
41286 return 0;
41287 }
41288 _ACEOF
41289 rm -f conftest.$ac_objext
41290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41291 (eval $ac_compile) 2>conftest.er1
41292 ac_status=$?
41293 grep -v '^ *+' conftest.er1 >conftest.err
41294 rm -f conftest.er1
41295 cat conftest.err >&5
41296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41297 (exit $ac_status); } &&
41298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41300 (eval $ac_try) 2>&5
41301 ac_status=$?
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); }; } &&
41304 { ac_try='test -s conftest.$ac_objext'
41305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306 (eval $ac_try) 2>&5
41307 ac_status=$?
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); }; }; then
41310 ac_cv_func_which_getservbyname_r=five
41311 else
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.$ac_ext >&5
41314
41315
41316 cat >conftest.$ac_ext <<_ACEOF
41317 /* confdefs.h. */
41318 _ACEOF
41319 cat confdefs.h >>conftest.$ac_ext
41320 cat >>conftest.$ac_ext <<_ACEOF
41321 /* end confdefs.h. */
41322 #include <netdb.h>
41323 int
41324 main ()
41325 {
41326
41327 char *name;
41328 char *proto;
41329 struct servent *se;
41330 struct servent_data data;
41331 (void) getservbyname_r(name, proto, se, &data);
41332
41333 ;
41334 return 0;
41335 }
41336 _ACEOF
41337 rm -f conftest.$ac_objext
41338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41339 (eval $ac_compile) 2>conftest.er1
41340 ac_status=$?
41341 grep -v '^ *+' conftest.er1 >conftest.err
41342 rm -f conftest.er1
41343 cat conftest.err >&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); } &&
41346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41348 (eval $ac_try) 2>&5
41349 ac_status=$?
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; } &&
41352 { ac_try='test -s conftest.$ac_objext'
41353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41354 (eval $ac_try) 2>&5
41355 ac_status=$?
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); }; }; then
41358 ac_cv_func_which_getservbyname_r=four
41359 else
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41362
41363 ac_cv_func_which_getservbyname_r=no
41364
41365 fi
41366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41367
41368
41369 fi
41370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41371
41372
41373 fi
41374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41375 ac_ext=c
41376 ac_cpp='$CPP $CPPFLAGS'
41377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41380
41381
41382
41383 fi
41384 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41385 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41386
41387 if test $ac_cv_func_which_getservbyname_r = six; then
41388 cat >>confdefs.h <<\_ACEOF
41389 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41390 _ACEOF
41391
41392 elif test $ac_cv_func_which_getservbyname_r = five; then
41393 cat >>confdefs.h <<\_ACEOF
41394 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41395 _ACEOF
41396
41397 elif test $ac_cv_func_which_getservbyname_r = four; then
41398 cat >>confdefs.h <<\_ACEOF
41399 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41400 _ACEOF
41401
41402 fi
41403
41404
41405 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41406 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41407
41408 for ac_func in getservbyname
41409 do
41410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41411 echo "$as_me:$LINENO: checking for $ac_func" >&5
41412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41413 if eval "test \"\${$as_ac_var+set}\" = set"; then
41414 echo $ECHO_N "(cached) $ECHO_C" >&6
41415 else
41416 cat >conftest.$ac_ext <<_ACEOF
41417 /* confdefs.h. */
41418 _ACEOF
41419 cat confdefs.h >>conftest.$ac_ext
41420 cat >>conftest.$ac_ext <<_ACEOF
41421 /* end confdefs.h. */
41422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41424 #define $ac_func innocuous_$ac_func
41425
41426 /* System header to define __stub macros and hopefully few prototypes,
41427 which can conflict with char $ac_func (); below.
41428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41429 <limits.h> exists even on freestanding compilers. */
41430
41431 #ifdef __STDC__
41432 # include <limits.h>
41433 #else
41434 # include <assert.h>
41435 #endif
41436
41437 #undef $ac_func
41438
41439 /* Override any gcc2 internal prototype to avoid an error. */
41440 #ifdef __cplusplus
41441 extern "C"
41442 {
41443 #endif
41444 /* We use char because int might match the return type of a gcc2
41445 builtin and then its argument prototype would still apply. */
41446 char $ac_func ();
41447 /* The GNU C library defines this for functions which it implements
41448 to always fail with ENOSYS. Some functions are actually named
41449 something starting with __ and the normal name is an alias. */
41450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41451 choke me
41452 #else
41453 char (*f) () = $ac_func;
41454 #endif
41455 #ifdef __cplusplus
41456 }
41457 #endif
41458
41459 int
41460 main ()
41461 {
41462 return f != $ac_func;
41463 ;
41464 return 0;
41465 }
41466 _ACEOF
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41469 (eval $ac_link) 2>conftest.er1
41470 ac_status=$?
41471 grep -v '^ *+' conftest.er1 >conftest.err
41472 rm -f conftest.er1
41473 cat conftest.err >&5
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); } &&
41476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41478 (eval $ac_try) 2>&5
41479 ac_status=$?
41480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41481 (exit $ac_status); }; } &&
41482 { ac_try='test -s conftest$ac_exeext'
41483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41484 (eval $ac_try) 2>&5
41485 ac_status=$?
41486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41487 (exit $ac_status); }; }; then
41488 eval "$as_ac_var=yes"
41489 else
41490 echo "$as_me: failed program was:" >&5
41491 sed 's/^/| /' conftest.$ac_ext >&5
41492
41493 eval "$as_ac_var=no"
41494 fi
41495 rm -f conftest.err conftest.$ac_objext \
41496 conftest$ac_exeext conftest.$ac_ext
41497 fi
41498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41500 if test `eval echo '${'$as_ac_var'}'` = yes; then
41501 cat >>confdefs.h <<_ACEOF
41502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41503 _ACEOF
41504 cat >>confdefs.h <<\_ACEOF
41505 #define HAVE_GETSERVBYNAME 1
41506 _ACEOF
41507
41508 fi
41509 done
41510
41511 fi
41512
41513 if test "$wxUSE_THREADS" = "yes"; then
41514 cat >>confdefs.h <<\_ACEOF
41515 #define wxUSE_THREADS 1
41516 _ACEOF
41517
41518
41519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41520 else
41521 if test "$wx_cv_func_strtok_r" = "yes"; then
41522 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41523 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41524 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41525 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41526 echo "$as_me:$LINENO: result: yes" >&5
41527 echo "${ECHO_T}yes" >&6
41528 else
41529 echo "$as_me:$LINENO: result: no" >&5
41530 echo "${ECHO_T}no" >&6
41531 fi
41532 fi
41533 fi
41534
41535 if test "$WXGTK20" = 1 ; then
41536 cat >>confdefs.h <<_ACEOF
41537 #define __WXGTK20__ $WXGTK20
41538 _ACEOF
41539
41540 WXGTK12=1
41541 fi
41542
41543 if test "$WXGTK12" = 1 ; then
41544 cat >>confdefs.h <<_ACEOF
41545 #define __WXGTK12__ $WXGTK12
41546 _ACEOF
41547
41548 fi
41549
41550 if test "$WXGTK127" = 1 ; then
41551 cat >>confdefs.h <<_ACEOF
41552 #define __WXGTK127__ $WXGTK127
41553 _ACEOF
41554
41555 fi
41556
41557 if test "$WXGPE" = 1 ; then
41558 cat >>confdefs.h <<_ACEOF
41559 #define __WXGPE__ $WXGPE
41560 _ACEOF
41561
41562 fi
41563
41564 DEBUG_CFLAGS=
41565 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41566 DEBUG_CFLAGS="-g"
41567 wxUSE_OPTIMISE=no
41568 fi
41569
41570 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41571 wxUSE_DEBUG_INFO=yes
41572 if test "$GCC" = yes; then
41573 DEBUG_CFLAGS="-ggdb"
41574 fi
41575 fi
41576
41577 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41578 cat >>confdefs.h <<\_ACEOF
41579 #define WXDEBUG 1
41580 _ACEOF
41581
41582 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41583 else
41584 if test "$wxUSE_GTK" = 1 ; then
41585 if test "x$wxGTK_VERSION" = "x1" ; then
41586 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41587 fi
41588 fi
41589 fi
41590
41591 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41592 cat >>confdefs.h <<\_ACEOF
41593 #define wxUSE_MEMORY_TRACING 1
41594 _ACEOF
41595
41596 cat >>confdefs.h <<\_ACEOF
41597 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41598 _ACEOF
41599
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxUSE_DEBUG_NEW_ALWAYS 1
41602 _ACEOF
41603
41604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41605 fi
41606
41607 if test "$wxUSE_DMALLOC" = "yes" ; then
41608 DMALLOC_LIBS="-ldmallocthcxx"
41609 fi
41610
41611 PROFILE_FLAGS=
41612 if test "$wxUSE_PROFILE" = "yes" ; then
41613 PROFILE_FLAGS=" -pg"
41614 fi
41615
41616 if test "$GCC" = "yes" ; then
41617 if test "$wxUSE_NO_RTTI" = "yes" ; then
41618 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41619 fi
41620 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41621 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41622 fi
41623 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41624 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41625 fi
41626
41627 case "${host}" in
41628 powerpc*-*-aix* )
41629 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41630 ;;
41631 *-hppa* )
41632 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41633 ;;
41634 esac
41635 fi
41636
41637 OPTIMISE_CFLAGS=
41638 if test "$wxUSE_OPTIMISE" = "no" ; then
41639 if test "$GCC" = yes ; then
41640 OPTIMISE_CFLAGS="-O0"
41641 fi
41642 else
41643 if test "$GCC" = yes ; then
41644 case "${host}" in
41645 *-pc-os2_emx | *-pc-os2-emx )
41646 OPTIMISE_CFLAGS="-O2"
41647 ;;
41648 *)
41649 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41650 ;;
41651 esac
41652 else
41653 OPTIMISE_CFLAGS="-O"
41654 fi
41655 fi
41656
41657
41658 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41659 cat >>confdefs.h <<\_ACEOF
41660 #define WXWIN_COMPATIBILITY_2_4 1
41661 _ACEOF
41662
41663
41664 WXWIN_COMPATIBILITY_2_6="yes"
41665 fi
41666
41667 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41668 cat >>confdefs.h <<\_ACEOF
41669 #define WXWIN_COMPATIBILITY_2_6 1
41670 _ACEOF
41671
41672 fi
41673
41674
41675 if test "$wxUSE_GUI" = "yes"; then
41676 cat >>confdefs.h <<\_ACEOF
41677 #define wxUSE_GUI 1
41678 _ACEOF
41679
41680
41681 fi
41682
41683
41684 if test "$wxUSE_UNIX" = "yes"; then
41685 cat >>confdefs.h <<\_ACEOF
41686 #define wxUSE_UNIX 1
41687 _ACEOF
41688
41689 fi
41690
41691
41692 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41693
41694 HAVE_DL_FUNCS=0
41695 HAVE_SHL_FUNCS=0
41696 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41697 if test "$USE_DARWIN" = 1; then
41698 HAVE_DL_FUNCS=1
41699 elif test "$USE_DOS" = 1; then
41700 HAVE_DL_FUNCS=0
41701 else
41702
41703 for ac_func in dlopen
41704 do
41705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41706 echo "$as_me:$LINENO: checking for $ac_func" >&5
41707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41708 if eval "test \"\${$as_ac_var+set}\" = set"; then
41709 echo $ECHO_N "(cached) $ECHO_C" >&6
41710 else
41711 cat >conftest.$ac_ext <<_ACEOF
41712 /* confdefs.h. */
41713 _ACEOF
41714 cat confdefs.h >>conftest.$ac_ext
41715 cat >>conftest.$ac_ext <<_ACEOF
41716 /* end confdefs.h. */
41717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41719 #define $ac_func innocuous_$ac_func
41720
41721 /* System header to define __stub macros and hopefully few prototypes,
41722 which can conflict with char $ac_func (); below.
41723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41724 <limits.h> exists even on freestanding compilers. */
41725
41726 #ifdef __STDC__
41727 # include <limits.h>
41728 #else
41729 # include <assert.h>
41730 #endif
41731
41732 #undef $ac_func
41733
41734 /* Override any gcc2 internal prototype to avoid an error. */
41735 #ifdef __cplusplus
41736 extern "C"
41737 {
41738 #endif
41739 /* We use char because int might match the return type of a gcc2
41740 builtin and then its argument prototype would still apply. */
41741 char $ac_func ();
41742 /* The GNU C library defines this for functions which it implements
41743 to always fail with ENOSYS. Some functions are actually named
41744 something starting with __ and the normal name is an alias. */
41745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41746 choke me
41747 #else
41748 char (*f) () = $ac_func;
41749 #endif
41750 #ifdef __cplusplus
41751 }
41752 #endif
41753
41754 int
41755 main ()
41756 {
41757 return f != $ac_func;
41758 ;
41759 return 0;
41760 }
41761 _ACEOF
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41764 (eval $ac_link) 2>conftest.er1
41765 ac_status=$?
41766 grep -v '^ *+' conftest.er1 >conftest.err
41767 rm -f conftest.er1
41768 cat conftest.err >&5
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); } &&
41771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41773 (eval $ac_try) 2>&5
41774 ac_status=$?
41775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776 (exit $ac_status); }; } &&
41777 { ac_try='test -s conftest$ac_exeext'
41778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41779 (eval $ac_try) 2>&5
41780 ac_status=$?
41781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782 (exit $ac_status); }; }; then
41783 eval "$as_ac_var=yes"
41784 else
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41787
41788 eval "$as_ac_var=no"
41789 fi
41790 rm -f conftest.err conftest.$ac_objext \
41791 conftest$ac_exeext conftest.$ac_ext
41792 fi
41793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41795 if test `eval echo '${'$as_ac_var'}'` = yes; then
41796 cat >>confdefs.h <<_ACEOF
41797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41798 _ACEOF
41799
41800 cat >>confdefs.h <<\_ACEOF
41801 #define HAVE_DLOPEN 1
41802 _ACEOF
41803
41804 HAVE_DL_FUNCS=1
41805
41806 else
41807
41808 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41809 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41810 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41811 echo $ECHO_N "(cached) $ECHO_C" >&6
41812 else
41813 ac_check_lib_save_LIBS=$LIBS
41814 LIBS="-ldl $LIBS"
41815 cat >conftest.$ac_ext <<_ACEOF
41816 /* confdefs.h. */
41817 _ACEOF
41818 cat confdefs.h >>conftest.$ac_ext
41819 cat >>conftest.$ac_ext <<_ACEOF
41820 /* end confdefs.h. */
41821
41822 /* Override any gcc2 internal prototype to avoid an error. */
41823 #ifdef __cplusplus
41824 extern "C"
41825 #endif
41826 /* We use char because int might match the return type of a gcc2
41827 builtin and then its argument prototype would still apply. */
41828 char dlopen ();
41829 int
41830 main ()
41831 {
41832 dlopen ();
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 rm -f conftest.$ac_objext conftest$ac_exeext
41838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41839 (eval $ac_link) 2>conftest.er1
41840 ac_status=$?
41841 grep -v '^ *+' conftest.er1 >conftest.err
41842 rm -f conftest.er1
41843 cat conftest.err >&5
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); } &&
41846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41848 (eval $ac_try) 2>&5
41849 ac_status=$?
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); }; } &&
41852 { ac_try='test -s conftest$ac_exeext'
41853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41854 (eval $ac_try) 2>&5
41855 ac_status=$?
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); }; }; then
41858 ac_cv_lib_dl_dlopen=yes
41859 else
41860 echo "$as_me: failed program was:" >&5
41861 sed 's/^/| /' conftest.$ac_ext >&5
41862
41863 ac_cv_lib_dl_dlopen=no
41864 fi
41865 rm -f conftest.err conftest.$ac_objext \
41866 conftest$ac_exeext conftest.$ac_ext
41867 LIBS=$ac_check_lib_save_LIBS
41868 fi
41869 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41871 if test $ac_cv_lib_dl_dlopen = yes; then
41872
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_DLOPEN 1
41875 _ACEOF
41876
41877 HAVE_DL_FUNCS=1
41878 DL_LINK=" -ldl$DL_LINK"
41879
41880 else
41881
41882
41883 for ac_func in shl_load
41884 do
41885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41886 echo "$as_me:$LINENO: checking for $ac_func" >&5
41887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41888 if eval "test \"\${$as_ac_var+set}\" = set"; then
41889 echo $ECHO_N "(cached) $ECHO_C" >&6
41890 else
41891 cat >conftest.$ac_ext <<_ACEOF
41892 /* confdefs.h. */
41893 _ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h. */
41897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41899 #define $ac_func innocuous_$ac_func
41900
41901 /* System header to define __stub macros and hopefully few prototypes,
41902 which can conflict with char $ac_func (); below.
41903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41904 <limits.h> exists even on freestanding compilers. */
41905
41906 #ifdef __STDC__
41907 # include <limits.h>
41908 #else
41909 # include <assert.h>
41910 #endif
41911
41912 #undef $ac_func
41913
41914 /* Override any gcc2 internal prototype to avoid an error. */
41915 #ifdef __cplusplus
41916 extern "C"
41917 {
41918 #endif
41919 /* We use char because int might match the return type of a gcc2
41920 builtin and then its argument prototype would still apply. */
41921 char $ac_func ();
41922 /* The GNU C library defines this for functions which it implements
41923 to always fail with ENOSYS. Some functions are actually named
41924 something starting with __ and the normal name is an alias. */
41925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41926 choke me
41927 #else
41928 char (*f) () = $ac_func;
41929 #endif
41930 #ifdef __cplusplus
41931 }
41932 #endif
41933
41934 int
41935 main ()
41936 {
41937 return f != $ac_func;
41938 ;
41939 return 0;
41940 }
41941 _ACEOF
41942 rm -f conftest.$ac_objext conftest$ac_exeext
41943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41944 (eval $ac_link) 2>conftest.er1
41945 ac_status=$?
41946 grep -v '^ *+' conftest.er1 >conftest.err
41947 rm -f conftest.er1
41948 cat conftest.err >&5
41949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41950 (exit $ac_status); } &&
41951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41953 (eval $ac_try) 2>&5
41954 ac_status=$?
41955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41956 (exit $ac_status); }; } &&
41957 { ac_try='test -s conftest$ac_exeext'
41958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41959 (eval $ac_try) 2>&5
41960 ac_status=$?
41961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41962 (exit $ac_status); }; }; then
41963 eval "$as_ac_var=yes"
41964 else
41965 echo "$as_me: failed program was:" >&5
41966 sed 's/^/| /' conftest.$ac_ext >&5
41967
41968 eval "$as_ac_var=no"
41969 fi
41970 rm -f conftest.err conftest.$ac_objext \
41971 conftest$ac_exeext conftest.$ac_ext
41972 fi
41973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41975 if test `eval echo '${'$as_ac_var'}'` = yes; then
41976 cat >>confdefs.h <<_ACEOF
41977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41978 _ACEOF
41979
41980 cat >>confdefs.h <<\_ACEOF
41981 #define HAVE_SHL_LOAD 1
41982 _ACEOF
41983
41984 HAVE_SHL_FUNCS=1
41985
41986 else
41987
41988 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41989 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41990 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41991 echo $ECHO_N "(cached) $ECHO_C" >&6
41992 else
41993 ac_check_lib_save_LIBS=$LIBS
41994 LIBS="-lshl_load $LIBS"
41995 cat >conftest.$ac_ext <<_ACEOF
41996 /* confdefs.h. */
41997 _ACEOF
41998 cat confdefs.h >>conftest.$ac_ext
41999 cat >>conftest.$ac_ext <<_ACEOF
42000 /* end confdefs.h. */
42001
42002 /* Override any gcc2 internal prototype to avoid an error. */
42003 #ifdef __cplusplus
42004 extern "C"
42005 #endif
42006 /* We use char because int might match the return type of a gcc2
42007 builtin and then its argument prototype would still apply. */
42008 char dld ();
42009 int
42010 main ()
42011 {
42012 dld ();
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42019 (eval $ac_link) 2>conftest.er1
42020 ac_status=$?
42021 grep -v '^ *+' conftest.er1 >conftest.err
42022 rm -f conftest.er1
42023 cat conftest.err >&5
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); } &&
42026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42028 (eval $ac_try) 2>&5
42029 ac_status=$?
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); }; } &&
42032 { ac_try='test -s conftest$ac_exeext'
42033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42034 (eval $ac_try) 2>&5
42035 ac_status=$?
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); }; }; then
42038 ac_cv_lib_shl_load_dld=yes
42039 else
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043 ac_cv_lib_shl_load_dld=no
42044 fi
42045 rm -f conftest.err conftest.$ac_objext \
42046 conftest$ac_exeext conftest.$ac_ext
42047 LIBS=$ac_check_lib_save_LIBS
42048 fi
42049 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42050 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42051 if test $ac_cv_lib_shl_load_dld = yes; then
42052
42053 HAVE_SHL_FUNCS=1
42054 DL_LINK=" -ldld$DL_LINK"
42055
42056 fi
42057
42058
42059 fi
42060 done
42061
42062
42063 fi
42064
42065
42066 fi
42067 done
42068
42069
42070 if test "$HAVE_DL_FUNCS" = 1; then
42071
42072 for ac_func in dlerror
42073 do
42074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42075 echo "$as_me:$LINENO: checking for $ac_func" >&5
42076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42077 if eval "test \"\${$as_ac_var+set}\" = set"; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42080 cat >conftest.$ac_ext <<_ACEOF
42081 /* confdefs.h. */
42082 _ACEOF
42083 cat confdefs.h >>conftest.$ac_ext
42084 cat >>conftest.$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42088 #define $ac_func innocuous_$ac_func
42089
42090 /* System header to define __stub macros and hopefully few prototypes,
42091 which can conflict with char $ac_func (); below.
42092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42093 <limits.h> exists even on freestanding compilers. */
42094
42095 #ifdef __STDC__
42096 # include <limits.h>
42097 #else
42098 # include <assert.h>
42099 #endif
42100
42101 #undef $ac_func
42102
42103 /* Override any gcc2 internal prototype to avoid an error. */
42104 #ifdef __cplusplus
42105 extern "C"
42106 {
42107 #endif
42108 /* We use char because int might match the return type of a gcc2
42109 builtin and then its argument prototype would still apply. */
42110 char $ac_func ();
42111 /* The GNU C library defines this for functions which it implements
42112 to always fail with ENOSYS. Some functions are actually named
42113 something starting with __ and the normal name is an alias. */
42114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42115 choke me
42116 #else
42117 char (*f) () = $ac_func;
42118 #endif
42119 #ifdef __cplusplus
42120 }
42121 #endif
42122
42123 int
42124 main ()
42125 {
42126 return f != $ac_func;
42127 ;
42128 return 0;
42129 }
42130 _ACEOF
42131 rm -f conftest.$ac_objext conftest$ac_exeext
42132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42133 (eval $ac_link) 2>conftest.er1
42134 ac_status=$?
42135 grep -v '^ *+' conftest.er1 >conftest.err
42136 rm -f conftest.er1
42137 cat conftest.err >&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } &&
42140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42143 ac_status=$?
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; } &&
42146 { ac_try='test -s conftest$ac_exeext'
42147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42148 (eval $ac_try) 2>&5
42149 ac_status=$?
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); }; }; then
42152 eval "$as_ac_var=yes"
42153 else
42154 echo "$as_me: failed program was:" >&5
42155 sed 's/^/| /' conftest.$ac_ext >&5
42156
42157 eval "$as_ac_var=no"
42158 fi
42159 rm -f conftest.err conftest.$ac_objext \
42160 conftest$ac_exeext conftest.$ac_ext
42161 fi
42162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42164 if test `eval echo '${'$as_ac_var'}'` = yes; then
42165 cat >>confdefs.h <<_ACEOF
42166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42167 _ACEOF
42168 cat >>confdefs.h <<\_ACEOF
42169 #define HAVE_DLERROR 1
42170 _ACEOF
42171
42172 else
42173
42174 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42175 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42176 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 else
42179 ac_check_lib_save_LIBS=$LIBS
42180 LIBS="-ldl $LIBS"
42181 cat >conftest.$ac_ext <<_ACEOF
42182 /* confdefs.h. */
42183 _ACEOF
42184 cat confdefs.h >>conftest.$ac_ext
42185 cat >>conftest.$ac_ext <<_ACEOF
42186 /* end confdefs.h. */
42187
42188 /* Override any gcc2 internal prototype to avoid an error. */
42189 #ifdef __cplusplus
42190 extern "C"
42191 #endif
42192 /* We use char because int might match the return type of a gcc2
42193 builtin and then its argument prototype would still apply. */
42194 char dlerror ();
42195 int
42196 main ()
42197 {
42198 dlerror ();
42199 ;
42200 return 0;
42201 }
42202 _ACEOF
42203 rm -f conftest.$ac_objext conftest$ac_exeext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42205 (eval $ac_link) 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } &&
42212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42214 (eval $ac_try) 2>&5
42215 ac_status=$?
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); }; } &&
42218 { ac_try='test -s conftest$ac_exeext'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42221 ac_status=$?
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; }; then
42224 ac_cv_lib_dl_dlerror=yes
42225 else
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42228
42229 ac_cv_lib_dl_dlerror=no
42230 fi
42231 rm -f conftest.err conftest.$ac_objext \
42232 conftest$ac_exeext conftest.$ac_ext
42233 LIBS=$ac_check_lib_save_LIBS
42234 fi
42235 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42236 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42237 if test $ac_cv_lib_dl_dlerror = yes; then
42238 cat >>confdefs.h <<\_ACEOF
42239 #define HAVE_DLERROR 1
42240 _ACEOF
42241
42242 fi
42243
42244
42245
42246 fi
42247 done
42248
42249 fi
42250 fi
42251
42252 if test "$HAVE_DL_FUNCS" = 0; then
42253 if test "$HAVE_SHL_FUNCS" = 0; then
42254 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42255 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42256 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42257 wxUSE_DYNAMIC_LOADER=no
42258 wxUSE_DYNLIB_CLASS=no
42259 else
42260 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42261 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42262 fi
42263 fi
42264 fi
42265 fi
42266 fi
42267
42268 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42269 cat >>confdefs.h <<\_ACEOF
42270 #define wxUSE_DYNAMIC_LOADER 1
42271 _ACEOF
42272
42273 fi
42274 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42275 cat >>confdefs.h <<\_ACEOF
42276 #define wxUSE_DYNLIB_CLASS 1
42277 _ACEOF
42278
42279 fi
42280
42281
42282
42283 if test "$wxUSE_PLUGINS" = "yes" ; then
42284 if test "$wxUSE_SHARED" = "no" ; then
42285 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42286 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42287 wxUSE_PLUGINS=no
42288 fi
42289 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42290 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42291 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42292 wxUSE_PLUGINS=no
42293 fi
42294 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42295 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42296 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42297 wxUSE_PLUGINS=no
42298 fi
42299 if test "$wxUSE_PLUGINS" = "yes" ; then
42300 cat >>confdefs.h <<\_ACEOF
42301 #define wxUSE_PLUGINS 1
42302 _ACEOF
42303
42304 fi
42305 fi
42306
42307
42308 if test "$wxUSE_STL" = "yes"; then
42309 cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_STL 1
42311 _ACEOF
42312
42313 fi
42314
42315 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42316 cat >>confdefs.h <<\_ACEOF
42317 #define wxUSE_APPLE_IEEE 1
42318 _ACEOF
42319
42320 fi
42321
42322 if test "$wxUSE_TIMER" = "yes"; then
42323 cat >>confdefs.h <<\_ACEOF
42324 #define wxUSE_TIMER 1
42325 _ACEOF
42326
42327 fi
42328
42329 if test "$USE_UNIX" = "1" ; then
42330 if test "$wxUSE_MGL" != 1; then
42331 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42332 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42333 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42334 echo $ECHO_N "(cached) $ECHO_C" >&6
42335 else
42336
42337 cat >conftest.$ac_ext <<_ACEOF
42338 /* confdefs.h. */
42339 _ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42343
42344 #include <sys/ioctl.h>
42345 #include <sys/soundcard.h>
42346
42347 int
42348 main ()
42349 {
42350
42351 ioctl(0, SNDCTL_DSP_SPEED, 0);
42352
42353 ;
42354 return 0;
42355 }
42356 _ACEOF
42357 rm -f conftest.$ac_objext conftest$ac_exeext
42358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42359 (eval $ac_link) 2>conftest.er1
42360 ac_status=$?
42361 grep -v '^ *+' conftest.er1 >conftest.err
42362 rm -f conftest.er1
42363 cat conftest.err >&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } &&
42366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42369 ac_status=$?
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; } &&
42372 { ac_try='test -s conftest$ac_exeext'
42373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42374 (eval $ac_try) 2>&5
42375 ac_status=$?
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); }; }; then
42378 ac_cv_header_sys_soundcard=yes
42379 else
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.$ac_ext >&5
42382
42383
42384 saveLibs="$LIBS"
42385 LIBS="$saveLibs -lossaudio"
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
42393 #include <sys/ioctl.h>
42394 #include <sys/soundcard.h>
42395
42396 int
42397 main ()
42398 {
42399
42400 ioctl(0, SNDCTL_DSP_SPEED, 0);
42401
42402 ;
42403 return 0;
42404 }
42405 _ACEOF
42406 rm -f conftest.$ac_objext conftest$ac_exeext
42407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42408 (eval $ac_link) 2>conftest.er1
42409 ac_status=$?
42410 grep -v '^ *+' conftest.er1 >conftest.err
42411 rm -f conftest.er1
42412 cat conftest.err >&5
42413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42414 (exit $ac_status); } &&
42415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42417 (eval $ac_try) 2>&5
42418 ac_status=$?
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); }; } &&
42421 { ac_try='test -s conftest$ac_exeext'
42422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423 (eval $ac_try) 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; }; then
42427 ac_cv_header_sys_soundcard=yes
42428 else
42429 echo "$as_me: failed program was:" >&5
42430 sed 's/^/| /' conftest.$ac_ext >&5
42431
42432
42433 LIBS="$saveLibs"
42434 ac_cv_header_sys_soundcard=no
42435
42436
42437 fi
42438 rm -f conftest.err conftest.$ac_objext \
42439 conftest$ac_exeext conftest.$ac_ext
42440
42441
42442 fi
42443 rm -f conftest.err conftest.$ac_objext \
42444 conftest$ac_exeext conftest.$ac_ext
42445
42446 fi
42447 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42448 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42449 fi
42450
42451 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42452 cat >>confdefs.h <<\_ACEOF
42453 #define HAVE_SYS_SOUNDCARD_H 1
42454 _ACEOF
42455
42456 else
42457 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42458 fi
42459 fi
42460
42461 WITH_PLUGIN_SDL=0
42462 if test "$wxUSE_SOUND" = "yes"; then
42463 if test "$USE_UNIX" = "1" ; then
42464 if test "$wxUSE_LIBSDL" != "no"; then
42465
42466 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42467 if test "${with_sdl_prefix+set}" = set; then
42468 withval="$with_sdl_prefix"
42469 sdl_prefix="$withval"
42470 else
42471 sdl_prefix=""
42472 fi;
42473
42474 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42475 if test "${with_sdl_exec_prefix+set}" = set; then
42476 withval="$with_sdl_exec_prefix"
42477 sdl_exec_prefix="$withval"
42478 else
42479 sdl_exec_prefix=""
42480 fi;
42481 # Check whether --enable-sdltest or --disable-sdltest was given.
42482 if test "${enable_sdltest+set}" = set; then
42483 enableval="$enable_sdltest"
42484
42485 else
42486 enable_sdltest=yes
42487 fi;
42488
42489 if test x$sdl_exec_prefix != x ; then
42490 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42491 if test x${SDL_CONFIG+set} != xset ; then
42492 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42493 fi
42494 fi
42495 if test x$sdl_prefix != x ; then
42496 sdl_args="$sdl_args --prefix=$sdl_prefix"
42497 if test x${SDL_CONFIG+set} != xset ; then
42498 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42499 fi
42500 fi
42501
42502 if test "x$prefix" != xNONE; then
42503 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42504 fi
42505 # Extract the first word of "sdl-config", so it can be a program name with args.
42506 set dummy sdl-config; ac_word=$2
42507 echo "$as_me:$LINENO: checking for $ac_word" >&5
42508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42509 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42510 echo $ECHO_N "(cached) $ECHO_C" >&6
42511 else
42512 case $SDL_CONFIG in
42513 [\\/]* | ?:[\\/]*)
42514 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42515 ;;
42516 *)
42517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42518 for as_dir in $PATH
42519 do
42520 IFS=$as_save_IFS
42521 test -z "$as_dir" && as_dir=.
42522 for ac_exec_ext in '' $ac_executable_extensions; do
42523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42524 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42526 break 2
42527 fi
42528 done
42529 done
42530
42531 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42532 ;;
42533 esac
42534 fi
42535 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42536
42537 if test -n "$SDL_CONFIG"; then
42538 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42539 echo "${ECHO_T}$SDL_CONFIG" >&6
42540 else
42541 echo "$as_me:$LINENO: result: no" >&5
42542 echo "${ECHO_T}no" >&6
42543 fi
42544
42545 min_sdl_version=1.2.0
42546 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42547 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42548 no_sdl=""
42549 if test "$SDL_CONFIG" = "no" ; then
42550 no_sdl=yes
42551 else
42552 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42553 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42554
42555 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42557 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42559 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42561 if test "x$enable_sdltest" = "xyes" ; then
42562 ac_save_CFLAGS="$CFLAGS"
42563 ac_save_CXXFLAGS="$CXXFLAGS"
42564 ac_save_LIBS="$LIBS"
42565 CFLAGS="$CFLAGS $SDL_CFLAGS"
42566 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42567 LIBS="$LIBS $SDL_LIBS"
42568 rm -f conf.sdltest
42569 if test "$cross_compiling" = yes; then
42570 echo $ac_n "cross compiling; assumed OK... $ac_c"
42571 else
42572 cat >conftest.$ac_ext <<_ACEOF
42573 /* confdefs.h. */
42574 _ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578
42579 #include <stdio.h>
42580 #include <stdlib.h>
42581 #include <string.h>
42582 #include "SDL.h"
42583
42584 char*
42585 my_strdup (char *str)
42586 {
42587 char *new_str;
42588
42589 if (str)
42590 {
42591 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42592 strcpy (new_str, str);
42593 }
42594 else
42595 new_str = NULL;
42596
42597 return new_str;
42598 }
42599
42600 int main (int argc, char *argv[])
42601 {
42602 int major, minor, micro;
42603 char *tmp_version;
42604
42605 /* This hangs on some systems (?)
42606 system ("touch conf.sdltest");
42607 */
42608 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42609
42610 /* HP/UX 9 (%@#!) writes to sscanf strings */
42611 tmp_version = my_strdup("$min_sdl_version");
42612 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42613 printf("%s, bad version string\n", "$min_sdl_version");
42614 exit(1);
42615 }
42616
42617 if (($sdl_major_version > major) ||
42618 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42619 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42620 {
42621 return 0;
42622 }
42623 else
42624 {
42625 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42626 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42627 printf("*** best to upgrade to the required version.\n");
42628 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42629 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42630 printf("*** config.cache before re-running configure\n");
42631 return 1;
42632 }
42633 }
42634
42635
42636 _ACEOF
42637 rm -f conftest$ac_exeext
42638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42639 (eval $ac_link) 2>&5
42640 ac_status=$?
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42644 (eval $ac_try) 2>&5
42645 ac_status=$?
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); }; }; then
42648 :
42649 else
42650 echo "$as_me: program exited with status $ac_status" >&5
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42653
42654 ( exit $ac_status )
42655 no_sdl=yes
42656 fi
42657 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42658 fi
42659 CFLAGS="$ac_save_CFLAGS"
42660 CXXFLAGS="$ac_save_CXXFLAGS"
42661 LIBS="$ac_save_LIBS"
42662 fi
42663 fi
42664 if test "x$no_sdl" = x ; then
42665 echo "$as_me:$LINENO: result: yes" >&5
42666 echo "${ECHO_T}yes" >&6
42667
42668 EXTRALIBS_SDL="$SDL_LIBS"
42669 CFLAGS="$SDL_CFLAGS $CFLAGS"
42670 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42671 cat >>confdefs.h <<\_ACEOF
42672 #define wxUSE_LIBSDL 1
42673 _ACEOF
42674
42675
42676 else
42677 echo "$as_me:$LINENO: result: no" >&5
42678 echo "${ECHO_T}no" >&6
42679 if test "$SDL_CONFIG" = "no" ; then
42680 echo "*** The sdl-config script installed by SDL could not be found"
42681 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42682 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42683 echo "*** full path to sdl-config."
42684 else
42685 if test -f conf.sdltest ; then
42686 :
42687 else
42688 echo "*** Could not run SDL test program, checking why..."
42689 CFLAGS="$CFLAGS $SDL_CFLAGS"
42690 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42691 LIBS="$LIBS $SDL_LIBS"
42692 cat >conftest.$ac_ext <<_ACEOF
42693 /* confdefs.h. */
42694 _ACEOF
42695 cat confdefs.h >>conftest.$ac_ext
42696 cat >>conftest.$ac_ext <<_ACEOF
42697 /* end confdefs.h. */
42698
42699 #include <stdio.h>
42700 #include "SDL.h"
42701
42702 int main(int argc, char *argv[])
42703 { return 0; }
42704 #undef main
42705 #define main K_and_R_C_main
42706
42707 int
42708 main ()
42709 {
42710 return 0;
42711 ;
42712 return 0;
42713 }
42714 _ACEOF
42715 rm -f conftest.$ac_objext conftest$ac_exeext
42716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42717 (eval $ac_link) 2>conftest.er1
42718 ac_status=$?
42719 grep -v '^ *+' conftest.er1 >conftest.err
42720 rm -f conftest.er1
42721 cat conftest.err >&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } &&
42724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; } &&
42730 { ac_try='test -s conftest$ac_exeext'
42731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732 (eval $ac_try) 2>&5
42733 ac_status=$?
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); }; }; then
42736 echo "*** The test program compiled, but did not run. This usually means"
42737 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42738 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42739 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42740 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42741 echo "*** is required on your system"
42742 echo "***"
42743 echo "*** If you have an old version installed, it is best to remove it, although"
42744 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42745 else
42746 echo "$as_me: failed program was:" >&5
42747 sed 's/^/| /' conftest.$ac_ext >&5
42748
42749 echo "*** The test program failed to compile or link. See the file config.log for the"
42750 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42751 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42752 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42753 fi
42754 rm -f conftest.err conftest.$ac_objext \
42755 conftest$ac_exeext conftest.$ac_ext
42756 CFLAGS="$ac_save_CFLAGS"
42757 CXXFLAGS="$ac_save_CXXFLAGS"
42758 LIBS="$ac_save_LIBS"
42759 fi
42760 fi
42761 SDL_CFLAGS=""
42762 SDL_LIBS=""
42763 wxUSE_LIBSDL="no"
42764 fi
42765
42766
42767 rm -f conf.sdltest
42768
42769 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42770 WITH_PLUGIN_SDL=1
42771 fi
42772 fi
42773 else
42774 if test "$wxUSE_MGL" = 1; then
42775 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42776 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42777 wxUSE_SOUND="no"
42778 fi
42779 fi
42780 fi
42781
42782 if test "$wxUSE_SOUND" = "yes"; then
42783 cat >>confdefs.h <<\_ACEOF
42784 #define wxUSE_SOUND 1
42785 _ACEOF
42786
42787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42788 fi
42789
42790 if test "$WXGTK20" = 1; then
42791
42792
42793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42794 if test -n "$ac_tool_prefix"; then
42795 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42797 echo "$as_me:$LINENO: checking for $ac_word" >&5
42798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42799 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42800 echo $ECHO_N "(cached) $ECHO_C" >&6
42801 else
42802 case $PKG_CONFIG in
42803 [\\/]* | ?:[\\/]*)
42804 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42805 ;;
42806 *)
42807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42808 for as_dir in $PATH
42809 do
42810 IFS=$as_save_IFS
42811 test -z "$as_dir" && as_dir=.
42812 for ac_exec_ext in '' $ac_executable_extensions; do
42813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42814 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42816 break 2
42817 fi
42818 done
42819 done
42820
42821 ;;
42822 esac
42823 fi
42824 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42825
42826 if test -n "$PKG_CONFIG"; then
42827 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42828 echo "${ECHO_T}$PKG_CONFIG" >&6
42829 else
42830 echo "$as_me:$LINENO: result: no" >&5
42831 echo "${ECHO_T}no" >&6
42832 fi
42833
42834 fi
42835 if test -z "$ac_cv_path_PKG_CONFIG"; then
42836 ac_pt_PKG_CONFIG=$PKG_CONFIG
42837 # Extract the first word of "pkg-config", so it can be a program name with args.
42838 set dummy pkg-config; ac_word=$2
42839 echo "$as_me:$LINENO: checking for $ac_word" >&5
42840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42841 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 case $ac_pt_PKG_CONFIG in
42845 [\\/]* | ?:[\\/]*)
42846 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42847 ;;
42848 *)
42849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42850 for as_dir in $PATH
42851 do
42852 IFS=$as_save_IFS
42853 test -z "$as_dir" && as_dir=.
42854 for ac_exec_ext in '' $ac_executable_extensions; do
42855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42856 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42858 break 2
42859 fi
42860 done
42861 done
42862
42863 ;;
42864 esac
42865 fi
42866 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42867
42868 if test -n "$ac_pt_PKG_CONFIG"; then
42869 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42870 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
42871 else
42872 echo "$as_me:$LINENO: result: no" >&5
42873 echo "${ECHO_T}no" >&6
42874 fi
42875
42876 PKG_CONFIG=$ac_pt_PKG_CONFIG
42877 else
42878 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42879 fi
42880
42881 fi
42882 if test -n "$PKG_CONFIG"; then
42883 _pkg_min_version=0.9.0
42884 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42885 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
42886 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42887 echo "$as_me:$LINENO: result: yes" >&5
42888 echo "${ECHO_T}yes" >&6
42889 else
42890 echo "$as_me:$LINENO: result: no" >&5
42891 echo "${ECHO_T}no" >&6
42892 PKG_CONFIG=""
42893 fi
42894
42895 fi
42896
42897 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42898 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42899
42900
42901 pkg_failed=no
42902 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42903 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42904
42905 if test -n "$PKG_CONFIG"; then
42906 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42907 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42908 else
42909 if test -n "$PKG_CONFIG" && \
42910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42911 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42912 ac_status=$?
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; then
42915 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42916 else
42917 pkg_failed=yes
42918 fi
42919 fi
42920 else
42921 pkg_failed=untried
42922 fi
42923 if test -n "$PKG_CONFIG"; then
42924 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42925 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42926 else
42927 if test -n "$PKG_CONFIG" && \
42928 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42929 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42930 ac_status=$?
42931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42932 (exit $ac_status); }; then
42933 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42934 else
42935 pkg_failed=yes
42936 fi
42937 fi
42938 else
42939 pkg_failed=untried
42940 fi
42941
42942
42943
42944 if test $pkg_failed = yes; then
42945
42946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42947 _pkg_short_errors_supported=yes
42948 else
42949 _pkg_short_errors_supported=no
42950 fi
42951 if test $_pkg_short_errors_supported = yes; then
42952 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42953 else
42954 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42955 fi
42956 # Put the nasty error message in config.log where it belongs
42957 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42958
42959
42960 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42961 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42962 wxUSE_LIBGNOMEPRINT="no"
42963
42964
42965 elif test $pkg_failed = untried; then
42966
42967 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42968 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42969 wxUSE_LIBGNOMEPRINT="no"
42970
42971
42972 else
42973 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42974 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42975 echo "$as_me:$LINENO: result: yes" >&5
42976 echo "${ECHO_T}yes" >&6
42977
42978 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42979 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42980 cat >>confdefs.h <<\_ACEOF
42981 #define wxUSE_LIBGNOMEPRINT 1
42982 _ACEOF
42983
42984
42985 fi
42986 fi
42987 fi
42988
42989 if test "$wxUSE_MIMETYPE" = "yes" ; then
42990 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42991
42992
42993 pkg_failed=no
42994 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42995 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42996
42997 if test -n "$PKG_CONFIG"; then
42998 if test -n "$GNOMEVFS_CFLAGS"; then
42999 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43000 else
43001 if test -n "$PKG_CONFIG" && \
43002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43003 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43004 ac_status=$?
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); }; then
43007 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43008 else
43009 pkg_failed=yes
43010 fi
43011 fi
43012 else
43013 pkg_failed=untried
43014 fi
43015 if test -n "$PKG_CONFIG"; then
43016 if test -n "$GNOMEVFS_LIBS"; then
43017 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43018 else
43019 if test -n "$PKG_CONFIG" && \
43020 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43021 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43022 ac_status=$?
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; then
43025 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43026 else
43027 pkg_failed=yes
43028 fi
43029 fi
43030 else
43031 pkg_failed=untried
43032 fi
43033
43034
43035
43036 if test $pkg_failed = yes; then
43037
43038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43039 _pkg_short_errors_supported=yes
43040 else
43041 _pkg_short_errors_supported=no
43042 fi
43043 if test $_pkg_short_errors_supported = yes; then
43044 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43045 else
43046 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43047 fi
43048 # Put the nasty error message in config.log where it belongs
43049 echo "$GNOMEVFS_PKG_ERRORS" >&5
43050
43051
43052 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43053 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43054 wxUSE_LIBGNOMEVFS="no"
43055
43056
43057 elif test $pkg_failed = untried; then
43058
43059 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43060 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43061 wxUSE_LIBGNOMEVFS="no"
43062
43063
43064 else
43065 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43066 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43067 echo "$as_me:$LINENO: result: yes" >&5
43068 echo "${ECHO_T}yes" >&6
43069
43070 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43071 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_LIBGNOMEVFS 1
43074 _ACEOF
43075
43076
43077 fi
43078 fi
43079 fi
43080
43081 if test "$wxUSE_LIBHILDON" = "yes" ; then
43082
43083 pkg_failed=no
43084 echo "$as_me:$LINENO: checking for HILDON" >&5
43085 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43086
43087 if test -n "$PKG_CONFIG"; then
43088 if test -n "$HILDON_CFLAGS"; then
43089 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43090 else
43091 if test -n "$PKG_CONFIG" && \
43092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43093 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; then
43097 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43098 else
43099 pkg_failed=yes
43100 fi
43101 fi
43102 else
43103 pkg_failed=untried
43104 fi
43105 if test -n "$PKG_CONFIG"; then
43106 if test -n "$HILDON_LIBS"; then
43107 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43108 else
43109 if test -n "$PKG_CONFIG" && \
43110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43111 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43112 ac_status=$?
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; then
43115 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43116 else
43117 pkg_failed=yes
43118 fi
43119 fi
43120 else
43121 pkg_failed=untried
43122 fi
43123
43124
43125
43126 if test $pkg_failed = yes; then
43127
43128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43129 _pkg_short_errors_supported=yes
43130 else
43131 _pkg_short_errors_supported=no
43132 fi
43133 if test $_pkg_short_errors_supported = yes; then
43134 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43135 else
43136 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43137 fi
43138 # Put the nasty error message in config.log where it belongs
43139 echo "$HILDON_PKG_ERRORS" >&5
43140
43141
43142 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43143 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43144 wxUSE_LIBHILDON="no"
43145
43146
43147 elif test $pkg_failed = untried; then
43148
43149 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43150 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43151 wxUSE_LIBHILDON="no"
43152
43153
43154 else
43155 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43156 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43157 echo "$as_me:$LINENO: result: yes" >&5
43158 echo "${ECHO_T}yes" >&6
43159
43160 EXTRALIBS_HILDON="$HILDON_LIBS"
43161 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43162 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43163 cat >>confdefs.h <<\_ACEOF
43164 #define wxUSE_LIBHILDON 1
43165 _ACEOF
43166
43167
43168 fi
43169 fi
43170 fi
43171
43172 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43173 cat >>confdefs.h <<\_ACEOF
43174 #define wxUSE_CMDLINE_PARSER 1
43175 _ACEOF
43176
43177 fi
43178
43179 if test "$wxUSE_STOPWATCH" = "yes"; then
43180 cat >>confdefs.h <<\_ACEOF
43181 #define wxUSE_STOPWATCH 1
43182 _ACEOF
43183
43184 fi
43185
43186 if test "$wxUSE_DATETIME" = "yes"; then
43187 cat >>confdefs.h <<\_ACEOF
43188 #define wxUSE_DATETIME 1
43189 _ACEOF
43190
43191 fi
43192
43193 if test "$wxUSE_FILE" = "yes"; then
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_FILE 1
43196 _ACEOF
43197
43198 fi
43199
43200 if test "$wxUSE_FFILE" = "yes"; then
43201 cat >>confdefs.h <<\_ACEOF
43202 #define wxUSE_FFILE 1
43203 _ACEOF
43204
43205 fi
43206
43207 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43208 if test "$wxUSE_STREAMS" != yes; then
43209 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43210 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43211 wxUSE_ARCHIVE_STREAMS=no
43212 else
43213 cat >>confdefs.h <<\_ACEOF
43214 #define wxUSE_ARCHIVE_STREAMS 1
43215 _ACEOF
43216
43217 fi
43218 fi
43219
43220 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43221 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43222 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43223 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43224 elif test "$wxUSE_ZLIB" = "no"; then
43225 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43226 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43227 else
43228 cat >>confdefs.h <<\_ACEOF
43229 #define wxUSE_ZIPSTREAM 1
43230 _ACEOF
43231
43232 fi
43233 fi
43234
43235 if test "$wxUSE_TARSTREAM" = "yes"; then
43236 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43237 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43238 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43239 else
43240 cat >>confdefs.h <<\_ACEOF
43241 #define wxUSE_TARSTREAM 1
43242 _ACEOF
43243
43244 fi
43245 fi
43246
43247 if test "$wxUSE_FILESYSTEM" = "yes"; then
43248 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43249 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43250 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43251 wxUSE_FILESYSTEM=no
43252 else
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_FILESYSTEM 1
43255 _ACEOF
43256
43257 fi
43258 fi
43259
43260 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43261 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43262 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43263 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43264 else
43265 cat >>confdefs.h <<\_ACEOF
43266 #define wxUSE_FS_ARCHIVE 1
43267 _ACEOF
43268
43269 fi
43270 fi
43271
43272 if test "$wxUSE_FS_ZIP" = "yes"; then
43273 if test "$wxUSE_FS_ARCHIVE" != yes; then
43274 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43275 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43276 else
43277 cat >>confdefs.h <<\_ACEOF
43278 #define wxUSE_FS_ZIP 1
43279 _ACEOF
43280
43281 fi
43282 fi
43283
43284 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43285 if test "$USE_UNIX" != 1; then
43286 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43287 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43288 wxUSE_ON_FATAL_EXCEPTION=no
43289 else
43290 cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_ON_FATAL_EXCEPTION 1
43292 _ACEOF
43293
43294 fi
43295 fi
43296
43297 if test "$wxUSE_STACKWALKER" = "yes"; then
43298 cat >>confdefs.h <<\_ACEOF
43299 #define wxUSE_STACKWALKER 1
43300 _ACEOF
43301
43302 fi
43303
43304 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43305 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43306 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43307 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43308 wxUSE_DEBUGREPORT=no
43309 else
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_DEBUGREPORT 1
43312 _ACEOF
43313
43314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43316 fi
43317 fi
43318 fi
43319
43320 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43321 cat >>confdefs.h <<\_ACEOF
43322 #define wxUSE_SNGLINST_CHECKER 1
43323 _ACEOF
43324
43325 fi
43326
43327 if test "$wxUSE_BUSYINFO" = "yes"; then
43328 cat >>confdefs.h <<\_ACEOF
43329 #define wxUSE_BUSYINFO 1
43330 _ACEOF
43331
43332 fi
43333
43334 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43335 cat >>confdefs.h <<\_ACEOF
43336 #define wxUSE_STD_IOSTREAM 1
43337 _ACEOF
43338
43339 fi
43340
43341 if test "$wxUSE_STD_STRING" = "yes"; then
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxUSE_STD_STRING 1
43344 _ACEOF
43345
43346 fi
43347
43348 if test "$wxUSE_STDPATHS" = "yes"; then
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_STDPATHS 1
43351 _ACEOF
43352
43353 fi
43354
43355 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxUSE_TEXTBUFFER 1
43358 _ACEOF
43359
43360 fi
43361
43362 if test "$wxUSE_TEXTFILE" = "yes"; then
43363 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43364 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43365 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43366 else
43367 cat >>confdefs.h <<\_ACEOF
43368 #define wxUSE_TEXTFILE 1
43369 _ACEOF
43370
43371 fi
43372 fi
43373
43374 if test "$wxUSE_CONFIG" = "yes" ; then
43375 if test "$wxUSE_TEXTFILE" != "yes"; then
43376 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43377 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43378 else
43379 cat >>confdefs.h <<\_ACEOF
43380 #define wxUSE_CONFIG 1
43381 _ACEOF
43382
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_CONFIG_NATIVE 1
43385 _ACEOF
43386
43387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43388 fi
43389 fi
43390
43391 if test "$wxUSE_INTL" = "yes" ; then
43392 if test "$wxUSE_FILE" != "yes"; then
43393 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43394 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43395 else
43396 cat >>confdefs.h <<\_ACEOF
43397 #define wxUSE_INTL 1
43398 _ACEOF
43399
43400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43401 GUIDIST="$GUIDIST INTL_DIST"
43402 fi
43403 fi
43404
43405 if test "$wxUSE_LOG" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_LOG 1
43408 _ACEOF
43409
43410
43411 if test "$wxUSE_LOGGUI" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_LOGGUI 1
43414 _ACEOF
43415
43416 fi
43417
43418 if test "$wxUSE_LOGWINDOW" = "yes"; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define wxUSE_LOGWINDOW 1
43421 _ACEOF
43422
43423 fi
43424
43425 if test "$wxUSE_LOGDIALOG" = "yes"; then
43426 cat >>confdefs.h <<\_ACEOF
43427 #define wxUSE_LOG_DIALOG 1
43428 _ACEOF
43429
43430 fi
43431
43432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43433 fi
43434
43435 if test "$wxUSE_LONGLONG" = "yes"; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define wxUSE_LONGLONG 1
43438 _ACEOF
43439
43440 fi
43441
43442 if test "$wxUSE_GEOMETRY" = "yes"; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_GEOMETRY 1
43445 _ACEOF
43446
43447 fi
43448
43449 if test "$wxUSE_STREAMS" = "yes" ; then
43450 cat >>confdefs.h <<\_ACEOF
43451 #define wxUSE_STREAMS 1
43452 _ACEOF
43453
43454 fi
43455
43456 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43457 cat >>confdefs.h <<\_ACEOF
43458 #define wxUSE_PRINTF_POS_PARAMS 1
43459 _ACEOF
43460
43461 fi
43462
43463
43464
43465 if test "$wxUSE_DATETIME" = "yes"; then
43466
43467 for ac_func in strptime
43468 do
43469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43470 echo "$as_me:$LINENO: checking for $ac_func" >&5
43471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43472 if eval "test \"\${$as_ac_var+set}\" = set"; then
43473 echo $ECHO_N "(cached) $ECHO_C" >&6
43474 else
43475 cat >conftest.$ac_ext <<_ACEOF
43476 /* confdefs.h. */
43477 _ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43483 #define $ac_func innocuous_$ac_func
43484
43485 /* System header to define __stub macros and hopefully few prototypes,
43486 which can conflict with char $ac_func (); below.
43487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43488 <limits.h> exists even on freestanding compilers. */
43489
43490 #ifdef __STDC__
43491 # include <limits.h>
43492 #else
43493 # include <assert.h>
43494 #endif
43495
43496 #undef $ac_func
43497
43498 /* Override any gcc2 internal prototype to avoid an error. */
43499 #ifdef __cplusplus
43500 extern "C"
43501 {
43502 #endif
43503 /* We use char because int might match the return type of a gcc2
43504 builtin and then its argument prototype would still apply. */
43505 char $ac_func ();
43506 /* The GNU C library defines this for functions which it implements
43507 to always fail with ENOSYS. Some functions are actually named
43508 something starting with __ and the normal name is an alias. */
43509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43510 choke me
43511 #else
43512 char (*f) () = $ac_func;
43513 #endif
43514 #ifdef __cplusplus
43515 }
43516 #endif
43517
43518 int
43519 main ()
43520 {
43521 return f != $ac_func;
43522 ;
43523 return 0;
43524 }
43525 _ACEOF
43526 rm -f conftest.$ac_objext conftest$ac_exeext
43527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43528 (eval $ac_link) 2>conftest.er1
43529 ac_status=$?
43530 grep -v '^ *+' conftest.er1 >conftest.err
43531 rm -f conftest.er1
43532 cat conftest.err >&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } &&
43535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43537 (eval $ac_try) 2>&5
43538 ac_status=$?
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); }; } &&
43541 { ac_try='test -s conftest$ac_exeext'
43542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43543 (eval $ac_try) 2>&5
43544 ac_status=$?
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); }; }; then
43547 eval "$as_ac_var=yes"
43548 else
43549 echo "$as_me: failed program was:" >&5
43550 sed 's/^/| /' conftest.$ac_ext >&5
43551
43552 eval "$as_ac_var=no"
43553 fi
43554 rm -f conftest.err conftest.$ac_objext \
43555 conftest$ac_exeext conftest.$ac_ext
43556 fi
43557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43559 if test `eval echo '${'$as_ac_var'}'` = yes; then
43560 cat >>confdefs.h <<_ACEOF
43561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43562 _ACEOF
43563
43564 fi
43565 done
43566
43567 if test "$ac_cv_func_strptime" = "yes"; then
43568 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43569 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43570 if test "${wx_cv_func_strptime_decl+set}" = set; then
43571 echo $ECHO_N "(cached) $ECHO_C" >&6
43572 else
43573
43574 ac_ext=cc
43575 ac_cpp='$CXXCPP $CPPFLAGS'
43576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43579
43580 cat >conftest.$ac_ext <<_ACEOF
43581 /* confdefs.h. */
43582 _ACEOF
43583 cat confdefs.h >>conftest.$ac_ext
43584 cat >>conftest.$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43586
43587 #include <time.h>
43588
43589 int
43590 main ()
43591 {
43592
43593 struct tm t;
43594 strptime("foo", "bar", &t);
43595
43596 ;
43597 return 0;
43598 }
43599 _ACEOF
43600 rm -f conftest.$ac_objext
43601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43602 (eval $ac_compile) 2>conftest.er1
43603 ac_status=$?
43604 grep -v '^ *+' conftest.er1 >conftest.err
43605 rm -f conftest.er1
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } &&
43609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43611 (eval $ac_try) 2>&5
43612 ac_status=$?
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); }; } &&
43615 { ac_try='test -s conftest.$ac_objext'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43618 ac_status=$?
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; }; then
43621 wx_cv_func_strptime_decl=yes
43622 else
43623 echo "$as_me: failed program was:" >&5
43624 sed 's/^/| /' conftest.$ac_ext >&5
43625
43626 wx_cv_func_strptime_decl=no
43627
43628 fi
43629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43630 ac_ext=c
43631 ac_cpp='$CPP $CPPFLAGS'
43632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635
43636
43637
43638 fi
43639 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43640 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43641 fi
43642 if test "$wx_cv_func_strptime_decl" = "yes"; then
43643 cat >>confdefs.h <<\_ACEOF
43644 #define HAVE_STRPTIME_DECL 1
43645 _ACEOF
43646
43647 fi
43648
43649 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43650 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43651 if test "${wx_cv_var_timezone+set}" = set; then
43652 echo $ECHO_N "(cached) $ECHO_C" >&6
43653 else
43654
43655 ac_ext=cc
43656 ac_cpp='$CXXCPP $CPPFLAGS'
43657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43660
43661 cat >conftest.$ac_ext <<_ACEOF
43662 /* confdefs.h. */
43663 _ACEOF
43664 cat confdefs.h >>conftest.$ac_ext
43665 cat >>conftest.$ac_ext <<_ACEOF
43666 /* end confdefs.h. */
43667
43668 #include <time.h>
43669
43670 int
43671 main ()
43672 {
43673
43674 int tz;
43675 tz = timezone;
43676
43677 ;
43678 return 0;
43679 }
43680 _ACEOF
43681 rm -f conftest.$ac_objext
43682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43683 (eval $ac_compile) 2>conftest.er1
43684 ac_status=$?
43685 grep -v '^ *+' conftest.er1 >conftest.err
43686 rm -f conftest.er1
43687 cat conftest.err >&5
43688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43689 (exit $ac_status); } &&
43690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43692 (eval $ac_try) 2>&5
43693 ac_status=$?
43694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43695 (exit $ac_status); }; } &&
43696 { ac_try='test -s conftest.$ac_objext'
43697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43698 (eval $ac_try) 2>&5
43699 ac_status=$?
43700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701 (exit $ac_status); }; }; then
43702
43703 wx_cv_var_timezone=timezone
43704
43705 else
43706 echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43708
43709
43710 cat >conftest.$ac_ext <<_ACEOF
43711 /* confdefs.h. */
43712 _ACEOF
43713 cat confdefs.h >>conftest.$ac_ext
43714 cat >>conftest.$ac_ext <<_ACEOF
43715 /* end confdefs.h. */
43716
43717 #include <time.h>
43718
43719 int
43720 main ()
43721 {
43722
43723 int tz;
43724 tz = _timezone;
43725
43726 ;
43727 return 0;
43728 }
43729 _ACEOF
43730 rm -f conftest.$ac_objext
43731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43732 (eval $ac_compile) 2>conftest.er1
43733 ac_status=$?
43734 grep -v '^ *+' conftest.er1 >conftest.err
43735 rm -f conftest.er1
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } &&
43739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741 (eval $ac_try) 2>&5
43742 ac_status=$?
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); }; } &&
43745 { ac_try='test -s conftest.$ac_objext'
43746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43747 (eval $ac_try) 2>&5
43748 ac_status=$?
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); }; }; then
43751
43752 wx_cv_var_timezone=_timezone
43753
43754 else
43755 echo "$as_me: failed program was:" >&5
43756 sed 's/^/| /' conftest.$ac_ext >&5
43757
43758
43759 cat >conftest.$ac_ext <<_ACEOF
43760 /* confdefs.h. */
43761 _ACEOF
43762 cat confdefs.h >>conftest.$ac_ext
43763 cat >>conftest.$ac_ext <<_ACEOF
43764 /* end confdefs.h. */
43765
43766 #include <time.h>
43767
43768 int
43769 main ()
43770 {
43771
43772 int tz;
43773 tz = __timezone;
43774
43775 ;
43776 return 0;
43777 }
43778 _ACEOF
43779 rm -f conftest.$ac_objext
43780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43781 (eval $ac_compile) 2>conftest.er1
43782 ac_status=$?
43783 grep -v '^ *+' conftest.er1 >conftest.err
43784 rm -f conftest.er1
43785 cat conftest.err >&5
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); } &&
43788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43791 ac_status=$?
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; } &&
43794 { ac_try='test -s conftest.$ac_objext'
43795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43796 (eval $ac_try) 2>&5
43797 ac_status=$?
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); }; }; then
43800
43801 wx_cv_var_timezone=__timezone
43802
43803 else
43804 echo "$as_me: failed program was:" >&5
43805 sed 's/^/| /' conftest.$ac_ext >&5
43806
43807
43808 if test "$USE_DOS" = 0 ; then
43809 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43810 echo "$as_me: WARNING: no timezone variable" >&2;}
43811 fi
43812
43813
43814 fi
43815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43816
43817
43818 fi
43819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43820
43821
43822 fi
43823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43824 ac_ext=c
43825 ac_cpp='$CPP $CPPFLAGS'
43826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43829
43830
43831
43832 fi
43833 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43834 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43835
43836 if test "x$wx_cv_var_timezone" != x ; then
43837 cat >>confdefs.h <<_ACEOF
43838 #define WX_TIMEZONE $wx_cv_var_timezone
43839 _ACEOF
43840
43841 fi
43842
43843
43844 for ac_func in localtime
43845 do
43846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43847 echo "$as_me:$LINENO: checking for $ac_func" >&5
43848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43849 if eval "test \"\${$as_ac_var+set}\" = set"; then
43850 echo $ECHO_N "(cached) $ECHO_C" >&6
43851 else
43852 cat >conftest.$ac_ext <<_ACEOF
43853 /* confdefs.h. */
43854 _ACEOF
43855 cat confdefs.h >>conftest.$ac_ext
43856 cat >>conftest.$ac_ext <<_ACEOF
43857 /* end confdefs.h. */
43858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43860 #define $ac_func innocuous_$ac_func
43861
43862 /* System header to define __stub macros and hopefully few prototypes,
43863 which can conflict with char $ac_func (); below.
43864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43865 <limits.h> exists even on freestanding compilers. */
43866
43867 #ifdef __STDC__
43868 # include <limits.h>
43869 #else
43870 # include <assert.h>
43871 #endif
43872
43873 #undef $ac_func
43874
43875 /* Override any gcc2 internal prototype to avoid an error. */
43876 #ifdef __cplusplus
43877 extern "C"
43878 {
43879 #endif
43880 /* We use char because int might match the return type of a gcc2
43881 builtin and then its argument prototype would still apply. */
43882 char $ac_func ();
43883 /* The GNU C library defines this for functions which it implements
43884 to always fail with ENOSYS. Some functions are actually named
43885 something starting with __ and the normal name is an alias. */
43886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43887 choke me
43888 #else
43889 char (*f) () = $ac_func;
43890 #endif
43891 #ifdef __cplusplus
43892 }
43893 #endif
43894
43895 int
43896 main ()
43897 {
43898 return f != $ac_func;
43899 ;
43900 return 0;
43901 }
43902 _ACEOF
43903 rm -f conftest.$ac_objext conftest$ac_exeext
43904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43905 (eval $ac_link) 2>conftest.er1
43906 ac_status=$?
43907 grep -v '^ *+' conftest.er1 >conftest.err
43908 rm -f conftest.er1
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } &&
43912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43914 (eval $ac_try) 2>&5
43915 ac_status=$?
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); }; } &&
43918 { ac_try='test -s conftest$ac_exeext'
43919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920 (eval $ac_try) 2>&5
43921 ac_status=$?
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; }; then
43924 eval "$as_ac_var=yes"
43925 else
43926 echo "$as_me: failed program was:" >&5
43927 sed 's/^/| /' conftest.$ac_ext >&5
43928
43929 eval "$as_ac_var=no"
43930 fi
43931 rm -f conftest.err conftest.$ac_objext \
43932 conftest$ac_exeext conftest.$ac_ext
43933 fi
43934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43936 if test `eval echo '${'$as_ac_var'}'` = yes; then
43937 cat >>confdefs.h <<_ACEOF
43938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43939 _ACEOF
43940
43941 fi
43942 done
43943
43944
43945 if test "$ac_cv_func_localtime" = "yes"; then
43946 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43947 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43948 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43950 else
43951
43952 cat >conftest.$ac_ext <<_ACEOF
43953 /* confdefs.h. */
43954 _ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958
43959 #include <time.h>
43960
43961 int
43962 main ()
43963 {
43964
43965 struct tm tm;
43966 tm.tm_gmtoff++;
43967
43968 ;
43969 return 0;
43970 }
43971 _ACEOF
43972 rm -f conftest.$ac_objext
43973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43974 (eval $ac_compile) 2>conftest.er1
43975 ac_status=$?
43976 grep -v '^ *+' conftest.er1 >conftest.err
43977 rm -f conftest.er1
43978 cat conftest.err >&5
43979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43980 (exit $ac_status); } &&
43981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43983 (eval $ac_try) 2>&5
43984 ac_status=$?
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); }; } &&
43987 { ac_try='test -s conftest.$ac_objext'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; }; then
43993
43994 wx_cv_struct_tm_has_gmtoff=yes
43995
43996 else
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
43999
44000 wx_cv_struct_tm_has_gmtoff=no
44001
44002 fi
44003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44004
44005 fi
44006 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44007 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44008 fi
44009
44010 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44011 cat >>confdefs.h <<\_ACEOF
44012 #define WX_GMTOFF_IN_TM 1
44013 _ACEOF
44014
44015 fi
44016
44017
44018
44019 for ac_func in gettimeofday ftime
44020 do
44021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44022 echo "$as_me:$LINENO: checking for $ac_func" >&5
44023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44024 if eval "test \"\${$as_ac_var+set}\" = set"; then
44025 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 else
44027 cat >conftest.$ac_ext <<_ACEOF
44028 /* confdefs.h. */
44029 _ACEOF
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h. */
44033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44035 #define $ac_func innocuous_$ac_func
44036
44037 /* System header to define __stub macros and hopefully few prototypes,
44038 which can conflict with char $ac_func (); below.
44039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44040 <limits.h> exists even on freestanding compilers. */
44041
44042 #ifdef __STDC__
44043 # include <limits.h>
44044 #else
44045 # include <assert.h>
44046 #endif
44047
44048 #undef $ac_func
44049
44050 /* Override any gcc2 internal prototype to avoid an error. */
44051 #ifdef __cplusplus
44052 extern "C"
44053 {
44054 #endif
44055 /* We use char because int might match the return type of a gcc2
44056 builtin and then its argument prototype would still apply. */
44057 char $ac_func ();
44058 /* The GNU C library defines this for functions which it implements
44059 to always fail with ENOSYS. Some functions are actually named
44060 something starting with __ and the normal name is an alias. */
44061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44062 choke me
44063 #else
44064 char (*f) () = $ac_func;
44065 #endif
44066 #ifdef __cplusplus
44067 }
44068 #endif
44069
44070 int
44071 main ()
44072 {
44073 return f != $ac_func;
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext conftest$ac_exeext
44079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44080 (eval $ac_link) 2>conftest.er1
44081 ac_status=$?
44082 grep -v '^ *+' conftest.er1 >conftest.err
44083 rm -f conftest.er1
44084 cat conftest.err >&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } &&
44087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44089 (eval $ac_try) 2>&5
44090 ac_status=$?
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); }; } &&
44093 { ac_try='test -s conftest$ac_exeext'
44094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44095 (eval $ac_try) 2>&5
44096 ac_status=$?
44097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44098 (exit $ac_status); }; }; then
44099 eval "$as_ac_var=yes"
44100 else
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.$ac_ext >&5
44103
44104 eval "$as_ac_var=no"
44105 fi
44106 rm -f conftest.err conftest.$ac_objext \
44107 conftest$ac_exeext conftest.$ac_ext
44108 fi
44109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44111 if test `eval echo '${'$as_ac_var'}'` = yes; then
44112 cat >>confdefs.h <<_ACEOF
44113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44114 _ACEOF
44115 break
44116 fi
44117 done
44118
44119
44120 if test "$ac_cv_func_gettimeofday" = "yes"; then
44121 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44122 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44123 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44124 echo $ECHO_N "(cached) $ECHO_C" >&6
44125 else
44126
44127 cat >conftest.$ac_ext <<_ACEOF
44128 /* confdefs.h. */
44129 _ACEOF
44130 cat confdefs.h >>conftest.$ac_ext
44131 cat >>conftest.$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44133
44134 #include <sys/time.h>
44135 #include <unistd.h>
44136
44137 int
44138 main ()
44139 {
44140
44141 struct timeval tv;
44142 gettimeofday(&tv, NULL);
44143
44144 ;
44145 return 0;
44146 }
44147 _ACEOF
44148 rm -f conftest.$ac_objext
44149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44150 (eval $ac_compile) 2>conftest.er1
44151 ac_status=$?
44152 grep -v '^ *+' conftest.er1 >conftest.err
44153 rm -f conftest.er1
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } &&
44157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44159 (eval $ac_try) 2>&5
44160 ac_status=$?
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); }; } &&
44163 { ac_try='test -s conftest.$ac_objext'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44166 ac_status=$?
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; }; then
44169 wx_cv_func_gettimeofday_has_2_args=yes
44170 else
44171 echo "$as_me: failed program was:" >&5
44172 sed 's/^/| /' conftest.$ac_ext >&5
44173
44174 cat >conftest.$ac_ext <<_ACEOF
44175 /* confdefs.h. */
44176 _ACEOF
44177 cat confdefs.h >>conftest.$ac_ext
44178 cat >>conftest.$ac_ext <<_ACEOF
44179 /* end confdefs.h. */
44180
44181 #include <sys/time.h>
44182 #include <unistd.h>
44183
44184 int
44185 main ()
44186 {
44187
44188 struct timeval tv;
44189 gettimeofday(&tv);
44190
44191 ;
44192 return 0;
44193 }
44194 _ACEOF
44195 rm -f conftest.$ac_objext
44196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44197 (eval $ac_compile) 2>conftest.er1
44198 ac_status=$?
44199 grep -v '^ *+' conftest.er1 >conftest.err
44200 rm -f conftest.er1
44201 cat conftest.err >&5
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); } &&
44204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44206 (eval $ac_try) 2>&5
44207 ac_status=$?
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); }; } &&
44210 { ac_try='test -s conftest.$ac_objext'
44211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44212 (eval $ac_try) 2>&5
44213 ac_status=$?
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); }; }; then
44216 wx_cv_func_gettimeofday_has_2_args=no
44217 else
44218 echo "$as_me: failed program was:" >&5
44219 sed 's/^/| /' conftest.$ac_ext >&5
44220
44221
44222 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44223 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44224 wx_cv_func_gettimeofday_has_2_args=unknown
44225
44226
44227 fi
44228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44229
44230 fi
44231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44232
44233 fi
44234 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44235 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44236
44237 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define WX_GETTIMEOFDAY_NO_TZ 1
44240 _ACEOF
44241
44242 fi
44243 fi
44244
44245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44246 fi
44247
44248
44249 if test "$wxUSE_SOCKETS" = "yes"; then
44250 if test "$wxUSE_MGL" = "1"; then
44251 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44252 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44253 wxUSE_SOCKETS="no"
44254 fi
44255 fi
44256
44257 if test "$wxUSE_SOCKETS" = "yes"; then
44258 if test "$TOOLKIT" != "MSW"; then
44259 echo "$as_me:$LINENO: checking for socket" >&5
44260 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44261 if test "${ac_cv_func_socket+set}" = set; then
44262 echo $ECHO_N "(cached) $ECHO_C" >&6
44263 else
44264 cat >conftest.$ac_ext <<_ACEOF
44265 /* confdefs.h. */
44266 _ACEOF
44267 cat confdefs.h >>conftest.$ac_ext
44268 cat >>conftest.$ac_ext <<_ACEOF
44269 /* end confdefs.h. */
44270 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44272 #define socket innocuous_socket
44273
44274 /* System header to define __stub macros and hopefully few prototypes,
44275 which can conflict with char socket (); below.
44276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44277 <limits.h> exists even on freestanding compilers. */
44278
44279 #ifdef __STDC__
44280 # include <limits.h>
44281 #else
44282 # include <assert.h>
44283 #endif
44284
44285 #undef socket
44286
44287 /* Override any gcc2 internal prototype to avoid an error. */
44288 #ifdef __cplusplus
44289 extern "C"
44290 {
44291 #endif
44292 /* We use char because int might match the return type of a gcc2
44293 builtin and then its argument prototype would still apply. */
44294 char socket ();
44295 /* The GNU C library defines this for functions which it implements
44296 to always fail with ENOSYS. Some functions are actually named
44297 something starting with __ and the normal name is an alias. */
44298 #if defined (__stub_socket) || defined (__stub___socket)
44299 choke me
44300 #else
44301 char (*f) () = socket;
44302 #endif
44303 #ifdef __cplusplus
44304 }
44305 #endif
44306
44307 int
44308 main ()
44309 {
44310 return f != socket;
44311 ;
44312 return 0;
44313 }
44314 _ACEOF
44315 rm -f conftest.$ac_objext conftest$ac_exeext
44316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44317 (eval $ac_link) 2>conftest.er1
44318 ac_status=$?
44319 grep -v '^ *+' conftest.er1 >conftest.err
44320 rm -f conftest.er1
44321 cat conftest.err >&5
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); } &&
44324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326 (eval $ac_try) 2>&5
44327 ac_status=$?
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); }; } &&
44330 { ac_try='test -s conftest$ac_exeext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44336 ac_cv_func_socket=yes
44337 else
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44340
44341 ac_cv_func_socket=no
44342 fi
44343 rm -f conftest.err conftest.$ac_objext \
44344 conftest$ac_exeext conftest.$ac_ext
44345 fi
44346 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44347 echo "${ECHO_T}$ac_cv_func_socket" >&6
44348 if test $ac_cv_func_socket = yes; then
44349 :
44350 else
44351
44352 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44353 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44354 if test "${ac_cv_lib_socket_socket+set}" = set; then
44355 echo $ECHO_N "(cached) $ECHO_C" >&6
44356 else
44357 ac_check_lib_save_LIBS=$LIBS
44358 LIBS="-lsocket $LIBS"
44359 cat >conftest.$ac_ext <<_ACEOF
44360 /* confdefs.h. */
44361 _ACEOF
44362 cat confdefs.h >>conftest.$ac_ext
44363 cat >>conftest.$ac_ext <<_ACEOF
44364 /* end confdefs.h. */
44365
44366 /* Override any gcc2 internal prototype to avoid an error. */
44367 #ifdef __cplusplus
44368 extern "C"
44369 #endif
44370 /* We use char because int might match the return type of a gcc2
44371 builtin and then its argument prototype would still apply. */
44372 char socket ();
44373 int
44374 main ()
44375 {
44376 socket ();
44377 ;
44378 return 0;
44379 }
44380 _ACEOF
44381 rm -f conftest.$ac_objext conftest$ac_exeext
44382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44383 (eval $ac_link) 2>conftest.er1
44384 ac_status=$?
44385 grep -v '^ *+' conftest.er1 >conftest.err
44386 rm -f conftest.er1
44387 cat conftest.err >&5
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); } &&
44390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44392 (eval $ac_try) 2>&5
44393 ac_status=$?
44394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44395 (exit $ac_status); }; } &&
44396 { ac_try='test -s conftest$ac_exeext'
44397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44398 (eval $ac_try) 2>&5
44399 ac_status=$?
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); }; }; then
44402 ac_cv_lib_socket_socket=yes
44403 else
44404 echo "$as_me: failed program was:" >&5
44405 sed 's/^/| /' conftest.$ac_ext >&5
44406
44407 ac_cv_lib_socket_socket=no
44408 fi
44409 rm -f conftest.err conftest.$ac_objext \
44410 conftest$ac_exeext conftest.$ac_ext
44411 LIBS=$ac_check_lib_save_LIBS
44412 fi
44413 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44414 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44415 if test $ac_cv_lib_socket_socket = yes; then
44416 if test "$INET_LINK" != " -lsocket"; then
44417 INET_LINK="$INET_LINK -lsocket"
44418 fi
44419 else
44420
44421 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44422 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44423 wxUSE_SOCKETS=no
44424
44425
44426 fi
44427
44428
44429
44430 fi
44431
44432 fi
44433 fi
44434
44435 if test "$wxUSE_SOCKETS" = "yes" ; then
44436 if test "$TOOLKIT" != "MSW"; then
44437 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44438 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44439 if test "${wx_cv_type_getsockname3+set}" = set; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44441 else
44442
44443 ac_ext=cc
44444 ac_cpp='$CXXCPP $CPPFLAGS'
44445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h. */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44455
44456 #include <sys/types.h>
44457 #include <sys/socket.h>
44458
44459 int
44460 main ()
44461 {
44462
44463 socklen_t len;
44464 getsockname(0, 0, &len);
44465
44466 ;
44467 return 0;
44468 }
44469 _ACEOF
44470 rm -f conftest.$ac_objext
44471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44472 (eval $ac_compile) 2>conftest.er1
44473 ac_status=$?
44474 grep -v '^ *+' conftest.er1 >conftest.err
44475 rm -f conftest.er1
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } &&
44479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; } &&
44485 { ac_try='test -s conftest.$ac_objext'
44486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487 (eval $ac_try) 2>&5
44488 ac_status=$?
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); }; }; then
44491 wx_cv_type_getsockname3=socklen_t
44492 else
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44495
44496
44497 CFLAGS_OLD="$CFLAGS"
44498 if test "$GCC" = yes ; then
44499 CFLAGS="-Werror $CFLAGS"
44500 fi
44501
44502 cat >conftest.$ac_ext <<_ACEOF
44503 /* confdefs.h. */
44504 _ACEOF
44505 cat confdefs.h >>conftest.$ac_ext
44506 cat >>conftest.$ac_ext <<_ACEOF
44507 /* end confdefs.h. */
44508
44509 #include <sys/types.h>
44510 #include <sys/socket.h>
44511
44512 int
44513 main ()
44514 {
44515
44516 size_t len;
44517 getsockname(0, 0, &len);
44518
44519 ;
44520 return 0;
44521 }
44522 _ACEOF
44523 rm -f conftest.$ac_objext
44524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44525 (eval $ac_compile) 2>conftest.er1
44526 ac_status=$?
44527 grep -v '^ *+' conftest.er1 >conftest.err
44528 rm -f conftest.er1
44529 cat conftest.err >&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } &&
44532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44534 (eval $ac_try) 2>&5
44535 ac_status=$?
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); }; } &&
44538 { ac_try='test -s conftest.$ac_objext'
44539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44540 (eval $ac_try) 2>&5
44541 ac_status=$?
44542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543 (exit $ac_status); }; }; then
44544 wx_cv_type_getsockname3=size_t
44545 else
44546 echo "$as_me: failed program was:" >&5
44547 sed 's/^/| /' conftest.$ac_ext >&5
44548
44549 cat >conftest.$ac_ext <<_ACEOF
44550 /* confdefs.h. */
44551 _ACEOF
44552 cat confdefs.h >>conftest.$ac_ext
44553 cat >>conftest.$ac_ext <<_ACEOF
44554 /* end confdefs.h. */
44555
44556 #include <sys/types.h>
44557 #include <sys/socket.h>
44558
44559 int
44560 main ()
44561 {
44562
44563 int len;
44564 getsockname(0, 0, &len);
44565
44566 ;
44567 return 0;
44568 }
44569 _ACEOF
44570 rm -f conftest.$ac_objext
44571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44572 (eval $ac_compile) 2>conftest.er1
44573 ac_status=$?
44574 grep -v '^ *+' conftest.er1 >conftest.err
44575 rm -f conftest.er1
44576 cat conftest.err >&5
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); } &&
44579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44581 (eval $ac_try) 2>&5
44582 ac_status=$?
44583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44584 (exit $ac_status); }; } &&
44585 { ac_try='test -s conftest.$ac_objext'
44586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44587 (eval $ac_try) 2>&5
44588 ac_status=$?
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); }; }; then
44591 wx_cv_type_getsockname3=int
44592 else
44593 echo "$as_me: failed program was:" >&5
44594 sed 's/^/| /' conftest.$ac_ext >&5
44595
44596 wx_cv_type_getsockname3=unknown
44597
44598 fi
44599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44600
44601 fi
44602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44603
44604 CFLAGS="$CFLAGS_OLD"
44605
44606
44607 fi
44608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44609 ac_ext=c
44610 ac_cpp='$CPP $CPPFLAGS'
44611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44614
44615
44616 fi
44617 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44618 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44619
44620 if test "$wx_cv_type_getsockname3" = "unknown"; then
44621 wxUSE_SOCKETS=no
44622 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44623 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44624 else
44625 cat >>confdefs.h <<_ACEOF
44626 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44627 _ACEOF
44628
44629 fi
44630 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44631 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44632 if test "${wx_cv_type_getsockopt5+set}" = set; then
44633 echo $ECHO_N "(cached) $ECHO_C" >&6
44634 else
44635
44636 cat >conftest.$ac_ext <<_ACEOF
44637 /* confdefs.h. */
44638 _ACEOF
44639 cat confdefs.h >>conftest.$ac_ext
44640 cat >>conftest.$ac_ext <<_ACEOF
44641 /* end confdefs.h. */
44642
44643 #include <sys/types.h>
44644 #include <sys/socket.h>
44645
44646 int
44647 main ()
44648 {
44649
44650 socklen_t len;
44651 getsockopt(0, 0, 0, 0, &len);
44652
44653 ;
44654 return 0;
44655 }
44656 _ACEOF
44657 rm -f conftest.$ac_objext
44658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44659 (eval $ac_compile) 2>conftest.er1
44660 ac_status=$?
44661 grep -v '^ *+' conftest.er1 >conftest.err
44662 rm -f conftest.er1
44663 cat conftest.err >&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); } &&
44666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44668 (eval $ac_try) 2>&5
44669 ac_status=$?
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); }; } &&
44672 { ac_try='test -s conftest.$ac_objext'
44673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674 (eval $ac_try) 2>&5
44675 ac_status=$?
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; }; then
44678 wx_cv_type_getsockopt5=socklen_t
44679 else
44680 echo "$as_me: failed program was:" >&5
44681 sed 's/^/| /' conftest.$ac_ext >&5
44682
44683
44684 ac_ext=cc
44685 ac_cpp='$CXXCPP $CPPFLAGS'
44686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689
44690 cat >conftest.$ac_ext <<_ACEOF
44691 /* confdefs.h. */
44692 _ACEOF
44693 cat confdefs.h >>conftest.$ac_ext
44694 cat >>conftest.$ac_ext <<_ACEOF
44695 /* end confdefs.h. */
44696
44697 #include <sys/types.h>
44698 #include <sys/socket.h>
44699
44700 int
44701 main ()
44702 {
44703
44704 size_t len;
44705 getsockopt(0, 0, 0, 0, &len);
44706
44707 ;
44708 return 0;
44709 }
44710 _ACEOF
44711 rm -f conftest.$ac_objext
44712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44713 (eval $ac_compile) 2>conftest.er1
44714 ac_status=$?
44715 grep -v '^ *+' conftest.er1 >conftest.err
44716 rm -f conftest.er1
44717 cat conftest.err >&5
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); } &&
44720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44722 (eval $ac_try) 2>&5
44723 ac_status=$?
44724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44725 (exit $ac_status); }; } &&
44726 { ac_try='test -s conftest.$ac_objext'
44727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44728 (eval $ac_try) 2>&5
44729 ac_status=$?
44730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44731 (exit $ac_status); }; }; then
44732 wx_cv_type_getsockopt5=size_t
44733 else
44734 echo "$as_me: failed program was:" >&5
44735 sed 's/^/| /' conftest.$ac_ext >&5
44736
44737 cat >conftest.$ac_ext <<_ACEOF
44738 /* confdefs.h. */
44739 _ACEOF
44740 cat confdefs.h >>conftest.$ac_ext
44741 cat >>conftest.$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743
44744 #include <sys/types.h>
44745 #include <sys/socket.h>
44746
44747 int
44748 main ()
44749 {
44750
44751 int len;
44752 getsockopt(0, 0, 0, 0, &len);
44753
44754 ;
44755 return 0;
44756 }
44757 _ACEOF
44758 rm -f conftest.$ac_objext
44759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44760 (eval $ac_compile) 2>conftest.er1
44761 ac_status=$?
44762 grep -v '^ *+' conftest.er1 >conftest.err
44763 rm -f conftest.er1
44764 cat conftest.err >&5
44765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44766 (exit $ac_status); } &&
44767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44769 (eval $ac_try) 2>&5
44770 ac_status=$?
44771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772 (exit $ac_status); }; } &&
44773 { ac_try='test -s conftest.$ac_objext'
44774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44775 (eval $ac_try) 2>&5
44776 ac_status=$?
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; }; then
44779 wx_cv_type_getsockopt5=int
44780 else
44781 echo "$as_me: failed program was:" >&5
44782 sed 's/^/| /' conftest.$ac_ext >&5
44783
44784 wx_cv_type_getsockopt5=unknown
44785
44786 fi
44787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44788
44789 fi
44790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44791 ac_ext=c
44792 ac_cpp='$CPP $CPPFLAGS'
44793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44796
44797
44798
44799 fi
44800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44801
44802 fi
44803 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44804 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44805
44806 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44807 wxUSE_SOCKETS=no
44808 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44809 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44810 else
44811 cat >>confdefs.h <<_ACEOF
44812 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44813 _ACEOF
44814
44815 fi
44816 fi
44817 fi
44818
44819 if test "$wxUSE_SOCKETS" = "yes" ; then
44820 cat >>confdefs.h <<\_ACEOF
44821 #define wxUSE_SOCKETS 1
44822 _ACEOF
44823
44824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44825 fi
44826
44827 if test "$wxUSE_PROTOCOL" = "yes"; then
44828 if test "$wxUSE_SOCKETS" != "yes"; then
44829 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44830 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44831 wxUSE_PROTOCOL=no
44832 fi
44833 fi
44834
44835 if test "$wxUSE_PROTOCOL" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_PROTOCOL 1
44838 _ACEOF
44839
44840
44841 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_PROTOCOL_HTTP 1
44844 _ACEOF
44845
44846 fi
44847 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_PROTOCOL_FTP 1
44850 _ACEOF
44851
44852 fi
44853 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_PROTOCOL_FILE 1
44856 _ACEOF
44857
44858 fi
44859 else
44860 if test "$wxUSE_FS_INET" = "yes"; then
44861 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44862 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44863 wxUSE_FS_INET="no"
44864 fi
44865 fi
44866
44867 if test "$wxUSE_URL" = "yes"; then
44868 if test "$wxUSE_PROTOCOL" != "yes"; then
44869 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44870 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44871 wxUSE_URL=no
44872 fi
44873 if test "$wxUSE_URL" = "yes"; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_URL 1
44876 _ACEOF
44877
44878 fi
44879 fi
44880
44881 if test "$wxUSE_VARIANT" = "yes"; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_VARIANT 1
44884 _ACEOF
44885
44886 fi
44887
44888 if test "$wxUSE_FS_INET" = "yes"; then
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_FS_INET 1
44891 _ACEOF
44892
44893 fi
44894
44895
44896 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44897 wxUSE_JOYSTICK=no
44898
44899 if test "$TOOLKIT" = "MSW"; then
44900 wxUSE_JOYSTICK=yes
44901
44902 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44903 if test "$USE_DARWIN" = 1; then
44904 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44905 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44906 ac_ext=cc
44907 ac_cpp='$CXXCPP $CPPFLAGS'
44908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44911
44912 cat >conftest.$ac_ext <<_ACEOF
44913 /* confdefs.h. */
44914 _ACEOF
44915 cat confdefs.h >>conftest.$ac_ext
44916 cat >>conftest.$ac_ext <<_ACEOF
44917 /* end confdefs.h. */
44918 #include <IOKit/hid/IOHIDLib.h>
44919 int
44920 main ()
44921 {
44922 IOHIDQueueInterface *qi = NULL;
44923 IOHIDCallbackFunction cb = NULL;
44924 qi->setEventCallout(NULL, cb, NULL, NULL);
44925 ;
44926 return 0;
44927 }
44928 _ACEOF
44929 rm -f conftest.$ac_objext
44930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44931 (eval $ac_compile) 2>conftest.er1
44932 ac_status=$?
44933 grep -v '^ *+' conftest.er1 >conftest.err
44934 rm -f conftest.er1
44935 cat conftest.err >&5
44936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937 (exit $ac_status); } &&
44938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44940 (eval $ac_try) 2>&5
44941 ac_status=$?
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; } &&
44944 { ac_try='test -s conftest.$ac_objext'
44945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44946 (eval $ac_try) 2>&5
44947 ac_status=$?
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); }; }; then
44950 wxUSE_JOYSTICK=yes
44951
44952 else
44953 echo "$as_me: failed program was:" >&5
44954 sed 's/^/| /' conftest.$ac_ext >&5
44955
44956 fi
44957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44958 ac_ext=c
44959 ac_cpp='$CPP $CPPFLAGS'
44960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44963
44964 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44965 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44966 fi
44967
44968 else
44969 if test "$wxUSE_MGL" != "1"; then
44970
44971 for ac_header in linux/joystick.h
44972 do
44973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44975 echo "$as_me:$LINENO: checking for $ac_header" >&5
44976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44978 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 fi
44980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44982 else
44983 # Is the header compilable?
44984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44986 cat >conftest.$ac_ext <<_ACEOF
44987 /* confdefs.h. */
44988 _ACEOF
44989 cat confdefs.h >>conftest.$ac_ext
44990 cat >>conftest.$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 $ac_includes_default
44993 #include <$ac_header>
44994 _ACEOF
44995 rm -f conftest.$ac_objext
44996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44997 (eval $ac_compile) 2>conftest.er1
44998 ac_status=$?
44999 grep -v '^ *+' conftest.er1 >conftest.err
45000 rm -f conftest.er1
45001 cat conftest.err >&5
45002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45003 (exit $ac_status); } &&
45004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45006 (eval $ac_try) 2>&5
45007 ac_status=$?
45008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45009 (exit $ac_status); }; } &&
45010 { ac_try='test -s conftest.$ac_objext'
45011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45012 (eval $ac_try) 2>&5
45013 ac_status=$?
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; }; then
45016 ac_header_compiler=yes
45017 else
45018 echo "$as_me: failed program was:" >&5
45019 sed 's/^/| /' conftest.$ac_ext >&5
45020
45021 ac_header_compiler=no
45022 fi
45023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45025 echo "${ECHO_T}$ac_header_compiler" >&6
45026
45027 # Is the header present?
45028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45030 cat >conftest.$ac_ext <<_ACEOF
45031 /* confdefs.h. */
45032 _ACEOF
45033 cat confdefs.h >>conftest.$ac_ext
45034 cat >>conftest.$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 #include <$ac_header>
45037 _ACEOF
45038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45040 ac_status=$?
45041 grep -v '^ *+' conftest.er1 >conftest.err
45042 rm -f conftest.er1
45043 cat conftest.err >&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); } >/dev/null; then
45046 if test -s conftest.err; then
45047 ac_cpp_err=$ac_c_preproc_warn_flag
45048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45049 else
45050 ac_cpp_err=
45051 fi
45052 else
45053 ac_cpp_err=yes
45054 fi
45055 if test -z "$ac_cpp_err"; then
45056 ac_header_preproc=yes
45057 else
45058 echo "$as_me: failed program was:" >&5
45059 sed 's/^/| /' conftest.$ac_ext >&5
45060
45061 ac_header_preproc=no
45062 fi
45063 rm -f conftest.err conftest.$ac_ext
45064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45065 echo "${ECHO_T}$ac_header_preproc" >&6
45066
45067 # So? What about this header?
45068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45069 yes:no: )
45070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45074 ac_header_preproc=yes
45075 ;;
45076 no:yes:* )
45077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45089 (
45090 cat <<\_ASBOX
45091 ## ----------------------------------------- ##
45092 ## Report this to wx-dev@lists.wxwidgets.org ##
45093 ## ----------------------------------------- ##
45094 _ASBOX
45095 ) |
45096 sed "s/^/$as_me: WARNING: /" >&2
45097 ;;
45098 esac
45099 echo "$as_me:$LINENO: checking for $ac_header" >&5
45100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45102 echo $ECHO_N "(cached) $ECHO_C" >&6
45103 else
45104 eval "$as_ac_Header=\$ac_header_preproc"
45105 fi
45106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45108
45109 fi
45110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45111 cat >>confdefs.h <<_ACEOF
45112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45113 _ACEOF
45114 wxUSE_JOYSTICK=yes
45115 fi
45116
45117 done
45118
45119 fi
45120 fi
45121
45122 if test "$wxUSE_JOYSTICK" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_JOYSTICK 1
45125 _ACEOF
45126
45127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45128 else
45129 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45130 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45131 fi
45132 fi
45133
45134
45135
45136 if test "$wxUSE_FONTMAP" = "yes" ; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_FONTMAP 1
45139 _ACEOF
45140
45141 fi
45142
45143 if test "$wxUSE_UNICODE" = "yes" ; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_UNICODE 1
45146 _ACEOF
45147
45148
45149 if test "$USE_WIN32" != 1; then
45150 wxUSE_UNICODE_MSLU=no
45151 fi
45152
45153 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45154 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45155 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45156 if test "${ac_cv_lib_unicows_main+set}" = set; then
45157 echo $ECHO_N "(cached) $ECHO_C" >&6
45158 else
45159 ac_check_lib_save_LIBS=$LIBS
45160 LIBS="-lunicows $LIBS"
45161 cat >conftest.$ac_ext <<_ACEOF
45162 /* confdefs.h. */
45163 _ACEOF
45164 cat confdefs.h >>conftest.$ac_ext
45165 cat >>conftest.$ac_ext <<_ACEOF
45166 /* end confdefs.h. */
45167
45168
45169 int
45170 main ()
45171 {
45172 main ();
45173 ;
45174 return 0;
45175 }
45176 _ACEOF
45177 rm -f conftest.$ac_objext conftest$ac_exeext
45178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45179 (eval $ac_link) 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } &&
45186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45189 ac_status=$?
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; } &&
45192 { ac_try='test -s conftest$ac_exeext'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; }; then
45198 ac_cv_lib_unicows_main=yes
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203 ac_cv_lib_unicows_main=no
45204 fi
45205 rm -f conftest.err conftest.$ac_objext \
45206 conftest$ac_exeext conftest.$ac_ext
45207 LIBS=$ac_check_lib_save_LIBS
45208 fi
45209 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45210 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45211 if test $ac_cv_lib_unicows_main = yes; then
45212
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_UNICODE_MSLU 1
45215 _ACEOF
45216
45217
45218 else
45219
45220 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45221 Applications will only run on Windows NT/2000/XP!" >&5
45222 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45223 Applications will only run on Windows NT/2000/XP!" >&2;}
45224 wxUSE_UNICODE_MSLU=no
45225
45226 fi
45227
45228 fi
45229 fi
45230
45231 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_EXPERIMENTAL_PRINTF 1
45234 _ACEOF
45235
45236 fi
45237
45238
45239 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_POSTSCRIPT 1
45242 _ACEOF
45243
45244 fi
45245
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45248 _ACEOF
45249
45250
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_NORMALIZED_PS_FONTS 1
45253 _ACEOF
45254
45255
45256
45257 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_CONSTRAINTS 1
45260 _ACEOF
45261
45262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45263 fi
45264
45265 if test "$wxUSE_MDI" = "yes"; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_MDI 1
45268 _ACEOF
45269
45270
45271 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_MDI_ARCHITECTURE 1
45274 _ACEOF
45275
45276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45277 fi
45278 fi
45279
45280 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45283 _ACEOF
45284
45285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45286 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45288 fi
45289 fi
45290
45291 if test "$wxUSE_HELP" = "yes"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_HELP 1
45294 _ACEOF
45295
45296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45297
45298 if test "$wxUSE_MSW" = 1; then
45299 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_MS_HTML_HELP 1
45302 _ACEOF
45303
45304 fi
45305 fi
45306
45307 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45308 if test "$wxUSE_HTML" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_WXHTML_HELP 1
45311 _ACEOF
45312
45313 else
45314 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45315 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45316 wxUSE_WXHTML_HELP=no
45317 fi
45318 fi
45319 fi
45320
45321 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45322 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45323 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45324 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45325 else
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_PRINTING_ARCHITECTURE 1
45328 _ACEOF
45329
45330 fi
45331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45332 fi
45333
45334 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45335 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45336 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45337 { (exit 1); exit 1; }; }
45338 fi
45339
45340
45341 if test "$wxUSE_METAFILE" = "yes"; then
45342 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45343 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45344 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45345 wxUSE_METAFILE=no
45346 fi
45347 fi
45348
45349
45350 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45351 -o "$wxUSE_CLIPBOARD" = "yes" \
45352 -o "$wxUSE_OLE" = "yes" \
45353 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45354
45355 for ac_header in ole2.h
45356 do
45357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45359 echo "$as_me:$LINENO: checking for $ac_header" >&5
45360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45362 echo $ECHO_N "(cached) $ECHO_C" >&6
45363 fi
45364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45366 else
45367 # Is the header compilable?
45368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45370 cat >conftest.$ac_ext <<_ACEOF
45371 /* confdefs.h. */
45372 _ACEOF
45373 cat confdefs.h >>conftest.$ac_ext
45374 cat >>conftest.$ac_ext <<_ACEOF
45375 /* end confdefs.h. */
45376 $ac_includes_default
45377 #include <$ac_header>
45378 _ACEOF
45379 rm -f conftest.$ac_objext
45380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45381 (eval $ac_compile) 2>conftest.er1
45382 ac_status=$?
45383 grep -v '^ *+' conftest.er1 >conftest.err
45384 rm -f conftest.er1
45385 cat conftest.err >&5
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); } &&
45388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45390 (eval $ac_try) 2>&5
45391 ac_status=$?
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); }; } &&
45394 { ac_try='test -s conftest.$ac_objext'
45395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396 (eval $ac_try) 2>&5
45397 ac_status=$?
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; }; then
45400 ac_header_compiler=yes
45401 else
45402 echo "$as_me: failed program was:" >&5
45403 sed 's/^/| /' conftest.$ac_ext >&5
45404
45405 ac_header_compiler=no
45406 fi
45407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45409 echo "${ECHO_T}$ac_header_compiler" >&6
45410
45411 # Is the header present?
45412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45414 cat >conftest.$ac_ext <<_ACEOF
45415 /* confdefs.h. */
45416 _ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45420 #include <$ac_header>
45421 _ACEOF
45422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45424 ac_status=$?
45425 grep -v '^ *+' conftest.er1 >conftest.err
45426 rm -f conftest.er1
45427 cat conftest.err >&5
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); } >/dev/null; then
45430 if test -s conftest.err; then
45431 ac_cpp_err=$ac_c_preproc_warn_flag
45432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45433 else
45434 ac_cpp_err=
45435 fi
45436 else
45437 ac_cpp_err=yes
45438 fi
45439 if test -z "$ac_cpp_err"; then
45440 ac_header_preproc=yes
45441 else
45442 echo "$as_me: failed program was:" >&5
45443 sed 's/^/| /' conftest.$ac_ext >&5
45444
45445 ac_header_preproc=no
45446 fi
45447 rm -f conftest.err conftest.$ac_ext
45448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45449 echo "${ECHO_T}$ac_header_preproc" >&6
45450
45451 # So? What about this header?
45452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45453 yes:no: )
45454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45458 ac_header_preproc=yes
45459 ;;
45460 no:yes:* )
45461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45473 (
45474 cat <<\_ASBOX
45475 ## ----------------------------------------- ##
45476 ## Report this to wx-dev@lists.wxwidgets.org ##
45477 ## ----------------------------------------- ##
45478 _ASBOX
45479 ) |
45480 sed "s/^/$as_me: WARNING: /" >&2
45481 ;;
45482 esac
45483 echo "$as_me:$LINENO: checking for $ac_header" >&5
45484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45486 echo $ECHO_N "(cached) $ECHO_C" >&6
45487 else
45488 eval "$as_ac_Header=\$ac_header_preproc"
45489 fi
45490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45492
45493 fi
45494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45495 cat >>confdefs.h <<_ACEOF
45496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45497 _ACEOF
45498
45499 fi
45500
45501 done
45502
45503
45504 if test "$ac_cv_header_ole2_h" = "yes" ; then
45505 if test "$GCC" = yes ; then
45506 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45507 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45508 cat >conftest.$ac_ext <<_ACEOF
45509 /* confdefs.h. */
45510 _ACEOF
45511 cat confdefs.h >>conftest.$ac_ext
45512 cat >>conftest.$ac_ext <<_ACEOF
45513 /* end confdefs.h. */
45514 #include <windows.h>
45515 #include <ole2.h>
45516 int
45517 main ()
45518 {
45519
45520 ;
45521 return 0;
45522 }
45523 _ACEOF
45524 rm -f conftest.$ac_objext
45525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45526 (eval $ac_compile) 2>conftest.er1
45527 ac_status=$?
45528 grep -v '^ *+' conftest.er1 >conftest.err
45529 rm -f conftest.er1
45530 cat conftest.err >&5
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); } &&
45533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45535 (eval $ac_try) 2>&5
45536 ac_status=$?
45537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538 (exit $ac_status); }; } &&
45539 { ac_try='test -s conftest.$ac_objext'
45540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45541 (eval $ac_try) 2>&5
45542 ac_status=$?
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); }; }; then
45545 echo "$as_me:$LINENO: result: no" >&5
45546 echo "${ECHO_T}no" >&6
45547 else
45548 echo "$as_me: failed program was:" >&5
45549 sed 's/^/| /' conftest.$ac_ext >&5
45550
45551 echo "$as_me:$LINENO: result: yes" >&5
45552 echo "${ECHO_T}yes" >&6
45553 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45554 fi
45555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45556 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45557 if test "$wxUSE_OLE" = "yes" ; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_OLE 1
45560 _ACEOF
45561
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_OLE_AUTOMATION 1
45564 _ACEOF
45565
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_OLE_ACTIVEX 1
45568 _ACEOF
45569
45570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45571 fi
45572 fi
45573
45574 if test "$wxUSE_DATAOBJ" = "yes" ; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_DATAOBJ 1
45577 _ACEOF
45578
45579 fi
45580 else
45581 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45582 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45583
45584 wxUSE_CLIPBOARD=no
45585 wxUSE_DRAG_AND_DROP=no
45586 wxUSE_DATAOBJ=no
45587 wxUSE_OLE=no
45588 fi
45589
45590 if test "$wxUSE_METAFILE" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_METAFILE 1
45593 _ACEOF
45594
45595
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_ENH_METAFILE 1
45598 _ACEOF
45599
45600 fi
45601 fi
45602
45603 if test "$wxUSE_IPC" = "yes"; then
45604 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45605 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45606 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45607 wxUSE_IPC=no
45608 fi
45609
45610 if test "$wxUSE_IPC" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_IPC 1
45613 _ACEOF
45614
45615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45616 fi
45617 fi
45618
45619 if test "$wxUSE_DATAOBJ" = "yes"; then
45620 if test "$wxUSE_MGL" = 1; then
45621 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45622 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45623 wxUSE_DATAOBJ=no
45624 else
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_DATAOBJ 1
45627 _ACEOF
45628
45629 fi
45630 else
45631 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45632 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45633 wxUSE_CLIPBOARD=no
45634 wxUSE_DRAG_AND_DROP=no
45635 fi
45636
45637 if test "$wxUSE_CLIPBOARD" = "yes"; then
45638 if test "$wxUSE_MGL" = 1; then
45639 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45640 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45641 wxUSE_CLIPBOARD=no
45642 fi
45643
45644 if test "$wxUSE_CLIPBOARD" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_CLIPBOARD 1
45647 _ACEOF
45648
45649 fi
45650 fi
45651
45652 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45653 if test "$wxUSE_GTK" = 1; then
45654 if test "$WXGTK12" != 1; then
45655 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45656 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45657 wxUSE_DRAG_AND_DROP=no
45658 fi
45659 fi
45660
45661 if test "$wxUSE_MOTIF" = 1; then
45662 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45663 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45664 wxUSE_DRAG_AND_DROP=no
45665 fi
45666
45667 if test "$wxUSE_X11" = 1; then
45668 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45669 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45670 wxUSE_DRAG_AND_DROP=no
45671 fi
45672
45673 if test "$wxUSE_MGL" = 1; then
45674 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45675 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45676 wxUSE_DRAG_AND_DROP=no
45677 fi
45678
45679 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_DRAG_AND_DROP 1
45682 _ACEOF
45683
45684 fi
45685
45686 fi
45687
45688 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45690 fi
45691
45692 if test "$wxUSE_SPLINES" = "yes" ; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_SPLINES 1
45695 _ACEOF
45696
45697 fi
45698
45699 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_MOUSEWHEEL 1
45702 _ACEOF
45703
45704 fi
45705
45706
45707 USES_CONTROLS=0
45708 if test "$wxUSE_CONTROLS" = "yes"; then
45709 USES_CONTROLS=1
45710 fi
45711
45712 if test "$wxUSE_ACCEL" = "yes"; then
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_ACCEL 1
45715 _ACEOF
45716
45717 USES_CONTROLS=1
45718 fi
45719
45720 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_ANIMATIONCTRL 1
45723 _ACEOF
45724
45725 USES_CONTROLS=1
45726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45727 fi
45728
45729 if test "$wxUSE_BUTTON" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_BUTTON 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735 fi
45736
45737 if test "$wxUSE_BMPBUTTON" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_BMPBUTTON 1
45740 _ACEOF
45741
45742 USES_CONTROLS=1
45743 fi
45744
45745 if test "$wxUSE_CALCTRL" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_CALENDARCTRL 1
45748 _ACEOF
45749
45750 USES_CONTROLS=1
45751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45752 fi
45753
45754 if test "$wxUSE_CARET" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_CARET 1
45757 _ACEOF
45758
45759 USES_CONTROLS=1
45760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45761 fi
45762
45763 if test "$wxUSE_COLLPANE" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_COLLPANE 1
45766 _ACEOF
45767
45768 USES_CONTROLS=1
45769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45770 fi
45771
45772 if test "$wxUSE_COMBOBOX" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_COMBOBOX 1
45775 _ACEOF
45776
45777 USES_CONTROLS=1
45778 fi
45779
45780 if test "$wxUSE_COMBOCTRL" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_COMBOCTRL 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 fi
45787
45788 if test "$wxUSE_CHOICE" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_CHOICE 1
45791 _ACEOF
45792
45793 USES_CONTROLS=1
45794 fi
45795
45796 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_CHOICEBOOK 1
45799 _ACEOF
45800
45801 USES_CONTROLS=1
45802 fi
45803
45804 if test "$wxUSE_CHECKBOX" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_CHECKBOX 1
45807 _ACEOF
45808
45809 USES_CONTROLS=1
45810 fi
45811
45812 if test "$wxUSE_CHECKLST" = "yes"; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_CHECKLISTBOX 1
45815 _ACEOF
45816
45817 USES_CONTROLS=1
45818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45819 fi
45820
45821 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_COLOURPICKERCTRL 1
45824 _ACEOF
45825
45826 USES_CONTROLS=1
45827 fi
45828
45829 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45830 cat >>confdefs.h <<\_ACEOF
45831 #define wxUSE_DATEPICKCTRL 1
45832 _ACEOF
45833
45834 USES_CONTROLS=1
45835 fi
45836
45837 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_DIRPICKERCTRL 1
45840 _ACEOF
45841
45842 USES_CONTROLS=1
45843 fi
45844
45845 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_FILEPICKERCTRL 1
45848 _ACEOF
45849
45850 USES_CONTROLS=1
45851 fi
45852
45853 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_FONTPICKERCTRL 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_DISPLAY" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_DISPLAY 1
45864 _ACEOF
45865
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45867 fi
45868
45869 if test "$wxUSE_DETECT_SM" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_DETECT_SM 1
45872 _ACEOF
45873
45874 fi
45875
45876 if test "$wxUSE_GAUGE" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_GAUGE 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 fi
45883
45884 if test "$wxUSE_GRID" = "yes"; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_GRID 1
45887 _ACEOF
45888
45889 USES_CONTROLS=1
45890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45891 fi
45892
45893 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_HYPERLINKCTRL 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_BITMAPCOMBOBOX 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_DATAVIEWCTRL 1
45912 _ACEOF
45913
45914 USES_CONTROLS=1
45915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45916 fi
45917
45918 if test "$wxUSE_IMAGLIST" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_IMAGLIST 1
45921 _ACEOF
45922
45923 fi
45924
45925 if test "$wxUSE_LISTBOOK" = "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_LISTBOOK 1
45928 _ACEOF
45929
45930 USES_CONTROLS=1
45931 fi
45932
45933 if test "$wxUSE_LISTBOX" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_LISTBOX 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45940 fi
45941
45942 if test "$wxUSE_LISTCTRL" = "yes"; then
45943 if test "$wxUSE_IMAGLIST" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_LISTCTRL 1
45946 _ACEOF
45947
45948 USES_CONTROLS=1
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45950 else
45951 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45952 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45953 fi
45954 fi
45955
45956 if test "$wxUSE_NOTEBOOK" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_NOTEBOOK 1
45959 _ACEOF
45960
45961 USES_CONTROLS=1
45962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45963 fi
45964
45965 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_ODCOMBOBOX 1
45968 _ACEOF
45969
45970 USES_CONTROLS=1
45971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45972 fi
45973
45974
45975 if test "$wxUSE_RADIOBOX" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_RADIOBOX 1
45978 _ACEOF
45979
45980 USES_CONTROLS=1
45981 fi
45982
45983 if test "$wxUSE_RADIOBTN" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_RADIOBTN 1
45986 _ACEOF
45987
45988 USES_CONTROLS=1
45989 fi
45990
45991 if test "$wxUSE_SASH" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_SASH 1
45994 _ACEOF
45995
45996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45997 fi
45998
45999 if test "$wxUSE_SCROLLBAR" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_SCROLLBAR 1
46002 _ACEOF
46003
46004 USES_CONTROLS=1
46005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46006 fi
46007
46008 if test "$wxUSE_SLIDER" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_SLIDER 1
46011 _ACEOF
46012
46013 USES_CONTROLS=1
46014 fi
46015
46016 if test "$wxUSE_SPINBTN" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_SPINBTN 1
46019 _ACEOF
46020
46021 USES_CONTROLS=1
46022 fi
46023
46024 if test "$wxUSE_SPINCTRL" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_SPINCTRL 1
46027 _ACEOF
46028
46029 USES_CONTROLS=1
46030 fi
46031
46032 if test "$wxUSE_SPLITTER" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_SPLITTER 1
46035 _ACEOF
46036
46037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46038 fi
46039
46040 if test "$wxUSE_STATBMP" = "yes"; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_STATBMP 1
46043 _ACEOF
46044
46045 USES_CONTROLS=1
46046 fi
46047
46048 if test "$wxUSE_STATBOX" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_STATBOX 1
46051 _ACEOF
46052
46053 USES_CONTROLS=1
46054 fi
46055
46056 if test "$wxUSE_STATTEXT" = "yes"; then
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_STATTEXT 1
46059 _ACEOF
46060
46061 USES_CONTROLS=1
46062 fi
46063
46064 if test "$wxUSE_STATLINE" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_STATLINE 1
46067 _ACEOF
46068
46069 USES_CONTROLS=1
46070 fi
46071
46072 if test "$wxUSE_STATUSBAR" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_NATIVE_STATUSBAR 1
46075 _ACEOF
46076
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_STATUSBAR 1
46079 _ACEOF
46080
46081 USES_CONTROLS=1
46082
46083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46084 fi
46085
46086 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_TAB_DIALOG 1
46089 _ACEOF
46090
46091 fi
46092
46093 if test "$wxUSE_TEXTCTRL" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_TEXTCTRL 1
46096 _ACEOF
46097
46098 USES_CONTROLS=1
46099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46100 fi
46101
46102 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46103 if test "$wxUSE_COCOA" = 1 ; then
46104 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46105 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46106 wxUSE_TOGGLEBTN=no
46107 fi
46108
46109 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_TOGGLEBTN 1
46112 _ACEOF
46113
46114 USES_CONTROLS=1
46115 fi
46116 fi
46117
46118 if test "$wxUSE_TOOLBAR" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_TOOLBAR 1
46121 _ACEOF
46122
46123 USES_CONTROLS=1
46124
46125 if test "$wxUSE_UNIVERSAL" = "yes"; then
46126 wxUSE_TOOLBAR_NATIVE="no"
46127 else
46128 wxUSE_TOOLBAR_NATIVE="yes"
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_TOOLBAR_NATIVE 1
46131 _ACEOF
46132
46133 fi
46134
46135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46136 fi
46137
46138 if test "$wxUSE_TOOLTIPS" = "yes"; then
46139 if test "$wxUSE_MOTIF" = 1; then
46140 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46141 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46142 else
46143 if test "$wxUSE_UNIVERSAL" = "yes"; then
46144 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46145 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46146 else
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_TOOLTIPS 1
46149 _ACEOF
46150
46151 fi
46152 fi
46153 fi
46154
46155 if test "$wxUSE_TREEBOOK" = "yes"; then
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_TREEBOOK 1
46158 _ACEOF
46159
46160 USES_CONTROLS=1
46161 fi
46162
46163 if test "$wxUSE_TOOLBOOK" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_TOOLBOOK 1
46166 _ACEOF
46167
46168 USES_CONTROLS=1
46169 fi
46170
46171 if test "$wxUSE_TREECTRL" = "yes"; then
46172 if test "$wxUSE_IMAGLIST" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_TREECTRL 1
46175 _ACEOF
46176
46177 USES_CONTROLS=1
46178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46179 else
46180 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46181 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46182 fi
46183 fi
46184
46185 if test "$wxUSE_POPUPWIN" = "yes"; then
46186 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46187 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46188 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46189 else
46190 if test "$wxUSE_PM" = 1; then
46191 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46192 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46193 else
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_POPUPWIN 1
46196 _ACEOF
46197
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46199
46200 USES_CONTROLS=1
46201 fi
46202 fi
46203 fi
46204
46205 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46206 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46207 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46208 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46209 else
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_DIALUP_MANAGER 1
46212 _ACEOF
46213
46214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46215 fi
46216 fi
46217
46218 if test "$wxUSE_TIPWINDOW" = "yes"; then
46219 if test "$wxUSE_PM" = 1; then
46220 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46221 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46222 else
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_TIPWINDOW 1
46225 _ACEOF
46226
46227 fi
46228 fi
46229
46230 if test "$USES_CONTROLS" = 1; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_CONTROLS 1
46233 _ACEOF
46234
46235 fi
46236
46237
46238 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_ACCESSIBILITY 1
46241 _ACEOF
46242
46243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46244 fi
46245
46246 if test "$wxUSE_DC_CACHEING" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_DC_CACHEING 1
46249 _ACEOF
46250
46251 fi
46252
46253 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_DRAGIMAGE 1
46256 _ACEOF
46257
46258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46259 fi
46260
46261 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46262 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46263 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46264 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46265 else
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_EXCEPTIONS 1
46268 _ACEOF
46269
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46271 fi
46272 fi
46273
46274 USE_HTML=0
46275 if test "$wxUSE_HTML" = "yes"; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_HTML 1
46278 _ACEOF
46279
46280 USE_HTML=1
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46282 if test "$wxUSE_MAC" = 1; then
46283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46284 fi
46285 fi
46286 if test "$wxUSE_WEBKIT" = "yes"; then
46287 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46288 old_CPPFLAGS="$CPPFLAGS"
46289 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46290 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46291 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46292 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46293 echo $ECHO_N "(cached) $ECHO_C" >&6
46294 else
46295 cat >conftest.$ac_ext <<_ACEOF
46296 /* confdefs.h. */
46297 _ACEOF
46298 cat confdefs.h >>conftest.$ac_ext
46299 cat >>conftest.$ac_ext <<_ACEOF
46300 /* end confdefs.h. */
46301 #include <Carbon/Carbon.h>
46302
46303 #include <WebKit/HIWebView.h>
46304 _ACEOF
46305 rm -f conftest.$ac_objext
46306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46307 (eval $ac_compile) 2>conftest.er1
46308 ac_status=$?
46309 grep -v '^ *+' conftest.er1 >conftest.err
46310 rm -f conftest.er1
46311 cat conftest.err >&5
46312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46313 (exit $ac_status); } &&
46314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46316 (eval $ac_try) 2>&5
46317 ac_status=$?
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); }; } &&
46320 { ac_try='test -s conftest.$ac_objext'
46321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46322 (eval $ac_try) 2>&5
46323 ac_status=$?
46324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46325 (exit $ac_status); }; }; then
46326 ac_cv_header_WebKit_HIWebView_h=yes
46327 else
46328 echo "$as_me: failed program was:" >&5
46329 sed 's/^/| /' conftest.$ac_ext >&5
46330
46331 ac_cv_header_WebKit_HIWebView_h=no
46332 fi
46333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46334 fi
46335 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46336 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46337 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46338
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_WEBKIT 1
46341 _ACEOF
46342
46343 WEBKIT_LINK="-framework WebKit"
46344
46345 else
46346
46347 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46348 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46349 wxUSE_WEBKIT=no
46350
46351 fi
46352
46353
46354 CPPFLAGS="$old_CPPFLAGS"
46355 elif test "$wxUSE_COCOA" = 1; then
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_WEBKIT 1
46358 _ACEOF
46359
46360 else
46361 wxUSE_WEBKIT=no
46362 fi
46363 fi
46364
46365 USE_XRC=0
46366 if test "$wxUSE_XRC" = "yes"; then
46367 if test "$wxUSE_XML" != "yes"; then
46368 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46369 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46370 wxUSE_XRC=no
46371 else
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_XRC 1
46374 _ACEOF
46375
46376 USE_XRC=1
46377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46378 fi
46379 fi
46380
46381 USE_AUI=0
46382 if test "$wxUSE_AUI" = "yes"; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_AUI 1
46385 _ACEOF
46386
46387 USE_AUI=1
46388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46389 fi
46390
46391 if test "$wxUSE_MENUS" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_MENUS 1
46394 _ACEOF
46395
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46397 fi
46398
46399 if test "$wxUSE_METAFILE" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_METAFILE 1
46402 _ACEOF
46403
46404 fi
46405
46406 if test "$wxUSE_MIMETYPE" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_MIMETYPE 1
46409 _ACEOF
46410
46411 fi
46412
46413 if test "$wxUSE_MINIFRAME" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_MINIFRAME 1
46416 _ACEOF
46417
46418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46419 fi
46420
46421 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_SYSTEM_OPTIONS 1
46424 _ACEOF
46425
46426 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46427 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46429 fi
46430 fi
46431
46432
46433 if test "$wxUSE_VALIDATORS" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_VALIDATORS 1
46436 _ACEOF
46437
46438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46439 fi
46440
46441 if test "$wxUSE_PALETTE" = "yes" ; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_PALETTE 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46449 LIBS=" -lunicows $LIBS"
46450 fi
46451
46452 USE_RICHTEXT=0
46453 if test "$wxUSE_RICHTEXT" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_RICHTEXT 1
46456 _ACEOF
46457
46458 USE_RICHTEXT=1
46459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46460 fi
46461
46462
46463 if test "$wxUSE_IMAGE" = "yes" ; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_IMAGE 1
46466 _ACEOF
46467
46468
46469 if test "$wxUSE_GIF" = "yes" ; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_GIF 1
46472 _ACEOF
46473
46474 fi
46475
46476 if test "$wxUSE_PCX" = "yes" ; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_PCX 1
46479 _ACEOF
46480
46481 fi
46482
46483 if test "$wxUSE_TGA" = "yes" ; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_TGA 1
46486 _ACEOF
46487
46488 fi
46489
46490 if test "$wxUSE_IFF" = "yes" ; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_IFF 1
46493 _ACEOF
46494
46495 fi
46496
46497 if test "$wxUSE_PNM" = "yes" ; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_PNM 1
46500 _ACEOF
46501
46502 fi
46503
46504 if test "$wxUSE_XPM" = "yes" ; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_XPM 1
46507 _ACEOF
46508
46509 fi
46510
46511 if test "$wxUSE_ICO_CUR" = "yes" ; then
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_ICO_CUR 1
46514 _ACEOF
46515
46516 fi
46517 fi
46518
46519
46520 if test "$wxUSE_ABOUTDLG" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_ABOUTDLG 1
46523 _ACEOF
46524
46525 fi
46526
46527 if test "$wxUSE_CHOICEDLG" = "yes"; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_CHOICEDLG 1
46530 _ACEOF
46531
46532 fi
46533
46534 if test "$wxUSE_COLOURDLG" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_COLOURDLG 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_FILEDLG" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_FILEDLG 1
46544 _ACEOF
46545
46546 fi
46547
46548 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_FINDREPLDLG 1
46551 _ACEOF
46552
46553 fi
46554
46555 if test "$wxUSE_FONTDLG" = "yes"; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_FONTDLG 1
46558 _ACEOF
46559
46560 fi
46561
46562 if test "$wxUSE_DIRDLG" = "yes"; then
46563 if test "$wxUSE_TREECTRL" != "yes"; then
46564 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46565 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46566 else
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_DIRDLG 1
46569 _ACEOF
46570
46571 fi
46572 fi
46573
46574 if test "$wxUSE_MSGDLG" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_MSGDLG 1
46577 _ACEOF
46578
46579 fi
46580
46581 if test "$wxUSE_NUMBERDLG" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_NUMBERDLG 1
46584 _ACEOF
46585
46586 fi
46587
46588 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46589 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46590 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46591 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46592 else
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_PROGRESSDLG 1
46595 _ACEOF
46596
46597 fi
46598 fi
46599
46600 if test "$wxUSE_SPLASH" = "yes"; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_SPLASH 1
46603 _ACEOF
46604
46605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46606 fi
46607
46608 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46610 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46611 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46612 else
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_STARTUP_TIPS 1
46615 _ACEOF
46616
46617 fi
46618 fi
46619
46620 if test "$wxUSE_TEXTDLG" = "yes"; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_TEXTDLG 1
46623 _ACEOF
46624
46625 fi
46626
46627 if test "$wxUSE_WIZARDDLG" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_WIZARDDLG 1
46630 _ACEOF
46631
46632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46633 fi
46634
46635
46636 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_GRAPHICS_CONTEXT 1
46640 _ACEOF
46641
46642 elif test "$wxUSE_GTK" != 1; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_GRAPHICS_CONTEXT 1
46645 _ACEOF
46646
46647 else
46648
46649 pkg_failed=no
46650 echo "$as_me:$LINENO: checking for CAIRO" >&5
46651 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46652
46653 if test -n "$PKG_CONFIG"; then
46654 if test -n "$CAIRO_CFLAGS"; then
46655 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46656 else
46657 if test -n "$PKG_CONFIG" && \
46658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46659 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46660 ac_status=$?
46661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662 (exit $ac_status); }; then
46663 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46664 else
46665 pkg_failed=yes
46666 fi
46667 fi
46668 else
46669 pkg_failed=untried
46670 fi
46671 if test -n "$PKG_CONFIG"; then
46672 if test -n "$CAIRO_LIBS"; then
46673 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46674 else
46675 if test -n "$PKG_CONFIG" && \
46676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46677 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46678 ac_status=$?
46679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46680 (exit $ac_status); }; then
46681 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46682 else
46683 pkg_failed=yes
46684 fi
46685 fi
46686 else
46687 pkg_failed=untried
46688 fi
46689
46690
46691
46692 if test $pkg_failed = yes; then
46693
46694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46695 _pkg_short_errors_supported=yes
46696 else
46697 _pkg_short_errors_supported=no
46698 fi
46699 if test $_pkg_short_errors_supported = yes; then
46700 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46701 else
46702 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46703 fi
46704 # Put the nasty error message in config.log where it belongs
46705 echo "$CAIRO_PKG_ERRORS" >&5
46706
46707 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46708 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46709
46710 elif test $pkg_failed = untried; then
46711 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46712 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46713
46714 else
46715 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46716 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46717 echo "$as_me:$LINENO: result: yes" >&5
46718 echo "${ECHO_T}yes" >&6
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_GRAPHICS_CONTEXT 1
46721 _ACEOF
46722
46723 fi
46724 fi
46725 fi
46726
46727
46728 USE_MEDIA=0
46729
46730 if test "$wxUSE_MEDIACTRL" = "yes"; then
46731 USE_MEDIA=1
46732
46733 if test "$wxUSE_GTK" = 1; then
46734 wxUSE_GSTREAMER="no"
46735
46736 GST_VERSION_MAJOR=0
46737 GST_VERSION_MINOR=10
46738 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46739
46740 if test "$wxUSE_GSTREAMER8" = "no"; then
46741
46742 pkg_failed=no
46743 echo "$as_me:$LINENO: checking for GST" >&5
46744 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46745
46746 if test -n "$PKG_CONFIG"; then
46747 if test -n "$GST_CFLAGS"; then
46748 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46749 else
46750 if test -n "$PKG_CONFIG" && \
46751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46752 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46753 ac_status=$?
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; then
46756 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46757 else
46758 pkg_failed=yes
46759 fi
46760 fi
46761 else
46762 pkg_failed=untried
46763 fi
46764 if test -n "$PKG_CONFIG"; then
46765 if test -n "$GST_LIBS"; then
46766 pkg_cv_GST_LIBS="$GST_LIBS"
46767 else
46768 if test -n "$PKG_CONFIG" && \
46769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46770 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46771 ac_status=$?
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); }; then
46774 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46775 else
46776 pkg_failed=yes
46777 fi
46778 fi
46779 else
46780 pkg_failed=untried
46781 fi
46782
46783
46784
46785 if test $pkg_failed = yes; then
46786
46787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46788 _pkg_short_errors_supported=yes
46789 else
46790 _pkg_short_errors_supported=no
46791 fi
46792 if test $_pkg_short_errors_supported = yes; then
46793 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46794 else
46795 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46796 fi
46797 # Put the nasty error message in config.log where it belongs
46798 echo "$GST_PKG_ERRORS" >&5
46799
46800
46801 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46802 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46803 GST_VERSION_MINOR=8
46804
46805
46806 elif test $pkg_failed = untried; then
46807
46808 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46809 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46810 GST_VERSION_MINOR=8
46811
46812
46813 else
46814 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46815 GST_LIBS=$pkg_cv_GST_LIBS
46816 echo "$as_me:$LINENO: result: yes" >&5
46817 echo "${ECHO_T}yes" >&6
46818
46819 wxUSE_GSTREAMER="yes"
46820 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46821
46822 fi
46823 else
46824 GST_VERSION_MINOR=8
46825 fi
46826
46827 if test $GST_VERSION_MINOR = "8"; then
46828 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46829
46830 pkg_failed=no
46831 echo "$as_me:$LINENO: checking for GST" >&5
46832 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46833
46834 if test -n "$PKG_CONFIG"; then
46835 if test -n "$GST_CFLAGS"; then
46836 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46837 else
46838 if test -n "$PKG_CONFIG" && \
46839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46840 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46841 ac_status=$?
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); }; then
46844 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46845 else
46846 pkg_failed=yes
46847 fi
46848 fi
46849 else
46850 pkg_failed=untried
46851 fi
46852 if test -n "$PKG_CONFIG"; then
46853 if test -n "$GST_LIBS"; then
46854 pkg_cv_GST_LIBS="$GST_LIBS"
46855 else
46856 if test -n "$PKG_CONFIG" && \
46857 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46858 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46859 ac_status=$?
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); }; then
46862 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46863 else
46864 pkg_failed=yes
46865 fi
46866 fi
46867 else
46868 pkg_failed=untried
46869 fi
46870
46871
46872
46873 if test $pkg_failed = yes; then
46874
46875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46876 _pkg_short_errors_supported=yes
46877 else
46878 _pkg_short_errors_supported=no
46879 fi
46880 if test $_pkg_short_errors_supported = yes; then
46881 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46882 else
46883 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46884 fi
46885 # Put the nasty error message in config.log where it belongs
46886 echo "$GST_PKG_ERRORS" >&5
46887
46888
46889 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46890 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46891
46892 elif test $pkg_failed = untried; then
46893
46894 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46895 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46896
46897 else
46898 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46899 GST_LIBS=$pkg_cv_GST_LIBS
46900 echo "$as_me:$LINENO: result: yes" >&5
46901 echo "${ECHO_T}yes" >&6
46902 wxUSE_GSTREAMER="yes"
46903 fi
46904 fi
46905
46906
46907 if test "$wxUSE_GSTREAMER" = "yes"; then
46908 case "${host}" in
46909 *-*-solaris2* )
46910 if "$GCC" = yes; then
46911 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46912 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46913 fi
46914 esac
46915
46916 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46917 LIBS="$GST_LIBS $LIBS"
46918
46919 cat >>confdefs.h <<\_ACEOF
46920 #define wxUSE_GSTREAMER 1
46921 _ACEOF
46922
46923 else
46924 USE_MEDIA=0
46925 fi
46926 fi
46927
46928 if test $USE_MEDIA = 1; then
46929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46930 cat >>confdefs.h <<\_ACEOF
46931 #define wxUSE_MEDIACTRL 1
46932 _ACEOF
46933
46934 fi
46935 fi
46936
46937
46938 if test "$cross_compiling" = "yes"; then
46939 OSINFO="\"$host\""
46940 else
46941 OSINFO=`uname -s -r -m`
46942 OSINFO="\"$OSINFO\""
46943 fi
46944
46945 cat >>confdefs.h <<_ACEOF
46946 #define WXWIN_OS_DESCRIPTION $OSINFO
46947 _ACEOF
46948
46949
46950
46951 if test "x$prefix" != "xNONE"; then
46952 wxPREFIX=$prefix
46953 else
46954 wxPREFIX=$ac_default_prefix
46955 fi
46956
46957 cat >>confdefs.h <<_ACEOF
46958 #define wxINSTALL_PREFIX "$wxPREFIX"
46959 _ACEOF
46960
46961
46962
46963
46964 CORE_BASE_LIBS="net base"
46965 CORE_GUI_LIBS="adv core"
46966
46967 if test "$wxUSE_XML" = "yes" ; then
46968 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46969 fi
46970 if test "$wxUSE_ODBC" != "no" ; then
46971 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46972 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46973 fi
46974 if test "$wxUSE_HTML" = "yes" ; then
46975 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46976 fi
46977 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46978 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46979 fi
46980 if test "$wxUSE_XRC" = "yes" ; then
46981 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46982 fi
46983 if test "$wxUSE_AUI" = "yes" ; then
46984 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46985 fi
46986
46987 if test "$wxUSE_GUI" != "yes"; then
46988 CORE_GUI_LIBS=""
46989 fi
46990
46991
46992
46993
46994
46995
46996 if test "$wxUSE_MAC" = 1 ; then
46997 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46998 if test "$USE_DARWIN" = 1; then
46999 LDFLAGS="$LDFLAGS -framework QuickTime"
47000 else
47001 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47002 fi
47003 fi
47004 if test "$USE_DARWIN" = 1; then
47005 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47006 else
47007 LDFLAGS="$LDFLAGS -lCarbonLib"
47008 fi
47009 fi
47010 if test "$wxUSE_COCOA" = 1 ; then
47011 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47012 if test "$wxUSE_MEDIACTRL" = "yes"; then
47013 LDFLAGS="$LDFLAGS -framework QuickTime"
47014 fi
47015 fi
47016 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47017 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47018 fi
47019
47020 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47021
47022 if test "$wxUSE_GUI" = "yes"; then
47023
47024
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47026 dynamic erase event exec font image minimal mobile \
47027 mobile/wxedit mobile/styles propsize render \
47028 rotate shaped vscroll widgets"
47029
47030 if test "$wxUSE_MONOLITHIC" != "yes"; then
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47032 fi
47033 if test "$TOOLKIT" = "MSW"; then
47034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47035 if test "$wxUSE_UNIVERSAL" != "yes"; then
47036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47037 fi
47038 fi
47039 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47041 fi
47042 else
47043 SAMPLES_SUBDIRS="console"
47044 fi
47045
47046
47047 if test "x$INTELCC" = "xyes" ; then
47048 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47049 elif test "$GCC" = yes ; then
47050 CWARNINGS="-Wall -Wundef"
47051 fi
47052
47053 if test "x$INTELCXX" = "xyes" ; then
47054 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47055 elif test "$GXX" = yes ; then
47056 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47057 fi
47058
47059
47060 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47061 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47062
47063
47064 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47065 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47066 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47067 $CPPFLAGS `
47068
47069 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47070 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47071 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47072
47073 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47074
47075
47076 if test "x$MWCC" = "xyes"; then
47077
47078 CC="$CC -cwd source -I-"
47079 CXX="$CXX -cwd source -I-"
47080 fi
47081
47082
47083 LIBS=`echo $LIBS`
47084 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47085 EXTRALIBS_XML="$EXPAT_LINK"
47086 EXTRALIBS_HTML="$MSPACK_LINK"
47087 EXTRALIBS_ODBC="$ODBC_LINK"
47088 if test "$wxUSE_GUI" = "yes"; then
47089 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47090 fi
47091 if test "$wxUSE_OPENGL" = "yes"; then
47092 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47093 fi
47094
47095 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47096
47097 WXCONFIG_LIBS="$LIBS"
47098
47099 if test "$wxUSE_REGEX" = "builtin" ; then
47100 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47101 fi
47102 if test "$wxUSE_EXPAT" = "builtin" ; then
47103 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47104 fi
47105 if test "$wxUSE_ODBC" = "builtin" ; then
47106 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47107 fi
47108 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47109 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47110 fi
47111 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47112 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47113 fi
47114 if test "$wxUSE_LIBPNG" = "builtin" ; then
47115 wxconfig_3rdparty="png $wxconfig_3rdparty"
47116 fi
47117 if test "$wxUSE_ZLIB" = "builtin" ; then
47118 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47119 fi
47120
47121 for i in $wxconfig_3rdparty ; do
47122 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47123 done
47124
47125
47126 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47127 WXUNIV=1
47128
47129 case "$wxUNIV_THEMES" in
47130 ''|all)
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_ALL_THEMES 1
47133 _ACEOF
47134
47135 ;;
47136
47137 *)
47138 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47139 cat >>confdefs.h <<_ACEOF
47140 #define wxUSE_THEME_$t 1
47141 _ACEOF
47142
47143 done
47144 esac
47145 else
47146 WXUNIV=0
47147 fi
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157 if test $wxUSE_MONOLITHIC = "yes" ; then
47158 MONOLITHIC=1
47159 else
47160 MONOLITHIC=0
47161 fi
47162
47163 if test $wxUSE_PLUGINS = "yes" ; then
47164 USE_PLUGINS=1
47165 else
47166 USE_PLUGINS=0
47167 fi
47168
47169 if test $wxUSE_ODBC != "no" ; then
47170 USE_ODBC=1
47171 else
47172 USE_ODBC=0
47173 fi
47174
47175 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47176 USE_QA=1
47177 else
47178 USE_QA=0
47179 fi
47180
47181 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47182 OFFICIAL_BUILD=1
47183 else
47184 OFFICIAL_BUILD=0
47185 fi
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47212
47213
47214
47215
47216
47217
47218
47219
47220 case "$TOOLKIT" in
47221 GTK)
47222 TOOLKIT_DESC="GTK+"
47223 if test "$WXGTK20" = 1; then
47224 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47225 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47226 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47227 fi
47228 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47229 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47230 fi
47231 if test "$wxUSE_LIBHILDON" = "yes"; then
47232 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47233 fi
47234
47235 if test "$TOOLKIT_EXTRA" != ""; then
47236 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47237 fi
47238 fi
47239 ;;
47240
47241 ?*)
47242 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47243 ;;
47244
47245 *)
47246 TOOLKIT_DESC="base only"
47247 ;;
47248 esac
47249
47250 if test "$wxUSE_WINE" = "yes"; then
47251 BAKEFILE_FORCE_PLATFORM=win32
47252 fi
47253
47254 if test "$wxUSE_MAC" = 1 ; then
47255 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47256 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47257 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47258 else
47259 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47260 fi
47261 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47262 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47263 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47264 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47265 bk_use_pch=no
47266 fi
47267 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47268 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47269 fi
47270
47271 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47272 then
47273 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47274 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47275 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47276 echo $ECHO_N "(cached) $ECHO_C" >&6
47277 else
47278
47279 echo '#include <stdio.h>
47280 const wchar_t test_var[] = L"awidetest";' > conftest.h
47281
47282 echo '#include "conftest.h"
47283 int main()
47284 {
47285 printf("%ls", test_var);
47286 return 0;
47287 }' > conftest.cpp
47288
47289 wx_cv_gcc_pch_bug="pch not supported"
47290
47291 if $CXX conftest.h >/dev/null 2>&1
47292 then
47293 wx_cv_gcc_pch_bug=
47294
47295 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47296 then
47297 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47298 grep awidetest >/dev/null
47299 then
47300 wx_cv_gcc_pch_bug=no
47301 else
47302 wx_cv_gcc_pch_bug=yes
47303 fi
47304 fi
47305 fi
47306
47307 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47308
47309 fi
47310 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47311 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47312
47313 if test "$wx_cv_gcc_pch_bug" = yes; then
47314 bk_use_pch=no
47315 fi
47316 fi
47317
47318
47319
47320
47321 if test "x$BAKEFILE_HOST" = "x"; then
47322 if test "x${host}" = "x" ; then
47323 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47324 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47325 { (exit 1); exit 1; }; }
47326 fi
47327
47328 BAKEFILE_HOST="${host}"
47329 fi
47330
47331 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47332
47333 if test -n "$ac_tool_prefix"; then
47334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47336 echo "$as_me:$LINENO: checking for $ac_word" >&5
47337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47338 if test "${ac_cv_prog_RANLIB+set}" = set; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47340 else
47341 if test -n "$RANLIB"; then
47342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47343 else
47344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47345 for as_dir in $PATH
47346 do
47347 IFS=$as_save_IFS
47348 test -z "$as_dir" && as_dir=.
47349 for ac_exec_ext in '' $ac_executable_extensions; do
47350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47353 break 2
47354 fi
47355 done
47356 done
47357
47358 fi
47359 fi
47360 RANLIB=$ac_cv_prog_RANLIB
47361 if test -n "$RANLIB"; then
47362 echo "$as_me:$LINENO: result: $RANLIB" >&5
47363 echo "${ECHO_T}$RANLIB" >&6
47364 else
47365 echo "$as_me:$LINENO: result: no" >&5
47366 echo "${ECHO_T}no" >&6
47367 fi
47368
47369 fi
47370 if test -z "$ac_cv_prog_RANLIB"; then
47371 ac_ct_RANLIB=$RANLIB
47372 # Extract the first word of "ranlib", so it can be a program name with args.
47373 set dummy ranlib; ac_word=$2
47374 echo "$as_me:$LINENO: checking for $ac_word" >&5
47375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47376 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47377 echo $ECHO_N "(cached) $ECHO_C" >&6
47378 else
47379 if test -n "$ac_ct_RANLIB"; then
47380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47381 else
47382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47383 for as_dir in $PATH
47384 do
47385 IFS=$as_save_IFS
47386 test -z "$as_dir" && as_dir=.
47387 for ac_exec_ext in '' $ac_executable_extensions; do
47388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47389 ac_cv_prog_ac_ct_RANLIB="ranlib"
47390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47391 break 2
47392 fi
47393 done
47394 done
47395
47396 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47397 fi
47398 fi
47399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47400 if test -n "$ac_ct_RANLIB"; then
47401 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47402 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47403 else
47404 echo "$as_me:$LINENO: result: no" >&5
47405 echo "${ECHO_T}no" >&6
47406 fi
47407
47408 RANLIB=$ac_ct_RANLIB
47409 else
47410 RANLIB="$ac_cv_prog_RANLIB"
47411 fi
47412
47413 # Find a good install program. We prefer a C program (faster),
47414 # so one script is as good as another. But avoid the broken or
47415 # incompatible versions:
47416 # SysV /etc/install, /usr/sbin/install
47417 # SunOS /usr/etc/install
47418 # IRIX /sbin/install
47419 # AIX /bin/install
47420 # AmigaOS /C/install, which installs bootblocks on floppy discs
47421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47424 # OS/2's system install, which has a completely different semantic
47425 # ./install, which can be erroneously created by make from ./install.sh.
47426 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47428 if test -z "$INSTALL"; then
47429 if test "${ac_cv_path_install+set}" = set; then
47430 echo $ECHO_N "(cached) $ECHO_C" >&6
47431 else
47432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47433 for as_dir in $PATH
47434 do
47435 IFS=$as_save_IFS
47436 test -z "$as_dir" && as_dir=.
47437 # Account for people who put trailing slashes in PATH elements.
47438 case $as_dir/ in
47439 ./ | .// | /cC/* | \
47440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47441 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47442 /usr/ucb/* ) ;;
47443 *)
47444 # OSF1 and SCO ODT 3.0 have their own names for install.
47445 # Don't use installbsd from OSF since it installs stuff as root
47446 # by default.
47447 for ac_prog in ginstall scoinst install; do
47448 for ac_exec_ext in '' $ac_executable_extensions; do
47449 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47450 if test $ac_prog = install &&
47451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47452 # AIX install. It has an incompatible calling convention.
47453 :
47454 elif test $ac_prog = install &&
47455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47456 # program-specific install script used by HP pwplus--don't use.
47457 :
47458 else
47459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47460 break 3
47461 fi
47462 fi
47463 done
47464 done
47465 ;;
47466 esac
47467 done
47468
47469
47470 fi
47471 if test "${ac_cv_path_install+set}" = set; then
47472 INSTALL=$ac_cv_path_install
47473 else
47474 # As a last resort, use the slow shell script. We don't cache a
47475 # path for INSTALL within a source directory, because that will
47476 # break other packages using the cache if that directory is
47477 # removed, or if the path is relative.
47478 INSTALL=$ac_install_sh
47479 fi
47480 fi
47481 echo "$as_me:$LINENO: result: $INSTALL" >&5
47482 echo "${ECHO_T}$INSTALL" >&6
47483
47484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47485 # It thinks the first close brace ends the variable substitution.
47486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47487
47488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47489
47490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47491
47492 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47493 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47494 LN_S=$as_ln_s
47495 if test "$LN_S" = "ln -s"; then
47496 echo "$as_me:$LINENO: result: yes" >&5
47497 echo "${ECHO_T}yes" >&6
47498 else
47499 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47500 echo "${ECHO_T}no, using $LN_S" >&6
47501 fi
47502
47503
47504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47506 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47508 echo $ECHO_N "(cached) $ECHO_C" >&6
47509 else
47510 cat >conftest.make <<\_ACEOF
47511 all:
47512 @echo 'ac_maketemp="$(MAKE)"'
47513 _ACEOF
47514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47516 if test -n "$ac_maketemp"; then
47517 eval ac_cv_prog_make_${ac_make}_set=yes
47518 else
47519 eval ac_cv_prog_make_${ac_make}_set=no
47520 fi
47521 rm -f conftest.make
47522 fi
47523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47524 echo "$as_me:$LINENO: result: yes" >&5
47525 echo "${ECHO_T}yes" >&6
47526 SET_MAKE=
47527 else
47528 echo "$as_me:$LINENO: result: no" >&5
47529 echo "${ECHO_T}no" >&6
47530 SET_MAKE="MAKE=${MAKE-make}"
47531 fi
47532
47533
47534
47535 if test "x$SUNCXX" = "xyes"; then
47536 AR=$CXX
47537
47538 AROPTIONS="-xar -o"
47539 else
47540 if test -n "$ac_tool_prefix"; then
47541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47542 set dummy ${ac_tool_prefix}ar; ac_word=$2
47543 echo "$as_me:$LINENO: checking for $ac_word" >&5
47544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47545 if test "${ac_cv_prog_AR+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 else
47548 if test -n "$AR"; then
47549 ac_cv_prog_AR="$AR" # Let the user override the test.
47550 else
47551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47552 for as_dir in $PATH
47553 do
47554 IFS=$as_save_IFS
47555 test -z "$as_dir" && as_dir=.
47556 for ac_exec_ext in '' $ac_executable_extensions; do
47557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47558 ac_cv_prog_AR="${ac_tool_prefix}ar"
47559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47560 break 2
47561 fi
47562 done
47563 done
47564
47565 fi
47566 fi
47567 AR=$ac_cv_prog_AR
47568 if test -n "$AR"; then
47569 echo "$as_me:$LINENO: result: $AR" >&5
47570 echo "${ECHO_T}$AR" >&6
47571 else
47572 echo "$as_me:$LINENO: result: no" >&5
47573 echo "${ECHO_T}no" >&6
47574 fi
47575
47576 fi
47577 if test -z "$ac_cv_prog_AR"; then
47578 ac_ct_AR=$AR
47579 # Extract the first word of "ar", so it can be a program name with args.
47580 set dummy ar; ac_word=$2
47581 echo "$as_me:$LINENO: checking for $ac_word" >&5
47582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47583 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47584 echo $ECHO_N "(cached) $ECHO_C" >&6
47585 else
47586 if test -n "$ac_ct_AR"; then
47587 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47588 else
47589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47590 for as_dir in $PATH
47591 do
47592 IFS=$as_save_IFS
47593 test -z "$as_dir" && as_dir=.
47594 for ac_exec_ext in '' $ac_executable_extensions; do
47595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47596 ac_cv_prog_ac_ct_AR="ar"
47597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47598 break 2
47599 fi
47600 done
47601 done
47602
47603 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47604 fi
47605 fi
47606 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47607 if test -n "$ac_ct_AR"; then
47608 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47609 echo "${ECHO_T}$ac_ct_AR" >&6
47610 else
47611 echo "$as_me:$LINENO: result: no" >&5
47612 echo "${ECHO_T}no" >&6
47613 fi
47614
47615 AR=$ac_ct_AR
47616 else
47617 AR="$ac_cv_prog_AR"
47618 fi
47619
47620 AROPTIONS=rcu
47621 fi
47622
47623
47624 if test -n "$ac_tool_prefix"; then
47625 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47626 set dummy ${ac_tool_prefix}strip; ac_word=$2
47627 echo "$as_me:$LINENO: checking for $ac_word" >&5
47628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47629 if test "${ac_cv_prog_STRIP+set}" = set; then
47630 echo $ECHO_N "(cached) $ECHO_C" >&6
47631 else
47632 if test -n "$STRIP"; then
47633 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47634 else
47635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47636 for as_dir in $PATH
47637 do
47638 IFS=$as_save_IFS
47639 test -z "$as_dir" && as_dir=.
47640 for ac_exec_ext in '' $ac_executable_extensions; do
47641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47642 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47644 break 2
47645 fi
47646 done
47647 done
47648
47649 fi
47650 fi
47651 STRIP=$ac_cv_prog_STRIP
47652 if test -n "$STRIP"; then
47653 echo "$as_me:$LINENO: result: $STRIP" >&5
47654 echo "${ECHO_T}$STRIP" >&6
47655 else
47656 echo "$as_me:$LINENO: result: no" >&5
47657 echo "${ECHO_T}no" >&6
47658 fi
47659
47660 fi
47661 if test -z "$ac_cv_prog_STRIP"; then
47662 ac_ct_STRIP=$STRIP
47663 # Extract the first word of "strip", so it can be a program name with args.
47664 set dummy strip; ac_word=$2
47665 echo "$as_me:$LINENO: checking for $ac_word" >&5
47666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47667 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 else
47670 if test -n "$ac_ct_STRIP"; then
47671 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47672 else
47673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47674 for as_dir in $PATH
47675 do
47676 IFS=$as_save_IFS
47677 test -z "$as_dir" && as_dir=.
47678 for ac_exec_ext in '' $ac_executable_extensions; do
47679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47680 ac_cv_prog_ac_ct_STRIP="strip"
47681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47682 break 2
47683 fi
47684 done
47685 done
47686
47687 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47688 fi
47689 fi
47690 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47691 if test -n "$ac_ct_STRIP"; then
47692 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47693 echo "${ECHO_T}$ac_ct_STRIP" >&6
47694 else
47695 echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6
47697 fi
47698
47699 STRIP=$ac_ct_STRIP
47700 else
47701 STRIP="$ac_cv_prog_STRIP"
47702 fi
47703
47704 if test -n "$ac_tool_prefix"; then
47705 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47706 set dummy ${ac_tool_prefix}nm; ac_word=$2
47707 echo "$as_me:$LINENO: checking for $ac_word" >&5
47708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47709 if test "${ac_cv_prog_NM+set}" = set; then
47710 echo $ECHO_N "(cached) $ECHO_C" >&6
47711 else
47712 if test -n "$NM"; then
47713 ac_cv_prog_NM="$NM" # Let the user override the test.
47714 else
47715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47716 for as_dir in $PATH
47717 do
47718 IFS=$as_save_IFS
47719 test -z "$as_dir" && as_dir=.
47720 for ac_exec_ext in '' $ac_executable_extensions; do
47721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47722 ac_cv_prog_NM="${ac_tool_prefix}nm"
47723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47724 break 2
47725 fi
47726 done
47727 done
47728
47729 fi
47730 fi
47731 NM=$ac_cv_prog_NM
47732 if test -n "$NM"; then
47733 echo "$as_me:$LINENO: result: $NM" >&5
47734 echo "${ECHO_T}$NM" >&6
47735 else
47736 echo "$as_me:$LINENO: result: no" >&5
47737 echo "${ECHO_T}no" >&6
47738 fi
47739
47740 fi
47741 if test -z "$ac_cv_prog_NM"; then
47742 ac_ct_NM=$NM
47743 # Extract the first word of "nm", so it can be a program name with args.
47744 set dummy nm; ac_word=$2
47745 echo "$as_me:$LINENO: checking for $ac_word" >&5
47746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47747 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47748 echo $ECHO_N "(cached) $ECHO_C" >&6
47749 else
47750 if test -n "$ac_ct_NM"; then
47751 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47752 else
47753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47754 for as_dir in $PATH
47755 do
47756 IFS=$as_save_IFS
47757 test -z "$as_dir" && as_dir=.
47758 for ac_exec_ext in '' $ac_executable_extensions; do
47759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47760 ac_cv_prog_ac_ct_NM="nm"
47761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47762 break 2
47763 fi
47764 done
47765 done
47766
47767 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47768 fi
47769 fi
47770 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47771 if test -n "$ac_ct_NM"; then
47772 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47773 echo "${ECHO_T}$ac_ct_NM" >&6
47774 else
47775 echo "$as_me:$LINENO: result: no" >&5
47776 echo "${ECHO_T}no" >&6
47777 fi
47778
47779 NM=$ac_ct_NM
47780 else
47781 NM="$ac_cv_prog_NM"
47782 fi
47783
47784
47785 case ${BAKEFILE_HOST} in
47786 *-hp-hpux* )
47787 INSTALL_DIR="mkdir -p"
47788 ;;
47789 * )
47790 INSTALL_DIR='$(INSTALL) -d'
47791 ;;
47792 esac
47793
47794
47795 LDFLAGS_GUI=
47796 case ${BAKEFILE_HOST} in
47797 *-*-cygwin* | *-*-mingw32* )
47798 LDFLAGS_GUI="-mwindows"
47799 esac
47800
47801
47802 fi
47803
47804 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47805 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47806 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47809
47810 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47811 egrep -s GNU > /dev/null); then
47812 bakefile_cv_prog_makeisgnu="yes"
47813 else
47814 bakefile_cv_prog_makeisgnu="no"
47815 fi
47816
47817 fi
47818 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47819 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47820
47821 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47822 IF_GNU_MAKE=""
47823 else
47824 IF_GNU_MAKE="#"
47825 fi
47826
47827
47828
47829 PLATFORM_UNIX=0
47830 PLATFORM_WIN32=0
47831 PLATFORM_MSDOS=0
47832 PLATFORM_MAC=0
47833 PLATFORM_MACOS=0
47834 PLATFORM_MACOSX=0
47835 PLATFORM_OS2=0
47836 PLATFORM_BEOS=0
47837
47838 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47839 case "${BAKEFILE_HOST}" in
47840 *-*-mingw32* )
47841 PLATFORM_WIN32=1
47842 ;;
47843 *-pc-msdosdjgpp )
47844 PLATFORM_MSDOS=1
47845 ;;
47846 *-pc-os2_emx | *-pc-os2-emx )
47847 PLATFORM_OS2=1
47848 ;;
47849 *-*-darwin* )
47850 PLATFORM_MAC=1
47851 PLATFORM_MACOSX=1
47852 ;;
47853 *-*-beos* )
47854 PLATFORM_BEOS=1
47855 ;;
47856 powerpc-apple-macos* )
47857 PLATFORM_MAC=1
47858 PLATFORM_MACOS=1
47859 ;;
47860 * )
47861 PLATFORM_UNIX=1
47862 ;;
47863 esac
47864 else
47865 case "$BAKEFILE_FORCE_PLATFORM" in
47866 win32 )
47867 PLATFORM_WIN32=1
47868 ;;
47869 msdos )
47870 PLATFORM_MSDOS=1
47871 ;;
47872 os2 )
47873 PLATFORM_OS2=1
47874 ;;
47875 darwin )
47876 PLATFORM_MAC=1
47877 PLATFORM_MACOSX=1
47878 ;;
47879 unix )
47880 PLATFORM_UNIX=1
47881 ;;
47882 beos )
47883 PLATFORM_BEOS=1
47884 ;;
47885 * )
47886 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47887 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47888 { (exit 1); exit 1; }; }
47889 ;;
47890 esac
47891 fi
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903 # Check whether --enable-omf or --disable-omf was given.
47904 if test "${enable_omf+set}" = set; then
47905 enableval="$enable_omf"
47906 bk_os2_use_omf="$enableval"
47907 fi;
47908
47909 case "${BAKEFILE_HOST}" in
47910 *-*-darwin* )
47911 if test "x$GCC" = "xyes"; then
47912 CFLAGS="$CFLAGS -fno-common"
47913 CXXFLAGS="$CXXFLAGS -fno-common"
47914 fi
47915 if test "x$XLCC" = "xyes"; then
47916 CFLAGS="$CFLAGS -qnocommon"
47917 CXXFLAGS="$CXXFLAGS -qnocommon"
47918 fi
47919 ;;
47920
47921 *-pc-os2_emx | *-pc-os2-emx )
47922 if test "x$bk_os2_use_omf" = "xyes" ; then
47923 AR=emxomfar
47924 RANLIB=:
47925 LDFLAGS="-Zomf $LDFLAGS"
47926 CFLAGS="-Zomf $CFLAGS"
47927 CXXFLAGS="-Zomf $CXXFLAGS"
47928 OS2_LIBEXT="lib"
47929 else
47930 OS2_LIBEXT="a"
47931 fi
47932 ;;
47933
47934 i*86-*-beos* )
47935 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47936 ;;
47937 esac
47938
47939
47940 SO_SUFFIX="so"
47941 SO_SUFFIX_MODULE="so"
47942 EXEEXT=""
47943 LIBPREFIX="lib"
47944 LIBEXT=".a"
47945 DLLPREFIX="lib"
47946 DLLPREFIX_MODULE=""
47947 DLLIMP_SUFFIX=""
47948 dlldir="$libdir"
47949
47950 case "${BAKEFILE_HOST}" in
47951 *-hp-hpux* )
47952 SO_SUFFIX="sl"
47953 SO_SUFFIX_MODULE="sl"
47954 ;;
47955 *-*-aix* )
47956 SO_SUFFIX="a"
47957 SO_SUFFIX_MODULE="a"
47958 ;;
47959 *-*-cygwin* )
47960 SO_SUFFIX="dll"
47961 SO_SUFFIX_MODULE="dll"
47962 DLLIMP_SUFFIX="dll.a"
47963 EXEEXT=".exe"
47964 DLLPREFIX="cyg"
47965 dlldir="$bindir"
47966 ;;
47967 *-*-mingw32* )
47968 SO_SUFFIX="dll"
47969 SO_SUFFIX_MODULE="dll"
47970 DLLIMP_SUFFIX="dll.a"
47971 EXEEXT=".exe"
47972 DLLPREFIX=""
47973 dlldir="$bindir"
47974 ;;
47975 *-pc-msdosdjgpp )
47976 EXEEXT=".exe"
47977 DLLPREFIX=""
47978 dlldir="$bindir"
47979 ;;
47980 *-pc-os2_emx | *-pc-os2-emx )
47981 SO_SUFFIX="dll"
47982 SO_SUFFIX_MODULE="dll"
47983 DLLIMP_SUFFIX=$OS2_LIBEXT
47984 EXEEXT=".exe"
47985 DLLPREFIX=""
47986 LIBPREFIX=""
47987 LIBEXT=".$OS2_LIBEXT"
47988 dlldir="$bindir"
47989 ;;
47990 *-*-darwin* )
47991 SO_SUFFIX="dylib"
47992 SO_SUFFIX_MODULE="bundle"
47993 ;;
47994 esac
47995
47996 if test "x$DLLIMP_SUFFIX" = "x" ; then
47997 DLLIMP_SUFFIX="$SO_SUFFIX"
47998 fi
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011 PIC_FLAG=""
48012 if test "x$GCC" = "xyes"; then
48013 PIC_FLAG="-fPIC"
48014 fi
48015
48016 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48017 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48018 WINDOWS_IMPLIB=0
48019
48020 case "${BAKEFILE_HOST}" in
48021 *-hp-hpux* )
48022 if test "x$GCC" != "xyes"; then
48023 LDFLAGS="$LDFLAGS -L/usr/lib"
48024
48025 SHARED_LD_CC="${CC} -b -o"
48026 SHARED_LD_CXX="${CXX} -b -o"
48027 PIC_FLAG="+Z"
48028 fi
48029 ;;
48030
48031 *-*-linux* )
48032 if test "x$GCC" != "xyes"; then
48033 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48034 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48035 if test "${bakefile_cv_prog_icc+set}" = set; then
48036 echo $ECHO_N "(cached) $ECHO_C" >&6
48037 else
48038
48039 cat >conftest.$ac_ext <<_ACEOF
48040 /* confdefs.h. */
48041 _ACEOF
48042 cat confdefs.h >>conftest.$ac_ext
48043 cat >>conftest.$ac_ext <<_ACEOF
48044 /* end confdefs.h. */
48045
48046 int
48047 main ()
48048 {
48049
48050 #ifndef __INTEL_COMPILER
48051 This is not ICC
48052 #endif
48053
48054 ;
48055 return 0;
48056 }
48057 _ACEOF
48058 rm -f conftest.$ac_objext
48059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48060 (eval $ac_compile) 2>conftest.er1
48061 ac_status=$?
48062 grep -v '^ *+' conftest.er1 >conftest.err
48063 rm -f conftest.er1
48064 cat conftest.err >&5
48065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066 (exit $ac_status); } &&
48067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48069 (eval $ac_try) 2>&5
48070 ac_status=$?
48071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48072 (exit $ac_status); }; } &&
48073 { ac_try='test -s conftest.$ac_objext'
48074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48075 (eval $ac_try) 2>&5
48076 ac_status=$?
48077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48078 (exit $ac_status); }; }; then
48079 bakefile_cv_prog_icc=yes
48080 else
48081 echo "$as_me: failed program was:" >&5
48082 sed 's/^/| /' conftest.$ac_ext >&5
48083
48084 bakefile_cv_prog_icc=no
48085
48086 fi
48087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48088
48089 fi
48090 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48091 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48092 if test "$bakefile_cv_prog_icc" = "yes"; then
48093 PIC_FLAG="-KPIC"
48094 fi
48095 fi
48096 ;;
48097
48098 *-*-solaris2* )
48099 if test "x$GCC" != xyes ; then
48100 SHARED_LD_CC="${CC} -G -o"
48101 SHARED_LD_CXX="${CXX} -G -o"
48102 PIC_FLAG="-KPIC"
48103 fi
48104 ;;
48105
48106 *-*-darwin* )
48107
48108 D='$'
48109 cat <<EOF >shared-ld-sh
48110 #!/bin/sh
48111 #-----------------------------------------------------------------------------
48112 #-- Name: distrib/mac/shared-ld-sh
48113 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48114 #-- Author: Gilles Depeyrot
48115 #-- Copyright: (c) 2002 Gilles Depeyrot
48116 #-- Licence: any use permitted
48117 #-----------------------------------------------------------------------------
48118
48119 verbose=0
48120 args=""
48121 objects=""
48122 linking_flag="-dynamiclib"
48123 ldargs="-r -keep_private_externs -nostdlib"
48124
48125 while test ${D}# -gt 0; do
48126 case ${D}1 in
48127
48128 -v)
48129 verbose=1
48130 ;;
48131
48132 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48133 # collect these options and values
48134 args="${D}{args} ${D}1 ${D}2"
48135 shift
48136 ;;
48137
48138 -s|-Wl,*)
48139 # collect these load args
48140 ldargs="${D}{ldargs} ${D}1"
48141 ;;
48142
48143 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48144 # collect these options
48145 args="${D}{args} ${D}1"
48146 ;;
48147
48148 -dynamiclib|-bundle)
48149 linking_flag="${D}1"
48150 ;;
48151
48152 -*)
48153 echo "shared-ld: unhandled option '${D}1'"
48154 exit 1
48155 ;;
48156
48157 *.o | *.a | *.dylib)
48158 # collect object files
48159 objects="${D}{objects} ${D}1"
48160 ;;
48161
48162 *)
48163 echo "shared-ld: unhandled argument '${D}1'"
48164 exit 1
48165 ;;
48166
48167 esac
48168 shift
48169 done
48170
48171 status=0
48172
48173 #
48174 # Link one module containing all the others
48175 #
48176 if test ${D}{verbose} = 1; then
48177 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48178 fi
48179 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48180 status=${D}?
48181
48182 #
48183 # Link the shared library from the single module created, but only if the
48184 # previous command didn't fail:
48185 #
48186 if test ${D}{status} = 0; then
48187 if test ${D}{verbose} = 1; then
48188 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48189 fi
48190 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48191 status=${D}?
48192 fi
48193
48194 #
48195 # Remove intermediate module
48196 #
48197 rm -f master.${D}${D}.o
48198
48199 exit ${D}status
48200 EOF
48201
48202 chmod +x shared-ld-sh
48203
48204 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48205 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48206
48207
48208 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48209 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48210 if test "${bakefile_cv_gcc31+set}" = set; then
48211 echo $ECHO_N "(cached) $ECHO_C" >&6
48212 else
48213
48214 cat >conftest.$ac_ext <<_ACEOF
48215 /* confdefs.h. */
48216 _ACEOF
48217 cat confdefs.h >>conftest.$ac_ext
48218 cat >>conftest.$ac_ext <<_ACEOF
48219 /* end confdefs.h. */
48220
48221 int
48222 main ()
48223 {
48224
48225 #if (__GNUC__ < 3) || \
48226 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48227 This is old gcc
48228 #endif
48229
48230 ;
48231 return 0;
48232 }
48233 _ACEOF
48234 rm -f conftest.$ac_objext
48235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48236 (eval $ac_compile) 2>conftest.er1
48237 ac_status=$?
48238 grep -v '^ *+' conftest.er1 >conftest.err
48239 rm -f conftest.er1
48240 cat conftest.err >&5
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); } &&
48243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48245 (eval $ac_try) 2>&5
48246 ac_status=$?
48247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48248 (exit $ac_status); }; } &&
48249 { ac_try='test -s conftest.$ac_objext'
48250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48251 (eval $ac_try) 2>&5
48252 ac_status=$?
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); }; }; then
48255
48256 bakefile_cv_gcc31=yes
48257
48258 else
48259 echo "$as_me: failed program was:" >&5
48260 sed 's/^/| /' conftest.$ac_ext >&5
48261
48262
48263 bakefile_cv_gcc31=no
48264
48265
48266 fi
48267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48268
48269 fi
48270 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48271 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48272 if test "$bakefile_cv_gcc31" = "no"; then
48273 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48274 SHARED_LD_CXX="$SHARED_LD_CC"
48275 else
48276 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48277 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48278 fi
48279
48280 if test "x$GCC" == "xyes"; then
48281 PIC_FLAG="-dynamic -fPIC"
48282 fi
48283 if test "x$XLCC" = "xyes"; then
48284 PIC_FLAG="-dynamic -DPIC"
48285 fi
48286 ;;
48287
48288 *-*-aix* )
48289 if test "x$GCC" = "xyes"; then
48290 PIC_FLAG=""
48291
48292 case "${BAKEFILE_HOST}" in
48293 *-*-aix5* )
48294 LD_EXPFULL="-Wl,-bexpfull"
48295 ;;
48296 esac
48297
48298 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48299 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48300 else
48301 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48302 set dummy makeC++SharedLib; ac_word=$2
48303 echo "$as_me:$LINENO: checking for $ac_word" >&5
48304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48305 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48307 else
48308 if test -n "$AIX_CXX_LD"; then
48309 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48310 else
48311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48312 for as_dir in $PATH
48313 do
48314 IFS=$as_save_IFS
48315 test -z "$as_dir" && as_dir=.
48316 for ac_exec_ext in '' $ac_executable_extensions; do
48317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48318 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48320 break 2
48321 fi
48322 done
48323 done
48324
48325 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48326 fi
48327 fi
48328 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48329 if test -n "$AIX_CXX_LD"; then
48330 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48331 echo "${ECHO_T}$AIX_CXX_LD" >&6
48332 else
48333 echo "$as_me:$LINENO: result: no" >&5
48334 echo "${ECHO_T}no" >&6
48335 fi
48336
48337 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48338 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48339 fi
48340 ;;
48341
48342 *-*-beos* )
48343 SHARED_LD_CC="${LD} -nostart -o"
48344 SHARED_LD_CXX="${LD} -nostart -o"
48345 ;;
48346
48347 *-*-irix* )
48348 if test "x$GCC" != "xyes"; then
48349 PIC_FLAG="-KPIC"
48350 fi
48351 ;;
48352
48353 *-*-cygwin* | *-*-mingw32* )
48354 PIC_FLAG=""
48355 SHARED_LD_CC="\$(CC) -shared -o"
48356 SHARED_LD_CXX="\$(CXX) -shared -o"
48357 WINDOWS_IMPLIB=1
48358 ;;
48359
48360 *-pc-os2_emx | *-pc-os2-emx )
48361 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48362 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48363 PIC_FLAG=""
48364
48365 D='$'
48366 cat <<EOF >dllar.sh
48367 #!/bin/sh
48368 #
48369 # dllar - a tool to build both a .dll and an .a file
48370 # from a set of object (.o) files for EMX/OS2.
48371 #
48372 # Written by Andrew Zabolotny, bit@freya.etu.ru
48373 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48374 #
48375 # This script will accept a set of files on the command line.
48376 # All the public symbols from the .o files will be exported into
48377 # a .DEF file, then linker will be run (through gcc) against them to
48378 # build a shared library consisting of all given .o files. All libraries
48379 # (.a) will be first decompressed into component .o files then act as
48380 # described above. You can optionally give a description (-d "description")
48381 # which will be put into .DLL. To see the list of accepted options (as well
48382 # as command-line format) simply run this program without options. The .DLL
48383 # is built to be imported by name (there is no guarantee that new versions
48384 # of the library you build will have same ordinals for same symbols).
48385 #
48386 # dllar is free software; you can redistribute it and/or modify
48387 # it under the terms of the GNU General Public License as published by
48388 # the Free Software Foundation; either version 2, or (at your option)
48389 # any later version.
48390 #
48391 # dllar is distributed in the hope that it will be useful,
48392 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48394 # GNU General Public License for more details.
48395 #
48396 # You should have received a copy of the GNU General Public License
48397 # along with dllar; see the file COPYING. If not, write to the Free
48398 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48399 # 02111-1307, USA.
48400
48401 # To successfuly run this program you will need:
48402 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48403 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48404 # - gcc
48405 # (used to build the .dll)
48406 # - emxexp
48407 # (used to create .def file from .o files)
48408 # - emximp
48409 # (used to create .a file from .def file)
48410 # - GNU text utilites (cat, sort, uniq)
48411 # used to process emxexp output
48412 # - GNU file utilities (mv, rm)
48413 # - GNU sed
48414 # - lxlite (optional, see flag below)
48415 # (used for general .dll cleanup)
48416 #
48417
48418 flag_USE_LXLITE=1;
48419
48420 #
48421 # helper functions
48422 # basnam, variant of basename, which does _not_ remove the path, _iff_
48423 # second argument (suffix to remove) is given
48424 basnam(){
48425 case ${D}# in
48426 1)
48427 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48428 ;;
48429 2)
48430 echo ${D}1 | sed 's/'${D}2'${D}//'
48431 ;;
48432 *)
48433 echo "error in basnam ${D}*"
48434 exit 8
48435 ;;
48436 esac
48437 }
48438
48439 # Cleanup temporary files and output
48440 CleanUp() {
48441 cd ${D}curDir
48442 for i in ${D}inputFiles ; do
48443 case ${D}i in
48444 *!)
48445 rm -rf \`basnam ${D}i !\`
48446 ;;
48447 *)
48448 ;;
48449 esac
48450 done
48451
48452 # Kill result in case of failure as there is just to many stupid make/nmake
48453 # things out there which doesn't do this.
48454 if [ ${D}# -eq 0 ]; then
48455 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48456 fi
48457 }
48458
48459 # Print usage and exit script with rc=1.
48460 PrintHelp() {
48461 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48462 echo ' [-name-mangler-script script.sh]'
48463 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48464 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48465 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48466 echo ' [*.o] [*.a]'
48467 echo '*> "output_file" should have no extension.'
48468 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48469 echo ' The import library name is derived from this and is set to "name".a,'
48470 echo ' unless overridden by -import'
48471 echo '*> "importlib_name" should have no extension.'
48472 echo ' If it has the .o, or .a extension, it is automatically removed.'
48473 echo ' This name is used as the import library name and may be longer and'
48474 echo ' more descriptive than the DLL name which has to follow the old '
48475 echo ' 8.3 convention of FAT.'
48476 echo '*> "script.sh may be given to override the output_file name by a'
48477 echo ' different name. It is mainly useful if the regular make process'
48478 echo ' of some package does not take into account OS/2 restriction of'
48479 echo ' DLL name lengths. It takes the importlib name as input and is'
48480 echo ' supposed to procude a shorter name as output. The script should'
48481 echo ' expect to get importlib_name without extension and should produce'
48482 echo ' a (max.) 8 letter name without extension.'
48483 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48484 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48485 echo ' These flags will be put at the start of GCC command line.'
48486 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48487 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48488 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48489 echo ' If the last character of a symbol is "*", all symbols beginning'
48490 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48491 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48492 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48493 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48494 echo ' C runtime DLLs.'
48495 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48496 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48497 echo ' unchanged to GCC at the end of command line.'
48498 echo '*> If you create a DLL from a library and you do not specify -o,'
48499 echo ' the basename for DLL and import library will be set to library name,'
48500 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48501 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48502 echo ' library will be renamed into gcc_s.a.'
48503 echo '--------'
48504 echo 'Example:'
48505 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48506 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48507 CleanUp
48508 exit 1
48509 }
48510
48511 # Execute a command.
48512 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48513 # @Uses Whatever CleanUp() uses.
48514 doCommand() {
48515 echo "${D}*"
48516 eval ${D}*
48517 rcCmd=${D}?
48518
48519 if [ ${D}rcCmd -ne 0 ]; then
48520 echo "command failed, exit code="${D}rcCmd
48521 CleanUp
48522 exit ${D}rcCmd
48523 fi
48524 }
48525
48526 # main routine
48527 # setup globals
48528 cmdLine=${D}*
48529 outFile=""
48530 outimpFile=""
48531 inputFiles=""
48532 renameScript=""
48533 description=""
48534 CC=gcc.exe
48535 CFLAGS="-s -Zcrtdll"
48536 EXTRA_CFLAGS=""
48537 EXPORT_BY_ORDINALS=0
48538 exclude_symbols=""
48539 library_flags=""
48540 curDir=\`pwd\`
48541 curDirS=curDir
48542 case ${D}curDirS in
48543 */)
48544 ;;
48545 *)
48546 curDirS=${D}{curDirS}"/"
48547 ;;
48548 esac
48549 # Parse commandline
48550 libsToLink=0
48551 omfLinking=0
48552 while [ ${D}1 ]; do
48553 case ${D}1 in
48554 -ord*)
48555 EXPORT_BY_ORDINALS=1;
48556 ;;
48557 -o*)
48558 shift
48559 outFile=${D}1
48560 ;;
48561 -i*)
48562 shift
48563 outimpFile=${D}1
48564 ;;
48565 -name-mangler-script)
48566 shift
48567 renameScript=${D}1
48568 ;;
48569 -d*)
48570 shift
48571 description=${D}1
48572 ;;
48573 -f*)
48574 shift
48575 CFLAGS=${D}1
48576 ;;
48577 -c*)
48578 shift
48579 CC=${D}1
48580 ;;
48581 -h*)
48582 PrintHelp
48583 ;;
48584 -ex*)
48585 shift
48586 exclude_symbols=${D}{exclude_symbols}${D}1" "
48587 ;;
48588 -libf*)
48589 shift
48590 library_flags=${D}{library_flags}${D}1" "
48591 ;;
48592 -nocrt*)
48593 CFLAGS="-s"
48594 ;;
48595 -nolxl*)
48596 flag_USE_LXLITE=0
48597 ;;
48598 -* | /*)
48599 case ${D}1 in
48600 -L* | -l*)
48601 libsToLink=1
48602 ;;
48603 -Zomf)
48604 omfLinking=1
48605 ;;
48606 *)
48607 ;;
48608 esac
48609 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48610 ;;
48611 *.dll)
48612 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48613 if [ ${D}omfLinking -eq 1 ]; then
48614 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48615 else
48616 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48617 fi
48618 ;;
48619 *)
48620 found=0;
48621 if [ ${D}libsToLink -ne 0 ]; then
48622 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48623 else
48624 for file in ${D}1 ; do
48625 if [ -f ${D}file ]; then
48626 inputFiles="${D}{inputFiles} ${D}file"
48627 found=1
48628 fi
48629 done
48630 if [ ${D}found -eq 0 ]; then
48631 echo "ERROR: No file(s) found: "${D}1
48632 exit 8
48633 fi
48634 fi
48635 ;;
48636 esac
48637 shift
48638 done # iterate cmdline words
48639
48640 #
48641 if [ -z "${D}inputFiles" ]; then
48642 echo "dllar: no input files"
48643 PrintHelp
48644 fi
48645
48646 # Now extract all .o files from .a files
48647 newInputFiles=""
48648 for file in ${D}inputFiles ; do
48649 case ${D}file in
48650 *.a | *.lib)
48651 case ${D}file in
48652 *.a)
48653 suffix=".a"
48654 AR="ar"
48655 ;;
48656 *.lib)
48657 suffix=".lib"
48658 AR="emxomfar"
48659 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48660 ;;
48661 *)
48662 ;;
48663 esac
48664 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48665 mkdir ${D}dirname
48666 if [ ${D}? -ne 0 ]; then
48667 echo "Failed to create subdirectory ./${D}dirname"
48668 CleanUp
48669 exit 8;
48670 fi
48671 # Append '!' to indicate archive
48672 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48673 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48674 cd ${D}curDir
48675 found=0;
48676 for subfile in ${D}dirname/*.o* ; do
48677 if [ -f ${D}subfile ]; then
48678 found=1
48679 if [ -s ${D}subfile ]; then
48680 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48681 newInputFiles="${D}newInputFiles ${D}subfile"
48682 fi
48683 fi
48684 done
48685 if [ ${D}found -eq 0 ]; then
48686 echo "WARNING: there are no files in archive \\'${D}file\\'"
48687 fi
48688 ;;
48689 *)
48690 newInputFiles="${D}{newInputFiles} ${D}file"
48691 ;;
48692 esac
48693 done
48694 inputFiles="${D}newInputFiles"
48695
48696 # Output filename(s).
48697 do_backup=0;
48698 if [ -z ${D}outFile ]; then
48699 do_backup=1;
48700 set outFile ${D}inputFiles; outFile=${D}2
48701 fi
48702
48703 # If it is an archive, remove the '!' and the '_%' suffixes
48704 case ${D}outFile in
48705 *_%!)
48706 outFile=\`basnam ${D}outFile _%!\`
48707 ;;
48708 *)
48709 ;;
48710 esac
48711 case ${D}outFile in
48712 *.dll)
48713 outFile=\`basnam ${D}outFile .dll\`
48714 ;;
48715 *.DLL)
48716 outFile=\`basnam ${D}outFile .DLL\`
48717 ;;
48718 *.o)
48719 outFile=\`basnam ${D}outFile .o\`
48720 ;;
48721 *.obj)
48722 outFile=\`basnam ${D}outFile .obj\`
48723 ;;
48724 *.a)
48725 outFile=\`basnam ${D}outFile .a\`
48726 ;;
48727 *.lib)
48728 outFile=\`basnam ${D}outFile .lib\`
48729 ;;
48730 *)
48731 ;;
48732 esac
48733 case ${D}outimpFile in
48734 *.a)
48735 outimpFile=\`basnam ${D}outimpFile .a\`
48736 ;;
48737 *.lib)
48738 outimpFile=\`basnam ${D}outimpFile .lib\`
48739 ;;
48740 *)
48741 ;;
48742 esac
48743 if [ -z ${D}outimpFile ]; then
48744 outimpFile=${D}outFile
48745 fi
48746 defFile="${D}{outFile}.def"
48747 arcFile="${D}{outimpFile}.a"
48748 arcFile2="${D}{outimpFile}.lib"
48749
48750 #create ${D}dllFile as something matching 8.3 restrictions,
48751 if [ -z ${D}renameScript ] ; then
48752 dllFile="${D}outFile"
48753 else
48754 dllFile=\`${D}renameScript ${D}outimpFile\`
48755 fi
48756
48757 if [ ${D}do_backup -ne 0 ] ; then
48758 if [ -f ${D}arcFile ] ; then
48759 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48760 fi
48761 if [ -f ${D}arcFile2 ] ; then
48762 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48763 fi
48764 fi
48765
48766 # Extract public symbols from all the object files.
48767 tmpdefFile=${D}{defFile}_%
48768 rm -f ${D}tmpdefFile
48769 for file in ${D}inputFiles ; do
48770 case ${D}file in
48771 *!)
48772 ;;
48773 *)
48774 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48775 ;;
48776 esac
48777 done
48778
48779 # Create the def file.
48780 rm -f ${D}defFile
48781 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48782 dllFile="${D}{dllFile}.dll"
48783 if [ ! -z ${D}description ]; then
48784 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48785 fi
48786 echo "EXPORTS" >> ${D}defFile
48787
48788 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48789 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48790
48791 # Checks if the export is ok or not.
48792 for word in ${D}exclude_symbols; do
48793 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48794 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48795 done
48796
48797
48798 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48799 sed "=" < ${D}tmpdefFile | \\
48800 sed '
48801 N
48802 : loop
48803 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48804 t loop
48805 ' > ${D}{tmpdefFile}%
48806 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48807 else
48808 rm -f ${D}{tmpdefFile}%
48809 fi
48810 cat ${D}tmpdefFile >> ${D}defFile
48811 rm -f ${D}tmpdefFile
48812
48813 # Do linking, create implib, and apply lxlite.
48814 gccCmdl="";
48815 for file in ${D}inputFiles ; do
48816 case ${D}file in
48817 *!)
48818 ;;
48819 *)
48820 gccCmdl="${D}gccCmdl ${D}file"
48821 ;;
48822 esac
48823 done
48824 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48825 touch "${D}{outFile}.dll"
48826
48827 doCommand "emximp -o ${D}arcFile ${D}defFile"
48828 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48829 add_flags="";
48830 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48831 add_flags="-ynd"
48832 fi
48833 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48834 fi
48835 doCommand "emxomf -s -l ${D}arcFile"
48836
48837 # Successful exit.
48838 CleanUp 1
48839 exit 0
48840 EOF
48841
48842 chmod +x dllar.sh
48843 ;;
48844
48845 powerpc-apple-macos* | \
48846 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48847 *-*-mirbsd* | \
48848 *-*-sunos4* | \
48849 *-*-osf* | \
48850 *-*-dgux5* | \
48851 *-*-sysv5* | \
48852 *-pc-msdosdjgpp )
48853 ;;
48854
48855 *)
48856 esac
48857
48858 if test "x$PIC_FLAG" != "x" ; then
48859 PIC_FLAG="$PIC_FLAG -DPIC"
48860 fi
48861
48862 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48863 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48864 fi
48865 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48866 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48867 fi
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877 USE_SOVERSION=0
48878 USE_SOVERLINUX=0
48879 USE_SOVERSOLARIS=0
48880 USE_SOVERCYGWIN=0
48881 USE_SOSYMLINKS=0
48882 USE_MACVERSION=0
48883 SONAME_FLAG=
48884
48885 case "${BAKEFILE_HOST}" in
48886 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48887 SONAME_FLAG="-Wl,-soname,"
48888 USE_SOVERSION=1
48889 USE_SOVERLINUX=1
48890 USE_SOSYMLINKS=1
48891 ;;
48892
48893 *-*-solaris2* )
48894 SONAME_FLAG="-h "
48895 USE_SOVERSION=1
48896 USE_SOVERSOLARIS=1
48897 USE_SOSYMLINKS=1
48898 ;;
48899
48900 *-*-darwin* )
48901 USE_MACVERSION=1
48902 USE_SOVERSION=1
48903 USE_SOSYMLINKS=1
48904 ;;
48905
48906 *-*-cygwin* )
48907 USE_SOVERSION=1
48908 USE_SOVERCYGWIN=1
48909 ;;
48910 esac
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48922 if test "${enable_dependency_tracking+set}" = set; then
48923 enableval="$enable_dependency_tracking"
48924 bk_use_trackdeps="$enableval"
48925 fi;
48926
48927 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48928 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48929
48930 BK_DEPS=""
48931 if test "x$bk_use_trackdeps" = "xno" ; then
48932 DEPS_TRACKING=0
48933 echo "$as_me:$LINENO: result: disabled" >&5
48934 echo "${ECHO_T}disabled" >&6
48935 else
48936 DEPS_TRACKING=1
48937
48938 if test "x$GCC" = "xyes"; then
48939 DEPSMODE=gcc
48940 case "${BAKEFILE_HOST}" in
48941 *-*-darwin* )
48942 DEPSFLAG="-no-cpp-precomp -MMD"
48943 ;;
48944 * )
48945 DEPSFLAG="-MMD"
48946 ;;
48947 esac
48948 echo "$as_me:$LINENO: result: gcc" >&5
48949 echo "${ECHO_T}gcc" >&6
48950 elif test "x$MWCC" = "xyes"; then
48951 DEPSMODE=mwcc
48952 DEPSFLAG="-MM"
48953 echo "$as_me:$LINENO: result: mwcc" >&5
48954 echo "${ECHO_T}mwcc" >&6
48955 elif test "x$SUNCC" = "xyes"; then
48956 DEPSMODE=unixcc
48957 DEPSFLAG="-xM1"
48958 echo "$as_me:$LINENO: result: Sun cc" >&5
48959 echo "${ECHO_T}Sun cc" >&6
48960 elif test "x$SGICC" = "xyes"; then
48961 DEPSMODE=unixcc
48962 DEPSFLAG="-M"
48963 echo "$as_me:$LINENO: result: SGI cc" >&5
48964 echo "${ECHO_T}SGI cc" >&6
48965 elif test "x$HPCC" = "xyes"; then
48966 DEPSMODE=unixcc
48967 DEPSFLAG="+make"
48968 echo "$as_me:$LINENO: result: HP cc" >&5
48969 echo "${ECHO_T}HP cc" >&6
48970 elif test "x$COMPAQCC" = "xyes"; then
48971 DEPSMODE=gcc
48972 DEPSFLAG="-MD"
48973 echo "$as_me:$LINENO: result: Compaq cc" >&5
48974 echo "${ECHO_T}Compaq cc" >&6
48975 else
48976 DEPS_TRACKING=0
48977 echo "$as_me:$LINENO: result: none" >&5
48978 echo "${ECHO_T}none" >&6
48979 fi
48980
48981 if test $DEPS_TRACKING = 1 ; then
48982
48983 D='$'
48984 cat <<EOF >bk-deps
48985 #!/bin/sh
48986
48987 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48988 # script. It is used to track C/C++ files dependencies in portable way.
48989 #
48990 # Permission is given to use this file in any way.
48991
48992 DEPSMODE=${DEPSMODE}
48993 DEPSDIR=.deps
48994 DEPSFLAG="${DEPSFLAG}"
48995
48996 mkdir -p ${D}DEPSDIR
48997
48998 if test ${D}DEPSMODE = gcc ; then
48999 ${D}* ${D}{DEPSFLAG}
49000 status=${D}?
49001 if test ${D}{status} != 0 ; then
49002 exit ${D}{status}
49003 fi
49004 # move created file to the location we want it in:
49005 while test ${D}# -gt 0; do
49006 case "${D}1" in
49007 -o )
49008 shift
49009 objfile=${D}1
49010 ;;
49011 -* )
49012 ;;
49013 * )
49014 srcfile=${D}1
49015 ;;
49016 esac
49017 shift
49018 done
49019 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49020 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49021 if test -f ${D}depfile ; then
49022 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49023 rm -f ${D}depfile
49024 else
49025 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49026 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49027 if test ! -f ${D}depfile ; then
49028 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49029 depfile="${D}objfile.d"
49030 fi
49031 if test -f ${D}depfile ; then
49032 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49033 rm -f ${D}depfile
49034 fi
49035 fi
49036 exit 0
49037 elif test ${D}DEPSMODE = mwcc ; then
49038 ${D}* || exit ${D}?
49039 # Run mwcc again with -MM and redirect into the dep file we want
49040 # NOTE: We can't use shift here because we need ${D}* to be valid
49041 prevarg=
49042 for arg in ${D}* ; do
49043 if test "${D}prevarg" = "-o"; then
49044 objfile=${D}arg
49045 else
49046 case "${D}arg" in
49047 -* )
49048 ;;
49049 * )
49050 srcfile=${D}arg
49051 ;;
49052 esac
49053 fi
49054 prevarg="${D}arg"
49055 done
49056 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49057 exit 0
49058 elif test ${D}DEPSMODE = unixcc; then
49059 ${D}* || exit ${D}?
49060 # Run compiler again with deps flag and redirect into the dep file.
49061 # It doesn't work if the '-o FILE' option is used, but without it the
49062 # dependency file will contain the wrong name for the object. So it is
49063 # removed from the command line, and the dep file is fixed with sed.
49064 cmd=""
49065 while test ${D}# -gt 0; do
49066 case "${D}1" in
49067 -o )
49068 shift
49069 objfile=${D}1
49070 ;;
49071 * )
49072 eval arg${D}#=\\${D}1
49073 cmd="${D}cmd \\${D}arg${D}#"
49074 ;;
49075 esac
49076 shift
49077 done
49078 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49079 exit 0
49080 else
49081 ${D}*
49082 exit ${D}?
49083 fi
49084 EOF
49085
49086 chmod +x bk-deps
49087 BK_DEPS="`pwd`/bk-deps"
49088 fi
49089 fi
49090
49091
49092
49093
49094
49095 case ${BAKEFILE_HOST} in
49096 *-*-cygwin* | *-*-mingw32* )
49097 if test -n "$ac_tool_prefix"; then
49098 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49099 set dummy ${ac_tool_prefix}windres; ac_word=$2
49100 echo "$as_me:$LINENO: checking for $ac_word" >&5
49101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49102 if test "${ac_cv_prog_WINDRES+set}" = set; then
49103 echo $ECHO_N "(cached) $ECHO_C" >&6
49104 else
49105 if test -n "$WINDRES"; then
49106 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49107 else
49108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49109 for as_dir in $PATH
49110 do
49111 IFS=$as_save_IFS
49112 test -z "$as_dir" && as_dir=.
49113 for ac_exec_ext in '' $ac_executable_extensions; do
49114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49115 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49117 break 2
49118 fi
49119 done
49120 done
49121
49122 fi
49123 fi
49124 WINDRES=$ac_cv_prog_WINDRES
49125 if test -n "$WINDRES"; then
49126 echo "$as_me:$LINENO: result: $WINDRES" >&5
49127 echo "${ECHO_T}$WINDRES" >&6
49128 else
49129 echo "$as_me:$LINENO: result: no" >&5
49130 echo "${ECHO_T}no" >&6
49131 fi
49132
49133 fi
49134 if test -z "$ac_cv_prog_WINDRES"; then
49135 ac_ct_WINDRES=$WINDRES
49136 # Extract the first word of "windres", so it can be a program name with args.
49137 set dummy windres; ac_word=$2
49138 echo "$as_me:$LINENO: checking for $ac_word" >&5
49139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49140 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49141 echo $ECHO_N "(cached) $ECHO_C" >&6
49142 else
49143 if test -n "$ac_ct_WINDRES"; then
49144 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49145 else
49146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49147 for as_dir in $PATH
49148 do
49149 IFS=$as_save_IFS
49150 test -z "$as_dir" && as_dir=.
49151 for ac_exec_ext in '' $ac_executable_extensions; do
49152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49153 ac_cv_prog_ac_ct_WINDRES="windres"
49154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49155 break 2
49156 fi
49157 done
49158 done
49159
49160 fi
49161 fi
49162 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49163 if test -n "$ac_ct_WINDRES"; then
49164 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49165 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49166 else
49167 echo "$as_me:$LINENO: result: no" >&5
49168 echo "${ECHO_T}no" >&6
49169 fi
49170
49171 WINDRES=$ac_ct_WINDRES
49172 else
49173 WINDRES="$ac_cv_prog_WINDRES"
49174 fi
49175
49176 ;;
49177
49178 *-*-darwin* | powerpc-apple-macos* )
49179 # Extract the first word of "Rez", so it can be a program name with args.
49180 set dummy Rez; ac_word=$2
49181 echo "$as_me:$LINENO: checking for $ac_word" >&5
49182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49183 if test "${ac_cv_prog_REZ+set}" = set; then
49184 echo $ECHO_N "(cached) $ECHO_C" >&6
49185 else
49186 if test -n "$REZ"; then
49187 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49188 else
49189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49190 for as_dir in $PATH
49191 do
49192 IFS=$as_save_IFS
49193 test -z "$as_dir" && as_dir=.
49194 for ac_exec_ext in '' $ac_executable_extensions; do
49195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49196 ac_cv_prog_REZ="Rez"
49197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49198 break 2
49199 fi
49200 done
49201 done
49202
49203 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49204 fi
49205 fi
49206 REZ=$ac_cv_prog_REZ
49207 if test -n "$REZ"; then
49208 echo "$as_me:$LINENO: result: $REZ" >&5
49209 echo "${ECHO_T}$REZ" >&6
49210 else
49211 echo "$as_me:$LINENO: result: no" >&5
49212 echo "${ECHO_T}no" >&6
49213 fi
49214
49215 # Extract the first word of "SetFile", so it can be a program name with args.
49216 set dummy SetFile; ac_word=$2
49217 echo "$as_me:$LINENO: checking for $ac_word" >&5
49218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49219 if test "${ac_cv_prog_SETFILE+set}" = set; then
49220 echo $ECHO_N "(cached) $ECHO_C" >&6
49221 else
49222 if test -n "$SETFILE"; then
49223 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49224 else
49225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49226 for as_dir in $PATH
49227 do
49228 IFS=$as_save_IFS
49229 test -z "$as_dir" && as_dir=.
49230 for ac_exec_ext in '' $ac_executable_extensions; do
49231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49232 ac_cv_prog_SETFILE="SetFile"
49233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49234 break 2
49235 fi
49236 done
49237 done
49238
49239 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49240 fi
49241 fi
49242 SETFILE=$ac_cv_prog_SETFILE
49243 if test -n "$SETFILE"; then
49244 echo "$as_me:$LINENO: result: $SETFILE" >&5
49245 echo "${ECHO_T}$SETFILE" >&6
49246 else
49247 echo "$as_me:$LINENO: result: no" >&5
49248 echo "${ECHO_T}no" >&6
49249 fi
49250
49251 ;;
49252 esac
49253
49254
49255
49256
49257
49258
49259 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49260
49261
49262 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49263
49264
49265
49266 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49267 if test "${enable_precomp_headers+set}" = set; then
49268 enableval="$enable_precomp_headers"
49269 bk_use_pch="$enableval"
49270 fi;
49271
49272 GCC_PCH=0
49273 ICC_PCH=0
49274 USE_PCH=0
49275 BK_MAKE_PCH=""
49276
49277 case ${BAKEFILE_HOST} in
49278 *-*-cygwin* )
49279 bk_use_pch="no"
49280 ;;
49281 esac
49282
49283 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49284 if test "x$GCC" = "xyes"; then
49285 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49286 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49287 cat >conftest.$ac_ext <<_ACEOF
49288 /* confdefs.h. */
49289 _ACEOF
49290 cat confdefs.h >>conftest.$ac_ext
49291 cat >>conftest.$ac_ext <<_ACEOF
49292 /* end confdefs.h. */
49293
49294 int
49295 main ()
49296 {
49297
49298 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49299 There is no PCH support
49300 #endif
49301 #if (__GNUC__ < 3)
49302 There is no PCH support
49303 #endif
49304 #if (__GNUC__ == 3) && \
49305 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49306 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49307 ( defined(__INTEL_COMPILER) )
49308 There is no PCH support
49309 #endif
49310
49311 ;
49312 return 0;
49313 }
49314 _ACEOF
49315 rm -f conftest.$ac_objext
49316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49317 (eval $ac_compile) 2>conftest.er1
49318 ac_status=$?
49319 grep -v '^ *+' conftest.er1 >conftest.err
49320 rm -f conftest.er1
49321 cat conftest.err >&5
49322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49323 (exit $ac_status); } &&
49324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49326 (eval $ac_try) 2>&5
49327 ac_status=$?
49328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49329 (exit $ac_status); }; } &&
49330 { ac_try='test -s conftest.$ac_objext'
49331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49332 (eval $ac_try) 2>&5
49333 ac_status=$?
49334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49335 (exit $ac_status); }; }; then
49336
49337 echo "$as_me:$LINENO: result: yes" >&5
49338 echo "${ECHO_T}yes" >&6
49339 GCC_PCH=1
49340
49341 else
49342 echo "$as_me: failed program was:" >&5
49343 sed 's/^/| /' conftest.$ac_ext >&5
49344
49345
49346 cat >conftest.$ac_ext <<_ACEOF
49347 /* confdefs.h. */
49348 _ACEOF
49349 cat confdefs.h >>conftest.$ac_ext
49350 cat >>conftest.$ac_ext <<_ACEOF
49351 /* end confdefs.h. */
49352
49353 int
49354 main ()
49355 {
49356
49357 #if !defined(__INTEL_COMPILER) || \
49358 (__INTEL_COMPILER < 800)
49359 There is no PCH support
49360 #endif
49361
49362 ;
49363 return 0;
49364 }
49365 _ACEOF
49366 rm -f conftest.$ac_objext
49367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49368 (eval $ac_compile) 2>conftest.er1
49369 ac_status=$?
49370 grep -v '^ *+' conftest.er1 >conftest.err
49371 rm -f conftest.er1
49372 cat conftest.err >&5
49373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49374 (exit $ac_status); } &&
49375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49377 (eval $ac_try) 2>&5
49378 ac_status=$?
49379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49380 (exit $ac_status); }; } &&
49381 { ac_try='test -s conftest.$ac_objext'
49382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383 (eval $ac_try) 2>&5
49384 ac_status=$?
49385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386 (exit $ac_status); }; }; then
49387
49388 echo "$as_me:$LINENO: result: yes" >&5
49389 echo "${ECHO_T}yes" >&6
49390 ICC_PCH=1
49391
49392 else
49393 echo "$as_me: failed program was:" >&5
49394 sed 's/^/| /' conftest.$ac_ext >&5
49395
49396
49397 echo "$as_me:$LINENO: result: no" >&5
49398 echo "${ECHO_T}no" >&6
49399
49400 fi
49401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49402
49403 fi
49404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49405 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49406 USE_PCH=1
49407
49408 D='$'
49409 cat <<EOF >bk-make-pch
49410 #!/bin/sh
49411
49412 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49413 # script. It is used to generated precompiled headers.
49414 #
49415 # Permission is given to use this file in any way.
49416
49417 outfile="${D}{1}"
49418 header="${D}{2}"
49419 shift
49420 shift
49421
49422 compiler=""
49423 headerfile=""
49424
49425 while test ${D}{#} -gt 0; do
49426 add_to_cmdline=1
49427 case "${D}{1}" in
49428 -I* )
49429 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49430 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49431 headerfile="${D}{incdir}/${D}{header}"
49432 fi
49433 ;;
49434 -use-pch|-use_pch )
49435 shift
49436 add_to_cmdline=0
49437 ;;
49438 esac
49439 if test ${D}add_to_cmdline = 1 ; then
49440 compiler="${D}{compiler} ${D}{1}"
49441 fi
49442 shift
49443 done
49444
49445 if test "x${D}{headerfile}" = "x" ; then
49446 echo "error: can't find header ${D}{header} in include paths" >&2
49447 else
49448 if test -f ${D}{outfile} ; then
49449 rm -f ${D}{outfile}
49450 else
49451 mkdir -p \`dirname ${D}{outfile}\`
49452 fi
49453 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49454 mkdir -p .deps
49455 if test "x${GCC_PCH}" = "x1" ; then
49456 # can do this because gcc is >= 3.4:
49457 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49458 elif test "x${ICC_PCH}" = "x1" ; then
49459 filename=pch_gen-${D}${D}
49460 file=${D}{filename}.c
49461 dfile=${D}{filename}.d
49462 cat > ${D}file <<EOT
49463 #include "${D}header"
49464 EOT
49465 # using -MF icc complains about differing command lines in creation/use
49466 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49467 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49468 rm -f ${D}file ${D}dfile ${D}{filename}.o
49469 fi
49470 exit ${D}{?}
49471 fi
49472 EOF
49473
49474 chmod +x bk-make-pch
49475 BK_MAKE_PCH="`pwd`/bk-make-pch"
49476 fi
49477 fi
49478 fi
49479
49480
49481
49482
49483
49484 COND_BUILD_DEBUG="#"
49485 if test "x$BUILD" = "xdebug" ; then
49486 COND_BUILD_DEBUG=""
49487 fi
49488
49489 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49490 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49491 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49492 fi
49493
49494 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49495 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49496 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49497 fi
49498
49499 COND_BUILD_DEBUG_UNICODE_0="#"
49500 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49501 COND_BUILD_DEBUG_UNICODE_0=""
49502 fi
49503
49504 COND_BUILD_DEBUG_UNICODE_1="#"
49505 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49506 COND_BUILD_DEBUG_UNICODE_1=""
49507 fi
49508
49509 COND_BUILD_RELEASE="#"
49510 if test "x$BUILD" = "xrelease" ; then
49511 COND_BUILD_RELEASE=""
49512 fi
49513
49514 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49515 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49516 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49517 fi
49518
49519 COND_BUILD_RELEASE_UNICODE_0="#"
49520 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49521 COND_BUILD_RELEASE_UNICODE_0=""
49522 fi
49523
49524 COND_BUILD_RELEASE_UNICODE_1="#"
49525 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49526 COND_BUILD_RELEASE_UNICODE_1=""
49527 fi
49528
49529 COND_DEBUG_FLAG_1="#"
49530 if test "x$DEBUG_FLAG" = "x1" ; then
49531 COND_DEBUG_FLAG_1=""
49532 fi
49533
49534 COND_DEBUG_INFO_0="#"
49535 if test "x$DEBUG_INFO" = "x0" ; then
49536 COND_DEBUG_INFO_0=""
49537 fi
49538
49539 COND_DEBUG_INFO_1="#"
49540 if test "x$DEBUG_INFO" = "x1" ; then
49541 COND_DEBUG_INFO_1=""
49542 fi
49543
49544 COND_DEPS_TRACKING_0="#"
49545 if test "x$DEPS_TRACKING" = "x0" ; then
49546 COND_DEPS_TRACKING_0=""
49547 fi
49548
49549 COND_DEPS_TRACKING_1="#"
49550 if test "x$DEPS_TRACKING" = "x1" ; then
49551 COND_DEPS_TRACKING_1=""
49552 fi
49553
49554 COND_GCC_PCH_1="#"
49555 if test "x$GCC_PCH" = "x1" ; then
49556 COND_GCC_PCH_1=""
49557 fi
49558
49559 COND_ICC_PCH_1="#"
49560 if test "x$ICC_PCH" = "x1" ; then
49561 COND_ICC_PCH_1=""
49562 fi
49563
49564 COND_MONOLITHIC_0="#"
49565 if test "x$MONOLITHIC" = "x0" ; then
49566 COND_MONOLITHIC_0=""
49567 fi
49568
49569 COND_MONOLITHIC_0_SHARED_0="#"
49570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49571 COND_MONOLITHIC_0_SHARED_0=""
49572 fi
49573
49574 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49576 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49577 fi
49578
49579 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49581 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49582 fi
49583
49584 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49586 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49587 fi
49588
49589 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49591 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49592 fi
49593
49594 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49595 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49596 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49597 fi
49598
49599 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49600 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49601 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49602 fi
49603
49604 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49605 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49606 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49607 fi
49608
49609 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49610 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49611 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49612 fi
49613
49614 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49615 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49616 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49617 fi
49618
49619 COND_MONOLITHIC_0_SHARED_1="#"
49620 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49621 COND_MONOLITHIC_0_SHARED_1=""
49622 fi
49623
49624 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49625 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49626 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49627 fi
49628
49629 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49630 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49631 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49632 fi
49633
49634 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49635 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49636 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49637 fi
49638
49639 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49640 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49641 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49642 fi
49643
49644 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49645 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49646 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49647 fi
49648
49649 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49650 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49651 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49652 fi
49653
49654 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49656 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49657 fi
49658
49659 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49661 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49662 fi
49663
49664 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49666 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49667 fi
49668
49669 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49670 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49671 COND_MONOLITHIC_0_USE_MEDIA_1=""
49672 fi
49673
49674 COND_MONOLITHIC_0_USE_ODBC_1="#"
49675 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49676 COND_MONOLITHIC_0_USE_ODBC_1=""
49677 fi
49678
49679 COND_MONOLITHIC_1="#"
49680 if test "x$MONOLITHIC" = "x1" ; then
49681 COND_MONOLITHIC_1=""
49682 fi
49683
49684 COND_MONOLITHIC_1_SHARED_0="#"
49685 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49686 COND_MONOLITHIC_1_SHARED_0=""
49687 fi
49688
49689 COND_MONOLITHIC_1_SHARED_1="#"
49690 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49691 COND_MONOLITHIC_1_SHARED_1=""
49692 fi
49693
49694 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49695 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49696 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49697 fi
49698
49699 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49700 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49701 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49702 fi
49703
49704 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49705 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49706 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49707 fi
49708
49709 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49710 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49711 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49712 fi
49713
49714 COND_PLATFORM_MACOSX_1="#"
49715 if test "x$PLATFORM_MACOSX" = "x1" ; then
49716 COND_PLATFORM_MACOSX_1=""
49717 fi
49718
49719 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49720 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49721 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49722 fi
49723
49724 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49725 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49726 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49727 fi
49728
49729 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49730 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49731 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49732 fi
49733
49734 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49735 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49736 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49737 fi
49738
49739 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49740 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49741 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49742 fi
49743
49744 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49745 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49746 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49747 fi
49748
49749 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49750 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49751 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49752 fi
49753
49754 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49755 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49756 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49757 fi
49758
49759 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49760 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49761 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49762 fi
49763
49764 COND_PLATFORM_MACOS_1="#"
49765 if test "x$PLATFORM_MACOS" = "x1" ; then
49766 COND_PLATFORM_MACOS_1=""
49767 fi
49768
49769 COND_PLATFORM_MAC_1="#"
49770 if test "x$PLATFORM_MAC" = "x1" ; then
49771 COND_PLATFORM_MAC_1=""
49772 fi
49773
49774 COND_PLATFORM_MSDOS_0="#"
49775 if test "x$PLATFORM_MSDOS" = "x0" ; then
49776 COND_PLATFORM_MSDOS_0=""
49777 fi
49778
49779 COND_PLATFORM_MSDOS_1="#"
49780 if test "x$PLATFORM_MSDOS" = "x1" ; then
49781 COND_PLATFORM_MSDOS_1=""
49782 fi
49783
49784 COND_PLATFORM_OS2_1="#"
49785 if test "x$PLATFORM_OS2" = "x1" ; then
49786 COND_PLATFORM_OS2_1=""
49787 fi
49788
49789 COND_PLATFORM_UNIX_0="#"
49790 if test "x$PLATFORM_UNIX" = "x0" ; then
49791 COND_PLATFORM_UNIX_0=""
49792 fi
49793
49794 COND_PLATFORM_UNIX_1="#"
49795 if test "x$PLATFORM_UNIX" = "x1" ; then
49796 COND_PLATFORM_UNIX_1=""
49797 fi
49798
49799 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49800 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49801 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49802 fi
49803
49804 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49805 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49806 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49807 fi
49808
49809 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49810 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49811 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49812 fi
49813
49814 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49815 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49816 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49817 fi
49818
49819 COND_PLATFORM_WIN32_0="#"
49820 if test "x$PLATFORM_WIN32" = "x0" ; then
49821 COND_PLATFORM_WIN32_0=""
49822 fi
49823
49824 COND_PLATFORM_WIN32_1="#"
49825 if test "x$PLATFORM_WIN32" = "x1" ; then
49826 COND_PLATFORM_WIN32_1=""
49827 fi
49828
49829 COND_SHARED_0="#"
49830 if test "x$SHARED" = "x0" ; then
49831 COND_SHARED_0=""
49832 fi
49833
49834 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49835 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49836 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49837 fi
49838
49839 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49840 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49841 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49842 fi
49843
49844 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49845 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49846 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49847 fi
49848
49849 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49850 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49851 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49852 fi
49853
49854 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49855 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49856 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49857 fi
49858
49859 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49860 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49861 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49862 fi
49863
49864 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49865 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49866 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49867 fi
49868
49869 COND_SHARED_0_USE_XRC_1="#"
49870 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49871 COND_SHARED_0_USE_XRC_1=""
49872 fi
49873
49874 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49875 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49876 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49877 fi
49878
49879 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49880 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49881 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49882 fi
49883
49884 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49885 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49886 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49887 fi
49888
49889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49890 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49891 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49892 fi
49893
49894 COND_SHARED_1="#"
49895 if test "x$SHARED" = "x1" ; then
49896 COND_SHARED_1=""
49897 fi
49898
49899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49900 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49902 fi
49903
49904 COND_SHARED_1_USE_XRC_1="#"
49905 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49906 COND_SHARED_1_USE_XRC_1=""
49907 fi
49908
49909 COND_TOOLKIT_="#"
49910 if test "x$TOOLKIT" = "x" ; then
49911 COND_TOOLKIT_=""
49912 fi
49913
49914 COND_TOOLKIT_COCOA="#"
49915 if test "x$TOOLKIT" = "xCOCOA" ; then
49916 COND_TOOLKIT_COCOA=""
49917 fi
49918
49919 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49920 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49921 COND_TOOLKIT_COCOA_USE_GUI_1=""
49922 fi
49923
49924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49925 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49926 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49927 fi
49928
49929 COND_TOOLKIT_DFB="#"
49930 if test "x$TOOLKIT" = "xDFB" ; then
49931 COND_TOOLKIT_DFB=""
49932 fi
49933
49934 COND_TOOLKIT_DFB_USE_GUI_1="#"
49935 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49936 COND_TOOLKIT_DFB_USE_GUI_1=""
49937 fi
49938
49939 COND_TOOLKIT_GTK="#"
49940 if test "x$TOOLKIT" = "xGTK" ; then
49941 COND_TOOLKIT_GTK=""
49942 fi
49943
49944 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49945 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49946 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49947 fi
49948
49949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49950 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49952 fi
49953
49954 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49955 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49956 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49957 fi
49958
49959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49960 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49961 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49962 fi
49963
49964 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49965 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49966 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49967 fi
49968
49969 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49970 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49971 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49972 fi
49973
49974 COND_TOOLKIT_GTK_USE_GUI_1="#"
49975 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49976 COND_TOOLKIT_GTK_USE_GUI_1=""
49977 fi
49978
49979 COND_TOOLKIT_MAC="#"
49980 if test "x$TOOLKIT" = "xMAC" ; then
49981 COND_TOOLKIT_MAC=""
49982 fi
49983
49984 COND_TOOLKIT_MAC_USE_GUI_1="#"
49985 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49986 COND_TOOLKIT_MAC_USE_GUI_1=""
49987 fi
49988
49989 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49990 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49991 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49992 fi
49993
49994 COND_TOOLKIT_MGL="#"
49995 if test "x$TOOLKIT" = "xMGL" ; then
49996 COND_TOOLKIT_MGL=""
49997 fi
49998
49999 COND_TOOLKIT_MGL_USE_GUI_1="#"
50000 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50001 COND_TOOLKIT_MGL_USE_GUI_1=""
50002 fi
50003
50004 COND_TOOLKIT_MOTIF="#"
50005 if test "x$TOOLKIT" = "xMOTIF" ; then
50006 COND_TOOLKIT_MOTIF=""
50007 fi
50008
50009 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50010 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50011 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50012 fi
50013
50014 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50015 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50016 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50017 fi
50018
50019 COND_TOOLKIT_MSW="#"
50020 if test "x$TOOLKIT" = "xMSW" ; then
50021 COND_TOOLKIT_MSW=""
50022 fi
50023
50024 COND_TOOLKIT_MSW_USE_GUI_1="#"
50025 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50026 COND_TOOLKIT_MSW_USE_GUI_1=""
50027 fi
50028
50029 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50030 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50031 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50032 fi
50033
50034 COND_TOOLKIT_MSW_WXUNIV_0="#"
50035 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50036 COND_TOOLKIT_MSW_WXUNIV_0=""
50037 fi
50038
50039 COND_TOOLKIT_PM="#"
50040 if test "x$TOOLKIT" = "xPM" ; then
50041 COND_TOOLKIT_PM=""
50042 fi
50043
50044 COND_TOOLKIT_PM_USE_GUI_1="#"
50045 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50046 COND_TOOLKIT_PM_USE_GUI_1=""
50047 fi
50048
50049 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50050 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50051 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50052 fi
50053
50054 COND_TOOLKIT_WINCE="#"
50055 if test "x$TOOLKIT" = "xWINCE" ; then
50056 COND_TOOLKIT_WINCE=""
50057 fi
50058
50059 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50060 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50061 COND_TOOLKIT_WINCE_USE_GUI_1=""
50062 fi
50063
50064 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50065 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50066 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50067 fi
50068
50069 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50070 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50071 COND_TOOLKIT_WINCE_WXUNIV_0=""
50072 fi
50073
50074 COND_TOOLKIT_X11="#"
50075 if test "x$TOOLKIT" = "xX11" ; then
50076 COND_TOOLKIT_X11=""
50077 fi
50078
50079 COND_TOOLKIT_X11_USE_GUI_1="#"
50080 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50081 COND_TOOLKIT_X11_USE_GUI_1=""
50082 fi
50083
50084 COND_UNICODE_1="#"
50085 if test "x$UNICODE" = "x1" ; then
50086 COND_UNICODE_1=""
50087 fi
50088
50089 COND_USE_EXCEPTIONS_0="#"
50090 if test "x$USE_EXCEPTIONS" = "x0" ; then
50091 COND_USE_EXCEPTIONS_0=""
50092 fi
50093
50094 COND_USE_EXCEPTIONS_1="#"
50095 if test "x$USE_EXCEPTIONS" = "x1" ; then
50096 COND_USE_EXCEPTIONS_1=""
50097 fi
50098
50099 COND_USE_GUI_0="#"
50100 if test "x$USE_GUI" = "x0" ; then
50101 COND_USE_GUI_0=""
50102 fi
50103
50104 COND_USE_GUI_1="#"
50105 if test "x$USE_GUI" = "x1" ; then
50106 COND_USE_GUI_1=""
50107 fi
50108
50109 COND_USE_GUI_1_WXUNIV_0="#"
50110 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50111 COND_USE_GUI_1_WXUNIV_0=""
50112 fi
50113
50114 COND_USE_GUI_1_WXUNIV_1="#"
50115 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50116 COND_USE_GUI_1_WXUNIV_1=""
50117 fi
50118
50119 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50120 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50121 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50122 fi
50123
50124 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50125 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50126 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50127 fi
50128
50129 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50130 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50131 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50132 fi
50133
50134 COND_USE_ODBC_1="#"
50135 if test "x$USE_ODBC" = "x1" ; then
50136 COND_USE_ODBC_1=""
50137 fi
50138
50139 COND_USE_OPENGL_1="#"
50140 if test "x$USE_OPENGL" = "x1" ; then
50141 COND_USE_OPENGL_1=""
50142 fi
50143
50144 COND_USE_PCH_1="#"
50145 if test "x$USE_PCH" = "x1" ; then
50146 COND_USE_PCH_1=""
50147 fi
50148
50149 COND_USE_PLUGINS_0="#"
50150 if test "x$USE_PLUGINS" = "x0" ; then
50151 COND_USE_PLUGINS_0=""
50152 fi
50153
50154 COND_USE_RTTI_0="#"
50155 if test "x$USE_RTTI" = "x0" ; then
50156 COND_USE_RTTI_0=""
50157 fi
50158
50159 COND_USE_RTTI_1="#"
50160 if test "x$USE_RTTI" = "x1" ; then
50161 COND_USE_RTTI_1=""
50162 fi
50163
50164 COND_USE_SOSYMLINKS_1="#"
50165 if test "x$USE_SOSYMLINKS" = "x1" ; then
50166 COND_USE_SOSYMLINKS_1=""
50167 fi
50168
50169 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50170 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50171 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50172 fi
50173
50174 COND_USE_SOVERLINUX_1="#"
50175 if test "x$USE_SOVERLINUX" = "x1" ; then
50176 COND_USE_SOVERLINUX_1=""
50177 fi
50178
50179 COND_USE_SOVERSION_0="#"
50180 if test "x$USE_SOVERSION" = "x0" ; then
50181 COND_USE_SOVERSION_0=""
50182 fi
50183
50184 COND_USE_SOVERSOLARIS_1="#"
50185 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50186 COND_USE_SOVERSOLARIS_1=""
50187 fi
50188
50189 COND_USE_THREADS_0="#"
50190 if test "x$USE_THREADS" = "x0" ; then
50191 COND_USE_THREADS_0=""
50192 fi
50193
50194 COND_USE_THREADS_1="#"
50195 if test "x$USE_THREADS" = "x1" ; then
50196 COND_USE_THREADS_1=""
50197 fi
50198
50199 COND_USE_XRC_1="#"
50200 if test "x$USE_XRC" = "x1" ; then
50201 COND_USE_XRC_1=""
50202 fi
50203
50204 COND_WINDOWS_IMPLIB_1="#"
50205 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50206 COND_WINDOWS_IMPLIB_1=""
50207 fi
50208
50209 COND_WITH_PLUGIN_SDL_1="#"
50210 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50211 COND_WITH_PLUGIN_SDL_1=""
50212 fi
50213
50214 COND_WXUNIV_0="#"
50215 if test "x$WXUNIV" = "x0" ; then
50216 COND_WXUNIV_0=""
50217 fi
50218
50219 COND_WXUNIV_1="#"
50220 if test "x$WXUNIV" = "x1" ; then
50221 COND_WXUNIV_1=""
50222 fi
50223
50224 COND_WXUSE_EXPAT_BUILTIN="#"
50225 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50226 COND_WXUSE_EXPAT_BUILTIN=""
50227 fi
50228
50229 COND_WXUSE_LIBJPEG_BUILTIN="#"
50230 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50231 COND_WXUSE_LIBJPEG_BUILTIN=""
50232 fi
50233
50234 COND_WXUSE_LIBPNG_BUILTIN="#"
50235 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50236 COND_WXUSE_LIBPNG_BUILTIN=""
50237 fi
50238
50239 COND_WXUSE_LIBTIFF_BUILTIN="#"
50240 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50241 COND_WXUSE_LIBTIFF_BUILTIN=""
50242 fi
50243
50244 COND_WXUSE_ODBC_BUILTIN="#"
50245 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50246 COND_WXUSE_ODBC_BUILTIN=""
50247 fi
50248
50249 COND_WXUSE_REGEX_BUILTIN="#"
50250 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50251 COND_WXUSE_REGEX_BUILTIN=""
50252 fi
50253
50254 COND_WXUSE_ZLIB_BUILTIN="#"
50255 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50256 COND_WXUSE_ZLIB_BUILTIN=""
50257 fi
50258
50259
50260
50261 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50262 { { 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
50263 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;}
50264 { (exit 1); exit 1; }; }
50265 fi
50266
50267 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50268 { { 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
50269 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;}
50270 { (exit 1); exit 1; }; }
50271 fi
50272
50273
50274 if test $GCC_PCH = 1
50275 then
50276 if test "$wx_cv_gcc_pch_bug" = yes; then
50277 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50278 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50279 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50280 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50281 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50282 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50283 fi
50284
50285 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50286 fi
50287
50288
50289 if test "$wxUSE_MAC" = 1 ; then
50290 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50291 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50292 mv temp bk-deps
50293 chmod +x bk-deps
50294 fi
50295 fi
50296
50297 if test "$wxUSE_SHARED" = "yes"; then
50298
50299 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50300 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50301
50302 case "${host}" in
50303 *-pc-os2_emx | *-pc-os2-emx )
50304 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50305 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50306 cp -p ${srcdir}/src/os2/dllnames.sh .
50307 cp -p ${srcdir}/src/os2/dllar.sh .
50308 ;;
50309 esac
50310 else
50311
50312 EXE_LINKER="$CXX -o"
50313
50314 fi
50315 if test "$wxUSE_OMF" = "yes"; then
50316 case "${host}" in
50317 *-pc-os2_emx | *-pc-os2-emx )
50318 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50319 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50320 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50321 ;;
50322 esac
50323 fi
50324
50325 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50326
50327 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50390 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50391 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50392 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50393 echo $ECHO_N "(cached) $ECHO_C" >&6
50394 else
50395 cat >conftest.make <<\_ACEOF
50396 all:
50397 @echo 'ac_maketemp="$(MAKE)"'
50398 _ACEOF
50399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50400 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50401 if test -n "$ac_maketemp"; then
50402 eval ac_cv_prog_make_${ac_make}_set=yes
50403 else
50404 eval ac_cv_prog_make_${ac_make}_set=no
50405 fi
50406 rm -f conftest.make
50407 fi
50408 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50409 echo "$as_me:$LINENO: result: yes" >&5
50410 echo "${ECHO_T}yes" >&6
50411 SET_MAKE=
50412 else
50413 echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6
50415 SET_MAKE="MAKE=${MAKE-make}"
50416 fi
50417
50418
50419
50420 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50421
50422
50423 if test "$USE_WIN32" = 1; then
50424 ac_config_commands="$ac_config_commands
50425 rcdefs.h
50426 "
50427
50428 fi
50429
50430 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50431
50432
50433 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50434
50435
50436 if test "$wx_cv_version_script" = "yes"; then
50437 ac_config_files="$ac_config_files version-script"
50438
50439 fi
50440 ac_config_files="$ac_config_files Makefile"
50441
50442
50443 ac_config_commands="$ac_config_commands wx-config"
50444
50445
50446
50447 if test "$wxWITH_SUBDIRS" != "no"; then
50448 if test "$wxUSE_GUI" = "yes"; then
50449 SUBDIRS="samples demos utils contrib"
50450 else SUBDIRS="samples utils"
50451 fi
50452
50453
50454
50455 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50456 if test "${with_cppunit_prefix+set}" = set; then
50457 withval="$with_cppunit_prefix"
50458 cppunit_config_prefix="$withval"
50459 else
50460 cppunit_config_prefix=""
50461 fi;
50462
50463 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50464 if test "${with_cppunit_exec_prefix+set}" = set; then
50465 withval="$with_cppunit_exec_prefix"
50466 cppunit_config_exec_prefix="$withval"
50467 else
50468 cppunit_config_exec_prefix=""
50469 fi;
50470
50471 if test x$cppunit_config_exec_prefix != x ; then
50472 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50473 if test x${CPPUNIT_CONFIG+set} != xset ; then
50474 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50475 fi
50476 fi
50477 if test x$cppunit_config_prefix != x ; then
50478 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50479 if test x${CPPUNIT_CONFIG+set} != xset ; then
50480 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50481 fi
50482 fi
50483
50484 # Extract the first word of "cppunit-config", so it can be a program name with args.
50485 set dummy cppunit-config; ac_word=$2
50486 echo "$as_me:$LINENO: checking for $ac_word" >&5
50487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50488 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50489 echo $ECHO_N "(cached) $ECHO_C" >&6
50490 else
50491 case $CPPUNIT_CONFIG in
50492 [\\/]* | ?:[\\/]*)
50493 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50494 ;;
50495 *)
50496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50497 for as_dir in $PATH
50498 do
50499 IFS=$as_save_IFS
50500 test -z "$as_dir" && as_dir=.
50501 for ac_exec_ext in '' $ac_executable_extensions; do
50502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50503 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50505 break 2
50506 fi
50507 done
50508 done
50509
50510 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50511 ;;
50512 esac
50513 fi
50514 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50515
50516 if test -n "$CPPUNIT_CONFIG"; then
50517 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50518 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50519 else
50520 echo "$as_me:$LINENO: result: no" >&5
50521 echo "${ECHO_T}no" >&6
50522 fi
50523
50524 cppunit_version_min=1.8.0
50525
50526 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50527 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50528 no_cppunit=""
50529 if test "$CPPUNIT_CONFIG" = "no" ; then
50530 echo "$as_me:$LINENO: result: no" >&5
50531 echo "${ECHO_T}no" >&6
50532 no_cppunit=yes
50533 else
50534 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50535 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50536 cppunit_version=`$CPPUNIT_CONFIG --version`
50537
50538 cppunit_major_version=`echo $cppunit_version | \
50539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50540 cppunit_minor_version=`echo $cppunit_version | \
50541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50542 cppunit_micro_version=`echo $cppunit_version | \
50543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50544
50545 cppunit_major_min=`echo $cppunit_version_min | \
50546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50547 cppunit_minor_min=`echo $cppunit_version_min | \
50548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50549 cppunit_micro_min=`echo $cppunit_version_min | \
50550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50551
50552 cppunit_version_proper=`expr \
50553 $cppunit_major_version \> $cppunit_major_min \| \
50554 $cppunit_major_version \= $cppunit_major_min \& \
50555 $cppunit_minor_version \> $cppunit_minor_min \| \
50556 $cppunit_major_version \= $cppunit_major_min \& \
50557 $cppunit_minor_version \= $cppunit_minor_min \& \
50558 $cppunit_micro_version \>= $cppunit_micro_min `
50559
50560 if test "$cppunit_version_proper" = "1" ; then
50561 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50562 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50563 else
50564 echo "$as_me:$LINENO: result: no" >&5
50565 echo "${ECHO_T}no" >&6
50566 no_cppunit=yes
50567 fi
50568 fi
50569
50570 if test "x$no_cppunit" = x ; then
50571 SUBDIRS="$SUBDIRS tests"
50572 else
50573 CPPUNIT_CFLAGS=""
50574 CPPUNIT_LIBS=""
50575 :
50576 fi
50577
50578
50579
50580
50581
50582 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50583 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50584 fi
50585
50586 for subdir in `echo $SUBDIRS`; do
50587 if test -d ${srcdir}/${subdir} ; then
50588 if test "$wxUSE_GUI" = "yes"; then
50589 if test ${subdir} = "samples"; then
50590 makefiles="samples/Makefile.in $makefiles"
50591 for sample in `echo $SAMPLES_SUBDIRS`; do
50592 if test -d $srcdir/samples/$sample; then
50593 makefiles="samples/$sample/Makefile.in $makefiles"
50594 fi
50595 done
50596 else
50597 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50598 eval "disabled=\$$disabled_var"
50599 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50600 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50601 fi
50602 else if test ${subdir} = "samples"; then
50603 makefiles="samples/Makefile.in samples/console/Makefile.in"
50604 elif test ${subdir} = "utils"; then
50605 makefiles=""
50606 for util in HelpGen tex2rtf ; do
50607 if test -d $srcdir/utils/$util ; then
50608 makefiles="utils/$util/Makefile.in \
50609 utils/$util/src/Makefile.in \
50610 $makefiles"
50611 fi
50612 done
50613 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50614 fi
50615 fi
50616
50617 for mkin in $makefiles ; do
50618 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50619 ac_config_files="$ac_config_files $mk"
50620
50621 done
50622 fi
50623 done
50624 fi
50625 cat >confcache <<\_ACEOF
50626 # This file is a shell script that caches the results of configure
50627 # tests run on this system so they can be shared between configure
50628 # scripts and configure runs, see configure's option --config-cache.
50629 # It is not useful on other systems. If it contains results you don't
50630 # want to keep, you may remove or edit it.
50631 #
50632 # config.status only pays attention to the cache file if you give it
50633 # the --recheck option to rerun configure.
50634 #
50635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50637 # following values.
50638
50639 _ACEOF
50640
50641 # The following way of writing the cache mishandles newlines in values,
50642 # but we know of no workaround that is simple, portable, and efficient.
50643 # So, don't put newlines in cache variables' values.
50644 # Ultrix sh set writes to stderr and can't be redirected directly,
50645 # and sets the high bit in the cache file unless we assign to the vars.
50646 {
50647 (set) 2>&1 |
50648 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50649 *ac_space=\ *)
50650 # `set' does not quote correctly, so add quotes (double-quote
50651 # substitution turns \\\\ into \\, and sed turns \\ into \).
50652 sed -n \
50653 "s/'/'\\\\''/g;
50654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50655 ;;
50656 *)
50657 # `set' quotes correctly as required by POSIX, so do not add quotes.
50658 sed -n \
50659 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50660 ;;
50661 esac;
50662 } |
50663 sed '
50664 t clear
50665 : clear
50666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50667 t end
50668 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50669 : end' >>confcache
50670 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50671 if test -w $cache_file; then
50672 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50673 cat confcache >$cache_file
50674 else
50675 echo "not updating unwritable cache $cache_file"
50676 fi
50677 fi
50678 rm -f confcache
50679
50680 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50681 # Let make expand exec_prefix.
50682 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50683
50684 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50685 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50686 # trailing colons and then remove the whole line if VPATH becomes empty
50687 # (actually we leave an empty line to preserve line numbers).
50688 if test "x$srcdir" = x.; then
50689 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50690 s/:*\$(srcdir):*/:/;
50691 s/:*\${srcdir}:*/:/;
50692 s/:*@srcdir@:*/:/;
50693 s/^\([^=]*=[ ]*\):*/\1/;
50694 s/:*$//;
50695 s/^[^=]*=[ ]*$//;
50696 }'
50697 fi
50698
50699 DEFS=-DHAVE_CONFIG_H
50700
50701 ac_libobjs=
50702 ac_ltlibobjs=
50703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50704 # 1. Remove the extension, and $U if already installed.
50705 ac_i=`echo "$ac_i" |
50706 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50707 # 2. Add them.
50708 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50709 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50710 done
50711 LIBOBJS=$ac_libobjs
50712
50713 LTLIBOBJS=$ac_ltlibobjs
50714
50715
50716
50717 : ${CONFIG_STATUS=./config.status}
50718 ac_clean_files_save=$ac_clean_files
50719 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50720 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50721 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50722 cat >$CONFIG_STATUS <<_ACEOF
50723 #! $SHELL
50724 # Generated by $as_me.
50725 # Run this file to recreate the current configuration.
50726 # Compiler output produced by configure, useful for debugging
50727 # configure, is in config.log if it exists.
50728
50729 debug=false
50730 ac_cs_recheck=false
50731 ac_cs_silent=false
50732 SHELL=\${CONFIG_SHELL-$SHELL}
50733 _ACEOF
50734
50735 cat >>$CONFIG_STATUS <<\_ACEOF
50736 ## --------------------- ##
50737 ## M4sh Initialization. ##
50738 ## --------------------- ##
50739
50740 # Be Bourne compatible
50741 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50742 emulate sh
50743 NULLCMD=:
50744 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50745 # is contrary to our usage. Disable this feature.
50746 alias -g '${1+"$@"}'='"$@"'
50747 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50748 set -o posix
50749 fi
50750 DUALCASE=1; export DUALCASE # for MKS sh
50751
50752 # Support unset when possible.
50753 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50754 as_unset=unset
50755 else
50756 as_unset=false
50757 fi
50758
50759
50760 # Work around bugs in pre-3.0 UWIN ksh.
50761 $as_unset ENV MAIL MAILPATH
50762 PS1='$ '
50763 PS2='> '
50764 PS4='+ '
50765
50766 # NLS nuisances.
50767 for as_var in \
50768 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50769 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50770 LC_TELEPHONE LC_TIME
50771 do
50772 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50773 eval $as_var=C; export $as_var
50774 else
50775 $as_unset $as_var
50776 fi
50777 done
50778
50779 # Required to use basename.
50780 if expr a : '\(a\)' >/dev/null 2>&1; then
50781 as_expr=expr
50782 else
50783 as_expr=false
50784 fi
50785
50786 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50787 as_basename=basename
50788 else
50789 as_basename=false
50790 fi
50791
50792
50793 # Name of the executable.
50794 as_me=`$as_basename "$0" ||
50795 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50796 X"$0" : 'X\(//\)$' \| \
50797 X"$0" : 'X\(/\)$' \| \
50798 . : '\(.\)' 2>/dev/null ||
50799 echo X/"$0" |
50800 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50801 /^X\/\(\/\/\)$/{ s//\1/; q; }
50802 /^X\/\(\/\).*/{ s//\1/; q; }
50803 s/.*/./; q'`
50804
50805
50806 # PATH needs CR, and LINENO needs CR and PATH.
50807 # Avoid depending upon Character Ranges.
50808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50811 as_cr_digits='0123456789'
50812 as_cr_alnum=$as_cr_Letters$as_cr_digits
50813
50814 # The user is always right.
50815 if test "${PATH_SEPARATOR+set}" != set; then
50816 echo "#! /bin/sh" >conf$$.sh
50817 echo "exit 0" >>conf$$.sh
50818 chmod +x conf$$.sh
50819 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50820 PATH_SEPARATOR=';'
50821 else
50822 PATH_SEPARATOR=:
50823 fi
50824 rm -f conf$$.sh
50825 fi
50826
50827
50828 as_lineno_1=$LINENO
50829 as_lineno_2=$LINENO
50830 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50831 test "x$as_lineno_1" != "x$as_lineno_2" &&
50832 test "x$as_lineno_3" = "x$as_lineno_2" || {
50833 # Find who we are. Look in the path if we contain no path at all
50834 # relative or not.
50835 case $0 in
50836 *[\\/]* ) as_myself=$0 ;;
50837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50838 for as_dir in $PATH
50839 do
50840 IFS=$as_save_IFS
50841 test -z "$as_dir" && as_dir=.
50842 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50843 done
50844
50845 ;;
50846 esac
50847 # We did not find ourselves, most probably we were run as `sh COMMAND'
50848 # in which case we are not to be found in the path.
50849 if test "x$as_myself" = x; then
50850 as_myself=$0
50851 fi
50852 if test ! -f "$as_myself"; then
50853 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50854 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50855 { (exit 1); exit 1; }; }
50856 fi
50857 case $CONFIG_SHELL in
50858 '')
50859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50860 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50861 do
50862 IFS=$as_save_IFS
50863 test -z "$as_dir" && as_dir=.
50864 for as_base in sh bash ksh sh5; do
50865 case $as_dir in
50866 /*)
50867 if ("$as_dir/$as_base" -c '
50868 as_lineno_1=$LINENO
50869 as_lineno_2=$LINENO
50870 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50871 test "x$as_lineno_1" != "x$as_lineno_2" &&
50872 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50873 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50874 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50875 CONFIG_SHELL=$as_dir/$as_base
50876 export CONFIG_SHELL
50877 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50878 fi;;
50879 esac
50880 done
50881 done
50882 ;;
50883 esac
50884
50885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50886 # uniformly replaced by the line number. The first 'sed' inserts a
50887 # line-number line before each line; the second 'sed' does the real
50888 # work. The second script uses 'N' to pair each line-number line
50889 # with the numbered line, and appends trailing '-' during
50890 # substitution so that $LINENO is not a special case at line end.
50891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50892 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50893 sed '=' <$as_myself |
50894 sed '
50895 N
50896 s,$,-,
50897 : loop
50898 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50899 t loop
50900 s,-$,,
50901 s,^['$as_cr_digits']*\n,,
50902 ' >$as_me.lineno &&
50903 chmod +x $as_me.lineno ||
50904 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50905 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50906 { (exit 1); exit 1; }; }
50907
50908 # Don't try to exec as it changes $[0], causing all sort of problems
50909 # (the dirname of $[0] is not the place where we might find the
50910 # original and so on. Autoconf is especially sensible to this).
50911 . ./$as_me.lineno
50912 # Exit status is that of the last command.
50913 exit
50914 }
50915
50916
50917 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50918 *c*,-n*) ECHO_N= ECHO_C='
50919 ' ECHO_T=' ' ;;
50920 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50921 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50922 esac
50923
50924 if expr a : '\(a\)' >/dev/null 2>&1; then
50925 as_expr=expr
50926 else
50927 as_expr=false
50928 fi
50929
50930 rm -f conf$$ conf$$.exe conf$$.file
50931 echo >conf$$.file
50932 if ln -s conf$$.file conf$$ 2>/dev/null; then
50933 # We could just check for DJGPP; but this test a) works b) is more generic
50934 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50935 if test -f conf$$.exe; then
50936 # Don't use ln at all; we don't have any links
50937 as_ln_s='cp -p'
50938 else
50939 as_ln_s='ln -s'
50940 fi
50941 elif ln conf$$.file conf$$ 2>/dev/null; then
50942 as_ln_s=ln
50943 else
50944 as_ln_s='cp -p'
50945 fi
50946 rm -f conf$$ conf$$.exe conf$$.file
50947
50948 if mkdir -p . 2>/dev/null; then
50949 as_mkdir_p=:
50950 else
50951 test -d ./-p && rmdir ./-p
50952 as_mkdir_p=false
50953 fi
50954
50955 as_executable_p="test -f"
50956
50957 # Sed expression to map a string onto a valid CPP name.
50958 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50959
50960 # Sed expression to map a string onto a valid variable name.
50961 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50962
50963
50964 # IFS
50965 # We need space, tab and new line, in precisely that order.
50966 as_nl='
50967 '
50968 IFS=" $as_nl"
50969
50970 # CDPATH.
50971 $as_unset CDPATH
50972
50973 exec 6>&1
50974
50975 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50976 # report actual input values of CONFIG_FILES etc. instead of their
50977 # values after options handling. Logging --version etc. is OK.
50978 exec 5>>config.log
50979 {
50980 echo
50981 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50982 ## Running $as_me. ##
50983 _ASBOX
50984 } >&5
50985 cat >&5 <<_CSEOF
50986
50987 This file was extended by wxWidgets $as_me 2.8.0, which was
50988 generated by GNU Autoconf 2.59. Invocation command line was
50989
50990 CONFIG_FILES = $CONFIG_FILES
50991 CONFIG_HEADERS = $CONFIG_HEADERS
50992 CONFIG_LINKS = $CONFIG_LINKS
50993 CONFIG_COMMANDS = $CONFIG_COMMANDS
50994 $ $0 $@
50995
50996 _CSEOF
50997 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50998 echo >&5
50999 _ACEOF
51000
51001 # Files that config.status was made for.
51002 if test -n "$ac_config_files"; then
51003 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51004 fi
51005
51006 if test -n "$ac_config_headers"; then
51007 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51008 fi
51009
51010 if test -n "$ac_config_links"; then
51011 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51012 fi
51013
51014 if test -n "$ac_config_commands"; then
51015 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51016 fi
51017
51018 cat >>$CONFIG_STATUS <<\_ACEOF
51019
51020 ac_cs_usage="\
51021 \`$as_me' instantiates files from templates according to the
51022 current configuration.
51023
51024 Usage: $0 [OPTIONS] [FILE]...
51025
51026 -h, --help print this help, then exit
51027 -V, --version print version number, then exit
51028 -q, --quiet do not print progress messages
51029 -d, --debug don't remove temporary files
51030 --recheck update $as_me by reconfiguring in the same conditions
51031 --file=FILE[:TEMPLATE]
51032 instantiate the configuration file FILE
51033 --header=FILE[:TEMPLATE]
51034 instantiate the configuration header FILE
51035
51036 Configuration files:
51037 $config_files
51038
51039 Configuration headers:
51040 $config_headers
51041
51042 Configuration commands:
51043 $config_commands
51044
51045 Report bugs to <bug-autoconf@gnu.org>."
51046 _ACEOF
51047
51048 cat >>$CONFIG_STATUS <<_ACEOF
51049 ac_cs_version="\\
51050 wxWidgets config.status 2.8.0
51051 configured by $0, generated by GNU Autoconf 2.59,
51052 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51053
51054 Copyright (C) 2003 Free Software Foundation, Inc.
51055 This config.status script is free software; the Free Software Foundation
51056 gives unlimited permission to copy, distribute and modify it."
51057 srcdir=$srcdir
51058 INSTALL="$INSTALL"
51059 _ACEOF
51060
51061 cat >>$CONFIG_STATUS <<\_ACEOF
51062 # If no file are specified by the user, then we need to provide default
51063 # value. By we need to know if files were specified by the user.
51064 ac_need_defaults=:
51065 while test $# != 0
51066 do
51067 case $1 in
51068 --*=*)
51069 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51070 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51071 ac_shift=:
51072 ;;
51073 -*)
51074 ac_option=$1
51075 ac_optarg=$2
51076 ac_shift=shift
51077 ;;
51078 *) # This is not an option, so the user has probably given explicit
51079 # arguments.
51080 ac_option=$1
51081 ac_need_defaults=false;;
51082 esac
51083
51084 case $ac_option in
51085 # Handling of the options.
51086 _ACEOF
51087 cat >>$CONFIG_STATUS <<\_ACEOF
51088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51089 ac_cs_recheck=: ;;
51090 --version | --vers* | -V )
51091 echo "$ac_cs_version"; exit 0 ;;
51092 --he | --h)
51093 # Conflict between --help and --header
51094 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51095 Try \`$0 --help' for more information." >&5
51096 echo "$as_me: error: ambiguous option: $1
51097 Try \`$0 --help' for more information." >&2;}
51098 { (exit 1); exit 1; }; };;
51099 --help | --hel | -h )
51100 echo "$ac_cs_usage"; exit 0 ;;
51101 --debug | --d* | -d )
51102 debug=: ;;
51103 --file | --fil | --fi | --f )
51104 $ac_shift
51105 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51106 ac_need_defaults=false;;
51107 --header | --heade | --head | --hea )
51108 $ac_shift
51109 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51110 ac_need_defaults=false;;
51111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51113 ac_cs_silent=: ;;
51114
51115 # This is an error.
51116 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51117 Try \`$0 --help' for more information." >&5
51118 echo "$as_me: error: unrecognized option: $1
51119 Try \`$0 --help' for more information." >&2;}
51120 { (exit 1); exit 1; }; } ;;
51121
51122 *) ac_config_targets="$ac_config_targets $1" ;;
51123
51124 esac
51125 shift
51126 done
51127
51128 ac_configure_extra_args=
51129
51130 if $ac_cs_silent; then
51131 exec 6>/dev/null
51132 ac_configure_extra_args="$ac_configure_extra_args --silent"
51133 fi
51134
51135 _ACEOF
51136 cat >>$CONFIG_STATUS <<_ACEOF
51137 if \$ac_cs_recheck; then
51138 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51139 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51140 fi
51141
51142 _ACEOF
51143
51144 cat >>$CONFIG_STATUS <<_ACEOF
51145 #
51146 # INIT-COMMANDS section.
51147 #
51148
51149
51150 CPP="$CPP"
51151 infile="$srcdir/include/wx/msw/genrcdefs.h"
51152 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51153
51154
51155 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51156 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51157 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51158 LN_S="${LN_S}"
51159
51160
51161 _ACEOF
51162
51163
51164
51165 cat >>$CONFIG_STATUS <<\_ACEOF
51166 for ac_config_target in $ac_config_targets
51167 do
51168 case "$ac_config_target" in
51169 # Handling of arguments.
51170 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51171 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51172 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51173 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51174 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51175 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51176 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51177 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51178 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51179 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51180 { (exit 1); exit 1; }; };;
51181 esac
51182 done
51183
51184 # If the user did not use the arguments to specify the items to instantiate,
51185 # then the envvar interface is used. Set only those that are not.
51186 # We use the long form for the default assignment because of an extremely
51187 # bizarre bug on SunOS 4.1.3.
51188 if $ac_need_defaults; then
51189 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51190 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51191 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51192 fi
51193
51194 # Have a temporary directory for convenience. Make it in the build tree
51195 # simply because there is no reason to put it here, and in addition,
51196 # creating and moving files from /tmp can sometimes cause problems.
51197 # Create a temporary directory, and hook for its removal unless debugging.
51198 $debug ||
51199 {
51200 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51201 trap '{ (exit 1); exit 1; }' 1 2 13 15
51202 }
51203
51204 # Create a (secure) tmp directory for tmp files.
51205
51206 {
51207 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51208 test -n "$tmp" && test -d "$tmp"
51209 } ||
51210 {
51211 tmp=./confstat$$-$RANDOM
51212 (umask 077 && mkdir $tmp)
51213 } ||
51214 {
51215 echo "$me: cannot create a temporary directory in ." >&2
51216 { (exit 1); exit 1; }
51217 }
51218
51219 _ACEOF
51220
51221 cat >>$CONFIG_STATUS <<_ACEOF
51222
51223 #
51224 # CONFIG_FILES section.
51225 #
51226
51227 # No need to generate the scripts if there are no CONFIG_FILES.
51228 # This happens for instance when ./config.status config.h
51229 if test -n "\$CONFIG_FILES"; then
51230 # Protect against being on the right side of a sed subst in config.status.
51231 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51232 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51233 s,@SHELL@,$SHELL,;t t
51234 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51235 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51236 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51237 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51238 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51239 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51240 s,@exec_prefix@,$exec_prefix,;t t
51241 s,@prefix@,$prefix,;t t
51242 s,@program_transform_name@,$program_transform_name,;t t
51243 s,@bindir@,$bindir,;t t
51244 s,@sbindir@,$sbindir,;t t
51245 s,@libexecdir@,$libexecdir,;t t
51246 s,@datadir@,$datadir,;t t
51247 s,@sysconfdir@,$sysconfdir,;t t
51248 s,@sharedstatedir@,$sharedstatedir,;t t
51249 s,@localstatedir@,$localstatedir,;t t
51250 s,@libdir@,$libdir,;t t
51251 s,@includedir@,$includedir,;t t
51252 s,@oldincludedir@,$oldincludedir,;t t
51253 s,@infodir@,$infodir,;t t
51254 s,@mandir@,$mandir,;t t
51255 s,@build_alias@,$build_alias,;t t
51256 s,@host_alias@,$host_alias,;t t
51257 s,@target_alias@,$target_alias,;t t
51258 s,@DEFS@,$DEFS,;t t
51259 s,@ECHO_C@,$ECHO_C,;t t
51260 s,@ECHO_N@,$ECHO_N,;t t
51261 s,@ECHO_T@,$ECHO_T,;t t
51262 s,@LIBS@,$LIBS,;t t
51263 s,@build@,$build,;t t
51264 s,@build_cpu@,$build_cpu,;t t
51265 s,@build_vendor@,$build_vendor,;t t
51266 s,@build_os@,$build_os,;t t
51267 s,@host@,$host,;t t
51268 s,@host_cpu@,$host_cpu,;t t
51269 s,@host_vendor@,$host_vendor,;t t
51270 s,@host_os@,$host_os,;t t
51271 s,@target@,$target,;t t
51272 s,@target_cpu@,$target_cpu,;t t
51273 s,@target_vendor@,$target_vendor,;t t
51274 s,@target_os@,$target_os,;t t
51275 s,@wx_top_builddir@,$wx_top_builddir,;t t
51276 s,@CC@,$CC,;t t
51277 s,@CFLAGS@,$CFLAGS,;t t
51278 s,@LDFLAGS@,$LDFLAGS,;t t
51279 s,@CPPFLAGS@,$CPPFLAGS,;t t
51280 s,@ac_ct_CC@,$ac_ct_CC,;t t
51281 s,@EXEEXT@,$EXEEXT,;t t
51282 s,@OBJEXT@,$OBJEXT,;t t
51283 s,@CPP@,$CPP,;t t
51284 s,@EGREP@,$EGREP,;t t
51285 s,@CXX@,$CXX,;t t
51286 s,@CXXFLAGS@,$CXXFLAGS,;t t
51287 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51288 s,@RANLIB@,$RANLIB,;t t
51289 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51290 s,@AR@,$AR,;t t
51291 s,@ac_ct_AR@,$ac_ct_AR,;t t
51292 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51293 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51294 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51295 s,@STRIP@,$STRIP,;t t
51296 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51297 s,@WINDRES@,$WINDRES,;t t
51298 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51299 s,@DLLTOOL@,$DLLTOOL,;t t
51300 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51301 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51302 s,@LN_S@,$LN_S,;t t
51303 s,@CXXCPP@,$CXXCPP,;t t
51304 s,@subdirs@,$subdirs,;t t
51305 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51306 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51307 s,@GTK_LIBS@,$GTK_LIBS,;t t
51308 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51309 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51310 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51311 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51312 s,@X_CFLAGS@,$X_CFLAGS,;t t
51313 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51314 s,@X_LIBS@,$X_LIBS,;t t
51315 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51316 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51317 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51318 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51319 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51320 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51321 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51322 s,@REZ@,$REZ,;t t
51323 s,@DEREZ@,$DEREZ,;t t
51324 s,@SETFILE@,$SETFILE,;t t
51325 s,@LIBICONV@,$LIBICONV,;t t
51326 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51327 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51328 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51329 s,@SDL_LIBS@,$SDL_LIBS,;t t
51330 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51331 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51332 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51333 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51334 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51335 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51336 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51337 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51338 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51339 s,@GST_LIBS@,$GST_LIBS,;t t
51340 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51341 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51342 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51343 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51344 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51345 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51346 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51347 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51348 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51349 s,@VENDOR@,$VENDOR,;t t
51350 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51351 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51352 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51353 s,@WXUNIV@,$WXUNIV,;t t
51354 s,@MONOLITHIC@,$MONOLITHIC,;t t
51355 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51356 s,@EXTRALIBS@,$EXTRALIBS,;t t
51357 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51358 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51359 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51360 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51361 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51362 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51363 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51364 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51365 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51366 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51367 s,@UNICODE@,$UNICODE,;t t
51368 s,@BUILD@,$BUILD,;t t
51369 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51370 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51371 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51372 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51373 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51374 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51375 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51376 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51377 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51378 s,@SET_MAKE@,$SET_MAKE,;t t
51379 s,@MAKE_SET@,$MAKE_SET,;t t
51380 s,@AROPTIONS@,$AROPTIONS,;t t
51381 s,@NM@,$NM,;t t
51382 s,@ac_ct_NM@,$ac_ct_NM,;t t
51383 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51384 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51385 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51386 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51387 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51388 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51389 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51390 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51391 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51392 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51393 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51394 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51395 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51396 s,@LIBPREFIX@,$LIBPREFIX,;t t
51397 s,@LIBEXT@,$LIBEXT,;t t
51398 s,@DLLPREFIX@,$DLLPREFIX,;t t
51399 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51400 s,@dlldir@,$dlldir,;t t
51401 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51402 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51403 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51404 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51405 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51406 s,@PIC_FLAG@,$PIC_FLAG,;t t
51407 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51408 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51409 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51410 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51411 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51412 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51413 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51414 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51415 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51416 s,@BK_DEPS@,$BK_DEPS,;t t
51417 s,@GCC_PCH@,$GCC_PCH,;t t
51418 s,@ICC_PCH@,$ICC_PCH,;t t
51419 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51420 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51421 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51422 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51423 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51424 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51425 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51426 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51427 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51428 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51429 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51430 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51431 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51432 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51433 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51434 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51435 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51436 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51437 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51438 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51439 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51440 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
51441 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
51442 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
51443 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
51444 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51445 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51446 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51447 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51448 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51449 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51450 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
51451 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
51452 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
51453 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
51454 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51455 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51456 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51457 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51458 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51459 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51460 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51461 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51462 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51463 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51464 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51465 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51466 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51467 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51468 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51469 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51470 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51471 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51472 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51473 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51474 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51475 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51476 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51477 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51478 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51479 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51480 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51481 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51482 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51483 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51484 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51485 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51486 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51487 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51488 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51489 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51490 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51491 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51492 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51493 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51494 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51495 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51496 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51497 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51498 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51499 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51500 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51501 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51502 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51503 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51504 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51505 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51506 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51507 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51508 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51509 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51510 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51511 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51512 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51513 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51514 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51515 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
51516 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51517 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51518 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51519 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51520 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51521 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51522 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51523 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51524 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51525 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51526 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51527 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51528 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51529 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51530 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51531 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51532 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51533 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51534 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51535 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51536 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51537 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51538 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51539 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51540 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51541 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51542 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51543 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51544 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51545 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51546 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51547 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51548 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51549 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51550 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51551 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51552 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51553 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51554 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51555 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51556 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51557 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51558 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51559 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51560 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51561 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51562 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51563 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51564 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51565 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51566 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51567 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51568 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51569 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51570 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51571 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51572 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51573 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51574 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51575 s,@SHARED@,$SHARED,;t t
51576 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51577 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51578 s,@USE_GUI@,$USE_GUI,;t t
51579 s,@AFMINSTALL@,$AFMINSTALL,;t t
51580 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51581 s,@TOOLKIT@,$TOOLKIT,;t t
51582 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51583 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51584 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51585 s,@cross_compiling@,$cross_compiling,;t t
51586 s,@WIDGET_SET@,$WIDGET_SET,;t t
51587 s,@WX_RELEASE@,$WX_RELEASE,;t t
51588 s,@WX_VERSION@,$WX_VERSION,;t t
51589 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51590 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51591 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51592 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51593 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51594 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51595 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51596 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51597 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51598 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51599 s,@EXE_LINKER@,$EXE_LINKER,;t t
51600 s,@GUIDIST@,$GUIDIST,;t t
51601 s,@DISTDIR@,$DISTDIR,;t t
51602 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51603 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51604 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51605 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51606 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51607 s,@RESCOMP@,$RESCOMP,;t t
51608 s,@RESFLAGS@,$RESFLAGS,;t t
51609 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51610 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51611 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51612 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51613 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51614 s,@MACSETFILE@,$MACSETFILE,;t t
51615 s,@GCC@,$GCC,;t t
51616 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51617 s,@LIBOBJS@,$LIBOBJS,;t t
51618 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51619 CEOF
51620
51621 _ACEOF
51622
51623 cat >>$CONFIG_STATUS <<\_ACEOF
51624 # Split the substitutions into bite-sized pieces for seds with
51625 # small command number limits, like on Digital OSF/1 and HP-UX.
51626 ac_max_sed_lines=48
51627 ac_sed_frag=1 # Number of current file.
51628 ac_beg=1 # First line for current file.
51629 ac_end=$ac_max_sed_lines # Line after last line for current file.
51630 ac_more_lines=:
51631 ac_sed_cmds=
51632 while $ac_more_lines; do
51633 if test $ac_beg -gt 1; then
51634 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51635 else
51636 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51637 fi
51638 if test ! -s $tmp/subs.frag; then
51639 ac_more_lines=false
51640 else
51641 # The purpose of the label and of the branching condition is to
51642 # speed up the sed processing (if there are no `@' at all, there
51643 # is no need to browse any of the substitutions).
51644 # These are the two extra sed commands mentioned above.
51645 (echo ':t
51646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51647 if test -z "$ac_sed_cmds"; then
51648 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51649 else
51650 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51651 fi
51652 ac_sed_frag=`expr $ac_sed_frag + 1`
51653 ac_beg=$ac_end
51654 ac_end=`expr $ac_end + $ac_max_sed_lines`
51655 fi
51656 done
51657 if test -z "$ac_sed_cmds"; then
51658 ac_sed_cmds=cat
51659 fi
51660 fi # test -n "$CONFIG_FILES"
51661
51662 _ACEOF
51663 cat >>$CONFIG_STATUS <<\_ACEOF
51664 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51665 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51666 case $ac_file in
51667 - | *:- | *:-:* ) # input from stdin
51668 cat >$tmp/stdin
51669 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51670 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51671 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51672 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51673 * ) ac_file_in=$ac_file.in ;;
51674 esac
51675
51676 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51677 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51678 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51679 X"$ac_file" : 'X\(//\)[^/]' \| \
51680 X"$ac_file" : 'X\(//\)$' \| \
51681 X"$ac_file" : 'X\(/\)' \| \
51682 . : '\(.\)' 2>/dev/null ||
51683 echo X"$ac_file" |
51684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51686 /^X\(\/\/\)$/{ s//\1/; q; }
51687 /^X\(\/\).*/{ s//\1/; q; }
51688 s/.*/./; q'`
51689 { if $as_mkdir_p; then
51690 mkdir -p "$ac_dir"
51691 else
51692 as_dir="$ac_dir"
51693 as_dirs=
51694 while test ! -d "$as_dir"; do
51695 as_dirs="$as_dir $as_dirs"
51696 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51698 X"$as_dir" : 'X\(//\)[^/]' \| \
51699 X"$as_dir" : 'X\(//\)$' \| \
51700 X"$as_dir" : 'X\(/\)' \| \
51701 . : '\(.\)' 2>/dev/null ||
51702 echo X"$as_dir" |
51703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51705 /^X\(\/\/\)$/{ s//\1/; q; }
51706 /^X\(\/\).*/{ s//\1/; q; }
51707 s/.*/./; q'`
51708 done
51709 test ! -n "$as_dirs" || mkdir $as_dirs
51710 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51711 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51712 { (exit 1); exit 1; }; }; }
51713
51714 ac_builddir=.
51715
51716 if test "$ac_dir" != .; then
51717 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51718 # A "../" for each directory in $ac_dir_suffix.
51719 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51720 else
51721 ac_dir_suffix= ac_top_builddir=
51722 fi
51723
51724 case $srcdir in
51725 .) # No --srcdir option. We are building in place.
51726 ac_srcdir=.
51727 if test -z "$ac_top_builddir"; then
51728 ac_top_srcdir=.
51729 else
51730 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51731 fi ;;
51732 [\\/]* | ?:[\\/]* ) # Absolute path.
51733 ac_srcdir=$srcdir$ac_dir_suffix;
51734 ac_top_srcdir=$srcdir ;;
51735 *) # Relative path.
51736 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51737 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51738 esac
51739
51740 # Do not use `cd foo && pwd` to compute absolute paths, because
51741 # the directories may not exist.
51742 case `pwd` in
51743 .) ac_abs_builddir="$ac_dir";;
51744 *)
51745 case "$ac_dir" in
51746 .) ac_abs_builddir=`pwd`;;
51747 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51748 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51749 esac;;
51750 esac
51751 case $ac_abs_builddir in
51752 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51753 *)
51754 case ${ac_top_builddir}. in
51755 .) ac_abs_top_builddir=$ac_abs_builddir;;
51756 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51757 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51758 esac;;
51759 esac
51760 case $ac_abs_builddir in
51761 .) ac_abs_srcdir=$ac_srcdir;;
51762 *)
51763 case $ac_srcdir in
51764 .) ac_abs_srcdir=$ac_abs_builddir;;
51765 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51766 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51767 esac;;
51768 esac
51769 case $ac_abs_builddir in
51770 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51771 *)
51772 case $ac_top_srcdir in
51773 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51774 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51775 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51776 esac;;
51777 esac
51778
51779
51780 case $INSTALL in
51781 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51782 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51783 esac
51784
51785 # Let's still pretend it is `configure' which instantiates (i.e., don't
51786 # use $as_me), people would be surprised to read:
51787 # /* config.h. Generated by config.status. */
51788 if test x"$ac_file" = x-; then
51789 configure_input=
51790 else
51791 configure_input="$ac_file. "
51792 fi
51793 configure_input=$configure_input"Generated from `echo $ac_file_in |
51794 sed 's,.*/,,'` by configure."
51795
51796 # First look for the input files in the build tree, otherwise in the
51797 # src tree.
51798 ac_file_inputs=`IFS=:
51799 for f in $ac_file_in; do
51800 case $f in
51801 -) echo $tmp/stdin ;;
51802 [\\/$]*)
51803 # Absolute (can't be DOS-style, as IFS=:)
51804 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51805 echo "$as_me: error: cannot find input file: $f" >&2;}
51806 { (exit 1); exit 1; }; }
51807 echo "$f";;
51808 *) # Relative
51809 if test -f "$f"; then
51810 # Build tree
51811 echo "$f"
51812 elif test -f "$srcdir/$f"; then
51813 # Source tree
51814 echo "$srcdir/$f"
51815 else
51816 # /dev/null tree
51817 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51818 echo "$as_me: error: cannot find input file: $f" >&2;}
51819 { (exit 1); exit 1; }; }
51820 fi;;
51821 esac
51822 done` || { (exit 1); exit 1; }
51823
51824 if test x"$ac_file" != x-; then
51825 { echo "$as_me:$LINENO: creating $ac_file" >&5
51826 echo "$as_me: creating $ac_file" >&6;}
51827 rm -f "$ac_file"
51828 fi
51829 _ACEOF
51830 cat >>$CONFIG_STATUS <<_ACEOF
51831 sed "$ac_vpsub
51832 $extrasub
51833 _ACEOF
51834 cat >>$CONFIG_STATUS <<\_ACEOF
51835 :t
51836 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51837 s,@configure_input@,$configure_input,;t t
51838 s,@srcdir@,$ac_srcdir,;t t
51839 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51840 s,@top_srcdir@,$ac_top_srcdir,;t t
51841 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51842 s,@builddir@,$ac_builddir,;t t
51843 s,@abs_builddir@,$ac_abs_builddir,;t t
51844 s,@top_builddir@,$ac_top_builddir,;t t
51845 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51846 s,@INSTALL@,$ac_INSTALL,;t t
51847 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51848 rm -f $tmp/stdin
51849 if test x"$ac_file" != x-; then
51850 mv $tmp/out $ac_file
51851 else
51852 cat $tmp/out
51853 rm -f $tmp/out
51854 fi
51855
51856 # Run the commands associated with the file.
51857 case $ac_file in
51858 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51859 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51860 esac
51861 done
51862 _ACEOF
51863 cat >>$CONFIG_STATUS <<\_ACEOF
51864
51865 #
51866 # CONFIG_HEADER section.
51867 #
51868
51869 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51870 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51871 #
51872 # ac_d sets the value in "#define NAME VALUE" lines.
51873 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51874 ac_dB='[ ].*$,\1#\2'
51875 ac_dC=' '
51876 ac_dD=',;t'
51877 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51878 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51879 ac_uB='$,\1#\2define\3'
51880 ac_uC=' '
51881 ac_uD=',;t'
51882
51883 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51884 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51885 case $ac_file in
51886 - | *:- | *:-:* ) # input from stdin
51887 cat >$tmp/stdin
51888 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51889 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51890 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51891 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51892 * ) ac_file_in=$ac_file.in ;;
51893 esac
51894
51895 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51896 echo "$as_me: creating $ac_file" >&6;}
51897
51898 # First look for the input files in the build tree, otherwise in the
51899 # src tree.
51900 ac_file_inputs=`IFS=:
51901 for f in $ac_file_in; do
51902 case $f in
51903 -) echo $tmp/stdin ;;
51904 [\\/$]*)
51905 # Absolute (can't be DOS-style, as IFS=:)
51906 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51907 echo "$as_me: error: cannot find input file: $f" >&2;}
51908 { (exit 1); exit 1; }; }
51909 # Do quote $f, to prevent DOS paths from being IFS'd.
51910 echo "$f";;
51911 *) # Relative
51912 if test -f "$f"; then
51913 # Build tree
51914 echo "$f"
51915 elif test -f "$srcdir/$f"; then
51916 # Source tree
51917 echo "$srcdir/$f"
51918 else
51919 # /dev/null tree
51920 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51921 echo "$as_me: error: cannot find input file: $f" >&2;}
51922 { (exit 1); exit 1; }; }
51923 fi;;
51924 esac
51925 done` || { (exit 1); exit 1; }
51926 # Remove the trailing spaces.
51927 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51928
51929 _ACEOF
51930
51931 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51932 # `conftest.undefs', that substitutes the proper values into
51933 # config.h.in to produce config.h. The first handles `#define'
51934 # templates, and the second `#undef' templates.
51935 # And first: Protect against being on the right side of a sed subst in
51936 # config.status. Protect against being in an unquoted here document
51937 # in config.status.
51938 rm -f conftest.defines conftest.undefs
51939 # Using a here document instead of a string reduces the quoting nightmare.
51940 # Putting comments in sed scripts is not portable.
51941 #
51942 # `end' is used to avoid that the second main sed command (meant for
51943 # 0-ary CPP macros) applies to n-ary macro definitions.
51944 # See the Autoconf documentation for `clear'.
51945 cat >confdef2sed.sed <<\_ACEOF
51946 s/[\\&,]/\\&/g
51947 s,[\\$`],\\&,g
51948 t clear
51949 : clear
51950 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51951 t end
51952 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51953 : end
51954 _ACEOF
51955 # If some macros were called several times there might be several times
51956 # the same #defines, which is useless. Nevertheless, we may not want to
51957 # sort them, since we want the *last* AC-DEFINE to be honored.
51958 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51959 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51960 rm -f confdef2sed.sed
51961
51962 # This sed command replaces #undef with comments. This is necessary, for
51963 # example, in the case of _POSIX_SOURCE, which is predefined and required
51964 # on some systems where configure will not decide to define it.
51965 cat >>conftest.undefs <<\_ACEOF
51966 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51967 _ACEOF
51968
51969 # Break up conftest.defines because some shells have a limit on the size
51970 # of here documents, and old seds have small limits too (100 cmds).
51971 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51972 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51973 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51974 echo ' :' >>$CONFIG_STATUS
51975 rm -f conftest.tail
51976 while grep . conftest.defines >/dev/null
51977 do
51978 # Write a limited-size here document to $tmp/defines.sed.
51979 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51980 # Speed up: don't consider the non `#define' lines.
51981 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51982 # Work around the forget-to-reset-the-flag bug.
51983 echo 't clr' >>$CONFIG_STATUS
51984 echo ': clr' >>$CONFIG_STATUS
51985 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51986 echo 'CEOF
51987 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51988 rm -f $tmp/in
51989 mv $tmp/out $tmp/in
51990 ' >>$CONFIG_STATUS
51991 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51992 rm -f conftest.defines
51993 mv conftest.tail conftest.defines
51994 done
51995 rm -f conftest.defines
51996 echo ' fi # grep' >>$CONFIG_STATUS
51997 echo >>$CONFIG_STATUS
51998
51999 # Break up conftest.undefs because some shells have a limit on the size
52000 # of here documents, and old seds have small limits too (100 cmds).
52001 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52002 rm -f conftest.tail
52003 while grep . conftest.undefs >/dev/null
52004 do
52005 # Write a limited-size here document to $tmp/undefs.sed.
52006 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52007 # Speed up: don't consider the non `#undef'
52008 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52009 # Work around the forget-to-reset-the-flag bug.
52010 echo 't clr' >>$CONFIG_STATUS
52011 echo ': clr' >>$CONFIG_STATUS
52012 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52013 echo 'CEOF
52014 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52015 rm -f $tmp/in
52016 mv $tmp/out $tmp/in
52017 ' >>$CONFIG_STATUS
52018 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52019 rm -f conftest.undefs
52020 mv conftest.tail conftest.undefs
52021 done
52022 rm -f conftest.undefs
52023
52024 cat >>$CONFIG_STATUS <<\_ACEOF
52025 # Let's still pretend it is `configure' which instantiates (i.e., don't
52026 # use $as_me), people would be surprised to read:
52027 # /* config.h. Generated by config.status. */
52028 if test x"$ac_file" = x-; then
52029 echo "/* Generated by configure. */" >$tmp/config.h
52030 else
52031 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52032 fi
52033 cat $tmp/in >>$tmp/config.h
52034 rm -f $tmp/in
52035 if test x"$ac_file" != x-; then
52036 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52037 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52038 echo "$as_me: $ac_file is unchanged" >&6;}
52039 else
52040 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52041 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52042 X"$ac_file" : 'X\(//\)[^/]' \| \
52043 X"$ac_file" : 'X\(//\)$' \| \
52044 X"$ac_file" : 'X\(/\)' \| \
52045 . : '\(.\)' 2>/dev/null ||
52046 echo X"$ac_file" |
52047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52049 /^X\(\/\/\)$/{ s//\1/; q; }
52050 /^X\(\/\).*/{ s//\1/; q; }
52051 s/.*/./; q'`
52052 { if $as_mkdir_p; then
52053 mkdir -p "$ac_dir"
52054 else
52055 as_dir="$ac_dir"
52056 as_dirs=
52057 while test ! -d "$as_dir"; do
52058 as_dirs="$as_dir $as_dirs"
52059 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52061 X"$as_dir" : 'X\(//\)[^/]' \| \
52062 X"$as_dir" : 'X\(//\)$' \| \
52063 X"$as_dir" : 'X\(/\)' \| \
52064 . : '\(.\)' 2>/dev/null ||
52065 echo X"$as_dir" |
52066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52068 /^X\(\/\/\)$/{ s//\1/; q; }
52069 /^X\(\/\).*/{ s//\1/; q; }
52070 s/.*/./; q'`
52071 done
52072 test ! -n "$as_dirs" || mkdir $as_dirs
52073 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52074 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52075 { (exit 1); exit 1; }; }; }
52076
52077 rm -f $ac_file
52078 mv $tmp/config.h $ac_file
52079 fi
52080 else
52081 cat $tmp/config.h
52082 rm -f $tmp/config.h
52083 fi
52084 done
52085 _ACEOF
52086 cat >>$CONFIG_STATUS <<\_ACEOF
52087
52088 #
52089 # CONFIG_COMMANDS section.
52090 #
52091 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52092 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52093 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52094 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52095 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$ac_dest" : 'X\(//\)[^/]' \| \
52097 X"$ac_dest" : 'X\(//\)$' \| \
52098 X"$ac_dest" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52100 echo X"$ac_dest" |
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 { if $as_mkdir_p; then
52107 mkdir -p "$ac_dir"
52108 else
52109 as_dir="$ac_dir"
52110 as_dirs=
52111 while test ! -d "$as_dir"; do
52112 as_dirs="$as_dir $as_dirs"
52113 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52115 X"$as_dir" : 'X\(//\)[^/]' \| \
52116 X"$as_dir" : 'X\(//\)$' \| \
52117 X"$as_dir" : 'X\(/\)' \| \
52118 . : '\(.\)' 2>/dev/null ||
52119 echo X"$as_dir" |
52120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52122 /^X\(\/\/\)$/{ s//\1/; q; }
52123 /^X\(\/\).*/{ s//\1/; q; }
52124 s/.*/./; q'`
52125 done
52126 test ! -n "$as_dirs" || mkdir $as_dirs
52127 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52129 { (exit 1); exit 1; }; }; }
52130
52131 ac_builddir=.
52132
52133 if test "$ac_dir" != .; then
52134 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52135 # A "../" for each directory in $ac_dir_suffix.
52136 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52137 else
52138 ac_dir_suffix= ac_top_builddir=
52139 fi
52140
52141 case $srcdir in
52142 .) # No --srcdir option. We are building in place.
52143 ac_srcdir=.
52144 if test -z "$ac_top_builddir"; then
52145 ac_top_srcdir=.
52146 else
52147 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52148 fi ;;
52149 [\\/]* | ?:[\\/]* ) # Absolute path.
52150 ac_srcdir=$srcdir$ac_dir_suffix;
52151 ac_top_srcdir=$srcdir ;;
52152 *) # Relative path.
52153 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52154 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52155 esac
52156
52157 # Do not use `cd foo && pwd` to compute absolute paths, because
52158 # the directories may not exist.
52159 case `pwd` in
52160 .) ac_abs_builddir="$ac_dir";;
52161 *)
52162 case "$ac_dir" in
52163 .) ac_abs_builddir=`pwd`;;
52164 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52165 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52166 esac;;
52167 esac
52168 case $ac_abs_builddir in
52169 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52170 *)
52171 case ${ac_top_builddir}. in
52172 .) ac_abs_top_builddir=$ac_abs_builddir;;
52173 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52174 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52175 esac;;
52176 esac
52177 case $ac_abs_builddir in
52178 .) ac_abs_srcdir=$ac_srcdir;;
52179 *)
52180 case $ac_srcdir in
52181 .) ac_abs_srcdir=$ac_abs_builddir;;
52182 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52183 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52184 esac;;
52185 esac
52186 case $ac_abs_builddir in
52187 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52188 *)
52189 case $ac_top_srcdir in
52190 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52191 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52192 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52193 esac;;
52194 esac
52195
52196
52197 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52198 echo "$as_me: executing $ac_dest commands" >&6;}
52199 case $ac_dest in
52200 rcdefs.h )
52201 mkdir -p $outdir &&
52202 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52203 ;;
52204 wx-config ) rm -f wx-config
52205 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52206 ;;
52207 esac
52208 done
52209 _ACEOF
52210
52211 cat >>$CONFIG_STATUS <<\_ACEOF
52212
52213 { (exit 0); exit 0; }
52214 _ACEOF
52215 chmod +x $CONFIG_STATUS
52216 ac_clean_files=$ac_clean_files_save
52217
52218
52219 # configure is writing to config.log, and then calls config.status.
52220 # config.status does its own redirection, appending to config.log.
52221 # Unfortunately, on DOS this fails, as config.log is still kept open
52222 # by configure, so config.status won't be able to write to it; its
52223 # output is simply discarded. So we exec the FD to /dev/null,
52224 # effectively closing config.log, so it can be properly (re)opened and
52225 # appended to by config.status. When coming back to configure, we
52226 # need to make the FD available again.
52227 if test "$no_create" != yes; then
52228 ac_cs_success=:
52229 ac_config_status_args=
52230 test "$silent" = yes &&
52231 ac_config_status_args="$ac_config_status_args --quiet"
52232 exec 5>/dev/null
52233 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52234 exec 5>>config.log
52235 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52236 # would make configure fail if this is the last instruction.
52237 $ac_cs_success || { (exit 1); exit 1; }
52238 fi
52239
52240 #
52241 # CONFIG_SUBDIRS section.
52242 #
52243 if test "$no_recursion" != yes; then
52244
52245 # Remove --cache-file and --srcdir arguments so they do not pile up.
52246 ac_sub_configure_args=
52247 ac_prev=
52248 for ac_arg in $ac_configure_args; do
52249 if test -n "$ac_prev"; then
52250 ac_prev=
52251 continue
52252 fi
52253 case $ac_arg in
52254 -cache-file | --cache-file | --cache-fil | --cache-fi \
52255 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52256 ac_prev=cache_file ;;
52257 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52258 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52259 | --c=*)
52260 ;;
52261 --config-cache | -C)
52262 ;;
52263 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52264 ac_prev=srcdir ;;
52265 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52266 ;;
52267 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52268 ac_prev=prefix ;;
52269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52270 ;;
52271 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52272 esac
52273 done
52274
52275 # Always prepend --prefix to ensure using the same prefix
52276 # in subdir configurations.
52277 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52278
52279 ac_popdir=`pwd`
52280 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52281
52282 # Do not complain, so a configure script can configure whichever
52283 # parts of a large source tree are present.
52284 test -d $srcdir/$ac_dir || continue
52285
52286 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52287 echo "$as_me: configuring in $ac_dir" >&6;}
52288 { if $as_mkdir_p; then
52289 mkdir -p "$ac_dir"
52290 else
52291 as_dir="$ac_dir"
52292 as_dirs=
52293 while test ! -d "$as_dir"; do
52294 as_dirs="$as_dir $as_dirs"
52295 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52297 X"$as_dir" : 'X\(//\)[^/]' \| \
52298 X"$as_dir" : 'X\(//\)$' \| \
52299 X"$as_dir" : 'X\(/\)' \| \
52300 . : '\(.\)' 2>/dev/null ||
52301 echo X"$as_dir" |
52302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52304 /^X\(\/\/\)$/{ s//\1/; q; }
52305 /^X\(\/\).*/{ s//\1/; q; }
52306 s/.*/./; q'`
52307 done
52308 test ! -n "$as_dirs" || mkdir $as_dirs
52309 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52310 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52311 { (exit 1); exit 1; }; }; }
52312
52313 ac_builddir=.
52314
52315 if test "$ac_dir" != .; then
52316 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52317 # A "../" for each directory in $ac_dir_suffix.
52318 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52319 else
52320 ac_dir_suffix= ac_top_builddir=
52321 fi
52322
52323 case $srcdir in
52324 .) # No --srcdir option. We are building in place.
52325 ac_srcdir=.
52326 if test -z "$ac_top_builddir"; then
52327 ac_top_srcdir=.
52328 else
52329 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52330 fi ;;
52331 [\\/]* | ?:[\\/]* ) # Absolute path.
52332 ac_srcdir=$srcdir$ac_dir_suffix;
52333 ac_top_srcdir=$srcdir ;;
52334 *) # Relative path.
52335 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52336 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52337 esac
52338
52339 # Do not use `cd foo && pwd` to compute absolute paths, because
52340 # the directories may not exist.
52341 case `pwd` in
52342 .) ac_abs_builddir="$ac_dir";;
52343 *)
52344 case "$ac_dir" in
52345 .) ac_abs_builddir=`pwd`;;
52346 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52347 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52348 esac;;
52349 esac
52350 case $ac_abs_builddir in
52351 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52352 *)
52353 case ${ac_top_builddir}. in
52354 .) ac_abs_top_builddir=$ac_abs_builddir;;
52355 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52356 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52357 esac;;
52358 esac
52359 case $ac_abs_builddir in
52360 .) ac_abs_srcdir=$ac_srcdir;;
52361 *)
52362 case $ac_srcdir in
52363 .) ac_abs_srcdir=$ac_abs_builddir;;
52364 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52365 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52366 esac;;
52367 esac
52368 case $ac_abs_builddir in
52369 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52370 *)
52371 case $ac_top_srcdir in
52372 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52373 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52374 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52375 esac;;
52376 esac
52377
52378
52379 cd $ac_dir
52380
52381 # Check for guested configure; otherwise get Cygnus style configure.
52382 if test -f $ac_srcdir/configure.gnu; then
52383 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52384 elif test -f $ac_srcdir/configure; then
52385 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52386 elif test -f $ac_srcdir/configure.in; then
52387 ac_sub_configure=$ac_configure
52388 else
52389 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52391 ac_sub_configure=
52392 fi
52393
52394 # The recursion is here.
52395 if test -n "$ac_sub_configure"; then
52396 # Make the cache file name correct relative to the subdirectory.
52397 case $cache_file in
52398 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52399 *) # Relative path.
52400 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52401 esac
52402
52403 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52404 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52405 # The eval makes quoting arguments work.
52406 eval $ac_sub_configure $ac_sub_configure_args \
52407 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52408 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52409 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52410 { (exit 1); exit 1; }; }
52411 fi
52412
52413 cd "$ac_popdir"
52414 done
52415 fi
52416
52417
52418 echo
52419 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52420 echo ""
52421 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52422 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52423
52424 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52425 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52426 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52427
52428 echo " What level of wxWidgets compatibility should be enabled?"
52429 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52430 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52431
52432 echo " Which libraries should wxWidgets use?"
52433 echo " jpeg ${wxUSE_LIBJPEG-none}"
52434 echo " png ${wxUSE_LIBPNG-none}"
52435 echo " regex ${wxUSE_REGEX}"
52436 echo " tiff ${wxUSE_LIBTIFF-none}"
52437 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52438 echo " xpm ${wxUSE_LIBXPM-none}"
52439 fi
52440 echo " zlib ${wxUSE_ZLIB}"
52441 echo " odbc ${wxUSE_ODBC}"
52442 echo " expat ${wxUSE_EXPAT}"
52443 echo " libmspack ${wxUSE_LIBMSPACK}"
52444 echo " sdl ${wxUSE_LIBSDL}"
52445
52446 echo ""
52447