]> git.saurik.com Git - wxWidgets.git/blob - configure
Refresh(row) should be RefreshRow(row), otherwise it's whole window refreshing.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_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_XRC_1 COND_MONOLITHIC_0_SHARED_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_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support in wxProtocol
947 --enable-protocol-ftp FTP support in wxProtocol
948 --enable-protocol-file FILE support in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use help subsystem
952 --enable-mshtmlhelp use MS HTML Help (win32)
953 --enable-html use wxHTML sub-library
954 --enable-htmlhelp use wxHTML-based help
955 --enable-xrc use XRC resources sub-library
956 --enable-constraints use layout-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl (Mac)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context (default for gtk+)
966 --enable-prologio not available; see contrib
967 --enable-resources not available; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-datepick use wxDatePickerCtrl class
983 --enable-display use wxDisplay class
984 --enable-gauge use wxGauge class
985 --enable-grid use wxGrid class
986 --enable-dataviewctrl, use wxDataViewCtrl class
987 --enable-imaglist use wxImageList class
988 --enable-listbook use wxListbook class
989 --enable-listbox use wxListBox class
990 --enable-listctrl use wxListCtrl class
991 --enable-notebook use wxNotebook class
992 --enable-radiobox use wxRadioBox class
993 --enable-radiobtn use wxRadioButton class
994 --enable-sash use wxSashWindow class
995 --enable-scrollbar use wxScrollBar class and scrollable windows
996 --enable-slider use wxSlider class
997 --enable-spinbtn use wxSpinButton class
998 --enable-spinctrl use wxSpinCtrl class
999 --enable-splitter use wxSplitterWindow class
1000 --enable-statbmp use wxStaticBitmap class
1001 --enable-statbox use wxStaticBox class
1002 --enable-statline use wxStaticLine class
1003 --enable-stattext use wxStaticText class
1004 --enable-statusbar use wxStatusBar class
1005 --enable-tabdialog use wxTabControl class
1006 --enable-textctrl use wxTextCtrl class
1007 --enable-togglebtn use wxToggleButton class
1008 --enable-toolbar use wxToolBar class
1009 --enable-tbarnative use native wxToolBar class
1010 --enable-tbarsmpl use wxToolBarSimple class
1011 --enable-treebook use wxTreebook class
1012 --enable-toolbook use wxToolbook class
1013 --enable-treectrl use wxTreeCtrl class
1014 --enable-tipwindow use wxTipWindow class
1015 --enable-popupwin use wxPopUpWindow class
1016 --enable-commondlg use all common dialogs
1017 --enable-choicedlg use wxChoiceDialog
1018 --enable-coldlg use wxColourDialog
1019 --enable-filedlg use wxFileDialog
1020 --enable-finddlg use wxFindReplaceDialog
1021 --enable-fontdlg use wxFontDialog
1022 --enable-dirdlg use wxDirDialog
1023 --enable-msgdlg use wxMessageDialog
1024 --enable-numberdlg use wxNumberEntryDialog
1025 --enable-splash use wxSplashScreen
1026 --enable-textdlg use wxTextDialog
1027 --enable-tipdlg use startup tips
1028 --enable-progressdlg use wxProgressDialog
1029 --enable-wizarddlg use wxWizard
1030 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1031 --enable-miniframe use wxMiniFrame class
1032 --enable-tooltips use wxToolTip class
1033 --enable-splines use spline drawing code
1034 --enable-mousewheel use mousewheel
1035 --enable-validators use wxValidator and derived classes
1036 --enable-busyinfo use wxBusyInfo
1037 --enable-joystick use wxJoystick
1038 --enable-metafiles use wxMetaFile (Win32 only)
1039 --enable-dragimage use wxDragImage
1040 --enable-accessibility enable accessibility support
1041 --enable-dccache cache temporary wxDC objects (Win32 only)
1042 --enable-palette use wxPalette class
1043 --enable-image use wxImage class
1044 --enable-gif use gif images (GIF file format)
1045 --enable-pcx use pcx images (PCX file format)
1046 --enable-iff use iff images (IFF file format)
1047 --enable-pnm use pnm images (PNM file format)
1048 --enable-xpm use xpm images (XPM file format)
1049 --enable-icocur use Windows ICO and CUR formats
1050 --enable-official_build official build of wxWidgets (win32 DLL only)
1051 --enable-vendor=VENDOR vendor name (win32 DLL only)
1052 --disable-largefile omit support for large files
1053 --disable-gtktest do not try to compile and run a test GTK+ program
1054 --disable-gtktest Do not try to compile and run a test GTK program
1055 --disable-sdltest Do not try to compile and run a test SDL program
1056 --enable-omf use OMF object format (OS/2)
1057 --disable-dependency-tracking
1058 don't use dependency tracking even if the compiler
1059 can
1060 --disable-precomp-headers
1061 don't use precompiled headers even if compiler can
1062
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --without-subdirs don't generate makefiles for samples/demos/...
1067 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1068 --with-motif use Motif/Lesstif
1069 --with-mac use Mac OS X
1070 --with-cocoa use Cocoa
1071 --with-wine use Wine
1072 --with-msw use MS-Windows
1073 --with-pm use OS/2 Presentation Manager
1074 --with-mgl use SciTech MGL
1075 --with-microwin use MicroWindows
1076 --with-x11 use X11
1077 --with-libpng use libpng (PNG image format)
1078 --with-libjpeg use libjpeg (JPEG file format)
1079 --with-libtiff use libtiff (TIFF file format)
1080 --with-libxpm use libxpm (XPM file format)
1081 --with-libmspack use libmspack (CHM help files loading)
1082 --with-sdl use SDL for audio on Unix
1083 --with-gnomeprint use GNOME print for printing under GNOME
1084 --with-gnomevfs use GNOME VFS for associating MIME types
1085 --with-hildon use Hildon framework for Nokia 770
1086 --with-opengl use OpenGL (or Mesa)
1087 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1088 --with-regex enable support for wxRegEx class
1089 --with-zlib use zlib for LZW compression
1090 --with-odbc use the IODBC and wxODBC classes
1091 --with-expat enable XML support using expat parser
1092 --with-flavour=NAME specify a name to identify this build
1093 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1094 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1095 --with-x use the X Window System
1096 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1097 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1098 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1099 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1100 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1101
1102 Some influential environment variables:
1103 CC C compiler command
1104 CFLAGS C compiler flags
1105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1106 nonstandard directory <lib dir>
1107 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1108 headers in a nonstandard directory <include dir>
1109 CPP C preprocessor
1110 CXX C++ compiler command
1111 CXXFLAGS C++ compiler flags
1112 CXXCPP C++ preprocessor
1113
1114 Use these variables to override the choices made by `configure' or to help
1115 it to find libraries and programs with nonstandard names/locations.
1116
1117 Report bugs to <wx-dev@lists.wxwidgets.org>.
1118 _ACEOF
1119 fi
1120
1121 if test "$ac_init_help" = "recursive"; then
1122 # If there are subdirs, report their specific --help.
1123 ac_popdir=`pwd`
1124 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1125 test -d $ac_dir || continue
1126 ac_builddir=.
1127
1128 if test "$ac_dir" != .; then
1129 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1130 # A "../" for each directory in $ac_dir_suffix.
1131 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1132 else
1133 ac_dir_suffix= ac_top_builddir=
1134 fi
1135
1136 case $srcdir in
1137 .) # No --srcdir option. We are building in place.
1138 ac_srcdir=.
1139 if test -z "$ac_top_builddir"; then
1140 ac_top_srcdir=.
1141 else
1142 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1143 fi ;;
1144 [\\/]* | ?:[\\/]* ) # Absolute path.
1145 ac_srcdir=$srcdir$ac_dir_suffix;
1146 ac_top_srcdir=$srcdir ;;
1147 *) # Relative path.
1148 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1149 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1150 esac
1151
1152 # Do not use `cd foo && pwd` to compute absolute paths, because
1153 # the directories may not exist.
1154 case `pwd` in
1155 .) ac_abs_builddir="$ac_dir";;
1156 *)
1157 case "$ac_dir" in
1158 .) ac_abs_builddir=`pwd`;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1160 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1165 *)
1166 case ${ac_top_builddir}. in
1167 .) ac_abs_top_builddir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1169 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1170 esac;;
1171 esac
1172 case $ac_abs_builddir in
1173 .) ac_abs_srcdir=$ac_srcdir;;
1174 *)
1175 case $ac_srcdir in
1176 .) ac_abs_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1178 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1179 esac;;
1180 esac
1181 case $ac_abs_builddir in
1182 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1183 *)
1184 case $ac_top_srcdir in
1185 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1186 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1187 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1188 esac;;
1189 esac
1190
1191 cd $ac_dir
1192 # Check for guested configure; otherwise get Cygnus style configure.
1193 if test -f $ac_srcdir/configure.gnu; then
1194 echo
1195 $SHELL $ac_srcdir/configure.gnu --help=recursive
1196 elif test -f $ac_srcdir/configure; then
1197 echo
1198 $SHELL $ac_srcdir/configure --help=recursive
1199 elif test -f $ac_srcdir/configure.ac ||
1200 test -f $ac_srcdir/configure.in; then
1201 echo
1202 $ac_configure --help
1203 else
1204 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1205 fi
1206 cd "$ac_popdir"
1207 done
1208 fi
1209
1210 test -n "$ac_init_help" && exit 0
1211 if $ac_init_version; then
1212 cat <<\_ACEOF
1213 wxWidgets configure 2.7.0
1214 generated by GNU Autoconf 2.59
1215
1216 Copyright (C) 2003 Free Software Foundation, Inc.
1217 This configure script is free software; the Free Software Foundation
1218 gives unlimited permission to copy, distribute and modify it.
1219 _ACEOF
1220 exit 0
1221 fi
1222 exec 5>config.log
1223 cat >&5 <<_ACEOF
1224 This file contains any messages produced by compilers while
1225 running configure, to aid debugging if configure makes a mistake.
1226
1227 It was created by wxWidgets $as_me 2.7.0, which was
1228 generated by GNU Autoconf 2.59. Invocation command line was
1229
1230 $ $0 $@
1231
1232 _ACEOF
1233 {
1234 cat <<_ASUNAME
1235 ## --------- ##
1236 ## Platform. ##
1237 ## --------- ##
1238
1239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1244
1245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1247
1248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1251 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1255
1256 _ASUNAME
1257
1258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1259 for as_dir in $PATH
1260 do
1261 IFS=$as_save_IFS
1262 test -z "$as_dir" && as_dir=.
1263 echo "PATH: $as_dir"
1264 done
1265
1266 } >&5
1267
1268 cat >&5 <<_ACEOF
1269
1270
1271 ## ----------- ##
1272 ## Core tests. ##
1273 ## ----------- ##
1274
1275 _ACEOF
1276
1277
1278 # Keep a trace of the command line.
1279 # Strip out --no-create and --no-recursion so they do not pile up.
1280 # Strip out --silent because we don't want to record it for future runs.
1281 # Also quote any args containing shell meta-characters.
1282 # Make two passes to allow for proper duplicate-argument suppression.
1283 ac_configure_args=
1284 ac_configure_args0=
1285 ac_configure_args1=
1286 ac_sep=
1287 ac_must_keep_next=false
1288 for ac_pass in 1 2
1289 do
1290 for ac_arg
1291 do
1292 case $ac_arg in
1293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1296 continue ;;
1297 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1299 esac
1300 case $ac_pass in
1301 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1302 2)
1303 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1304 if test $ac_must_keep_next = true; then
1305 ac_must_keep_next=false # Got value, back to normal.
1306 else
1307 case $ac_arg in
1308 *=* | --config-cache | -C | -disable-* | --disable-* \
1309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1311 | -with-* | --with-* | -without-* | --without-* | --x)
1312 case "$ac_configure_args0 " in
1313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1314 esac
1315 ;;
1316 -* ) ac_must_keep_next=true ;;
1317 esac
1318 fi
1319 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1320 # Get rid of the leading space.
1321 ac_sep=" "
1322 ;;
1323 esac
1324 done
1325 done
1326 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1327 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1328
1329 # When interrupted or exit'd, cleanup temporary files, and complete
1330 # config.log. We remove comments because anyway the quotes in there
1331 # would cause problems or look ugly.
1332 # WARNING: Be sure not to use single quotes in there, as some shells,
1333 # such as our DU 5.0 friend, will then `close' the trap.
1334 trap 'exit_status=$?
1335 # Save into config.log some information that might help in debugging.
1336 {
1337 echo
1338
1339 cat <<\_ASBOX
1340 ## ---------------- ##
1341 ## Cache variables. ##
1342 ## ---------------- ##
1343 _ASBOX
1344 echo
1345 # The following way of writing the cache mishandles newlines in values,
1346 {
1347 (set) 2>&1 |
1348 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1349 *ac_space=\ *)
1350 sed -n \
1351 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1353 ;;
1354 *)
1355 sed -n \
1356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1357 ;;
1358 esac;
1359 }
1360 echo
1361
1362 cat <<\_ASBOX
1363 ## ----------------- ##
1364 ## Output variables. ##
1365 ## ----------------- ##
1366 _ASBOX
1367 echo
1368 for ac_var in $ac_subst_vars
1369 do
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1372 done | sort
1373 echo
1374
1375 if test -n "$ac_subst_files"; then
1376 cat <<\_ASBOX
1377 ## ------------- ##
1378 ## Output files. ##
1379 ## ------------- ##
1380 _ASBOX
1381 echo
1382 for ac_var in $ac_subst_files
1383 do
1384 eval ac_val=$`echo $ac_var`
1385 echo "$ac_var='"'"'$ac_val'"'"'"
1386 done | sort
1387 echo
1388 fi
1389
1390 if test -s confdefs.h; then
1391 cat <<\_ASBOX
1392 ## ----------- ##
1393 ## confdefs.h. ##
1394 ## ----------- ##
1395 _ASBOX
1396 echo
1397 sed "/^$/d" confdefs.h | sort
1398 echo
1399 fi
1400 test "$ac_signal" != 0 &&
1401 echo "$as_me: caught signal $ac_signal"
1402 echo "$as_me: exit $exit_status"
1403 } >&5
1404 rm -f core *.core &&
1405 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1406 exit $exit_status
1407 ' 0
1408 for ac_signal in 1 2 13 15; do
1409 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1410 done
1411 ac_signal=0
1412
1413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1414 rm -rf conftest* confdefs.h
1415 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1416 echo >confdefs.h
1417
1418 # Predefined preprocessor variables.
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_NAME "$PACKAGE_NAME"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1427 _ACEOF
1428
1429
1430 cat >>confdefs.h <<_ACEOF
1431 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1432 _ACEOF
1433
1434
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE_STRING "$PACKAGE_STRING"
1437 _ACEOF
1438
1439
1440 cat >>confdefs.h <<_ACEOF
1441 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1442 _ACEOF
1443
1444
1445 # Let the site file select an alternate cache file if it wants to.
1446 # Prefer explicitly selected file to automatically selected ones.
1447 if test -z "$CONFIG_SITE"; then
1448 if test "x$prefix" != xNONE; then
1449 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1450 else
1451 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1452 fi
1453 fi
1454 for ac_site_file in $CONFIG_SITE; do
1455 if test -r "$ac_site_file"; then
1456 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1457 echo "$as_me: loading site script $ac_site_file" >&6;}
1458 sed 's/^/| /' "$ac_site_file" >&5
1459 . "$ac_site_file"
1460 fi
1461 done
1462
1463 if test -r "$cache_file"; then
1464 # Some versions of bash will fail to source /dev/null (special
1465 # files actually), so we avoid doing that.
1466 if test -f "$cache_file"; then
1467 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1468 echo "$as_me: loading cache $cache_file" >&6;}
1469 case $cache_file in
1470 [\\/]* | ?:[\\/]* ) . $cache_file;;
1471 *) . ./$cache_file;;
1472 esac
1473 fi
1474 else
1475 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1476 echo "$as_me: creating cache $cache_file" >&6;}
1477 >$cache_file
1478 fi
1479
1480 # Check that the precious variables saved in the cache have kept the same
1481 # value.
1482 ac_cache_corrupted=false
1483 for ac_var in `(set) 2>&1 |
1484 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1485 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1486 eval ac_new_set=\$ac_env_${ac_var}_set
1487 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1488 eval ac_new_val="\$ac_env_${ac_var}_value"
1489 case $ac_old_set,$ac_new_set in
1490 set,)
1491 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1492 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1493 ac_cache_corrupted=: ;;
1494 ,set)
1495 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1496 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1497 ac_cache_corrupted=: ;;
1498 ,);;
1499 *)
1500 if test "x$ac_old_val" != "x$ac_new_val"; then
1501 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1502 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1503 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1504 echo "$as_me: former value: $ac_old_val" >&2;}
1505 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1506 echo "$as_me: current value: $ac_new_val" >&2;}
1507 ac_cache_corrupted=:
1508 fi;;
1509 esac
1510 # Pass precious variables to config.status.
1511 if test "$ac_new_set" = set; then
1512 case $ac_new_val in
1513 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1514 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 *) ac_arg=$ac_var=$ac_new_val ;;
1516 esac
1517 case " $ac_configure_args " in
1518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1519 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1520 esac
1521 fi
1522 done
1523 if $ac_cache_corrupted; then
1524 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1525 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1526 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1527 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1528 { (exit 1); exit 1; }; }
1529 fi
1530
1531 ac_ext=c
1532 ac_cpp='$CPP $CPPFLAGS'
1533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566 ac_aux_dir=
1567 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1568 if test -f $ac_dir/install-sh; then
1569 ac_aux_dir=$ac_dir
1570 ac_install_sh="$ac_aux_dir/install-sh -c"
1571 break
1572 elif test -f $ac_dir/install.sh; then
1573 ac_aux_dir=$ac_dir
1574 ac_install_sh="$ac_aux_dir/install.sh -c"
1575 break
1576 elif test -f $ac_dir/shtool; then
1577 ac_aux_dir=$ac_dir
1578 ac_install_sh="$ac_aux_dir/shtool install -c"
1579 break
1580 fi
1581 done
1582 if test -z "$ac_aux_dir"; then
1583 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1584 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1585 { (exit 1); exit 1; }; }
1586 fi
1587 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1588 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1589 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1590
1591 # Make sure we can run config.sub.
1592 $ac_config_sub sun4 >/dev/null 2>&1 ||
1593 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1594 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1595 { (exit 1); exit 1; }; }
1596
1597 echo "$as_me:$LINENO: checking build system type" >&5
1598 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1599 if test "${ac_cv_build+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 ac_cv_build_alias=$build_alias
1603 test -z "$ac_cv_build_alias" &&
1604 ac_cv_build_alias=`$ac_config_guess`
1605 test -z "$ac_cv_build_alias" &&
1606 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1608 { (exit 1); exit 1; }; }
1609 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 fi
1615 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1616 echo "${ECHO_T}$ac_cv_build" >&6
1617 build=$ac_cv_build
1618 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
1622
1623 echo "$as_me:$LINENO: checking host system type" >&5
1624 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1625 if test "${ac_cv_host+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628 ac_cv_host_alias=$host_alias
1629 test -z "$ac_cv_host_alias" &&
1630 ac_cv_host_alias=$ac_cv_build_alias
1631 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1635
1636 fi
1637 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1638 echo "${ECHO_T}$ac_cv_host" >&6
1639 host=$ac_cv_host
1640 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643
1644
1645 echo "$as_me:$LINENO: checking target system type" >&5
1646 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1647 if test "${ac_cv_target+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 else
1650 ac_cv_target_alias=$target_alias
1651 test "x$ac_cv_target_alias" = "x" &&
1652 ac_cv_target_alias=$ac_cv_host_alias
1653 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1657
1658 fi
1659 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1660 echo "${ECHO_T}$ac_cv_target" >&6
1661 target=$ac_cv_target
1662 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665
1666
1667 # The aliases save the names the user supplied, while $host etc.
1668 # will get canonicalized.
1669 test -n "$target_alias" &&
1670 test "$program_prefix$program_suffix$program_transform_name" = \
1671 NONENONEs,x,x, &&
1672 program_prefix=${target_alias}-
1673
1674
1675
1676 wx_major_version_number=2
1677 wx_minor_version_number=7
1678 wx_release_number=0
1679 wx_subrelease_number=0
1680
1681 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1682 WX_VERSION=$WX_RELEASE.$wx_release_number
1683 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1684
1685 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686
1687
1688
1689
1690 USE_UNIX=1
1691 USE_OS2=0
1692 USE_WIN32=0
1693 USE_DOS=0
1694 USE_BEOS=0
1695 USE_MAC=0
1696
1697 USE_AIX=
1698 USE_BSD= USE_DARWIN= USE_FREEBSD=
1699 USE_GNU= USE_HPUX=
1700 USE_LINUX=
1701 USE_NETBSD=
1702 USE_OPENBSD=
1703 USE_OSF= USE_SGI=
1704 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1705 USE_ULTRIX=
1706 USE_UNIXWARE=
1707
1708 USE_ALPHA=
1709
1710 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1711
1712 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1713
1714 DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_wxUSE_GTK=0
1716 DEFAULT_wxUSE_MAC=0
1717 DEFAULT_wxUSE_MGL=0
1718 DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_wxUSE_MSW=0
1721 DEFAULT_wxUSE_PM=0
1722 DEFAULT_wxUSE_X11=0
1723
1724 DEFAULT_DEFAULT_wxUSE_COCOA=0
1725 DEFAULT_DEFAULT_wxUSE_GTK=0
1726 DEFAULT_DEFAULT_wxUSE_MAC=0
1727 DEFAULT_DEFAULT_wxUSE_MGL=0
1728 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1729 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1730 DEFAULT_DEFAULT_wxUSE_MSW=0
1731 DEFAULT_DEFAULT_wxUSE_PM=0
1732 DEFAULT_DEFAULT_wxUSE_X11=0
1733
1734 PROGRAM_EXT=
1735 SO_SUFFIX=so
1736 SAMPLES_RPATH_FLAG=
1737 SAMPLES_RPATH_POSTLINK=
1738
1739 DEFAULT_STD_FLAG=yes
1740
1741 case "${host}" in
1742 *-hp-hpux* )
1743 USE_HPUX=1
1744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1746 SO_SUFFIX=sl
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __HPUX__ 1
1749 _ACEOF
1750
1751
1752 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1753 ;;
1754 *-*-linux* )
1755 USE_LINUX=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __LINUX__ 1
1758 _ACEOF
1759
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-gnu* | *-*-k*bsd*-gnu )
1771 USE_GNU=1
1772 TMP=`uname -m`
1773 if test "x$TMP" = "xalpha"; then
1774 USE_ALPHA=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __ALPHA__ 1
1777 _ACEOF
1778
1779 fi
1780 DEFAULT_DEFAULT_wxUSE_GTK=1
1781 ;;
1782 *-*-irix5* | *-*-irix6* )
1783 USE_SGI=1
1784 USE_SVR4=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SGI__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SVR4__ 1
1791 _ACEOF
1792
1793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 ;;
1795 *-*-solaris2* )
1796 USE_SUN=1
1797 USE_SOLARIS=1
1798 USE_SVR4=1
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUN__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __SOLARIS__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SVR4__ 1
1809 _ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 ;;
1814 *-*-sunos4* )
1815 USE_SUN=1
1816 USE_SUNOS=1
1817 USE_BSD=1
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __SUN__ 1
1820 _ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __SUNOS__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-freebsd*)
1833 USE_BSD=1
1834 USE_FREEBSD=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __FREEBSD__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __BSD__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1844 ;;
1845 *-*-openbsd*)
1846 USE_BSD=1
1847 USE_OPENBSD=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __OPENBSD__ 1
1850 _ACEOF
1851
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __BSD__ 1
1854 _ACEOF
1855
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1857 ;;
1858 *-*-netbsd*)
1859 USE_BSD=1
1860 USE_NETBSD=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __NETBSD__ 1
1863 _ACEOF
1864
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __BSD__ 1
1867 _ACEOF
1868
1869 DEFAULT_DEFAULT_wxUSE_GTK=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871
1872 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1873 ;;
1874 *-*-osf* )
1875 USE_ALPHA=1
1876 USE_OSF=1
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __ALPHA__ 1
1879 _ACEOF
1880
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __OSF__ 1
1883 _ACEOF
1884
1885 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1886 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1887 ;;
1888 *-*-dgux5* )
1889 USE_ALPHA=1
1890 USE_SVR4=1
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __ALPHA__ 1
1893 _ACEOF
1894
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __SVR4__ 1
1897 _ACEOF
1898
1899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1900 ;;
1901 *-*-sysv5* )
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914 *-*-aix* )
1915 USE_AIX=1
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 SO_SUFFIX=a
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __AIX__ 1
1921 _ACEOF
1922
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __SYSV__ 1
1925 _ACEOF
1926
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SVR4__ 1
1929 _ACEOF
1930
1931 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 ;;
1933
1934 *-*-*UnixWare*)
1935 USE_SYSV=1
1936 USE_SVR4=1
1937 USE_UNIXWARE=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __UNIXWARE__ 1
1940 _ACEOF
1941
1942 ;;
1943
1944 *-*-cygwin* | *-*-mingw32* )
1945 SO_SUFFIX=dll
1946 PROGRAM_EXT=".exe"
1947 DEFAULT_DEFAULT_wxUSE_MSW=1
1948 DEFAULT_STD_FLAG=no
1949 ;;
1950
1951 *-pc-msdosdjgpp )
1952 USE_UNIX=0
1953 USE_DOS=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __DOS__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_MGL=1
1960 ;;
1961
1962 *-pc-os2_emx | *-pc-os2-emx )
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __EMX__ 1
1965 _ACEOF
1966
1967 USE_OS2=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __OS2__ 1
1970 _ACEOF
1971
1972 PROGRAM_EXT=".exe"
1973 DEFAULT_DEFAULT_wxUSE_PM=1
1974 CXX=gcc
1975 LDFLAGS="$LDFLAGS -Zcrtdll"
1976 ac_executable_extensions=".exe"
1977 export ac_executable_extensions
1978 ac_save_IFS="$IFS"
1979 IFS='\\'
1980 ac_TEMP_PATH=
1981 for ac_dir in $PATH; do
1982 IFS=$ac_save_IFS
1983 if test -z "$ac_TEMP_PATH"; then
1984 ac_TEMP_PATH="$ac_dir"
1985 else
1986 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1987 fi
1988 done
1989 export PATH="$ac_TEMP_PATH"
1990 unset ac_TEMP_PATH
1991 DEFAULT_STD_FLAG=no
1992 ;;
1993
1994 *-*-darwin* )
1995 USE_BSD=1
1996 USE_DARWIN=1
1997 SO_SUFFIX=dylib
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __BSD__ 1
2000 _ACEOF
2001
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __DARWIN__ 1
2004 _ACEOF
2005
2006 cat >>confdefs.h <<\_ACEOF
2007 #define TARGET_CARBON 1
2008 _ACEOF
2009
2010 DEFAULT_DEFAULT_wxUSE_MAC=1
2011 DEFAULT_STD_FLAG=no
2012 ;;
2013 powerpc-apple-macos* )
2014 USE_UNIX=0
2015 ac_cv_c_bigendian=yes
2016 SO_SUFFIX=shlib
2017 DEFAULT_DEFAULT_wxUSE_MAC=1
2018 DEFAULT_STD_FLAG=no
2019 ;;
2020
2021 *-*-beos* )
2022 USE_BEOS=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __BEOS__ 1
2025 _ACEOF
2026
2027 ;;
2028
2029 *)
2030 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2031 echo "$as_me: error: unknown system type ${host}." >&2;}
2032 { (exit 1); exit 1; }; }
2033 esac
2034
2035
2036
2037
2038 wx_arg_cache_file="configarg.cache"
2039 echo "loading argument cache $wx_arg_cache_file"
2040 rm -f ${wx_arg_cache_file}.tmp
2041 touch ${wx_arg_cache_file}.tmp
2042 touch ${wx_arg_cache_file}
2043
2044
2045 DEBUG_CONFIGURE=0
2046 if test $DEBUG_CONFIGURE = 1; then
2047 DEFAULT_wxUSE_UNIVERSAL=no
2048 DEFAULT_wxUSE_STL=no
2049
2050 DEFAULT_wxUSE_NANOX=no
2051
2052 DEFAULT_wxUSE_THREADS=yes
2053
2054 DEFAULT_wxUSE_SHARED=yes
2055 DEFAULT_wxUSE_OPTIMISE=no
2056 DEFAULT_wxUSE_PROFILE=no
2057 DEFAULT_wxUSE_NO_DEPS=no
2058 DEFAULT_wxUSE_NO_RTTI=no
2059 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2060 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2061 DEFAULT_wxUSE_RPATH=yes
2062 DEFAULT_wxUSE_PERMISSIVE=no
2063 DEFAULT_wxUSE_DEBUG_FLAG=yes
2064 DEFAULT_wxUSE_DEBUG_INFO=yes
2065 DEFAULT_wxUSE_DEBUG_GDB=yes
2066 DEFAULT_wxUSE_MEM_TRACING=no
2067 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2068 DEFAULT_wxUSE_DMALLOC=no
2069 DEFAULT_wxUSE_APPLE_IEEE=no
2070
2071 DEFAULT_wxUSE_EXCEPTIONS=no
2072 DEFAULT_wxUSE_LOG=yes
2073 DEFAULT_wxUSE_LOGWINDOW=no
2074 DEFAULT_wxUSE_LOGGUI=no
2075 DEFAULT_wxUSE_LOGDIALOG=no
2076
2077 DEFAULT_wxUSE_GUI=yes
2078 DEFAULT_wxUSE_CONTROLS=no
2079
2080 DEFAULT_wxUSE_REGEX=no
2081 DEFAULT_wxUSE_XML=no
2082 DEFAULT_wxUSE_EXPAT=no
2083 DEFAULT_wxUSE_ZLIB=no
2084 DEFAULT_wxUSE_LIBPNG=no
2085 DEFAULT_wxUSE_LIBJPEG=no
2086 DEFAULT_wxUSE_LIBTIFF=no
2087 DEFAULT_wxUSE_LIBXPM=no
2088 DEFAULT_wxUSE_LIBMSPACK=no
2089 DEFAULT_wxUSE_LIBSDL=no
2090 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2091 DEFAULT_wxUSE_LIBGNOMEVFS=no
2092 DEFAULT_wxUSE_LIBHILDON=no
2093 DEFAULT_wxUSE_ODBC=no
2094 DEFAULT_wxUSE_OPENGL=no
2095
2096 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2097 DEFAULT_wxUSE_STACKWALKER=no
2098 DEFAULT_wxUSE_DEBUGREPORT=no
2099 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2100 DEFAULT_wxUSE_STD_IOSTREAM=no
2101 DEFAULT_wxUSE_STD_STRING=no
2102 DEFAULT_wxUSE_CMDLINE_PARSER=no
2103 DEFAULT_wxUSE_DATETIME=no
2104 DEFAULT_wxUSE_TIMER=no
2105 DEFAULT_wxUSE_STOPWATCH=no
2106 DEFAULT_wxUSE_FILE=no
2107 DEFAULT_wxUSE_FFILE=no
2108 DEFAULT_wxUSE_STDPATHS=no
2109 DEFAULT_wxUSE_TEXTBUFFER=no
2110 DEFAULT_wxUSE_TEXTFILE=no
2111 DEFAULT_wxUSE_SOUND=no
2112 DEFAULT_wxUSE_MEDIACTRL=no
2113 DEFAULT_wxUSE_GSTREAMER8=no
2114 DEFAULT_wxUSE_INTL=no
2115 DEFAULT_wxUSE_CONFIG=no
2116 DEFAULT_wxUSE_FONTMAP=no
2117 DEFAULT_wxUSE_STREAMS=no
2118 DEFAULT_wxUSE_SOCKETS=no
2119 DEFAULT_wxUSE_OLE=no
2120 DEFAULT_wxUSE_DATAOBJ=no
2121 DEFAULT_wxUSE_DIALUP_MANAGER=no
2122 DEFAULT_wxUSE_JOYSTICK=no
2123 DEFAULT_wxUSE_DYNLIB_CLASS=no
2124 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2125 DEFAULT_wxUSE_LONGLONG=no
2126 DEFAULT_wxUSE_GEOMETRY=no
2127
2128 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2129 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2130 DEFAULT_wxUSE_POSTSCRIPT=no
2131
2132 DEFAULT_wxUSE_CLIPBOARD=no
2133 DEFAULT_wxUSE_TOOLTIPS=no
2134 DEFAULT_wxUSE_DRAG_AND_DROP=no
2135 DEFAULT_wxUSE_DRAGIMAGE=no
2136 DEFAULT_wxUSE_SPLINES=no
2137 DEFAULT_wxUSE_MOUSEWHEEL=no
2138
2139 DEFAULT_wxUSE_MDI=no
2140 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2141 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2142 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2143
2144 DEFAULT_wxUSE_RESOURCES=no
2145 DEFAULT_wxUSE_CONSTRAINTS=no
2146 DEFAULT_wxUSE_IPC=no
2147 DEFAULT_wxUSE_HELP=no
2148 DEFAULT_wxUSE_MS_HTML_HELP=no
2149 DEFAULT_wxUSE_WXHTML_HELP=no
2150 DEFAULT_wxUSE_TREELAYOUT=no
2151 DEFAULT_wxUSE_METAFILE=no
2152 DEFAULT_wxUSE_MIMETYPE=no
2153 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2154 DEFAULT_wxUSE_PROTOCOL=no
2155 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2156 DEFAULT_wxUSE_PROTOCOL_FTP=no
2157 DEFAULT_wxUSE_PROTOCOL_FILE=no
2158 DEFAULT_wxUSE_URL=no
2159
2160 DEFAULT_wxUSE_COMMONDLGS=no
2161 DEFAULT_wxUSE_CHOICEDLG=no
2162 DEFAULT_wxUSE_COLOURDLG=no
2163 DEFAULT_wxUSE_DIRDLG=no
2164 DEFAULT_wxUSE_FILEDLG=no
2165 DEFAULT_wxUSE_FINDREPLDLG=no
2166 DEFAULT_wxUSE_FONTDLG=no
2167 DEFAULT_wxUSE_MSGDLG=no
2168 DEFAULT_wxUSE_NUMBERDLG=no
2169 DEFAULT_wxUSE_TEXTDLG=no
2170 DEFAULT_wxUSE_SPLASH=no
2171 DEFAULT_wxUSE_STARTUP_TIPS=no
2172 DEFAULT_wxUSE_PROGRESSDLG=no
2173 DEFAULT_wxUSE_WIZARDDLG=no
2174
2175 DEFAULT_wxUSE_MENUS=no
2176 DEFAULT_wxUSE_MINIFRAME=no
2177 DEFAULT_wxUSE_HTML=no
2178 DEFAULT_wxUSE_RICHTEXT=no
2179 DEFAULT_wxUSE_XRC=no
2180 DEFAULT_wxUSE_WEBKIT=no
2181 DEFAULT_wxUSE_FILESYSTEM=no
2182 DEFAULT_wxUSE_FS_INET=no
2183 DEFAULT_wxUSE_FS_ZIP=no
2184 DEFAULT_wxUSE_BUSYINFO=no
2185 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2186 DEFAULT_wxUSE_ZIPSTREAM=no
2187 DEFAULT_wxUSE_VALIDATORS=no
2188
2189 DEFAULT_wxUSE_ACCEL=no
2190 DEFAULT_wxUSE_BUTTON=no
2191 DEFAULT_wxUSE_BMPBUTTON=no
2192 DEFAULT_wxUSE_CALCTRL=no
2193 DEFAULT_wxUSE_CARET=no
2194 DEFAULT_wxUSE_CHECKBOX=no
2195 DEFAULT_wxUSE_CHECKLST=no
2196 DEFAULT_wxUSE_CHOICE=no
2197 DEFAULT_wxUSE_CHOICEBOOK=no
2198 DEFAULT_wxUSE_COMBOBOX=no
2199 DEFAULT_wxUSE_DATEPICKCTRL=no
2200 DEFAULT_wxUSE_DISPLAY=no
2201 DEFAULT_wxUSE_GAUGE=no
2202 DEFAULT_wxUSE_GRID=no
2203 DEFAULT_wxUSE_DATAVIEWCTRL=no
2204 DEFAULT_wxUSE_IMAGLIST=no
2205 DEFAULT_wxUSE_LISTBOOK=no
2206 DEFAULT_wxUSE_LISTBOX=no
2207 DEFAULT_wxUSE_LISTCTRL=no
2208 DEFAULT_wxUSE_NOTEBOOK=no
2209 DEFAULT_wxUSE_RADIOBOX=no
2210 DEFAULT_wxUSE_RADIOBTN=no
2211 DEFAULT_wxUSE_SASH=no
2212 DEFAULT_wxUSE_SCROLLBAR=no
2213 DEFAULT_wxUSE_SLIDER=no
2214 DEFAULT_wxUSE_SPINBTN=no
2215 DEFAULT_wxUSE_SPINCTRL=no
2216 DEFAULT_wxUSE_SPLITTER=no
2217 DEFAULT_wxUSE_STATBMP=no
2218 DEFAULT_wxUSE_STATBOX=no
2219 DEFAULT_wxUSE_STATLINE=no
2220 DEFAULT_wxUSE_STATTEXT=no
2221 DEFAULT_wxUSE_STATUSBAR=yes
2222 DEFAULT_wxUSE_TAB_DIALOG=no
2223 DEFAULT_wxUSE_TEXTCTRL=no
2224 DEFAULT_wxUSE_TOGGLEBTN=no
2225 DEFAULT_wxUSE_TOOLBAR=no
2226 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2227 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2228 DEFAULT_wxUSE_TREEBOOK=no
2229 DEFAULT_wxUSE_TOOLBOOK=no
2230 DEFAULT_wxUSE_TREECTRL=no
2231 DEFAULT_wxUSE_POPUPWIN=no
2232 DEFAULT_wxUSE_TIPWINDOW=no
2233
2234 DEFAULT_wxUSE_UNICODE=no
2235 DEFAULT_wxUSE_UNICODE_MSLU=no
2236 DEFAULT_wxUSE_WCSRTOMBS=no
2237
2238 DEFAULT_wxUSE_PALETTE=no
2239 DEFAULT_wxUSE_IMAGE=no
2240 DEFAULT_wxUSE_GIF=no
2241 DEFAULT_wxUSE_PCX=no
2242 DEFAULT_wxUSE_PNM=no
2243 DEFAULT_wxUSE_IFF=no
2244 DEFAULT_wxUSE_XPM=no
2245 DEFAULT_wxUSE_ICO_CUR=no
2246 DEFAULT_wxUSE_ACCESSIBILITY=no
2247
2248 DEFAULT_wxUSE_MONOLITHIC=no
2249 DEFAULT_wxUSE_PLUGINS=no
2250 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2251 else
2252 DEFAULT_wxUSE_UNIVERSAL=no
2253 DEFAULT_wxUSE_STL=no
2254
2255 DEFAULT_wxUSE_NANOX=no
2256
2257 DEFAULT_wxUSE_THREADS=yes
2258
2259 DEFAULT_wxUSE_SHARED=yes
2260 DEFAULT_wxUSE_OPTIMISE=yes
2261 DEFAULT_wxUSE_PROFILE=no
2262 DEFAULT_wxUSE_NO_DEPS=no
2263 DEFAULT_wxUSE_NO_RTTI=no
2264 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2265 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2266 DEFAULT_wxUSE_RPATH=yes
2267 DEFAULT_wxUSE_PERMISSIVE=no
2268 DEFAULT_wxUSE_DEBUG_FLAG=no
2269 DEFAULT_wxUSE_DEBUG_INFO=no
2270 DEFAULT_wxUSE_DEBUG_GDB=no
2271 DEFAULT_wxUSE_MEM_TRACING=no
2272 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2273 DEFAULT_wxUSE_DMALLOC=no
2274 DEFAULT_wxUSE_APPLE_IEEE=yes
2275
2276 DEFAULT_wxUSE_EXCEPTIONS=yes
2277 DEFAULT_wxUSE_LOG=yes
2278 DEFAULT_wxUSE_LOGWINDOW=yes
2279 DEFAULT_wxUSE_LOGGUI=yes
2280 DEFAULT_wxUSE_LOGDIALOG=yes
2281
2282 DEFAULT_wxUSE_GUI=yes
2283
2284 DEFAULT_wxUSE_REGEX=yes
2285 DEFAULT_wxUSE_XML=yes
2286 DEFAULT_wxUSE_EXPAT=yes
2287 DEFAULT_wxUSE_ZLIB=yes
2288 DEFAULT_wxUSE_LIBPNG=yes
2289 DEFAULT_wxUSE_LIBJPEG=yes
2290 DEFAULT_wxUSE_LIBTIFF=yes
2291 DEFAULT_wxUSE_LIBXPM=yes
2292 DEFAULT_wxUSE_LIBMSPACK=yes
2293 DEFAULT_wxUSE_LIBSDL=no
2294 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2295 DEFAULT_wxUSE_LIBGNOMEVFS=no
2296 DEFAULT_wxUSE_LIBHILDON=no
2297 DEFAULT_wxUSE_ODBC=no
2298 DEFAULT_wxUSE_OPENGL=no
2299
2300 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2301 DEFAULT_wxUSE_STACKWALKER=yes
2302 DEFAULT_wxUSE_DEBUGREPORT=yes
2303 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2304 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2305 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2306 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2307 DEFAULT_wxUSE_DATETIME=yes
2308 DEFAULT_wxUSE_TIMER=yes
2309 DEFAULT_wxUSE_STOPWATCH=yes
2310 DEFAULT_wxUSE_FILE=yes
2311 DEFAULT_wxUSE_FFILE=yes
2312 DEFAULT_wxUSE_STDPATHS=yes
2313 DEFAULT_wxUSE_TEXTBUFFER=yes
2314 DEFAULT_wxUSE_TEXTFILE=yes
2315 DEFAULT_wxUSE_SOUND=yes
2316 DEFAULT_wxUSE_MEDIACTRL=no
2317 DEFAULT_wxUSE_GSTREAMER8=no
2318 DEFAULT_wxUSE_INTL=yes
2319 DEFAULT_wxUSE_CONFIG=yes
2320 DEFAULT_wxUSE_FONTMAP=yes
2321 DEFAULT_wxUSE_STREAMS=yes
2322 DEFAULT_wxUSE_SOCKETS=yes
2323 DEFAULT_wxUSE_OLE=yes
2324 DEFAULT_wxUSE_DATAOBJ=yes
2325 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2326 DEFAULT_wxUSE_JOYSTICK=yes
2327 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2328 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2329 DEFAULT_wxUSE_LONGLONG=yes
2330 DEFAULT_wxUSE_GEOMETRY=yes
2331
2332 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2333 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2334 DEFAULT_wxUSE_POSTSCRIPT=yes
2335
2336 DEFAULT_wxUSE_CLIPBOARD=yes
2337 DEFAULT_wxUSE_TOOLTIPS=yes
2338 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2339 DEFAULT_wxUSE_DRAGIMAGE=yes
2340 DEFAULT_wxUSE_SPLINES=yes
2341 DEFAULT_wxUSE_MOUSEWHEEL=yes
2342
2343 DEFAULT_wxUSE_MDI=yes
2344 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2345 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2346 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2347
2348 DEFAULT_wxUSE_RESOURCES=no
2349 DEFAULT_wxUSE_CONSTRAINTS=yes
2350 DEFAULT_wxUSE_IPC=yes
2351 DEFAULT_wxUSE_HELP=yes
2352 DEFAULT_wxUSE_MS_HTML_HELP=yes
2353 DEFAULT_wxUSE_WXHTML_HELP=yes
2354 DEFAULT_wxUSE_TREELAYOUT=yes
2355 DEFAULT_wxUSE_METAFILE=yes
2356 DEFAULT_wxUSE_MIMETYPE=yes
2357 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2358 DEFAULT_wxUSE_PROTOCOL=yes
2359 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2360 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2361 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2362 DEFAULT_wxUSE_URL=yes
2363
2364 DEFAULT_wxUSE_COMMONDLGS=yes
2365 DEFAULT_wxUSE_CHOICEDLG=yes
2366 DEFAULT_wxUSE_COLOURDLG=yes
2367 DEFAULT_wxUSE_DIRDLG=yes
2368 DEFAULT_wxUSE_FILEDLG=yes
2369 DEFAULT_wxUSE_FINDREPLDLG=yes
2370 DEFAULT_wxUSE_FONTDLG=yes
2371 DEFAULT_wxUSE_MSGDLG=yes
2372 DEFAULT_wxUSE_NUMBERDLG=yes
2373 DEFAULT_wxUSE_TEXTDLG=yes
2374 DEFAULT_wxUSE_SPLASH=yes
2375 DEFAULT_wxUSE_STARTUP_TIPS=yes
2376 DEFAULT_wxUSE_PROGRESSDLG=yes
2377 DEFAULT_wxUSE_WIZARDDLG=yes
2378
2379 DEFAULT_wxUSE_MENUS=yes
2380 DEFAULT_wxUSE_MINIFRAME=yes
2381 DEFAULT_wxUSE_HTML=yes
2382 DEFAULT_wxUSE_RICHTEXT=yes
2383 DEFAULT_wxUSE_XRC=yes
2384 DEFAULT_wxUSE_WEBKIT=yes
2385 DEFAULT_wxUSE_FILESYSTEM=yes
2386 DEFAULT_wxUSE_FS_INET=yes
2387 DEFAULT_wxUSE_FS_ZIP=yes
2388 DEFAULT_wxUSE_BUSYINFO=yes
2389 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2390 DEFAULT_wxUSE_ZIPSTREAM=yes
2391 DEFAULT_wxUSE_VALIDATORS=yes
2392
2393 DEFAULT_wxUSE_ACCEL=yes
2394 DEFAULT_wxUSE_BUTTON=yes
2395 DEFAULT_wxUSE_BMPBUTTON=yes
2396 DEFAULT_wxUSE_CALCTRL=yes
2397 DEFAULT_wxUSE_CARET=yes
2398 DEFAULT_wxUSE_CHECKBOX=yes
2399 DEFAULT_wxUSE_CHECKLST=yes
2400 DEFAULT_wxUSE_CHOICE=yes
2401 DEFAULT_wxUSE_CHOICEBOOK=yes
2402 DEFAULT_wxUSE_COMBOBOX=yes
2403 DEFAULT_wxUSE_DATEPICKCTRL=yes
2404 DEFAULT_wxUSE_DISPLAY=yes
2405 DEFAULT_wxUSE_GAUGE=yes
2406 DEFAULT_wxUSE_GRID=yes
2407 DEFAULT_wxUSE_DATAVIEWCTRL=no
2408 DEFAULT_wxUSE_IMAGLIST=yes
2409 DEFAULT_wxUSE_LISTBOOK=yes
2410 DEFAULT_wxUSE_LISTBOX=yes
2411 DEFAULT_wxUSE_LISTCTRL=yes
2412 DEFAULT_wxUSE_NOTEBOOK=yes
2413 DEFAULT_wxUSE_RADIOBOX=yes
2414 DEFAULT_wxUSE_RADIOBTN=yes
2415 DEFAULT_wxUSE_SASH=yes
2416 DEFAULT_wxUSE_SCROLLBAR=yes
2417 DEFAULT_wxUSE_SLIDER=yes
2418 DEFAULT_wxUSE_SPINBTN=yes
2419 DEFAULT_wxUSE_SPINCTRL=yes
2420 DEFAULT_wxUSE_SPLITTER=yes
2421 DEFAULT_wxUSE_STATBMP=yes
2422 DEFAULT_wxUSE_STATBOX=yes
2423 DEFAULT_wxUSE_STATLINE=yes
2424 DEFAULT_wxUSE_STATTEXT=yes
2425 DEFAULT_wxUSE_STATUSBAR=yes
2426 DEFAULT_wxUSE_TAB_DIALOG=no
2427 DEFAULT_wxUSE_TEXTCTRL=yes
2428 DEFAULT_wxUSE_TOGGLEBTN=yes
2429 DEFAULT_wxUSE_TOOLBAR=yes
2430 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2431 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2432 DEFAULT_wxUSE_TREEBOOK=yes
2433 DEFAULT_wxUSE_TOOLBOOK=yes
2434 DEFAULT_wxUSE_TREECTRL=yes
2435 DEFAULT_wxUSE_POPUPWIN=yes
2436 DEFAULT_wxUSE_TIPWINDOW=yes
2437
2438 DEFAULT_wxUSE_UNICODE=no
2439 DEFAULT_wxUSE_UNICODE_MSLU=yes
2440 DEFAULT_wxUSE_WCSRTOMBS=no
2441
2442 DEFAULT_wxUSE_PALETTE=yes
2443 DEFAULT_wxUSE_IMAGE=yes
2444 DEFAULT_wxUSE_GIF=yes
2445 DEFAULT_wxUSE_PCX=yes
2446 DEFAULT_wxUSE_IFF=no
2447 DEFAULT_wxUSE_PNM=yes
2448 DEFAULT_wxUSE_XPM=yes
2449 DEFAULT_wxUSE_ICO_CUR=yes
2450 DEFAULT_wxUSE_ACCESSIBILITY=no
2451
2452 DEFAULT_wxUSE_MONOLITHIC=no
2453 DEFAULT_wxUSE_PLUGINS=no
2454 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2455
2456 DEFAULT_wxUSE_GTK2=yes
2457 fi
2458
2459
2460
2461
2462 for toolkit in `echo $ALL_TOOLKITS`; do
2463 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2464 if test "x$LINE" != "x" ; then
2465 has_toolkit_in_cache=1
2466 eval "DEFAULT_$LINE"
2467 eval "CACHE_$toolkit=1"
2468
2469 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 eval "DEFAULT_$LINE"
2472 fi
2473 fi
2474 done
2475
2476
2477
2478 enablestring=
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2481 no_cache=0
2482 # Check whether --enable-gui or --disable-gui was given.
2483 if test "${enable_gui+set}" = set; then
2484 enableval="$enable_gui"
2485
2486 if test "$enableval" = yes; then
2487 ac_cv_use_gui='wxUSE_GUI=yes'
2488 else
2489 ac_cv_use_gui='wxUSE_GUI=no'
2490 fi
2491
2492 else
2493
2494 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x ; then
2496 eval "DEFAULT_$LINE"
2497 else
2498 no_cache=1
2499 fi
2500
2501 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2502
2503 fi;
2504
2505 eval "$ac_cv_use_gui"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2508 fi
2509
2510 if test "$wxUSE_GUI" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2513 else
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2516 fi
2517
2518
2519 enablestring=
2520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2521 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2522 no_cache=0
2523 # Check whether --enable-monolithic or --disable-monolithic was given.
2524 if test "${enable_monolithic+set}" = set; then
2525 enableval="$enable_monolithic"
2526
2527 if test "$enableval" = yes; then
2528 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2529 else
2530 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2531 fi
2532
2533 else
2534
2535 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x ; then
2537 eval "DEFAULT_$LINE"
2538 else
2539 no_cache=1
2540 fi
2541
2542 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2543
2544 fi;
2545
2546 eval "$ac_cv_use_monolithic"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2549 fi
2550
2551 if test "$wxUSE_MONOLITHIC" = yes; then
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2554 else
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2557 fi
2558
2559
2560 enablestring=
2561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2562 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2563 no_cache=0
2564 # Check whether --enable-plugins or --disable-plugins was given.
2565 if test "${enable_plugins+set}" = set; then
2566 enableval="$enable_plugins"
2567
2568 if test "$enableval" = yes; then
2569 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2570 else
2571 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2572 fi
2573
2574 else
2575
2576 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x ; then
2578 eval "DEFAULT_$LINE"
2579 else
2580 no_cache=1
2581 fi
2582
2583 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2584
2585 fi;
2586
2587 eval "$ac_cv_use_plugins"
2588 if test "$no_cache" != 1; then
2589 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2590 fi
2591
2592 if test "$wxUSE_PLUGINS" = yes; then
2593 echo "$as_me:$LINENO: result: yes" >&5
2594 echo "${ECHO_T}yes" >&6
2595 else
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2598 fi
2599
2600
2601 withstring=without
2602 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2603 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2604 no_cache=0
2605
2606 # Check whether --with-subdirs or --without-subdirs was given.
2607 if test "${with_subdirs+set}" = set; then
2608 withval="$with_subdirs"
2609
2610 if test "$withval" = yes; then
2611 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2612 else
2613 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2614 fi
2615
2616 else
2617
2618 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x ; then
2620 eval "DEFAULT_$LINE"
2621 else
2622 no_cache=1
2623 fi
2624
2625 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2626
2627 fi;
2628
2629 eval "$ac_cv_use_subdirs"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2632 fi
2633
2634 if test "$wxWITH_SUBDIRS" = yes; then
2635 echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2637 else
2638 echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6
2640 fi
2641
2642
2643 if test "$wxUSE_GUI" = "yes"; then
2644
2645
2646 enablestring=
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2649 no_cache=0
2650 # Check whether --enable-universal or --disable-universal was given.
2651 if test "${enable_universal+set}" = set; then
2652 enableval="$enable_universal"
2653
2654 if test "$enableval" = yes; then
2655 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2656 else
2657 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2658 fi
2659
2660 else
2661
2662 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x ; then
2664 eval "DEFAULT_$LINE"
2665 else
2666 no_cache=1
2667 fi
2668
2669 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2670
2671 fi;
2672
2673 eval "$ac_cv_use_universal"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2676 fi
2677
2678 if test "$wxUSE_UNIVERSAL" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2681 else
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2684 fi
2685
2686
2687 # Check whether --with-gtk or --without-gtk was given.
2688 if test "${with_gtk+set}" = set; then
2689 withval="$with_gtk"
2690 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2691 fi;
2692
2693 # Check whether --with-motif or --without-motif was given.
2694 if test "${with_motif+set}" = set; then
2695 withval="$with_motif"
2696 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2697 fi;
2698
2699 # Check whether --with-mac or --without-mac was given.
2700 if test "${with_mac+set}" = set; then
2701 withval="$with_mac"
2702 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2703 fi;
2704
2705 # Check whether --with-cocoa or --without-cocoa was given.
2706 if test "${with_cocoa+set}" = set; then
2707 withval="$with_cocoa"
2708 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-wine or --without-wine was given.
2712 if test "${with_wine+set}" = set; then
2713 withval="$with_wine"
2714 wxUSE_WINE="$withval" CACHE_WINE=1
2715 fi;
2716
2717 # Check whether --with-msw or --without-msw was given.
2718 if test "${with_msw+set}" = set; then
2719 withval="$with_msw"
2720 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2721 fi;
2722
2723 # Check whether --with-pm or --without-pm was given.
2724 if test "${with_pm+set}" = set; then
2725 withval="$with_pm"
2726 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2727 fi;
2728
2729 # Check whether --with-mgl or --without-mgl was given.
2730 if test "${with_mgl+set}" = set; then
2731 withval="$with_mgl"
2732 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2733 fi;
2734
2735 # Check whether --with-microwin or --without-microwin was given.
2736 if test "${with_microwin+set}" = set; then
2737 withval="$with_microwin"
2738 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2739 fi;
2740
2741 # Check whether --with-x11 or --without-x11 was given.
2742 if test "${with_x11+set}" = set; then
2743 withval="$with_x11"
2744 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2745 fi;
2746
2747 enablestring=
2748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2749 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2750 no_cache=0
2751 # Check whether --enable-nanox or --disable-nanox was given.
2752 if test "${enable_nanox+set}" = set; then
2753 enableval="$enable_nanox"
2754
2755 if test "$enableval" = yes; then
2756 ac_cv_use_nanox='wxUSE_NANOX=yes'
2757 else
2758 ac_cv_use_nanox='wxUSE_NANOX=no'
2759 fi
2760
2761 else
2762
2763 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2771
2772 fi;
2773
2774 eval "$ac_cv_use_nanox"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_NANOX" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2789 if test "${enable_gtk2+set}" = set; then
2790 enableval="$enable_gtk2"
2791 wxUSE_GTK2="$enableval"
2792 fi;
2793
2794 enablestring=
2795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2796 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2797 no_cache=0
2798 # Check whether --enable-gpe or --disable-gpe was given.
2799 if test "${enable_gpe+set}" = set; then
2800 enableval="$enable_gpe"
2801
2802 if test "$enableval" = yes; then
2803 ac_cv_use_gpe='wxUSE_GPE=yes'
2804 else
2805 ac_cv_use_gpe='wxUSE_GPE=no'
2806 fi
2807
2808 else
2809
2810 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2818
2819 fi;
2820
2821 eval "$ac_cv_use_gpe"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_GPE" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2829 else
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2832 fi
2833
2834
2835
2836 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2837 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2838 no_cache=0
2839
2840 # Check whether --with-libpng or --without-libpng was given.
2841 if test "${with_libpng+set}" = set; then
2842 withval="$with_libpng"
2843
2844 if test "$withval" = yes; then
2845 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2846 elif test "$withval" = no; then
2847 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2848 elif test "$withval" = sys; then
2849 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2852 else
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2856 fi
2857
2858 else
2859
2860 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x ; then
2862 eval "DEFAULT_$LINE"
2863 else
2864 no_cache=1
2865 fi
2866
2867 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2868
2869 fi;
2870
2871 eval "$ac_cv_use_libpng"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2874 fi
2875
2876 if test "$wxUSE_LIBPNG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBPNG" = no; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBPNG" = sys; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBPNG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2888 else
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2892 fi
2893
2894
2895 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2896 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2897 no_cache=0
2898
2899 # Check whether --with-libjpeg or --without-libjpeg was given.
2900 if test "${with_libjpeg+set}" = set; then
2901 withval="$with_libjpeg"
2902
2903 if test "$withval" = yes; then
2904 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2905 elif test "$withval" = no; then
2906 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2907 elif test "$withval" = sys; then
2908 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2911 else
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2915 fi
2916
2917 else
2918
2919 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x ; then
2921 eval "DEFAULT_$LINE"
2922 else
2923 no_cache=1
2924 fi
2925
2926 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2927
2928 fi;
2929
2930 eval "$ac_cv_use_libjpeg"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2933 fi
2934
2935 if test "$wxUSE_LIBJPEG" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBJPEG" = no; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBJPEG" = sys; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBJPEG" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2947 else
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2951 fi
2952
2953
2954 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2955 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2956 no_cache=0
2957
2958 # Check whether --with-libtiff or --without-libtiff was given.
2959 if test "${with_libtiff+set}" = set; then
2960 withval="$with_libtiff"
2961
2962 if test "$withval" = yes; then
2963 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2964 elif test "$withval" = no; then
2965 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2966 elif test "$withval" = sys; then
2967 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2970 else
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2974 fi
2975
2976 else
2977
2978 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x ; then
2980 eval "DEFAULT_$LINE"
2981 else
2982 no_cache=1
2983 fi
2984
2985 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2986
2987 fi;
2988
2989 eval "$ac_cv_use_libtiff"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2992 fi
2993
2994 if test "$wxUSE_LIBTIFF" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBTIFF" = no; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBTIFF" = sys; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBTIFF" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3006 else
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3010 fi
3011
3012
3013 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3014 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3015 no_cache=0
3016
3017 # Check whether --with-libxpm or --without-libxpm was given.
3018 if test "${with_libxpm+set}" = set; then
3019 withval="$with_libxpm"
3020
3021 if test "$withval" = yes; then
3022 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3023 elif test "$withval" = no; then
3024 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3025 elif test "$withval" = sys; then
3026 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3027 elif test "$withval" = builtin; then
3028 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3029 else
3030 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3031 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3032 { (exit 1); exit 1; }; }
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libxpm"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBXPM" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 elif test "$wxUSE_LIBXPM" = no; then
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 elif test "$wxUSE_LIBXPM" = sys; then
3060 echo "$as_me:$LINENO: result: system version" >&5
3061 echo "${ECHO_T}system version" >&6
3062 elif test "$wxUSE_LIBXPM" = builtin; then
3063 echo "$as_me:$LINENO: result: builtin version" >&5
3064 echo "${ECHO_T}builtin version" >&6
3065 else
3066 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3067 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3068 { (exit 1); exit 1; }; }
3069 fi
3070
3071
3072 withstring=
3073 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3074 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3075 no_cache=0
3076
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval="$with_libmspack"
3080
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3083 else
3084 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3085 fi
3086
3087 else
3088
3089 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x ; then
3091 eval "DEFAULT_$LINE"
3092 else
3093 no_cache=1
3094 fi
3095
3096 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3097
3098 fi;
3099
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3103 fi
3104
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3108 else
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3111 fi
3112
3113
3114 withstring=
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3117 no_cache=0
3118
3119 # Check whether --with-sdl or --without-sdl was given.
3120 if test "${with_sdl+set}" = set; then
3121 withval="$with_sdl"
3122
3123 if test "$withval" = yes; then
3124 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3125 else
3126 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3127 fi
3128
3129 else
3130
3131 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x ; then
3133 eval "DEFAULT_$LINE"
3134 else
3135 no_cache=1
3136 fi
3137
3138 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3139
3140 fi;
3141
3142 eval "$ac_cv_use_sdl"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3145 fi
3146
3147 if test "$wxUSE_LIBSDL" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3150 else
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3153 fi
3154
3155
3156 withstring=
3157 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3158 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3159 no_cache=0
3160
3161 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3162 if test "${with_gnomeprint+set}" = set; then
3163 withval="$with_gnomeprint"
3164
3165 if test "$withval" = yes; then
3166 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3167 else
3168 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3169 fi
3170
3171 else
3172
3173 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x ; then
3175 eval "DEFAULT_$LINE"
3176 else
3177 no_cache=1
3178 fi
3179
3180 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3181
3182 fi;
3183
3184 eval "$ac_cv_use_gnomeprint"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3187 fi
3188
3189 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 else
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 fi
3196
3197
3198 withstring=
3199 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3201 no_cache=0
3202
3203 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3204 if test "${with_gnomevfs+set}" = set; then
3205 withval="$with_gnomevfs"
3206
3207 if test "$withval" = yes; then
3208 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3209 else
3210 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3211 fi
3212
3213 else
3214
3215 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x ; then
3217 eval "DEFAULT_$LINE"
3218 else
3219 no_cache=1
3220 fi
3221
3222 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3223
3224 fi;
3225
3226 eval "$ac_cv_use_gnomevfs"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3229 fi
3230
3231 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3234 else
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3237 fi
3238
3239
3240 withstring=
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3243 no_cache=0
3244
3245 # Check whether --with-hildon or --without-hildon was given.
3246 if test "${with_hildon+set}" = set; then
3247 withval="$with_hildon"
3248
3249 if test "$withval" = yes; then
3250 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3251 else
3252 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3253 fi
3254
3255 else
3256
3257 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x ; then
3259 eval "DEFAULT_$LINE"
3260 else
3261 no_cache=1
3262 fi
3263
3264 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3265
3266 fi;
3267
3268 eval "$ac_cv_use_hildon"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3271 fi
3272
3273 if test "$wxUSE_LIBHILDON" = yes; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3276 else
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3279 fi
3280
3281
3282 withstring=
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3285 no_cache=0
3286
3287 # Check whether --with-opengl or --without-opengl was given.
3288 if test "${with_opengl+set}" = set; then
3289 withval="$with_opengl"
3290
3291 if test "$withval" = yes; then
3292 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3293 else
3294 ac_cv_use_opengl='wxUSE_OPENGL=no'
3295 fi
3296
3297 else
3298
3299 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x ; then
3301 eval "DEFAULT_$LINE"
3302 else
3303 no_cache=1
3304 fi
3305
3306 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3307
3308 fi;
3309
3310 eval "$ac_cv_use_opengl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3313 fi
3314
3315 if test "$wxUSE_OPENGL" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3321 fi
3322
3323
3324 fi
3325
3326
3327 withstring=
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-dmalloc or --without-dmalloc was given.
3333 if test "${with_dmalloc+set}" = set; then
3334 withval="$with_dmalloc"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3338 else
3339 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3352
3353 fi;
3354
3355 eval "$ac_cv_use_dmalloc"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_DMALLOC" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 echo "$as_me:$LINENO: checking for --with-regex" >&5
3370 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3371 no_cache=0
3372
3373 # Check whether --with-regex or --without-regex was given.
3374 if test "${with_regex+set}" = set; then
3375 withval="$with_regex"
3376
3377 if test "$withval" = yes; then
3378 ac_cv_use_regex='wxUSE_REGEX=yes'
3379 elif test "$withval" = no; then
3380 ac_cv_use_regex='wxUSE_REGEX=no'
3381 elif test "$withval" = sys; then
3382 ac_cv_use_regex='wxUSE_REGEX=sys'
3383 elif test "$withval" = builtin; then
3384 ac_cv_use_regex='wxUSE_REGEX=builtin'
3385 else
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3389 fi
3390
3391 else
3392
3393 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3396 else
3397 no_cache=1
3398 fi
3399
3400 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3401
3402 fi;
3403
3404 eval "$ac_cv_use_regex"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_REGEX" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 elif test "$wxUSE_REGEX" = no; then
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 elif test "$wxUSE_REGEX" = sys; then
3416 echo "$as_me:$LINENO: result: system version" >&5
3417 echo "${ECHO_T}system version" >&6
3418 elif test "$wxUSE_REGEX" = builtin; then
3419 echo "$as_me:$LINENO: result: builtin version" >&5
3420 echo "${ECHO_T}builtin version" >&6
3421 else
3422 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3423 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3424 { (exit 1); exit 1; }; }
3425 fi
3426
3427
3428 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3429 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3430 no_cache=0
3431
3432 # Check whether --with-zlib or --without-zlib was given.
3433 if test "${with_zlib+set}" = set; then
3434 withval="$with_zlib"
3435
3436 if test "$withval" = yes; then
3437 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3438 elif test "$withval" = no; then
3439 ac_cv_use_zlib='wxUSE_ZLIB=no'
3440 elif test "$withval" = sys; then
3441 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3442 elif test "$withval" = builtin; then
3443 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3444 else
3445 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3446 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3447 { (exit 1); exit 1; }; }
3448 fi
3449
3450 else
3451
3452 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x ; then
3454 eval "DEFAULT_$LINE"
3455 else
3456 no_cache=1
3457 fi
3458
3459 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3460
3461 fi;
3462
3463 eval "$ac_cv_use_zlib"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3466 fi
3467
3468 if test "$wxUSE_ZLIB" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3471 elif test "$wxUSE_ZLIB" = no; then
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 elif test "$wxUSE_ZLIB" = sys; then
3475 echo "$as_me:$LINENO: result: system version" >&5
3476 echo "${ECHO_T}system version" >&6
3477 elif test "$wxUSE_ZLIB" = builtin; then
3478 echo "$as_me:$LINENO: result: builtin version" >&5
3479 echo "${ECHO_T}builtin version" >&6
3480 else
3481 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3482 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3483 { (exit 1); exit 1; }; }
3484 fi
3485
3486
3487 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3488 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3489 no_cache=0
3490
3491 # Check whether --with-odbc or --without-odbc was given.
3492 if test "${with_odbc+set}" = set; then
3493 withval="$with_odbc"
3494
3495 if test "$withval" = yes; then
3496 ac_cv_use_odbc='wxUSE_ODBC=yes'
3497 elif test "$withval" = no; then
3498 ac_cv_use_odbc='wxUSE_ODBC=no'
3499 elif test "$withval" = sys; then
3500 ac_cv_use_odbc='wxUSE_ODBC=sys'
3501 elif test "$withval" = builtin; then
3502 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3503 else
3504 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3505 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3506 { (exit 1); exit 1; }; }
3507 fi
3508
3509 else
3510
3511 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x ; then
3513 eval "DEFAULT_$LINE"
3514 else
3515 no_cache=1
3516 fi
3517
3518 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3519
3520 fi;
3521
3522 eval "$ac_cv_use_odbc"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3525 fi
3526
3527 if test "$wxUSE_ODBC" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3530 elif test "$wxUSE_ODBC" = no; then
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3533 elif test "$wxUSE_ODBC" = sys; then
3534 echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6
3536 elif test "$wxUSE_ODBC" = builtin; then
3537 echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6
3539 else
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544
3545
3546 echo "$as_me:$LINENO: checking for --with-expat" >&5
3547 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3548 no_cache=0
3549
3550 # Check whether --with-expat or --without-expat was given.
3551 if test "${with_expat+set}" = set; then
3552 withval="$with_expat"
3553
3554 if test "$withval" = yes; then
3555 ac_cv_use_expat='wxUSE_EXPAT=yes'
3556 elif test "$withval" = no; then
3557 ac_cv_use_expat='wxUSE_EXPAT=no'
3558 elif test "$withval" = sys; then
3559 ac_cv_use_expat='wxUSE_EXPAT=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3578
3579 fi;
3580
3581 eval "$ac_cv_use_expat"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_EXPAT" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_EXPAT" = no; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_EXPAT" = sys; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_EXPAT" = builtin; then
3596 echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605
3606
3607 enablestring=
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3610 no_cache=0
3611 # Check whether --enable-shared or --disable-shared was given.
3612 if test "${enable_shared+set}" = set; then
3613 enableval="$enable_shared"
3614
3615 if test "$enableval" = yes; then
3616 ac_cv_use_shared='wxUSE_SHARED=yes'
3617 else
3618 ac_cv_use_shared='wxUSE_SHARED=no'
3619 fi
3620
3621 else
3622
3623 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3626 else
3627 no_cache=1
3628 fi
3629
3630 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3631
3632 fi;
3633
3634 eval "$ac_cv_use_shared"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_SHARED" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 else
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 fi
3646
3647
3648 enablestring=
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3651 no_cache=0
3652 # Check whether --enable-optimise or --disable-optimise was given.
3653 if test "${enable_optimise+set}" = set; then
3654 enableval="$enable_optimise"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3658 else
3659 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3660 fi
3661
3662 else
3663
3664 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3672
3673 fi;
3674
3675 eval "$ac_cv_use_optimise"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_OPTIMISE" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687
3688
3689 enablestring=
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-debug or --disable-debug was given.
3694 if test "${enable_debug+set}" = set; then
3695 enableval="$enable_debug"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug='wxUSE_DEBUG=yes'
3699 else
3700 ac_cv_use_debug='wxUSE_DEBUG=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3713
3714 fi;
3715
3716 eval "$ac_cv_use_debug"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_DEBUG" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-stl or --disable-stl was given.
3735 if test "${enable_stl+set}" = set; then
3736 enableval="$enable_stl"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_stl='wxUSE_STL=yes'
3740 else
3741 ac_cv_use_stl='wxUSE_STL=no'
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3754
3755 fi;
3756
3757 eval "$ac_cv_use_stl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_STL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770 if test "$USE_OS2" = "1"; then
3771 DEFAULT_wxUSE_OMF=no
3772
3773 enablestring=
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3776 no_cache=0
3777 # Check whether --enable-omf or --disable-omf was given.
3778 if test "${enable_omf+set}" = set; then
3779 enableval="$enable_omf"
3780
3781 if test "$enableval" = yes; then
3782 ac_cv_use_omf='wxUSE_OMF=yes'
3783 else
3784 ac_cv_use_omf='wxUSE_OMF=no'
3785 fi
3786
3787 else
3788
3789 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x ; then
3791 eval "DEFAULT_$LINE"
3792 else
3793 no_cache=1
3794 fi
3795
3796 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3797
3798 fi;
3799
3800 eval "$ac_cv_use_omf"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3803 fi
3804
3805 if test "$wxUSE_OMF" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3811 fi
3812
3813 fi
3814
3815 if test "$wxUSE_DEBUG" = "yes"; then
3816 DEFAULT_wxUSE_DEBUG_FLAG=yes
3817 DEFAULT_wxUSE_DEBUG_INFO=yes
3818 BUILD=debug
3819 elif test "$wxUSE_DEBUG" = "no"; then
3820 DEFAULT_wxUSE_DEBUG_FLAG=no
3821 DEFAULT_wxUSE_DEBUG_INFO=no
3822 BUILD=release
3823 fi
3824
3825
3826 enablestring=
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3829 no_cache=0
3830 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3831 if test "${enable_debug_flag+set}" = set; then
3832 enableval="$enable_debug_flag"
3833
3834 if test "$enableval" = yes; then
3835 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3836 else
3837 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3838 fi
3839
3840 else
3841
3842 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x ; then
3844 eval "DEFAULT_$LINE"
3845 else
3846 no_cache=1
3847 fi
3848
3849 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3850
3851 fi;
3852
3853 eval "$ac_cv_use_debug_flag"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3856 fi
3857
3858 if test "$wxUSE_DEBUG_FLAG" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3861 else
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3864 fi
3865
3866
3867 enablestring=
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3870 no_cache=0
3871 # Check whether --enable-debug_info or --disable-debug_info was given.
3872 if test "${enable_debug_info+set}" = set; then
3873 enableval="$enable_debug_info"
3874
3875 if test "$enableval" = yes; then
3876 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3877 else
3878 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3879 fi
3880
3881 else
3882
3883 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3891
3892 fi;
3893
3894 eval "$ac_cv_use_debug_info"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3897 fi
3898
3899 if test "$wxUSE_DEBUG_INFO" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3902 else
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907
3908 enablestring=
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3911 no_cache=0
3912 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3913 if test "${enable_debug_gdb+set}" = set; then
3914 enableval="$enable_debug_gdb"
3915
3916 if test "$enableval" = yes; then
3917 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3918 else
3919 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3920 fi
3921
3922 else
3923
3924 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x ; then
3926 eval "DEFAULT_$LINE"
3927 else
3928 no_cache=1
3929 fi
3930
3931 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3932
3933 fi;
3934
3935 eval "$ac_cv_use_debug_gdb"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_DEBUG_GDB" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3943 else
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3946 fi
3947
3948
3949 enablestring=
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3952 no_cache=0
3953 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3954 if test "${enable_debug_cntxt+set}" = set; then
3955 enableval="$enable_debug_cntxt"
3956
3957 if test "$enableval" = yes; then
3958 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3959 else
3960 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3961 fi
3962
3963 else
3964
3965 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3968 else
3969 no_cache=1
3970 fi
3971
3972 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3973
3974 fi;
3975
3976 eval "$ac_cv_use_debug_cntxt"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3979 fi
3980
3981 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3984 else
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3987 fi
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3995 if test "${enable_mem_tracing+set}" = set; then
3996 enableval="$enable_mem_tracing"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4000 else
4001 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4014
4015 fi;
4016
4017 eval "$ac_cv_use_mem_tracing"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_MEM_TRACING" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-profile or --disable-profile was given.
4036 if test "${enable_profile+set}" = set; then
4037 enableval="$enable_profile"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_profile='wxUSE_PROFILE=yes'
4041 else
4042 ac_cv_use_profile='wxUSE_PROFILE=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4055
4056 fi;
4057
4058 eval "$ac_cv_use_profile"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_PROFILE" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072 enablestring=
4073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4074 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4075 no_cache=0
4076 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4077 if test "${enable_no_rtti+set}" = set; then
4078 enableval="$enable_no_rtti"
4079
4080 if test "$enableval" = yes; then
4081 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4082 else
4083 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4084 fi
4085
4086 else
4087
4088 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4091 else
4092 no_cache=1
4093 fi
4094
4095 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4096
4097 fi;
4098
4099 eval "$ac_cv_use_no_rtti"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_NO_RTTI" = yes; then
4105 echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6
4107 else
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4110 fi
4111
4112
4113 enablestring=
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4116 no_cache=0
4117 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4118 if test "${enable_no_exceptions+set}" = set; then
4119 enableval="$enable_no_exceptions"
4120
4121 if test "$enableval" = yes; then
4122 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4123 else
4124 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4137
4138 fi;
4139
4140 eval "$ac_cv_use_no_exceptions"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4143 fi
4144
4145 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4148 else
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4151 fi
4152
4153
4154 enablestring=
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4157 no_cache=0
4158 # Check whether --enable-permissive or --disable-permissive was given.
4159 if test "${enable_permissive+set}" = set; then
4160 enableval="$enable_permissive"
4161
4162 if test "$enableval" = yes; then
4163 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4164 else
4165 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4166 fi
4167
4168 else
4169
4170 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x ; then
4172 eval "DEFAULT_$LINE"
4173 else
4174 no_cache=1
4175 fi
4176
4177 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4178
4179 fi;
4180
4181 eval "$ac_cv_use_permissive"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4184 fi
4185
4186 if test "$wxUSE_PERMISSIVE" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194
4195 enablestring=
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4198 no_cache=0
4199 # Check whether --enable-no_deps or --disable-no_deps was given.
4200 if test "${enable_no_deps+set}" = set; then
4201 enableval="$enable_no_deps"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4205 else
4206 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4207 fi
4208
4209 else
4210
4211 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4219
4220 fi;
4221
4222 eval "$ac_cv_use_no_deps"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_NO_DEPS" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4233 fi
4234
4235
4236 enablestring=
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4239 no_cache=0
4240 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4241 if test "${enable_universal_binary+set}" = set; then
4242 enableval="$enable_universal_binary"
4243
4244 if test "$enableval" = yes; then
4245 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4246 else
4247 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4248 fi
4249
4250 else
4251
4252 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 else
4256 no_cache=1
4257 fi
4258
4259 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4260
4261 fi;
4262
4263 eval "$ac_cv_use_universal_binary"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4271 else
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4274 fi
4275
4276
4277
4278 enablestring=enable
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4281 no_cache=0
4282 # Check whether --enable-compat24 or --disable-compat24 was given.
4283 if test "${enable_compat24+set}" = set; then
4284 enableval="$enable_compat24"
4285
4286 if test "$enableval" = yes; then
4287 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4288 else
4289 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4290 fi
4291
4292 else
4293
4294 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x ; then
4296 eval "DEFAULT_$LINE"
4297 else
4298 no_cache=1
4299 fi
4300
4301 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4302
4303 fi;
4304
4305 eval "$ac_cv_use_compat24"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4308 fi
4309
4310 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4316 fi
4317
4318
4319 enablestring=disable
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4322 no_cache=0
4323 # Check whether --enable-compat26 or --disable-compat26 was given.
4324 if test "${enable_compat26+set}" = set; then
4325 enableval="$enable_compat26"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4329 else
4330 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4343
4344 fi;
4345
4346 eval "$ac_cv_use_compat26"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4354 else
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4357 fi
4358
4359
4360
4361 enablestring=
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4364 no_cache=0
4365 # Check whether --enable-rpath or --disable-rpath was given.
4366 if test "${enable_rpath+set}" = set; then
4367 enableval="$enable_rpath"
4368
4369 if test "$enableval" = yes; then
4370 ac_cv_use_rpath='wxUSE_RPATH=yes'
4371 else
4372 ac_cv_use_rpath='wxUSE_RPATH=no'
4373 fi
4374
4375 else
4376
4377 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4385
4386 fi;
4387
4388 eval "$ac_cv_use_rpath"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_RPATH" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4396 else
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4399 fi
4400
4401
4402
4403
4404
4405 enablestring=
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4408 no_cache=0
4409 # Check whether --enable-intl or --disable-intl was given.
4410 if test "${enable_intl+set}" = set; then
4411 enableval="$enable_intl"
4412
4413 if test "$enableval" = yes; then
4414 ac_cv_use_intl='wxUSE_INTL=yes'
4415 else
4416 ac_cv_use_intl='wxUSE_INTL=no'
4417 fi
4418
4419 else
4420
4421 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x ; then
4423 eval "DEFAULT_$LINE"
4424 else
4425 no_cache=1
4426 fi
4427
4428 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4429
4430 fi;
4431
4432 eval "$ac_cv_use_intl"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$wxUSE_INTL" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4440 else
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4443 fi
4444
4445
4446 enablestring=
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4449 no_cache=0
4450 # Check whether --enable-config or --disable-config was given.
4451 if test "${enable_config+set}" = set; then
4452 enableval="$enable_config"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_config='wxUSE_CONFIG=yes'
4456 else
4457 ac_cv_use_config='wxUSE_CONFIG=no'
4458 fi
4459
4460 else
4461
4462 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4470
4471 fi;
4472
4473 eval "$ac_cv_use_config"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4476 fi
4477
4478 if test "$wxUSE_CONFIG" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4481 else
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4484 fi
4485
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-protocols or --disable-protocols was given.
4493 if test "${enable_protocols+set}" = set; then
4494 enableval="$enable_protocols"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4498 else
4499 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4512
4513 fi;
4514
4515 eval "$ac_cv_use_protocols"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_PROTOCOL" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-ftp or --disable-ftp was given.
4534 if test "${enable_ftp+set}" = set; then
4535 enableval="$enable_ftp"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4539 else
4540 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4553
4554 fi;
4555
4556 eval "$ac_cv_use_ftp"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-http or --disable-http was given.
4575 if test "${enable_http+set}" = set; then
4576 enableval="$enable_http"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4580 else
4581 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4594
4595 fi;
4596
4597 eval "$ac_cv_use_http"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-fileproto or --disable-fileproto was given.
4616 if test "${enable_fileproto+set}" = set; then
4617 enableval="$enable_fileproto"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4621 else
4622 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4635
4636 fi;
4637
4638 eval "$ac_cv_use_fileproto"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652 enablestring=
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4655 no_cache=0
4656 # Check whether --enable-sockets or --disable-sockets was given.
4657 if test "${enable_sockets+set}" = set; then
4658 enableval="$enable_sockets"
4659
4660 if test "$enableval" = yes; then
4661 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4662 else
4663 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4676
4677 fi;
4678
4679 eval "$ac_cv_use_sockets"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test "$wxUSE_SOCKETS" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4687 else
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4690 fi
4691
4692
4693 enablestring=
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4696 no_cache=0
4697 # Check whether --enable-ole or --disable-ole was given.
4698 if test "${enable_ole+set}" = set; then
4699 enableval="$enable_ole"
4700
4701 if test "$enableval" = yes; then
4702 ac_cv_use_ole='wxUSE_OLE=yes'
4703 else
4704 ac_cv_use_ole='wxUSE_OLE=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4717
4718 fi;
4719
4720 eval "$ac_cv_use_ole"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test "$wxUSE_OLE" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4728 else
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4731 fi
4732
4733
4734 enablestring=
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4737 no_cache=0
4738 # Check whether --enable-dataobj or --disable-dataobj was given.
4739 if test "${enable_dataobj+set}" = set; then
4740 enableval="$enable_dataobj"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4744 else
4745 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4758
4759 fi;
4760
4761 eval "$ac_cv_use_dataobj"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DATAOBJ" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4772 fi
4773
4774
4775
4776 enablestring=
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4779 no_cache=0
4780 # Check whether --enable-ipc or --disable-ipc was given.
4781 if test "${enable_ipc+set}" = set; then
4782 enableval="$enable_ipc"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_ipc='wxUSE_IPC=yes'
4786 else
4787 ac_cv_use_ipc='wxUSE_IPC=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x ; then
4794 eval "DEFAULT_$LINE"
4795 else
4796 no_cache=1
4797 fi
4798
4799 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4800
4801 fi;
4802
4803 eval "$ac_cv_use_ipc"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_IPC" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4811 else
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4814 fi
4815
4816
4817
4818 enablestring=
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4821 no_cache=0
4822 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4823 if test "${enable_apple_ieee+set}" = set; then
4824 enableval="$enable_apple_ieee"
4825
4826 if test "$enableval" = yes; then
4827 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4828 else
4829 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4830 fi
4831
4832 else
4833
4834 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x ; then
4836 eval "DEFAULT_$LINE"
4837 else
4838 no_cache=1
4839 fi
4840
4841 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4842
4843 fi;
4844
4845 eval "$ac_cv_use_apple_ieee"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4848 fi
4849
4850 if test "$wxUSE_APPLE_IEEE" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4853 else
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4856 fi
4857
4858
4859 enablestring=
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4862 no_cache=0
4863 # Check whether --enable-arcstream or --disable-arcstream was given.
4864 if test "${enable_arcstream+set}" = set; then
4865 enableval="$enable_arcstream"
4866
4867 if test "$enableval" = yes; then
4868 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4869 else
4870 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4871 fi
4872
4873 else
4874
4875 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4883
4884 fi;
4885
4886 eval "$ac_cv_use_arcstream"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-backtrace or --disable-backtrace was given.
4905 if test "${enable_backtrace+set}" = set; then
4906 enableval="$enable_backtrace"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4910 else
4911 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4924
4925 fi;
4926
4927 eval "$ac_cv_use_backtrace"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_STACKWALKER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941 enablestring=
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4944 no_cache=0
4945 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4946 if test "${enable_catch_segvs+set}" = set; then
4947 enableval="$enable_catch_segvs"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4951 else
4952 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4953 fi
4954
4955 else
4956
4957 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4965
4966 fi;
4967
4968 eval "$ac_cv_use_catch_segvs"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4971 fi
4972
4973 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4976 else
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4979 fi
4980
4981
4982 enablestring=
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4985 no_cache=0
4986 # Check whether --enable-cmdline or --disable-cmdline was given.
4987 if test "${enable_cmdline+set}" = set; then
4988 enableval="$enable_cmdline"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4992 else
4993 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4994 fi
4995
4996 else
4997
4998 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5006
5007 fi;
5008
5009 eval "$ac_cv_use_cmdline"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5012 fi
5013
5014 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5017 else
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5020 fi
5021
5022
5023 enablestring=
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5026 no_cache=0
5027 # Check whether --enable-datetime or --disable-datetime was given.
5028 if test "${enable_datetime+set}" = set; then
5029 enableval="$enable_datetime"
5030
5031 if test "$enableval" = yes; then
5032 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5033 else
5034 ac_cv_use_datetime='wxUSE_DATETIME=no'
5035 fi
5036
5037 else
5038
5039 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5042 else
5043 no_cache=1
5044 fi
5045
5046 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5047
5048 fi;
5049
5050 eval "$ac_cv_use_datetime"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 if test "$wxUSE_DATETIME" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5058 else
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5061 fi
5062
5063
5064 enablestring=
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5067 no_cache=0
5068 # Check whether --enable-debugreport or --disable-debugreport was given.
5069 if test "${enable_debugreport+set}" = set; then
5070 enableval="$enable_debugreport"
5071
5072 if test "$enableval" = yes; then
5073 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5074 else
5075 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5076 fi
5077
5078 else
5079
5080 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x ; then
5082 eval "DEFAULT_$LINE"
5083 else
5084 no_cache=1
5085 fi
5086
5087 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5088
5089 fi;
5090
5091 eval "$ac_cv_use_debugreport"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test "$wxUSE_DEBUGREPORT" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5099 else
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5102 fi
5103
5104
5105 enablestring=
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5108 no_cache=0
5109 # Check whether --enable-dialupman or --disable-dialupman was given.
5110 if test "${enable_dialupman+set}" = set; then
5111 enableval="$enable_dialupman"
5112
5113 if test "$enableval" = yes; then
5114 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5115 else
5116 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5117 fi
5118
5119 else
5120
5121 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x ; then
5123 eval "DEFAULT_$LINE"
5124 else
5125 no_cache=1
5126 fi
5127
5128 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5129
5130 fi;
5131
5132 eval "$ac_cv_use_dialupman"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5135 fi
5136
5137 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5143 fi
5144
5145
5146 enablestring=
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5149 no_cache=0
5150 # Check whether --enable-dynlib or --disable-dynlib was given.
5151 if test "${enable_dynlib+set}" = set; then
5152 enableval="$enable_dynlib"
5153
5154 if test "$enableval" = yes; then
5155 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5156 else
5157 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5158 fi
5159
5160 else
5161
5162 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x ; then
5164 eval "DEFAULT_$LINE"
5165 else
5166 no_cache=1
5167 fi
5168
5169 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5170
5171 fi;
5172
5173 eval "$ac_cv_use_dynlib"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5176 fi
5177
5178 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5181 else
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5184 fi
5185
5186
5187 enablestring=
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5190 no_cache=0
5191 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5192 if test "${enable_dynamicloader+set}" = set; then
5193 enableval="$enable_dynamicloader"
5194
5195 if test "$enableval" = yes; then
5196 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5197 else
5198 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5199 fi
5200
5201 else
5202
5203 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x ; then
5205 eval "DEFAULT_$LINE"
5206 else
5207 no_cache=1
5208 fi
5209
5210 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5211
5212 fi;
5213
5214 eval "$ac_cv_use_dynamicloader"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5222 else
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5225 fi
5226
5227
5228 enablestring=
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5231 no_cache=0
5232 # Check whether --enable-exceptions or --disable-exceptions was given.
5233 if test "${enable_exceptions+set}" = set; then
5234 enableval="$enable_exceptions"
5235
5236 if test "$enableval" = yes; then
5237 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5238 else
5239 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5240 fi
5241
5242 else
5243
5244 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 else
5248 no_cache=1
5249 fi
5250
5251 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5252
5253 fi;
5254
5255 eval "$ac_cv_use_exceptions"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5258 fi
5259
5260 if test "$wxUSE_EXCEPTIONS" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5263 else
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5266 fi
5267
5268
5269 enablestring=
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5272 no_cache=0
5273 # Check whether --enable-ffile or --disable-ffile was given.
5274 if test "${enable_ffile+set}" = set; then
5275 enableval="$enable_ffile"
5276
5277 if test "$enableval" = yes; then
5278 ac_cv_use_ffile='wxUSE_FFILE=yes'
5279 else
5280 ac_cv_use_ffile='wxUSE_FFILE=no'
5281 fi
5282
5283 else
5284
5285 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5288 else
5289 no_cache=1
5290 fi
5291
5292 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5293
5294 fi;
5295
5296 eval "$ac_cv_use_ffile"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5299 fi
5300
5301 if test "$wxUSE_FFILE" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5304 else
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5307 fi
5308
5309
5310 enablestring=
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5313 no_cache=0
5314 # Check whether --enable-file or --disable-file was given.
5315 if test "${enable_file+set}" = set; then
5316 enableval="$enable_file"
5317
5318 if test "$enableval" = yes; then
5319 ac_cv_use_file='wxUSE_FILE=yes'
5320 else
5321 ac_cv_use_file='wxUSE_FILE=no'
5322 fi
5323
5324 else
5325
5326 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x ; then
5328 eval "DEFAULT_$LINE"
5329 else
5330 no_cache=1
5331 fi
5332
5333 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5334
5335 fi;
5336
5337 eval "$ac_cv_use_file"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5340 fi
5341
5342 if test "$wxUSE_FILE" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350
5351 enablestring=
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5354 no_cache=0
5355 # Check whether --enable-filesystem or --disable-filesystem was given.
5356 if test "${enable_filesystem+set}" = set; then
5357 enableval="$enable_filesystem"
5358
5359 if test "$enableval" = yes; then
5360 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5361 else
5362 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5363 fi
5364
5365 else
5366
5367 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x ; then
5369 eval "DEFAULT_$LINE"
5370 else
5371 no_cache=1
5372 fi
5373
5374 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5375
5376 fi;
5377
5378 eval "$ac_cv_use_filesystem"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5381 fi
5382
5383 if test "$wxUSE_FILESYSTEM" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5389 fi
5390
5391
5392 enablestring=
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5395 no_cache=0
5396 # Check whether --enable-fontmap or --disable-fontmap was given.
5397 if test "${enable_fontmap+set}" = set; then
5398 enableval="$enable_fontmap"
5399
5400 if test "$enableval" = yes; then
5401 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5402 else
5403 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5404 fi
5405
5406 else
5407
5408 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5411 else
5412 no_cache=1
5413 fi
5414
5415 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5416
5417 fi;
5418
5419 eval "$ac_cv_use_fontmap"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5422 fi
5423
5424 if test "$wxUSE_FONTMAP" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5427 else
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5430 fi
5431
5432
5433 enablestring=
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5436 no_cache=0
5437 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5438 if test "${enable_fs_inet+set}" = set; then
5439 enableval="$enable_fs_inet"
5440
5441 if test "$enableval" = yes; then
5442 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5443 else
5444 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5445 fi
5446
5447 else
5448
5449 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 else
5453 no_cache=1
5454 fi
5455
5456 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5457
5458 fi;
5459
5460 eval "$ac_cv_use_fs_inet"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5463 fi
5464
5465 if test "$wxUSE_FS_INET" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5468 else
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5471 fi
5472
5473
5474 enablestring=
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5477 no_cache=0
5478 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5479 if test "${enable_fs_zip+set}" = set; then
5480 enableval="$enable_fs_zip"
5481
5482 if test "$enableval" = yes; then
5483 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5484 else
5485 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5486 fi
5487
5488 else
5489
5490 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 else
5494 no_cache=1
5495 fi
5496
5497 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5498
5499 fi;
5500
5501 eval "$ac_cv_use_fs_zip"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test "$wxUSE_FS_ZIP" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5509 else
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5512 fi
5513
5514
5515 enablestring=
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5518 no_cache=0
5519 # Check whether --enable-geometry or --disable-geometry was given.
5520 if test "${enable_geometry+set}" = set; then
5521 enableval="$enable_geometry"
5522
5523 if test "$enableval" = yes; then
5524 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5525 else
5526 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5527 fi
5528
5529 else
5530
5531 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 else
5535 no_cache=1
5536 fi
5537
5538 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5539
5540 fi;
5541
5542 eval "$ac_cv_use_geometry"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5545 fi
5546
5547 if test "$wxUSE_GEOMETRY" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5553 fi
5554
5555
5556 enablestring=
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5559 no_cache=0
5560 # Check whether --enable-log or --disable-log was given.
5561 if test "${enable_log+set}" = set; then
5562 enableval="$enable_log"
5563
5564 if test "$enableval" = yes; then
5565 ac_cv_use_log='wxUSE_LOG=yes'
5566 else
5567 ac_cv_use_log='wxUSE_LOG=no'
5568 fi
5569
5570 else
5571
5572 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5580
5581 fi;
5582
5583 eval "$ac_cv_use_log"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_LOG" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5591 else
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5594 fi
5595
5596
5597 enablestring=
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5600 no_cache=0
5601 # Check whether --enable-longlong or --disable-longlong was given.
5602 if test "${enable_longlong+set}" = set; then
5603 enableval="$enable_longlong"
5604
5605 if test "$enableval" = yes; then
5606 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5607 else
5608 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5609 fi
5610
5611 else
5612
5613 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5616 else
5617 no_cache=1
5618 fi
5619
5620 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5621
5622 fi;
5623
5624 eval "$ac_cv_use_longlong"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5627 fi
5628
5629 if test "$wxUSE_LONGLONG" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5632 else
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5635 fi
5636
5637
5638 enablestring=
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5641 no_cache=0
5642 # Check whether --enable-mimetype or --disable-mimetype was given.
5643 if test "${enable_mimetype+set}" = set; then
5644 enableval="$enable_mimetype"
5645
5646 if test "$enableval" = yes; then
5647 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5648 else
5649 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5650 fi
5651
5652 else
5653
5654 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5662
5663 fi;
5664
5665 eval "$ac_cv_use_mimetype"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5668 fi
5669
5670 if test "$wxUSE_MIMETYPE" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5673 else
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5676 fi
5677
5678
5679 enablestring=
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5682 no_cache=0
5683 # Check whether --enable-mslu or --disable-mslu was given.
5684 if test "${enable_mslu+set}" = set; then
5685 enableval="$enable_mslu"
5686
5687 if test "$enableval" = yes; then
5688 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5689 else
5690 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5691 fi
5692
5693 else
5694
5695 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 else
5699 no_cache=1
5700 fi
5701
5702 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5703
5704 fi;
5705
5706 eval "$ac_cv_use_mslu"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5709 fi
5710
5711 if test "$wxUSE_UNICODE_MSLU" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5717 fi
5718
5719
5720 enablestring=
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5723 no_cache=0
5724 # Check whether --enable-snglinst or --disable-snglinst was given.
5725 if test "${enable_snglinst+set}" = set; then
5726 enableval="$enable_snglinst"
5727
5728 if test "$enableval" = yes; then
5729 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5730 else
5731 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5744
5745 fi;
5746
5747 eval "$ac_cv_use_snglinst"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5750 fi
5751
5752 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5755 else
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5758 fi
5759
5760
5761 enablestring=
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5764 no_cache=0
5765 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5766 if test "${enable_std_iostreams+set}" = set; then
5767 enableval="$enable_std_iostreams"
5768
5769 if test "$enableval" = yes; then
5770 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5771 else
5772 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5773 fi
5774
5775 else
5776
5777 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x ; then
5779 eval "DEFAULT_$LINE"
5780 else
5781 no_cache=1
5782 fi
5783
5784 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5785
5786 fi;
5787
5788 eval "$ac_cv_use_std_iostreams"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5791 fi
5792
5793 if test "$wxUSE_STD_IOSTREAM" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5796 else
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5799 fi
5800
5801
5802 enablestring=
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5805 no_cache=0
5806 # Check whether --enable-std_string or --disable-std_string was given.
5807 if test "${enable_std_string+set}" = set; then
5808 enableval="$enable_std_string"
5809
5810 if test "$enableval" = yes; then
5811 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5812 else
5813 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5814 fi
5815
5816 else
5817
5818 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x ; then
5820 eval "DEFAULT_$LINE"
5821 else
5822 no_cache=1
5823 fi
5824
5825 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5826
5827 fi;
5828
5829 eval "$ac_cv_use_std_string"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5832 fi
5833
5834 if test "$wxUSE_STD_STRING" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5837 else
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5840 fi
5841
5842
5843 enablestring=
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5846 no_cache=0
5847 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5848 if test "${enable_stdpaths+set}" = set; then
5849 enableval="$enable_stdpaths"
5850
5851 if test "$enableval" = yes; then
5852 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5853 else
5854 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5855 fi
5856
5857 else
5858
5859 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 else
5863 no_cache=1
5864 fi
5865
5866 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5867
5868 fi;
5869
5870 eval "$ac_cv_use_stdpaths"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5873 fi
5874
5875 if test "$wxUSE_STDPATHS" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5878 else
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5881 fi
5882
5883
5884 enablestring=
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5887 no_cache=0
5888 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5889 if test "${enable_stopwatch+set}" = set; then
5890 enableval="$enable_stopwatch"
5891
5892 if test "$enableval" = yes; then
5893 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5894 else
5895 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5896 fi
5897
5898 else
5899
5900 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x ; then
5902 eval "DEFAULT_$LINE"
5903 else
5904 no_cache=1
5905 fi
5906
5907 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5908
5909 fi;
5910
5911 eval "$ac_cv_use_stopwatch"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5914 fi
5915
5916 if test "$wxUSE_STOPWATCH" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5919 else
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5922 fi
5923
5924
5925 enablestring=
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5928 no_cache=0
5929 # Check whether --enable-streams or --disable-streams was given.
5930 if test "${enable_streams+set}" = set; then
5931 enableval="$enable_streams"
5932
5933 if test "$enableval" = yes; then
5934 ac_cv_use_streams='wxUSE_STREAMS=yes'
5935 else
5936 ac_cv_use_streams='wxUSE_STREAMS=no'
5937 fi
5938
5939 else
5940
5941 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x ; then
5943 eval "DEFAULT_$LINE"
5944 else
5945 no_cache=1
5946 fi
5947
5948 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5949
5950 fi;
5951
5952 eval "$ac_cv_use_streams"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_STREAMS" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5960 else
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5963 fi
5964
5965
5966 enablestring=
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5969 no_cache=0
5970 # Check whether --enable-system_options or --disable-system_options was given.
5971 if test "${enable_system_options+set}" = set; then
5972 enableval="$enable_system_options"
5973
5974 if test "$enableval" = yes; then
5975 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5976 else
5977 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5978 fi
5979
5980 else
5981
5982 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5985 else
5986 no_cache=1
5987 fi
5988
5989 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5990
5991 fi;
5992
5993 eval "$ac_cv_use_system_options"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5996 fi
5997
5998 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6004 fi
6005
6006
6007 enablestring=
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6010 no_cache=0
6011 # Check whether --enable-textbuf or --disable-textbuf was given.
6012 if test "${enable_textbuf+set}" = set; then
6013 enableval="$enable_textbuf"
6014
6015 if test "$enableval" = yes; then
6016 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6017 else
6018 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6019 fi
6020
6021 else
6022
6023 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 else
6027 no_cache=1
6028 fi
6029
6030 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6031
6032 fi;
6033
6034 eval "$ac_cv_use_textbuf"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_TEXTBUFFER" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047
6048 enablestring=
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6051 no_cache=0
6052 # Check whether --enable-textfile or --disable-textfile was given.
6053 if test "${enable_textfile+set}" = set; then
6054 enableval="$enable_textfile"
6055
6056 if test "$enableval" = yes; then
6057 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6058 else
6059 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6060 fi
6061
6062 else
6063
6064 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x ; then
6066 eval "DEFAULT_$LINE"
6067 else
6068 no_cache=1
6069 fi
6070
6071 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6072
6073 fi;
6074
6075 eval "$ac_cv_use_textfile"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test "$wxUSE_TEXTFILE" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6083 else
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6086 fi
6087
6088
6089 enablestring=
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6092 no_cache=0
6093 # Check whether --enable-timer or --disable-timer was given.
6094 if test "${enable_timer+set}" = set; then
6095 enableval="$enable_timer"
6096
6097 if test "$enableval" = yes; then
6098 ac_cv_use_timer='wxUSE_TIMER=yes'
6099 else
6100 ac_cv_use_timer='wxUSE_TIMER=no'
6101 fi
6102
6103 else
6104
6105 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x ; then
6107 eval "DEFAULT_$LINE"
6108 else
6109 no_cache=1
6110 fi
6111
6112 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6113
6114 fi;
6115
6116 eval "$ac_cv_use_timer"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6119 fi
6120
6121 if test "$wxUSE_TIMER" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6124 else
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6127 fi
6128
6129
6130 enablestring=
6131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6132 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6133 no_cache=0
6134 # Check whether --enable-unicode or --disable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then
6136 enableval="$enable_unicode"
6137
6138 if test "$enableval" = yes; then
6139 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6140 else
6141 ac_cv_use_unicode='wxUSE_UNICODE=no'
6142 fi
6143
6144 else
6145
6146 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6147 if test "x$LINE" != x ; then
6148 eval "DEFAULT_$LINE"
6149 else
6150 no_cache=1
6151 fi
6152
6153 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6154
6155 fi;
6156
6157 eval "$ac_cv_use_unicode"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6160 fi
6161
6162 if test "$wxUSE_UNICODE" = yes; then
6163 echo "$as_me:$LINENO: result: yes" >&5
6164 echo "${ECHO_T}yes" >&6
6165 else
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6168 fi
6169
6170
6171 enablestring=
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6174 no_cache=0
6175 # Check whether --enable-sound or --disable-sound was given.
6176 if test "${enable_sound+set}" = set; then
6177 enableval="$enable_sound"
6178
6179 if test "$enableval" = yes; then
6180 ac_cv_use_sound='wxUSE_SOUND=yes'
6181 else
6182 ac_cv_use_sound='wxUSE_SOUND=no'
6183 fi
6184
6185 else
6186
6187 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6190 else
6191 no_cache=1
6192 fi
6193
6194 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6195
6196 fi;
6197
6198 eval "$ac_cv_use_sound"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6201 fi
6202
6203 if test "$wxUSE_SOUND" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6206 else
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6209 fi
6210
6211
6212 enablestring=
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6215 no_cache=0
6216 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6217 if test "${enable_mediactrl+set}" = set; then
6218 enableval="$enable_mediactrl"
6219
6220 if test "$enableval" = yes; then
6221 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6222 else
6223 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6224 fi
6225
6226 else
6227
6228 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x ; then
6230 eval "DEFAULT_$LINE"
6231 else
6232 no_cache=1
6233 fi
6234
6235 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6236
6237 fi;
6238
6239 eval "$ac_cv_use_mediactrl"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6242 fi
6243
6244 if test "$wxUSE_MEDIACTRL" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6247 else
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6250 fi
6251
6252
6253 enablestring=
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6256 no_cache=0
6257 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6258 if test "${enable_gstreamer8+set}" = set; then
6259 enableval="$enable_gstreamer8"
6260
6261 if test "$enableval" = yes; then
6262 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6263 else
6264 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6265 fi
6266
6267 else
6268
6269 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x ; then
6271 eval "DEFAULT_$LINE"
6272 else
6273 no_cache=1
6274 fi
6275
6276 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6277
6278 fi;
6279
6280 eval "$ac_cv_use_gstreamer8"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6283 fi
6284
6285 if test "$wxUSE_GSTREAMER8" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6288 else
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6291 fi
6292
6293
6294 enablestring=
6295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6297 no_cache=0
6298 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6299 if test "${enable_wxprintfv+set}" = set; then
6300 enableval="$enable_wxprintfv"
6301
6302 if test "$enableval" = yes; then
6303 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6304 else
6305 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6306 fi
6307
6308 else
6309
6310 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x ; then
6312 eval "DEFAULT_$LINE"
6313 else
6314 no_cache=1
6315 fi
6316
6317 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6318
6319 fi;
6320
6321 eval "$ac_cv_use_wxprintfv"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6324 fi
6325
6326 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6327 echo "$as_me:$LINENO: result: yes" >&5
6328 echo "${ECHO_T}yes" >&6
6329 else
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6332 fi
6333
6334
6335 enablestring=
6336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6338 no_cache=0
6339 # Check whether --enable-zipstream or --disable-zipstream was given.
6340 if test "${enable_zipstream+set}" = set; then
6341 enableval="$enable_zipstream"
6342
6343 if test "$enableval" = yes; then
6344 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6345 else
6346 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6347 fi
6348
6349 else
6350
6351 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x ; then
6353 eval "DEFAULT_$LINE"
6354 else
6355 no_cache=1
6356 fi
6357
6358 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6359
6360 fi;
6361
6362 eval "$ac_cv_use_zipstream"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6365 fi
6366
6367 if test "$wxUSE_ZIPSTREAM" = yes; then
6368 echo "$as_me:$LINENO: result: yes" >&5
6369 echo "${ECHO_T}yes" >&6
6370 else
6371 echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6
6373 fi
6374
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-url or --disable-url was given.
6382 if test "${enable_url+set}" = set; then
6383 enableval="$enable_url"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_url='wxUSE_URL=yes'
6387 else
6388 ac_cv_use_url='wxUSE_URL=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6401
6402 fi;
6403
6404 eval "$ac_cv_use_url"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_URL" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 enablestring=
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-protocol or --disable-protocol was given.
6423 if test "${enable_protocol+set}" = set; then
6424 enableval="$enable_protocol"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6428 else
6429 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6442
6443 fi;
6444
6445 eval "$ac_cv_use_protocol"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_PROTOCOL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6453 else
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6456 fi
6457
6458
6459 enablestring=
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6464 if test "${enable_protocol_http+set}" = set; then
6465 enableval="$enable_protocol_http"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6469 else
6470 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6478 else
6479 no_cache=1
6480 fi
6481
6482 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6483
6484 fi;
6485
6486 eval "$ac_cv_use_protocol_http"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6494 else
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6497 fi
6498
6499
6500 enablestring=
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6503 no_cache=0
6504 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6505 if test "${enable_protocol_ftp+set}" = set; then
6506 enableval="$enable_protocol_ftp"
6507
6508 if test "$enableval" = yes; then
6509 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6510 else
6511 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6512 fi
6513
6514 else
6515
6516 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6519 else
6520 no_cache=1
6521 fi
6522
6523 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6524
6525 fi;
6526
6527 eval "$ac_cv_use_protocol_ftp"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6530 fi
6531
6532 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6535 else
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6538 fi
6539
6540
6541 enablestring=
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6544 no_cache=0
6545 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6546 if test "${enable_protocol_file+set}" = set; then
6547 enableval="$enable_protocol_file"
6548
6549 if test "$enableval" = yes; then
6550 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6551 else
6552 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6553 fi
6554
6555 else
6556
6557 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x ; then
6559 eval "DEFAULT_$LINE"
6560 else
6561 no_cache=1
6562 fi
6563
6564 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6565
6566 fi;
6567
6568 eval "$ac_cv_use_protocol_file"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6576 else
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6579 fi
6580
6581
6582
6583
6584
6585 enablestring=
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6588 no_cache=0
6589 # Check whether --enable-threads or --disable-threads was given.
6590 if test "${enable_threads+set}" = set; then
6591 enableval="$enable_threads"
6592
6593 if test "$enableval" = yes; then
6594 ac_cv_use_threads='wxUSE_THREADS=yes'
6595 else
6596 ac_cv_use_threads='wxUSE_THREADS=no'
6597 fi
6598
6599 else
6600
6601 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x ; then
6603 eval "DEFAULT_$LINE"
6604 else
6605 no_cache=1
6606 fi
6607
6608 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6609
6610 fi;
6611
6612 eval "$ac_cv_use_threads"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6615 fi
6616
6617 if test "$wxUSE_THREADS" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6620 else
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6623 fi
6624
6625
6626 if test "$wxUSE_GUI" = "yes"; then
6627
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-docview or --disable-docview was given.
6635 if test "${enable_docview+set}" = set; then
6636 enableval="$enable_docview"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6640 else
6641 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6654
6655 fi;
6656
6657 eval "$ac_cv_use_docview"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-help or --disable-help was given.
6676 if test "${enable_help+set}" = set; then
6677 enableval="$enable_help"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_help='wxUSE_HELP=yes'
6681 else
6682 ac_cv_use_help='wxUSE_HELP=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6695
6696 fi;
6697
6698 eval "$ac_cv_use_help"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_HELP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6717 if test "${enable_mshtmlhelp+set}" = set; then
6718 enableval="$enable_mshtmlhelp"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6722 else
6723 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6736
6737 fi;
6738
6739 eval "$ac_cv_use_mshtmlhelp"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_MS_HTML_HELP" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-html or --disable-html was given.
6758 if test "${enable_html+set}" = set; then
6759 enableval="$enable_html"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_html='wxUSE_HTML=yes'
6763 else
6764 ac_cv_use_html='wxUSE_HTML=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6777
6778 fi;
6779
6780 eval "$ac_cv_use_html"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_HTML" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6799 if test "${enable_htmlhelp+set}" = set; then
6800 enableval="$enable_htmlhelp"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6804 else
6805 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6818
6819 fi;
6820
6821 eval "$ac_cv_use_htmlhelp"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_WXHTML_HELP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-xrc or --disable-xrc was given.
6840 if test "${enable_xrc+set}" = set; then
6841 enableval="$enable_xrc"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_xrc='wxUSE_XRC=yes'
6845 else
6846 ac_cv_use_xrc='wxUSE_XRC=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6859
6860 fi;
6861
6862 eval "$ac_cv_use_xrc"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_XRC" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-constraints or --disable-constraints was given.
6881 if test "${enable_constraints+set}" = set; then
6882 enableval="$enable_constraints"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6886 else
6887 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6900
6901 fi;
6902
6903 eval "$ac_cv_use_constraints"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_CONSTRAINTS" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917 enablestring=
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6920 no_cache=0
6921 # Check whether --enable-printarch or --disable-printarch was given.
6922 if test "${enable_printarch+set}" = set; then
6923 enableval="$enable_printarch"
6924
6925 if test "$enableval" = yes; then
6926 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6927 else
6928 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6929 fi
6930
6931 else
6932
6933 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6936 else
6937 no_cache=1
6938 fi
6939
6940 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6941
6942 fi;
6943
6944 eval "$ac_cv_use_printarch"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6952 else
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6955 fi
6956
6957
6958 enablestring=
6959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6961 no_cache=0
6962 # Check whether --enable-mdi or --disable-mdi was given.
6963 if test "${enable_mdi+set}" = set; then
6964 enableval="$enable_mdi"
6965
6966 if test "$enableval" = yes; then
6967 ac_cv_use_mdi='wxUSE_MDI=yes'
6968 else
6969 ac_cv_use_mdi='wxUSE_MDI=no'
6970 fi
6971
6972 else
6973
6974 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x ; then
6976 eval "DEFAULT_$LINE"
6977 else
6978 no_cache=1
6979 fi
6980
6981 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6982
6983 fi;
6984
6985 eval "$ac_cv_use_mdi"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6988 fi
6989
6990 if test "$wxUSE_MDI" = yes; then
6991 echo "$as_me:$LINENO: result: yes" >&5
6992 echo "${ECHO_T}yes" >&6
6993 else
6994 echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6
6996 fi
6997
6998
6999 enablestring=
7000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7002 no_cache=0
7003 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7004 if test "${enable_mdidoc+set}" = set; then
7005 enableval="$enable_mdidoc"
7006
7007 if test "$enableval" = yes; then
7008 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7009 else
7010 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7011 fi
7012
7013 else
7014
7015 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x ; then
7017 eval "DEFAULT_$LINE"
7018 else
7019 no_cache=1
7020 fi
7021
7022 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7023
7024 fi;
7025
7026 eval "$ac_cv_use_mdidoc"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7029 fi
7030
7031 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7032 echo "$as_me:$LINENO: result: yes" >&5
7033 echo "${ECHO_T}yes" >&6
7034 else
7035 echo "$as_me:$LINENO: result: no" >&5
7036 echo "${ECHO_T}no" >&6
7037 fi
7038
7039
7040 enablestring=
7041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7043 no_cache=0
7044 # Check whether --enable-loggui or --disable-loggui was given.
7045 if test "${enable_loggui+set}" = set; then
7046 enableval="$enable_loggui"
7047
7048 if test "$enableval" = yes; then
7049 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7050 else
7051 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7052 fi
7053
7054 else
7055
7056 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x ; then
7058 eval "DEFAULT_$LINE"
7059 else
7060 no_cache=1
7061 fi
7062
7063 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7064
7065 fi;
7066
7067 eval "$ac_cv_use_loggui"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7070 fi
7071
7072 if test "$wxUSE_LOGGUI" = yes; then
7073 echo "$as_me:$LINENO: result: yes" >&5
7074 echo "${ECHO_T}yes" >&6
7075 else
7076 echo "$as_me:$LINENO: result: no" >&5
7077 echo "${ECHO_T}no" >&6
7078 fi
7079
7080
7081 enablestring=
7082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7084 no_cache=0
7085 # Check whether --enable-logwin or --disable-logwin was given.
7086 if test "${enable_logwin+set}" = set; then
7087 enableval="$enable_logwin"
7088
7089 if test "$enableval" = yes; then
7090 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7091 else
7092 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7093 fi
7094
7095 else
7096
7097 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7098 if test "x$LINE" != x ; then
7099 eval "DEFAULT_$LINE"
7100 else
7101 no_cache=1
7102 fi
7103
7104 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7105
7106 fi;
7107
7108 eval "$ac_cv_use_logwin"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7111 fi
7112
7113 if test "$wxUSE_LOGWINDOW" = yes; then
7114 echo "$as_me:$LINENO: result: yes" >&5
7115 echo "${ECHO_T}yes" >&6
7116 else
7117 echo "$as_me:$LINENO: result: no" >&5
7118 echo "${ECHO_T}no" >&6
7119 fi
7120
7121
7122 enablestring=
7123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7125 no_cache=0
7126 # Check whether --enable-logdialog or --disable-logdialog was given.
7127 if test "${enable_logdialog+set}" = set; then
7128 enableval="$enable_logdialog"
7129
7130 if test "$enableval" = yes; then
7131 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7132 else
7133 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7134 fi
7135
7136 else
7137
7138 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x ; then
7140 eval "DEFAULT_$LINE"
7141 else
7142 no_cache=1
7143 fi
7144
7145 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7146
7147 fi;
7148
7149 eval "$ac_cv_use_logdialog"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7152 fi
7153
7154 if test "$wxUSE_LOGDIALOG" = yes; then
7155 echo "$as_me:$LINENO: result: yes" >&5
7156 echo "${ECHO_T}yes" >&6
7157 else
7158 echo "$as_me:$LINENO: result: no" >&5
7159 echo "${ECHO_T}no" >&6
7160 fi
7161
7162
7163 enablestring=
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7166 no_cache=0
7167 # Check whether --enable-webkit or --disable-webkit was given.
7168 if test "${enable_webkit+set}" = set; then
7169 enableval="$enable_webkit"
7170
7171 if test "$enableval" = yes; then
7172 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7173 else
7174 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7175 fi
7176
7177 else
7178
7179 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x ; then
7181 eval "DEFAULT_$LINE"
7182 else
7183 no_cache=1
7184 fi
7185
7186 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7187
7188 fi;
7189
7190 eval "$ac_cv_use_webkit"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7193 fi
7194
7195 if test "$wxUSE_WEBKIT" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7198 else
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7201 fi
7202
7203
7204 enablestring=
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7207 no_cache=0
7208 # Check whether --enable-html or --disable-html was given.
7209 if test "${enable_html+set}" = set; then
7210 enableval="$enable_html"
7211
7212 if test "$enableval" = yes; then
7213 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7214 else
7215 ac_cv_use_html='wxUSE_RICHTEXT=no'
7216 fi
7217
7218 else
7219
7220 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x ; then
7222 eval "DEFAULT_$LINE"
7223 else
7224 no_cache=1
7225 fi
7226
7227 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7228
7229 fi;
7230
7231 eval "$ac_cv_use_html"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7234 fi
7235
7236 if test "$wxUSE_RICHTEXT" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7239 else
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7242 fi
7243
7244
7245
7246 enablestring=
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7249 no_cache=0
7250 # Check whether --enable-postscript or --disable-postscript was given.
7251 if test "${enable_postscript+set}" = set; then
7252 enableval="$enable_postscript"
7253
7254 if test "$enableval" = yes; then
7255 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7256 else
7257 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7258 fi
7259
7260 else
7261
7262 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x ; then
7264 eval "DEFAULT_$LINE"
7265 else
7266 no_cache=1
7267 fi
7268
7269 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7270
7271 fi;
7272
7273 eval "$ac_cv_use_postscript"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test "$wxUSE_POSTSCRIPT" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7281 else
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7284 fi
7285
7286
7287
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-prologio or --disable-prologio was given.
7295 if test "${enable_prologio+set}" = set; then
7296 enableval="$enable_prologio"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7300 else
7301 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7314
7315 fi;
7316
7317 eval "$ac_cv_use_prologio"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_PROLOGIO" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-resources or --disable-resources was given.
7336 if test "${enable_resources+set}" = set; then
7337 enableval="$enable_resources"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7341 else
7342 ac_cv_use_resources='wxUSE_RESOURCES=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7355
7356 fi;
7357
7358 eval "$ac_cv_use_resources"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_RESOURCES" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372
7373
7374 enablestring=
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7377 no_cache=0
7378 # Check whether --enable-clipboard or --disable-clipboard was given.
7379 if test "${enable_clipboard+set}" = set; then
7380 enableval="$enable_clipboard"
7381
7382 if test "$enableval" = yes; then
7383 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7384 else
7385 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7386 fi
7387
7388 else
7389
7390 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x ; then
7392 eval "DEFAULT_$LINE"
7393 else
7394 no_cache=1
7395 fi
7396
7397 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7398
7399 fi;
7400
7401 eval "$ac_cv_use_clipboard"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7404 fi
7405
7406 if test "$wxUSE_CLIPBOARD" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7409 else
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7412 fi
7413
7414
7415 enablestring=
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7418 no_cache=0
7419 # Check whether --enable-dnd or --disable-dnd was given.
7420 if test "${enable_dnd+set}" = set; then
7421 enableval="$enable_dnd"
7422
7423 if test "$enableval" = yes; then
7424 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7425 else
7426 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7427 fi
7428
7429 else
7430
7431 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x ; then
7433 eval "DEFAULT_$LINE"
7434 else
7435 no_cache=1
7436 fi
7437
7438 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7439
7440 fi;
7441
7442 eval "$ac_cv_use_dnd"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7450 else
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7453 fi
7454
7455
7456 enablestring=
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7459 no_cache=0
7460 # Check whether --enable-metafile or --disable-metafile was given.
7461 if test "${enable_metafile+set}" = set; then
7462 enableval="$enable_metafile"
7463
7464 if test "$enableval" = yes; then
7465 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7466 else
7467 ac_cv_use_metafile='wxUSE_METAFILE=no'
7468 fi
7469
7470 else
7471
7472 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x ; then
7474 eval "DEFAULT_$LINE"
7475 else
7476 no_cache=1
7477 fi
7478
7479 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7480
7481 fi;
7482
7483 eval "$ac_cv_use_metafile"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7486 fi
7487
7488 if test "$wxUSE_METAFILE" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7491 else
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7494 fi
7495
7496
7497
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-controls or --disable-controls was given.
7505 if test "${enable_controls+set}" = set; then
7506 enableval="$enable_controls"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7510 else
7511 ac_cv_use_controls='wxUSE_CONTROLS=no'
7512 fi
7513
7514 else
7515
7516 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7524
7525 fi;
7526
7527 eval "$ac_cv_use_controls"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_CONTROLS" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 if test "$wxUSE_CONTROLS" = "yes"; then
7542 DEFAULT_wxUSE_ACCEL=yes
7543 DEFAULT_wxUSE_BMPBUTTON=yes
7544 DEFAULT_wxUSE_BUTTON=yes
7545 DEFAULT_wxUSE_CALCTRL=yes
7546 DEFAULT_wxUSE_CARET=yes
7547 DEFAULT_wxUSE_COMBOBOX=yes
7548 DEFAULT_wxUSE_CHECKBOX=yes
7549 DEFAULT_wxUSE_CHECKLISTBOX=yes
7550 DEFAULT_wxUSE_CHOICE=yes
7551 DEFAULT_wxUSE_CHOICEBOOK=yes
7552 DEFAULT_wxUSE_DATEPICKCTRL=yes
7553 DEFAULT_wxUSE_GAUGE=yes
7554 DEFAULT_wxUSE_GRID=yes
7555 DEFAULT_wxUSE_DATAVIEWCTRL=no
7556 DEFAULT_wxUSE_IMAGLIST=yes
7557 DEFAULT_wxUSE_LISTBOOK=yes
7558 DEFAULT_wxUSE_LISTBOX=yes
7559 DEFAULT_wxUSE_LISTCTRL=yes
7560 DEFAULT_wxUSE_NOTEBOOK=yes
7561 DEFAULT_wxUSE_RADIOBOX=yes
7562 DEFAULT_wxUSE_RADIOBTN=yes
7563 DEFAULT_wxUSE_SASH=yes
7564 DEFAULT_wxUSE_SCROLLBAR=yes
7565 DEFAULT_wxUSE_SLIDER=yes
7566 DEFAULT_wxUSE_SPINBTN=yes
7567 DEFAULT_wxUSE_SPINCTRL=yes
7568 DEFAULT_wxUSE_SPLITTER=yes
7569 DEFAULT_wxUSE_STATBMP=yes
7570 DEFAULT_wxUSE_STATBOX=yes
7571 DEFAULT_wxUSE_STATLINE=yes
7572 DEFAULT_wxUSE_STATUSBAR=yes
7573 DEFAULT_wxUSE_TAB_DIALOG=yes
7574 DEFAULT_wxUSE_TOGGLEBTN=yes
7575 DEFAULT_wxUSE_TOOLBAR=yes
7576 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7577 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7578 DEFAULT_wxUSE_TOOLTIPS=yes
7579 DEFAULT_wxUSE_TREEBOOK=yes
7580 DEFAULT_wxUSE_TOOLBOOK=yes
7581 DEFAULT_wxUSE_TREECTRL=yes
7582 DEFAULT_wxUSE_POPUPWIN=yes
7583 DEFAULT_wxUSE_TIPWINDOW=yes
7584 elif test "$wxUSE_CONTROLS" = "no"; then
7585 DEFAULT_wxUSE_ACCEL=no
7586 DEFAULT_wxUSE_BMPBUTTON=no
7587 DEFAULT_wxUSE_BUTTON=no
7588 DEFAULT_wxUSE_CALCTRL=no
7589 DEFAULT_wxUSE_CARET=no
7590 DEFAULT_wxUSE_COMBOBOX=no
7591 DEFAULT_wxUSE_CHECKBOX=no
7592 DEFAULT_wxUSE_CHECKLISTBOX=no
7593 DEFAULT_wxUSE_CHOICE=no
7594 DEFAULT_wxUSE_CHOICEBOOK=no
7595 DEFAULT_wxUSE_DATEPICKCTRL=no
7596 DEFAULT_wxUSE_GAUGE=no
7597 DEFAULT_wxUSE_GRID=no
7598 DEFAULT_wxUSE_DATAVIEWCTRL=no
7599 DEFAULT_wxUSE_IMAGLIST=no
7600 DEFAULT_wxUSE_LISTBOOK=no
7601 DEFAULT_wxUSE_LISTBOX=no
7602 DEFAULT_wxUSE_LISTCTRL=no
7603 DEFAULT_wxUSE_NOTEBOOK=no
7604 DEFAULT_wxUSE_RADIOBOX=no
7605 DEFAULT_wxUSE_RADIOBTN=no
7606 DEFAULT_wxUSE_SASH=no
7607 DEFAULT_wxUSE_SCROLLBAR=no
7608 DEFAULT_wxUSE_SLIDER=no
7609 DEFAULT_wxUSE_SPINBTN=no
7610 DEFAULT_wxUSE_SPINCTRL=no
7611 DEFAULT_wxUSE_SPLITTER=no
7612 DEFAULT_wxUSE_STATBMP=no
7613 DEFAULT_wxUSE_STATBOX=no
7614 DEFAULT_wxUSE_STATLINE=no
7615 DEFAULT_wxUSE_STATUSBAR=no
7616 DEFAULT_wxUSE_TAB_DIALOG=no
7617 DEFAULT_wxUSE_TOGGLEBTN=no
7618 DEFAULT_wxUSE_TOOLBAR=no
7619 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7620 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7621 DEFAULT_wxUSE_TOOLTIPS=no
7622 DEFAULT_wxUSE_TREEBOOK=no
7623 DEFAULT_wxUSE_TOOLBOOK=no
7624 DEFAULT_wxUSE_TREECTRL=no
7625 DEFAULT_wxUSE_POPUPWIN=no
7626 DEFAULT_wxUSE_TIPWINDOW=no
7627 fi
7628
7629
7630 enablestring=
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7633 no_cache=0
7634 # Check whether --enable-accel or --disable-accel was given.
7635 if test "${enable_accel+set}" = set; then
7636 enableval="$enable_accel"
7637
7638 if test "$enableval" = yes; then
7639 ac_cv_use_accel='wxUSE_ACCEL=yes'
7640 else
7641 ac_cv_use_accel='wxUSE_ACCEL=no'
7642 fi
7643
7644 else
7645
7646 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x ; then
7648 eval "DEFAULT_$LINE"
7649 else
7650 no_cache=1
7651 fi
7652
7653 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7654
7655 fi;
7656
7657 eval "$ac_cv_use_accel"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7660 fi
7661
7662 if test "$wxUSE_ACCEL" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7665 else
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7668 fi
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-button or --disable-button was given.
7676 if test "${enable_button+set}" = set; then
7677 enableval="$enable_button"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_button='wxUSE_BUTTON=yes'
7681 else
7682 ac_cv_use_button='wxUSE_BUTTON=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_BUTTON" ${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_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7695
7696 fi;
7697
7698 eval "$ac_cv_use_button"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_BUTTON" = 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}-bmpbutton" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7717 if test "${enable_bmpbutton+set}" = set; then
7718 enableval="$enable_bmpbutton"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7722 else
7723 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_BMPBUTTON" ${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_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7736
7737 fi;
7738
7739 eval "$ac_cv_use_bmpbutton"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_BMPBUTTON" = 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 enablestring=
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7756 no_cache=0
7757 # Check whether --enable-calendar or --disable-calendar was given.
7758 if test "${enable_calendar+set}" = set; then
7759 enableval="$enable_calendar"
7760
7761 if test "$enableval" = yes; then
7762 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7763 else
7764 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7765 fi
7766
7767 else
7768
7769 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x ; then
7771 eval "DEFAULT_$LINE"
7772 else
7773 no_cache=1
7774 fi
7775
7776 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7777
7778 fi;
7779
7780 eval "$ac_cv_use_calendar"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7783 fi
7784
7785 if test "$wxUSE_CALCTRL" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7788 else
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7791 fi
7792
7793
7794 enablestring=
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7797 no_cache=0
7798 # Check whether --enable-caret or --disable-caret was given.
7799 if test "${enable_caret+set}" = set; then
7800 enableval="$enable_caret"
7801
7802 if test "$enableval" = yes; then
7803 ac_cv_use_caret='wxUSE_CARET=yes'
7804 else
7805 ac_cv_use_caret='wxUSE_CARET=no'
7806 fi
7807
7808 else
7809
7810 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7813 else
7814 no_cache=1
7815 fi
7816
7817 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7818
7819 fi;
7820
7821 eval "$ac_cv_use_caret"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7824 fi
7825
7826 if test "$wxUSE_CARET" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7829 else
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7832 fi
7833
7834
7835 enablestring=
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7838 no_cache=0
7839 # Check whether --enable-checkbox or --disable-checkbox was given.
7840 if test "${enable_checkbox+set}" = set; then
7841 enableval="$enable_checkbox"
7842
7843 if test "$enableval" = yes; then
7844 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7845 else
7846 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7847 fi
7848
7849 else
7850
7851 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7854 else
7855 no_cache=1
7856 fi
7857
7858 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7859
7860 fi;
7861
7862 eval "$ac_cv_use_checkbox"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7865 fi
7866
7867 if test "$wxUSE_CHECKBOX" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7870 else
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7873 fi
7874
7875
7876 enablestring=
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7879 no_cache=0
7880 # Check whether --enable-checklst or --disable-checklst was given.
7881 if test "${enable_checklst+set}" = set; then
7882 enableval="$enable_checklst"
7883
7884 if test "$enableval" = yes; then
7885 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7886 else
7887 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7888 fi
7889
7890 else
7891
7892 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x ; then
7894 eval "DEFAULT_$LINE"
7895 else
7896 no_cache=1
7897 fi
7898
7899 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7900
7901 fi;
7902
7903 eval "$ac_cv_use_checklst"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7906 fi
7907
7908 if test "$wxUSE_CHECKLST" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7911 else
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7914 fi
7915
7916
7917 enablestring=
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7920 no_cache=0
7921 # Check whether --enable-choice or --disable-choice was given.
7922 if test "${enable_choice+set}" = set; then
7923 enableval="$enable_choice"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_choice='wxUSE_CHOICE=yes'
7927 else
7928 ac_cv_use_choice='wxUSE_CHOICE=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7941
7942 fi;
7943
7944 eval "$ac_cv_use_choice"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test "$wxUSE_CHOICE" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7952 else
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7955 fi
7956
7957
7958 enablestring=
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7961 no_cache=0
7962 # Check whether --enable-choicebook or --disable-choicebook was given.
7963 if test "${enable_choicebook+set}" = set; then
7964 enableval="$enable_choicebook"
7965
7966 if test "$enableval" = yes; then
7967 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7968 else
7969 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7970 fi
7971
7972 else
7973
7974 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7977 else
7978 no_cache=1
7979 fi
7980
7981 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7982
7983 fi;
7984
7985 eval "$ac_cv_use_choicebook"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7988 fi
7989
7990 if test "$wxUSE_CHOICEBOOK" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7993 else
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
7996 fi
7997
7998
7999 enablestring=
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8002 no_cache=0
8003 # Check whether --enable-combobox or --disable-combobox was given.
8004 if test "${enable_combobox+set}" = set; then
8005 enableval="$enable_combobox"
8006
8007 if test "$enableval" = yes; then
8008 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8009 else
8010 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8011 fi
8012
8013 else
8014
8015 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x ; then
8017 eval "DEFAULT_$LINE"
8018 else
8019 no_cache=1
8020 fi
8021
8022 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8023
8024 fi;
8025
8026 eval "$ac_cv_use_combobox"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8029 fi
8030
8031 if test "$wxUSE_COMBOBOX" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8034 else
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8037 fi
8038
8039
8040 enablestring=
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8043 no_cache=0
8044 # Check whether --enable-datepick or --disable-datepick was given.
8045 if test "${enable_datepick+set}" = set; then
8046 enableval="$enable_datepick"
8047
8048 if test "$enableval" = yes; then
8049 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8050 else
8051 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8052 fi
8053
8054 else
8055
8056 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8059 else
8060 no_cache=1
8061 fi
8062
8063 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8064
8065 fi;
8066
8067 eval "$ac_cv_use_datepick"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8070 fi
8071
8072 if test "$wxUSE_DATEPICKCTRL" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8075 else
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8078 fi
8079
8080
8081 enablestring=
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8084 no_cache=0
8085 # Check whether --enable-display or --disable-display was given.
8086 if test "${enable_display+set}" = set; then
8087 enableval="$enable_display"
8088
8089 if test "$enableval" = yes; then
8090 ac_cv_use_display='wxUSE_DISPLAY=yes'
8091 else
8092 ac_cv_use_display='wxUSE_DISPLAY=no'
8093 fi
8094
8095 else
8096
8097 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 else
8101 no_cache=1
8102 fi
8103
8104 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8105
8106 fi;
8107
8108 eval "$ac_cv_use_display"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8111 fi
8112
8113 if test "$wxUSE_DISPLAY" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8116 else
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8119 fi
8120
8121
8122 enablestring=
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8125 no_cache=0
8126 # Check whether --enable-gauge or --disable-gauge was given.
8127 if test "${enable_gauge+set}" = set; then
8128 enableval="$enable_gauge"
8129
8130 if test "$enableval" = yes; then
8131 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8132 else
8133 ac_cv_use_gauge='wxUSE_GAUGE=no'
8134 fi
8135
8136 else
8137
8138 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8141 else
8142 no_cache=1
8143 fi
8144
8145 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8146
8147 fi;
8148
8149 eval "$ac_cv_use_gauge"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8152 fi
8153
8154 if test "$wxUSE_GAUGE" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8157 else
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8160 fi
8161
8162
8163 enablestring=
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8166 no_cache=0
8167 # Check whether --enable-grid or --disable-grid was given.
8168 if test "${enable_grid+set}" = set; then
8169 enableval="$enable_grid"
8170
8171 if test "$enableval" = yes; then
8172 ac_cv_use_grid='wxUSE_GRID=yes'
8173 else
8174 ac_cv_use_grid='wxUSE_GRID=no'
8175 fi
8176
8177 else
8178
8179 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8182 else
8183 no_cache=1
8184 fi
8185
8186 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8187
8188 fi;
8189
8190 eval "$ac_cv_use_grid"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8193 fi
8194
8195 if test "$wxUSE_GRID" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8198 else
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8201 fi
8202
8203
8204 enablestring=
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8207 no_cache=0
8208 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8209 if test "${enable_dataviewctrl+set}" = set; then
8210 enableval="$enable_dataviewctrl"
8211
8212 if test "$enableval" = yes; then
8213 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8214 else
8215 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8216 fi
8217
8218 else
8219
8220 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 else
8224 no_cache=1
8225 fi
8226
8227 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8228
8229 fi;
8230
8231 eval "$ac_cv_use_dataviewctrl"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8234 fi
8235
8236 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8239 else
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8242 fi
8243
8244
8245 enablestring=
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8248 no_cache=0
8249 # Check whether --enable-imaglist or --disable-imaglist was given.
8250 if test "${enable_imaglist+set}" = set; then
8251 enableval="$enable_imaglist"
8252
8253 if test "$enableval" = yes; then
8254 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8255 else
8256 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8257 fi
8258
8259 else
8260
8261 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8264 else
8265 no_cache=1
8266 fi
8267
8268 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8269
8270 fi;
8271
8272 eval "$ac_cv_use_imaglist"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8275 fi
8276
8277 if test "$wxUSE_IMAGLIST" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8280 else
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8283 fi
8284
8285
8286 enablestring=
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8289 no_cache=0
8290 # Check whether --enable-listbook or --disable-listbook was given.
8291 if test "${enable_listbook+set}" = set; then
8292 enableval="$enable_listbook"
8293
8294 if test "$enableval" = yes; then
8295 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8296 else
8297 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8298 fi
8299
8300 else
8301
8302 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8305 else
8306 no_cache=1
8307 fi
8308
8309 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8310
8311 fi;
8312
8313 eval "$ac_cv_use_listbook"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8316 fi
8317
8318 if test "$wxUSE_LISTBOOK" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8321 else
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8324 fi
8325
8326
8327 enablestring=
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8330 no_cache=0
8331 # Check whether --enable-listbox or --disable-listbox was given.
8332 if test "${enable_listbox+set}" = set; then
8333 enableval="$enable_listbox"
8334
8335 if test "$enableval" = yes; then
8336 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8337 else
8338 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8339 fi
8340
8341 else
8342
8343 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x ; then
8345 eval "DEFAULT_$LINE"
8346 else
8347 no_cache=1
8348 fi
8349
8350 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8351
8352 fi;
8353
8354 eval "$ac_cv_use_listbox"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8357 fi
8358
8359 if test "$wxUSE_LISTBOX" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8362 else
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8365 fi
8366
8367
8368 enablestring=
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8371 no_cache=0
8372 # Check whether --enable-listctrl or --disable-listctrl was given.
8373 if test "${enable_listctrl+set}" = set; then
8374 enableval="$enable_listctrl"
8375
8376 if test "$enableval" = yes; then
8377 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8378 else
8379 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8380 fi
8381
8382 else
8383
8384 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8387 else
8388 no_cache=1
8389 fi
8390
8391 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8392
8393 fi;
8394
8395 eval "$ac_cv_use_listctrl"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8398 fi
8399
8400 if test "$wxUSE_LISTCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8403 else
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8406 fi
8407
8408
8409 enablestring=
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8412 no_cache=0
8413 # Check whether --enable-notebook or --disable-notebook was given.
8414 if test "${enable_notebook+set}" = set; then
8415 enableval="$enable_notebook"
8416
8417 if test "$enableval" = yes; then
8418 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8419 else
8420 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8421 fi
8422
8423 else
8424
8425 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8428 else
8429 no_cache=1
8430 fi
8431
8432 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8433
8434 fi;
8435
8436 eval "$ac_cv_use_notebook"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test "$wxUSE_NOTEBOOK" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8444 else
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8447 fi
8448
8449
8450 enablestring=
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8453 no_cache=0
8454 # Check whether --enable-radiobox or --disable-radiobox was given.
8455 if test "${enable_radiobox+set}" = set; then
8456 enableval="$enable_radiobox"
8457
8458 if test "$enableval" = yes; then
8459 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8460 else
8461 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8462 fi
8463
8464 else
8465
8466 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8469 else
8470 no_cache=1
8471 fi
8472
8473 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8474
8475 fi;
8476
8477 eval "$ac_cv_use_radiobox"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8480 fi
8481
8482 if test "$wxUSE_RADIOBOX" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8485 else
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8488 fi
8489
8490
8491 enablestring=
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8494 no_cache=0
8495 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8496 if test "${enable_radiobtn+set}" = set; then
8497 enableval="$enable_radiobtn"
8498
8499 if test "$enableval" = yes; then
8500 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8501 else
8502 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8503 fi
8504
8505 else
8506
8507 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8510 else
8511 no_cache=1
8512 fi
8513
8514 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8515
8516 fi;
8517
8518 eval "$ac_cv_use_radiobtn"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8521 fi
8522
8523 if test "$wxUSE_RADIOBTN" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8526 else
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8529 fi
8530
8531
8532 enablestring=
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8535 no_cache=0
8536 # Check whether --enable-sash or --disable-sash was given.
8537 if test "${enable_sash+set}" = set; then
8538 enableval="$enable_sash"
8539
8540 if test "$enableval" = yes; then
8541 ac_cv_use_sash='wxUSE_SASH=yes'
8542 else
8543 ac_cv_use_sash='wxUSE_SASH=no'
8544 fi
8545
8546 else
8547
8548 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8551 else
8552 no_cache=1
8553 fi
8554
8555 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8556
8557 fi;
8558
8559 eval "$ac_cv_use_sash"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8562 fi
8563
8564 if test "$wxUSE_SASH" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8567 else
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8570 fi
8571
8572
8573 enablestring=
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8576 no_cache=0
8577 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8578 if test "${enable_scrollbar+set}" = set; then
8579 enableval="$enable_scrollbar"
8580
8581 if test "$enableval" = yes; then
8582 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8583 else
8584 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8585 fi
8586
8587 else
8588
8589 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x ; then
8591 eval "DEFAULT_$LINE"
8592 else
8593 no_cache=1
8594 fi
8595
8596 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8597
8598 fi;
8599
8600 eval "$ac_cv_use_scrollbar"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8603 fi
8604
8605 if test "$wxUSE_SCROLLBAR" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8608 else
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8611 fi
8612
8613
8614 enablestring=
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8617 no_cache=0
8618 # Check whether --enable-slider or --disable-slider was given.
8619 if test "${enable_slider+set}" = set; then
8620 enableval="$enable_slider"
8621
8622 if test "$enableval" = yes; then
8623 ac_cv_use_slider='wxUSE_SLIDER=yes'
8624 else
8625 ac_cv_use_slider='wxUSE_SLIDER=no'
8626 fi
8627
8628 else
8629
8630 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8633 else
8634 no_cache=1
8635 fi
8636
8637 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8638
8639 fi;
8640
8641 eval "$ac_cv_use_slider"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8644 fi
8645
8646 if test "$wxUSE_SLIDER" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8649 else
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8652 fi
8653
8654
8655 enablestring=
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8658 no_cache=0
8659 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8660 if test "${enable_spinbtn+set}" = set; then
8661 enableval="$enable_spinbtn"
8662
8663 if test "$enableval" = yes; then
8664 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8665 else
8666 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8667 fi
8668
8669 else
8670
8671 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x ; then
8673 eval "DEFAULT_$LINE"
8674 else
8675 no_cache=1
8676 fi
8677
8678 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8679
8680 fi;
8681
8682 eval "$ac_cv_use_spinbtn"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8685 fi
8686
8687 if test "$wxUSE_SPINBTN" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8690 else
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8693 fi
8694
8695
8696 enablestring=
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8699 no_cache=0
8700 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8701 if test "${enable_spinctrl+set}" = set; then
8702 enableval="$enable_spinctrl"
8703
8704 if test "$enableval" = yes; then
8705 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8706 else
8707 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8708 fi
8709
8710 else
8711
8712 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x ; then
8714 eval "DEFAULT_$LINE"
8715 else
8716 no_cache=1
8717 fi
8718
8719 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8720
8721 fi;
8722
8723 eval "$ac_cv_use_spinctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8726 fi
8727
8728 if test "$wxUSE_SPINCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8731 else
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8734 fi
8735
8736
8737 enablestring=
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8740 no_cache=0
8741 # Check whether --enable-splitter or --disable-splitter was given.
8742 if test "${enable_splitter+set}" = set; then
8743 enableval="$enable_splitter"
8744
8745 if test "$enableval" = yes; then
8746 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8747 else
8748 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8749 fi
8750
8751 else
8752
8753 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8756 else
8757 no_cache=1
8758 fi
8759
8760 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8761
8762 fi;
8763
8764 eval "$ac_cv_use_splitter"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8767 fi
8768
8769 if test "$wxUSE_SPLITTER" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8772 else
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8775 fi
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-statbmp or --disable-statbmp was given.
8783 if test "${enable_statbmp+set}" = set; then
8784 enableval="$enable_statbmp"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8788 else
8789 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8790 fi
8791
8792 else
8793
8794 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8802
8803 fi;
8804
8805 eval "$ac_cv_use_statbmp"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_STATBMP" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-statbox or --disable-statbox was given.
8824 if test "${enable_statbox+set}" = set; then
8825 enableval="$enable_statbox"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8829 else
8830 ac_cv_use_statbox='wxUSE_STATBOX=no'
8831 fi
8832
8833 else
8834
8835 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8843
8844 fi;
8845
8846 eval "$ac_cv_use_statbox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_STATBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-statline or --disable-statline was given.
8865 if test "${enable_statline+set}" = set; then
8866 enableval="$enable_statline"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_statline='wxUSE_STATLINE=yes'
8870 else
8871 ac_cv_use_statline='wxUSE_STATLINE=no'
8872 fi
8873
8874 else
8875
8876 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8884
8885 fi;
8886
8887 eval "$ac_cv_use_statline"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_STATLINE" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-stattext or --disable-stattext was given.
8906 if test "${enable_stattext+set}" = set; then
8907 enableval="$enable_stattext"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8911 else
8912 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8913 fi
8914
8915 else
8916
8917 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8925
8926 fi;
8927
8928 eval "$ac_cv_use_stattext"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_STATTEXT" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-statusbar or --disable-statusbar was given.
8947 if test "${enable_statusbar+set}" = set; then
8948 enableval="$enable_statusbar"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8952 else
8953 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8954 fi
8955
8956 else
8957
8958 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8966
8967 fi;
8968
8969 eval "$ac_cv_use_statusbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_STATUSBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8988 if test "${enable_tabdialog+set}" = set; then
8989 enableval="$enable_tabdialog"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
8993 else
8994 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9007
9008 fi;
9009
9010 eval "$ac_cv_use_tabdialog"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_TAB_DIALOG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-textctrl or --disable-textctrl was given.
9029 if test "${enable_textctrl+set}" = set; then
9030 enableval="$enable_textctrl"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9034 else
9035 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9048
9049 fi;
9050
9051 eval "$ac_cv_use_textctrl"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_TEXTCTRL" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9070 if test "${enable_togglebtn+set}" = set; then
9071 enableval="$enable_togglebtn"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9075 else
9076 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9089
9090 fi;
9091
9092 eval "$ac_cv_use_togglebtn"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_TOGGLEBTN" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-toolbar or --disable-toolbar was given.
9111 if test "${enable_toolbar+set}" = set; then
9112 enableval="$enable_toolbar"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9116 else
9117 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9130
9131 fi;
9132
9133 eval "$ac_cv_use_toolbar"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_TOOLBAR" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9152 if test "${enable_tbarnative+set}" = set; then
9153 enableval="$enable_tbarnative"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9157 else
9158 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9159 fi
9160
9161 else
9162
9163 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9171
9172 fi;
9173
9174 eval "$ac_cv_use_tbarnative"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9193 if test "${enable_tbarsmpl+set}" = set; then
9194 enableval="$enable_tbarsmpl"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9198 else
9199 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9200 fi
9201
9202 else
9203
9204 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9212
9213 fi;
9214
9215 eval "$ac_cv_use_tbarsmpl"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-treebook or --disable-treebook was given.
9234 if test "${enable_treebook+set}" = set; then
9235 enableval="$enable_treebook"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9239 else
9240 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9253
9254 fi;
9255
9256 eval "$ac_cv_use_treebook"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_TREEBOOK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-toolbook or --disable-toolbook was given.
9275 if test "${enable_toolbook+set}" = set; then
9276 enableval="$enable_toolbook"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9280 else
9281 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9282 fi
9283
9284 else
9285
9286 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9294
9295 fi;
9296
9297 eval "$ac_cv_use_toolbook"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_TOOLBOOK" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-treectrl or --disable-treectrl was given.
9316 if test "${enable_treectrl+set}" = set; then
9317 enableval="$enable_treectrl"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9321 else
9322 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9335
9336 fi;
9337
9338 eval "$ac_cv_use_treectrl"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_TREECTRL" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352 enablestring=
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9355 no_cache=0
9356 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9357 if test "${enable_tipwindow+set}" = set; then
9358 enableval="$enable_tipwindow"
9359
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9362 else
9363 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9364 fi
9365
9366 else
9367
9368 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9371 else
9372 no_cache=1
9373 fi
9374
9375 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9376
9377 fi;
9378
9379 eval "$ac_cv_use_tipwindow"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test "$wxUSE_TIPWINDOW" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9387 else
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9390 fi
9391
9392
9393 enablestring=
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9396 no_cache=0
9397 # Check whether --enable-popupwin or --disable-popupwin was given.
9398 if test "${enable_popupwin+set}" = set; then
9399 enableval="$enable_popupwin"
9400
9401 if test "$enableval" = yes; then
9402 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9403 else
9404 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9405 fi
9406
9407 else
9408
9409 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x ; then
9411 eval "DEFAULT_$LINE"
9412 else
9413 no_cache=1
9414 fi
9415
9416 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9417
9418 fi;
9419
9420 eval "$ac_cv_use_popupwin"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9423 fi
9424
9425 if test "$wxUSE_POPUPWIN" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9428 else
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9431 fi
9432
9433
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-commondlg or --disable-commondlg was given.
9441 if test "${enable_commondlg+set}" = set; then
9442 enableval="$enable_commondlg"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9446 else
9447 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9448 fi
9449
9450 else
9451
9452 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9460
9461 fi;
9462
9463 eval "$ac_cv_use_commondlg"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_COMMONDLGS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9482 if test "${enable_choicedlg+set}" = set; then
9483 enableval="$enable_choicedlg"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9487 else
9488 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9489 fi
9490
9491 else
9492
9493 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9501
9502 fi;
9503
9504 eval "$ac_cv_use_choicedlg"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_CHOICEDLG" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-coldlg or --disable-coldlg was given.
9523 if test "${enable_coldlg+set}" = set; then
9524 enableval="$enable_coldlg"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9528 else
9529 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9530 fi
9531
9532 else
9533
9534 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9542
9543 fi;
9544
9545 eval "$ac_cv_use_coldlg"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_COLOURDLG" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-filedlg or --disable-filedlg was given.
9564 if test "${enable_filedlg+set}" = set; then
9565 enableval="$enable_filedlg"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9569 else
9570 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9571 fi
9572
9573 else
9574
9575 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9583
9584 fi;
9585
9586 eval "$ac_cv_use_filedlg"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_FILEDLG" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-finddlg or --disable-finddlg was given.
9605 if test "${enable_finddlg+set}" = set; then
9606 enableval="$enable_finddlg"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9610 else
9611 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9612 fi
9613
9614 else
9615
9616 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9624
9625 fi;
9626
9627 eval "$ac_cv_use_finddlg"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_FINDREPLDLG" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9646 if test "${enable_fontdlg+set}" = set; then
9647 enableval="$enable_fontdlg"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9651 else
9652 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9653 fi
9654
9655 else
9656
9657 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9665
9666 fi;
9667
9668 eval "$ac_cv_use_fontdlg"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_FONTDLG" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9687 if test "${enable_dirdlg+set}" = set; then
9688 enableval="$enable_dirdlg"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9692 else
9693 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9694 fi
9695
9696 else
9697
9698 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9706
9707 fi;
9708
9709 eval "$ac_cv_use_dirdlg"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_DIRDLG" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723 enablestring=
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9726 no_cache=0
9727 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9728 if test "${enable_msgdlg+set}" = set; then
9729 enableval="$enable_msgdlg"
9730
9731 if test "$enableval" = yes; then
9732 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9733 else
9734 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9735 fi
9736
9737 else
9738
9739 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 else
9743 no_cache=1
9744 fi
9745
9746 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9747
9748 fi;
9749
9750 eval "$ac_cv_use_msgdlg"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test "$wxUSE_MSGDLG" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9758 else
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9761 fi
9762
9763
9764 enablestring=
9765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9767 no_cache=0
9768 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9769 if test "${enable_numberdlg+set}" = set; then
9770 enableval="$enable_numberdlg"
9771
9772 if test "$enableval" = yes; then
9773 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9774 else
9775 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9776 fi
9777
9778 else
9779
9780 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9781 if test "x$LINE" != x ; then
9782 eval "DEFAULT_$LINE"
9783 else
9784 no_cache=1
9785 fi
9786
9787 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9788
9789 fi;
9790
9791 eval "$ac_cv_use_numberdlg"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9794 fi
9795
9796 if test "$wxUSE_NUMBERDLG" = yes; then
9797 echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6
9799 else
9800 echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6
9802 fi
9803
9804
9805 enablestring=
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9808 no_cache=0
9809 # Check whether --enable-splash or --disable-splash was given.
9810 if test "${enable_splash+set}" = set; then
9811 enableval="$enable_splash"
9812
9813 if test "$enableval" = yes; then
9814 ac_cv_use_splash='wxUSE_SPLASH=yes'
9815 else
9816 ac_cv_use_splash='wxUSE_SPLASH=no'
9817 fi
9818
9819 else
9820
9821 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9824 else
9825 no_cache=1
9826 fi
9827
9828 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9829
9830 fi;
9831
9832 eval "$ac_cv_use_splash"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9835 fi
9836
9837 if test "$wxUSE_SPLASH" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9840 else
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9843 fi
9844
9845
9846 enablestring=
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9849 no_cache=0
9850 # Check whether --enable-textdlg or --disable-textdlg was given.
9851 if test "${enable_textdlg+set}" = set; then
9852 enableval="$enable_textdlg"
9853
9854 if test "$enableval" = yes; then
9855 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9856 else
9857 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9858 fi
9859
9860 else
9861
9862 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9865 else
9866 no_cache=1
9867 fi
9868
9869 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9870
9871 fi;
9872
9873 eval "$ac_cv_use_textdlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9876 fi
9877
9878 if test "$wxUSE_TEXTDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9881 else
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9884 fi
9885
9886
9887 enablestring=
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9890 no_cache=0
9891 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9892 if test "${enable_tipdlg+set}" = set; then
9893 enableval="$enable_tipdlg"
9894
9895 if test "$enableval" = yes; then
9896 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9897 else
9898 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9899 fi
9900
9901 else
9902
9903 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x ; then
9905 eval "DEFAULT_$LINE"
9906 else
9907 no_cache=1
9908 fi
9909
9910 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9911
9912 fi;
9913
9914 eval "$ac_cv_use_tipdlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9917 fi
9918
9919 if test "$wxUSE_STARTUP_TIPS" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927
9928 enablestring=
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9931 no_cache=0
9932 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9933 if test "${enable_progressdlg+set}" = set; then
9934 enableval="$enable_progressdlg"
9935
9936 if test "$enableval" = yes; then
9937 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9938 else
9939 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9940 fi
9941
9942 else
9943
9944 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x ; then
9946 eval "DEFAULT_$LINE"
9947 else
9948 no_cache=1
9949 fi
9950
9951 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9952
9953 fi;
9954
9955 eval "$ac_cv_use_progressdlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9958 fi
9959
9960 if test "$wxUSE_PROGRESSDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9963 else
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9966 fi
9967
9968
9969 enablestring=
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9972 no_cache=0
9973 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9974 if test "${enable_wizarddlg+set}" = set; then
9975 enableval="$enable_wizarddlg"
9976
9977 if test "$enableval" = yes; then
9978 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9979 else
9980 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9981 fi
9982
9983 else
9984
9985 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x ; then
9987 eval "DEFAULT_$LINE"
9988 else
9989 no_cache=1
9990 fi
9991
9992 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9993
9994 fi;
9995
9996 eval "$ac_cv_use_wizarddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9999 fi
10000
10001 if test "$wxUSE_WIZARDDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10004 else
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10007 fi
10008
10009
10010
10011
10012 enablestring=
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10015 no_cache=0
10016 # Check whether --enable-menus or --disable-menus was given.
10017 if test "${enable_menus+set}" = set; then
10018 enableval="$enable_menus"
10019
10020 if test "$enableval" = yes; then
10021 ac_cv_use_menus='wxUSE_MENUS=yes'
10022 else
10023 ac_cv_use_menus='wxUSE_MENUS=no'
10024 fi
10025
10026 else
10027
10028 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10036
10037 fi;
10038
10039 eval "$ac_cv_use_menus"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10042 fi
10043
10044 if test "$wxUSE_MENUS" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10047 else
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10050 fi
10051
10052
10053 enablestring=
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10056 no_cache=0
10057 # Check whether --enable-miniframe or --disable-miniframe was given.
10058 if test "${enable_miniframe+set}" = set; then
10059 enableval="$enable_miniframe"
10060
10061 if test "$enableval" = yes; then
10062 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10063 else
10064 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10065 fi
10066
10067 else
10068
10069 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10077
10078 fi;
10079
10080 eval "$ac_cv_use_miniframe"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test "$wxUSE_MINIFRAME" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10088 else
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10091 fi
10092
10093
10094 enablestring=
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10097 no_cache=0
10098 # Check whether --enable-tooltips or --disable-tooltips was given.
10099 if test "${enable_tooltips+set}" = set; then
10100 enableval="$enable_tooltips"
10101
10102 if test "$enableval" = yes; then
10103 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10104 else
10105 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10118
10119 fi;
10120
10121 eval "$ac_cv_use_tooltips"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10124 fi
10125
10126 if test "$wxUSE_TOOLTIPS" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10129 else
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10132 fi
10133
10134
10135 enablestring=
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10138 no_cache=0
10139 # Check whether --enable-splines or --disable-splines was given.
10140 if test "${enable_splines+set}" = set; then
10141 enableval="$enable_splines"
10142
10143 if test "$enableval" = yes; then
10144 ac_cv_use_splines='wxUSE_SPLINES=yes'
10145 else
10146 ac_cv_use_splines='wxUSE_SPLINES=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10159
10160 fi;
10161
10162 eval "$ac_cv_use_splines"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10165 fi
10166
10167 if test "$wxUSE_SPLINES" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175
10176 enablestring=
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10179 no_cache=0
10180 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10181 if test "${enable_mousewheel+set}" = set; then
10182 enableval="$enable_mousewheel"
10183
10184 if test "$enableval" = yes; then
10185 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10186 else
10187 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10200
10201 fi;
10202
10203 eval "$ac_cv_use_mousewheel"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10206 fi
10207
10208 if test "$wxUSE_MOUSEWHEEL" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10211 else
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10214 fi
10215
10216
10217 enablestring=
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10220 no_cache=0
10221 # Check whether --enable-validators or --disable-validators was given.
10222 if test "${enable_validators+set}" = set; then
10223 enableval="$enable_validators"
10224
10225 if test "$enableval" = yes; then
10226 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10227 else
10228 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10241
10242 fi;
10243
10244 eval "$ac_cv_use_validators"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10247 fi
10248
10249 if test "$wxUSE_VALIDATORS" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10252 else
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10255 fi
10256
10257
10258 enablestring=
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10261 no_cache=0
10262 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10263 if test "${enable_busyinfo+set}" = set; then
10264 enableval="$enable_busyinfo"
10265
10266 if test "$enableval" = yes; then
10267 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10268 else
10269 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10282
10283 fi;
10284
10285 eval "$ac_cv_use_busyinfo"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10288 fi
10289
10290 if test "$wxUSE_BUSYINFO" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10293 else
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10296 fi
10297
10298
10299 enablestring=
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10302 no_cache=0
10303 # Check whether --enable-joystick or --disable-joystick was given.
10304 if test "${enable_joystick+set}" = set; then
10305 enableval="$enable_joystick"
10306
10307 if test "$enableval" = yes; then
10308 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10309 else
10310 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10323
10324 fi;
10325
10326 eval "$ac_cv_use_joystick"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10329 fi
10330
10331 if test "$wxUSE_JOYSTICK" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10334 else
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10337 fi
10338
10339
10340 enablestring=
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10343 no_cache=0
10344 # Check whether --enable-metafile or --disable-metafile was given.
10345 if test "${enable_metafile+set}" = set; then
10346 enableval="$enable_metafile"
10347
10348 if test "$enableval" = yes; then
10349 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10350 else
10351 ac_cv_use_metafile='wxUSE_METAFILE=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10364
10365 fi;
10366
10367 eval "$ac_cv_use_metafile"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test "$wxUSE_METAFILE" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10375 else
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10378 fi
10379
10380
10381 enablestring=
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10384 no_cache=0
10385 # Check whether --enable-dragimage or --disable-dragimage was given.
10386 if test "${enable_dragimage+set}" = set; then
10387 enableval="$enable_dragimage"
10388
10389 if test "$enableval" = yes; then
10390 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10391 else
10392 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10405
10406 fi;
10407
10408 eval "$ac_cv_use_dragimage"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10411 fi
10412
10413 if test "$wxUSE_DRAGIMAGE" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10416 else
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10419 fi
10420
10421
10422 enablestring=
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10425 no_cache=0
10426 # Check whether --enable-accessibility or --disable-accessibility was given.
10427 if test "${enable_accessibility+set}" = set; then
10428 enableval="$enable_accessibility"
10429
10430 if test "$enableval" = yes; then
10431 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10432 else
10433 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10434 fi
10435
10436 else
10437
10438 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 else
10442 no_cache=1
10443 fi
10444
10445 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10446
10447 fi;
10448
10449 eval "$ac_cv_use_accessibility"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10452 fi
10453
10454 if test "$wxUSE_ACCESSIBILITY" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10457 else
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10460 fi
10461
10462
10463 if test "$wxUSE_MSW" = "1"; then
10464
10465 enablestring=
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10468 no_cache=0
10469 # Check whether --enable-dccache or --disable-dccache was given.
10470 if test "${enable_dccache+set}" = set; then
10471 enableval="$enable_dccache"
10472
10473 if test "$enableval" = yes; then
10474 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10475 else
10476 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10477 fi
10478
10479 else
10480
10481 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x ; then
10483 eval "DEFAULT_$LINE"
10484 else
10485 no_cache=1
10486 fi
10487
10488 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10489
10490 fi;
10491
10492 eval "$ac_cv_use_dccache"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10495 fi
10496
10497 if test "$wxUSE_DC_CACHEING" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10500 else
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10503 fi
10504
10505 fi
10506
10507
10508
10509 enablestring=
10510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10512 no_cache=0
10513 # Check whether --enable-palette or --disable-palette was given.
10514 if test "${enable_palette+set}" = set; then
10515 enableval="$enable_palette"
10516
10517 if test "$enableval" = yes; then
10518 ac_cv_use_palette='wxUSE_PALETTE=yes'
10519 else
10520 ac_cv_use_palette='wxUSE_PALETTE=no'
10521 fi
10522
10523 else
10524
10525 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10526 if test "x$LINE" != x ; then
10527 eval "DEFAULT_$LINE"
10528 else
10529 no_cache=1
10530 fi
10531
10532 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10533
10534 fi;
10535
10536 eval "$ac_cv_use_palette"
10537 if test "$no_cache" != 1; then
10538 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10539 fi
10540
10541 if test "$wxUSE_PALETTE" = yes; then
10542 echo "$as_me:$LINENO: result: yes" >&5
10543 echo "${ECHO_T}yes" >&6
10544 else
10545 echo "$as_me:$LINENO: result: no" >&5
10546 echo "${ECHO_T}no" >&6
10547 fi
10548
10549
10550 enablestring=
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10553 no_cache=0
10554 # Check whether --enable-image or --disable-image was given.
10555 if test "${enable_image+set}" = set; then
10556 enableval="$enable_image"
10557
10558 if test "$enableval" = yes; then
10559 ac_cv_use_image='wxUSE_IMAGE=yes'
10560 else
10561 ac_cv_use_image='wxUSE_IMAGE=no'
10562 fi
10563
10564 else
10565
10566 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x ; then
10568 eval "DEFAULT_$LINE"
10569 else
10570 no_cache=1
10571 fi
10572
10573 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10574
10575 fi;
10576
10577 eval "$ac_cv_use_image"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10580 fi
10581
10582 if test "$wxUSE_IMAGE" = yes; then
10583 echo "$as_me:$LINENO: result: yes" >&5
10584 echo "${ECHO_T}yes" >&6
10585 else
10586 echo "$as_me:$LINENO: result: no" >&5
10587 echo "${ECHO_T}no" >&6
10588 fi
10589
10590
10591 enablestring=
10592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10594 no_cache=0
10595 # Check whether --enable-gif or --disable-gif was given.
10596 if test "${enable_gif+set}" = set; then
10597 enableval="$enable_gif"
10598
10599 if test "$enableval" = yes; then
10600 ac_cv_use_gif='wxUSE_GIF=yes'
10601 else
10602 ac_cv_use_gif='wxUSE_GIF=no'
10603 fi
10604
10605 else
10606
10607 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10608 if test "x$LINE" != x ; then
10609 eval "DEFAULT_$LINE"
10610 else
10611 no_cache=1
10612 fi
10613
10614 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10615
10616 fi;
10617
10618 eval "$ac_cv_use_gif"
10619 if test "$no_cache" != 1; then
10620 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10621 fi
10622
10623 if test "$wxUSE_GIF" = yes; then
10624 echo "$as_me:$LINENO: result: yes" >&5
10625 echo "${ECHO_T}yes" >&6
10626 else
10627 echo "$as_me:$LINENO: result: no" >&5
10628 echo "${ECHO_T}no" >&6
10629 fi
10630
10631
10632 enablestring=
10633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10635 no_cache=0
10636 # Check whether --enable-pcx or --disable-pcx was given.
10637 if test "${enable_pcx+set}" = set; then
10638 enableval="$enable_pcx"
10639
10640 if test "$enableval" = yes; then
10641 ac_cv_use_pcx='wxUSE_PCX=yes'
10642 else
10643 ac_cv_use_pcx='wxUSE_PCX=no'
10644 fi
10645
10646 else
10647
10648 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10649 if test "x$LINE" != x ; then
10650 eval "DEFAULT_$LINE"
10651 else
10652 no_cache=1
10653 fi
10654
10655 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10656
10657 fi;
10658
10659 eval "$ac_cv_use_pcx"
10660 if test "$no_cache" != 1; then
10661 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10662 fi
10663
10664 if test "$wxUSE_PCX" = yes; then
10665 echo "$as_me:$LINENO: result: yes" >&5
10666 echo "${ECHO_T}yes" >&6
10667 else
10668 echo "$as_me:$LINENO: result: no" >&5
10669 echo "${ECHO_T}no" >&6
10670 fi
10671
10672
10673 enablestring=
10674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10676 no_cache=0
10677 # Check whether --enable-iff or --disable-iff was given.
10678 if test "${enable_iff+set}" = set; then
10679 enableval="$enable_iff"
10680
10681 if test "$enableval" = yes; then
10682 ac_cv_use_iff='wxUSE_IFF=yes'
10683 else
10684 ac_cv_use_iff='wxUSE_IFF=no'
10685 fi
10686
10687 else
10688
10689 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10690 if test "x$LINE" != x ; then
10691 eval "DEFAULT_$LINE"
10692 else
10693 no_cache=1
10694 fi
10695
10696 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10697
10698 fi;
10699
10700 eval "$ac_cv_use_iff"
10701 if test "$no_cache" != 1; then
10702 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10703 fi
10704
10705 if test "$wxUSE_IFF" = yes; then
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10708 else
10709 echo "$as_me:$LINENO: result: no" >&5
10710 echo "${ECHO_T}no" >&6
10711 fi
10712
10713
10714 enablestring=
10715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10716 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10717 no_cache=0
10718 # Check whether --enable-pnm or --disable-pnm was given.
10719 if test "${enable_pnm+set}" = set; then
10720 enableval="$enable_pnm"
10721
10722 if test "$enableval" = yes; then
10723 ac_cv_use_pnm='wxUSE_PNM=yes'
10724 else
10725 ac_cv_use_pnm='wxUSE_PNM=no'
10726 fi
10727
10728 else
10729
10730 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x ; then
10732 eval "DEFAULT_$LINE"
10733 else
10734 no_cache=1
10735 fi
10736
10737 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10738
10739 fi;
10740
10741 eval "$ac_cv_use_pnm"
10742 if test "$no_cache" != 1; then
10743 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10744 fi
10745
10746 if test "$wxUSE_PNM" = yes; then
10747 echo "$as_me:$LINENO: result: yes" >&5
10748 echo "${ECHO_T}yes" >&6
10749 else
10750 echo "$as_me:$LINENO: result: no" >&5
10751 echo "${ECHO_T}no" >&6
10752 fi
10753
10754
10755 enablestring=
10756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10758 no_cache=0
10759 # Check whether --enable-xpm or --disable-xpm was given.
10760 if test "${enable_xpm+set}" = set; then
10761 enableval="$enable_xpm"
10762
10763 if test "$enableval" = yes; then
10764 ac_cv_use_xpm='wxUSE_XPM=yes'
10765 else
10766 ac_cv_use_xpm='wxUSE_XPM=no'
10767 fi
10768
10769 else
10770
10771 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10772 if test "x$LINE" != x ; then
10773 eval "DEFAULT_$LINE"
10774 else
10775 no_cache=1
10776 fi
10777
10778 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10779
10780 fi;
10781
10782 eval "$ac_cv_use_xpm"
10783 if test "$no_cache" != 1; then
10784 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10785 fi
10786
10787 if test "$wxUSE_XPM" = yes; then
10788 echo "$as_me:$LINENO: result: yes" >&5
10789 echo "${ECHO_T}yes" >&6
10790 else
10791 echo "$as_me:$LINENO: result: no" >&5
10792 echo "${ECHO_T}no" >&6
10793 fi
10794
10795
10796 enablestring=
10797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10799 no_cache=0
10800 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10801 if test "${enable_ico_cur+set}" = set; then
10802 enableval="$enable_ico_cur"
10803
10804 if test "$enableval" = yes; then
10805 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10806 else
10807 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10808 fi
10809
10810 else
10811
10812 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10813 if test "x$LINE" != x ; then
10814 eval "DEFAULT_$LINE"
10815 else
10816 no_cache=1
10817 fi
10818
10819 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10820
10821 fi;
10822
10823 eval "$ac_cv_use_ico_cur"
10824 if test "$no_cache" != 1; then
10825 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10826 fi
10827
10828 if test "$wxUSE_ICO_CUR" = yes; then
10829 echo "$as_me:$LINENO: result: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10831 else
10832 echo "$as_me:$LINENO: result: no" >&5
10833 echo "${ECHO_T}no" >&6
10834 fi
10835
10836
10837 fi
10838
10839
10840
10841 # Check whether --with-flavour or --without-flavour was given.
10842 if test "${with_flavour+set}" = set; then
10843 withval="$with_flavour"
10844 WX_FLAVOUR="$withval"
10845 fi;
10846
10847
10848
10849 enablestring=
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10852 no_cache=0
10853 # Check whether --enable-official_build or --disable-official_build was given.
10854 if test "${enable_official_build+set}" = set; then
10855 enableval="$enable_official_build"
10856
10857 if test "$enableval" = yes; then
10858 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10859 else
10860 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10873
10874 fi;
10875
10876 eval "$ac_cv_use_official_build"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10884 else
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10887 fi
10888
10889 # Check whether --enable-vendor or --disable-vendor was given.
10890 if test "${enable_vendor+set}" = set; then
10891 enableval="$enable_vendor"
10892 VENDOR="$enableval"
10893 fi;
10894 if test "x$VENDOR" = "x"; then
10895 VENDOR="custom"
10896 fi
10897
10898
10899
10900
10901 echo "saving argument cache $wx_arg_cache_file"
10902 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10903
10904
10905
10906 echo "$as_me:$LINENO: checking for toolkit" >&5
10907 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10908
10909 # In Wine, we need to default to MSW, not GTK or MOTIF
10910 if test "$wxUSE_WINE" = "yes"; then
10911 DEFAULT_DEFAULT_wxUSE_GTK=0
10912 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10913 DEFAULT_DEFAULT_wxUSE_MSW=1
10914 wxUSE_SHARED=no
10915 fi
10916
10917
10918 if test "$wxUSE_GUI" = "yes"; then
10919
10920 if test "$USE_BEOS" = 1; then
10921 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10922 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10923 { (exit 1); exit 1; }; }
10924 fi
10925
10926 if test "$TOOLKIT_GIVEN" = 1; then
10927 for toolkit in `echo $ALL_TOOLKITS`; do
10928 var=wxUSE_$toolkit
10929 eval "value=\$${var}"
10930 if test "x$value" = "xno"; then
10931 eval "$var=0"
10932 elif test "x$value" != "x"; then
10933 eval "$var=1"
10934 fi
10935
10936 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10937 eval "wx${toolkit}_VERSION=$value"
10938 fi
10939 done
10940 else
10941 for toolkit in `echo $ALL_TOOLKITS`; do
10942 if test "$has_toolkit_in_cache" != 1; then
10943 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10944 else
10945 var=DEFAULT_wxUSE_$toolkit
10946
10947 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10948 if test "x$version" != "x"; then
10949 eval "wx${toolkit}_VERSION=$version"
10950 fi
10951 fi
10952 eval "wxUSE_$toolkit=\$${var}"
10953 done
10954 fi
10955
10956 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10957 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10958 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10959
10960 case "${host}" in
10961 *-pc-os2_emx | *-pc-os2-emx )
10962 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10963 esac
10964
10965 case "$NUM_TOOLKITS" in
10966 1)
10967 ;;
10968 0)
10969 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10970 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10971 { (exit 1); exit 1; }; }
10972 ;;
10973 *)
10974 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10975 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10976 { (exit 1); exit 1; }; }
10977 esac
10978
10979 # to be removed when --disable-gtk2 isn't needed
10980 if test "x$wxUSE_GTK2" = "xyes"; then
10981 wxGTK_VERSION=2
10982 elif test "x$wxUSE_GTK2" = "xno"; then
10983 wxGTK_VERSION=1
10984 fi
10985
10986 for toolkit in `echo $ALL_TOOLKITS`; do
10987 var=wxUSE_$toolkit
10988 eval "value=\$${var}"
10989 if test "x$value" != x; then
10990 cache_var=CACHE_$toolkit
10991 eval "cache=\$${cache_var}"
10992 if test "$cache" = 1; then
10993 echo "$var=$value" >> ${wx_arg_cache_file}
10994 eval "version=\$wx${toolkit}_VERSION"
10995 if test "x$version" != "x"; then
10996 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10997 fi
10998 fi
10999 if test "$value" = 1; then
11000 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11001 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11002 echo "${ECHO_T}$toolkit_echo" >&6
11003 fi
11004 fi
11005 done
11006 else
11007 if test "x$host_alias" != "x"; then
11008 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11009 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11010 else
11011 echo "$as_me:$LINENO: result: base only" >&5
11012 echo "${ECHO_T}base only" >&6
11013 fi
11014 fi
11015
11016 wants_win32=0
11017 doesnt_want_win32=0
11018 case "${host}" in
11019 *-*-cygwin*)
11020 if test "$wxUSE_MSW" = 1 ; then
11021 wants_win32=1
11022 BAKEFILE_FORCE_PLATFORM=win32
11023 else
11024 doesnt_want_win32=1
11025 fi
11026 ;;
11027 *-*-mingw*)
11028 wants_win32=1
11029 ;;
11030 esac
11031
11032 if test "$wxUSE_WINE" = "yes"; then
11033 wants_win32=1
11034 CC=winegcc
11035 CXX=wineg++
11036 LDFLAGS_GUI="-mwindows"
11037 fi
11038
11039 if test "$wants_win32" = 1 ; then
11040 USE_UNIX=0
11041 USE_WIN32=1
11042 cat >>confdefs.h <<\_ACEOF
11043 #define __WIN32__ 1
11044 _ACEOF
11045
11046 cat >>confdefs.h <<\_ACEOF
11047 #define __WIN95__ 1
11048 _ACEOF
11049
11050 cat >>confdefs.h <<\_ACEOF
11051 #define __WINDOWS__ 1
11052 _ACEOF
11053
11054 cat >>confdefs.h <<\_ACEOF
11055 #define __GNUWIN32__ 1
11056 _ACEOF
11057
11058 cat >>confdefs.h <<\_ACEOF
11059 #define STRICT 1
11060 _ACEOF
11061
11062 cat >>confdefs.h <<\_ACEOF
11063 #define WINVER 0x0400
11064 _ACEOF
11065
11066 fi
11067 if test "$doesnt_want_win32" = 1 ; then
11068 USE_UNIX=1
11069 USE_WIN32=0
11070 fi
11071
11072 if test "$USE_UNIX" = 1 ; then
11073 wxUSE_UNIX=yes
11074 cat >>confdefs.h <<\_ACEOF
11075 #define __UNIX__ 1
11076 _ACEOF
11077
11078 fi
11079
11080
11081 cat >confcache <<\_ACEOF
11082 # This file is a shell script that caches the results of configure
11083 # tests run on this system so they can be shared between configure
11084 # scripts and configure runs, see configure's option --config-cache.
11085 # It is not useful on other systems. If it contains results you don't
11086 # want to keep, you may remove or edit it.
11087 #
11088 # config.status only pays attention to the cache file if you give it
11089 # the --recheck option to rerun configure.
11090 #
11091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11093 # following values.
11094
11095 _ACEOF
11096
11097 # The following way of writing the cache mishandles newlines in values,
11098 # but we know of no workaround that is simple, portable, and efficient.
11099 # So, don't put newlines in cache variables' values.
11100 # Ultrix sh set writes to stderr and can't be redirected directly,
11101 # and sets the high bit in the cache file unless we assign to the vars.
11102 {
11103 (set) 2>&1 |
11104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11105 *ac_space=\ *)
11106 # `set' does not quote correctly, so add quotes (double-quote
11107 # substitution turns \\\\ into \\, and sed turns \\ into \).
11108 sed -n \
11109 "s/'/'\\\\''/g;
11110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11111 ;;
11112 *)
11113 # `set' quotes correctly as required by POSIX, so do not add quotes.
11114 sed -n \
11115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11116 ;;
11117 esac;
11118 } |
11119 sed '
11120 t clear
11121 : clear
11122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11123 t end
11124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11125 : end' >>confcache
11126 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11127 if test -w $cache_file; then
11128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11129 cat confcache >$cache_file
11130 else
11131 echo "not updating unwritable cache $cache_file"
11132 fi
11133 fi
11134 rm -f confcache
11135
11136 CFLAGS=${CFLAGS:=}
11137
11138
11139
11140 ac_ext=c
11141 ac_cpp='$CPP $CPPFLAGS'
11142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_prog_CC+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 else
11153 if test -n "$CC"; then
11154 ac_cv_prog_CC="$CC" # Let the user override the test.
11155 else
11156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157 for as_dir in $PATH
11158 do
11159 IFS=$as_save_IFS
11160 test -z "$as_dir" && as_dir=.
11161 for ac_exec_ext in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 break 2
11166 fi
11167 done
11168 done
11169
11170 fi
11171 fi
11172 CC=$ac_cv_prog_CC
11173 if test -n "$CC"; then
11174 echo "$as_me:$LINENO: result: $CC" >&5
11175 echo "${ECHO_T}$CC" >&6
11176 else
11177 echo "$as_me:$LINENO: result: no" >&5
11178 echo "${ECHO_T}no" >&6
11179 fi
11180
11181 fi
11182 if test -z "$ac_cv_prog_CC"; then
11183 ac_ct_CC=$CC
11184 # Extract the first word of "gcc", so it can be a program name with args.
11185 set dummy gcc; ac_word=$2
11186 echo "$as_me:$LINENO: checking for $ac_word" >&5
11187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 if test -n "$ac_ct_CC"; then
11192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11193 else
11194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11195 for as_dir in $PATH
11196 do
11197 IFS=$as_save_IFS
11198 test -z "$as_dir" && as_dir=.
11199 for ac_exec_ext in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_CC="gcc"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 break 2
11204 fi
11205 done
11206 done
11207
11208 fi
11209 fi
11210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11211 if test -n "$ac_ct_CC"; then
11212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11213 echo "${ECHO_T}$ac_ct_CC" >&6
11214 else
11215 echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6
11217 fi
11218
11219 CC=$ac_ct_CC
11220 else
11221 CC="$ac_cv_prog_CC"
11222 fi
11223
11224 if test -z "$CC"; then
11225 if test -n "$ac_tool_prefix"; then
11226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11227 set dummy ${ac_tool_prefix}cc; ac_word=$2
11228 echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230 if test "${ac_cv_prog_CC+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11233 if test -n "$CC"; then
11234 ac_cv_prog_CC="$CC" # Let the user override the test.
11235 else
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11238 do
11239 IFS=$as_save_IFS
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_CC="${ac_tool_prefix}cc"
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 break 2
11246 fi
11247 done
11248 done
11249
11250 fi
11251 fi
11252 CC=$ac_cv_prog_CC
11253 if test -n "$CC"; then
11254 echo "$as_me:$LINENO: result: $CC" >&5
11255 echo "${ECHO_T}$CC" >&6
11256 else
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11259 fi
11260
11261 fi
11262 if test -z "$ac_cv_prog_CC"; then
11263 ac_ct_CC=$CC
11264 # Extract the first word of "cc", so it can be a program name with args.
11265 set dummy cc; ac_word=$2
11266 echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 else
11271 if test -n "$ac_ct_CC"; then
11272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11273 else
11274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11275 for as_dir in $PATH
11276 do
11277 IFS=$as_save_IFS
11278 test -z "$as_dir" && as_dir=.
11279 for ac_exec_ext in '' $ac_executable_extensions; do
11280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11281 ac_cv_prog_ac_ct_CC="cc"
11282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11283 break 2
11284 fi
11285 done
11286 done
11287
11288 fi
11289 fi
11290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11291 if test -n "$ac_ct_CC"; then
11292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11293 echo "${ECHO_T}$ac_ct_CC" >&6
11294 else
11295 echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6
11297 fi
11298
11299 CC=$ac_ct_CC
11300 else
11301 CC="$ac_cv_prog_CC"
11302 fi
11303
11304 fi
11305 if test -z "$CC"; then
11306 # Extract the first word of "cc", so it can be a program name with args.
11307 set dummy cc; ac_word=$2
11308 echo "$as_me:$LINENO: checking for $ac_word" >&5
11309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11310 if test "${ac_cv_prog_CC+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 else
11313 if test -n "$CC"; then
11314 ac_cv_prog_CC="$CC" # Let the user override the test.
11315 else
11316 ac_prog_rejected=no
11317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11318 for as_dir in $PATH
11319 do
11320 IFS=$as_save_IFS
11321 test -z "$as_dir" && as_dir=.
11322 for ac_exec_ext in '' $ac_executable_extensions; do
11323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11325 ac_prog_rejected=yes
11326 continue
11327 fi
11328 ac_cv_prog_CC="cc"
11329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11330 break 2
11331 fi
11332 done
11333 done
11334
11335 if test $ac_prog_rejected = yes; then
11336 # We found a bogon in the path, so make sure we never use it.
11337 set dummy $ac_cv_prog_CC
11338 shift
11339 if test $# != 0; then
11340 # We chose a different compiler from the bogus one.
11341 # However, it has the same basename, so the bogon will be chosen
11342 # first if we set CC to just the basename; use the full file name.
11343 shift
11344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11345 fi
11346 fi
11347 fi
11348 fi
11349 CC=$ac_cv_prog_CC
11350 if test -n "$CC"; then
11351 echo "$as_me:$LINENO: result: $CC" >&5
11352 echo "${ECHO_T}$CC" >&6
11353 else
11354 echo "$as_me:$LINENO: result: no" >&5
11355 echo "${ECHO_T}no" >&6
11356 fi
11357
11358 fi
11359 if test -z "$CC"; then
11360 if test -n "$ac_tool_prefix"; then
11361 for ac_prog in cl
11362 do
11363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11365 echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11367 if test "${ac_cv_prog_CC+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else
11370 if test -n "$CC"; then
11371 ac_cv_prog_CC="$CC" # Let the user override the test.
11372 else
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11375 do
11376 IFS=$as_save_IFS
11377 test -z "$as_dir" && as_dir=.
11378 for ac_exec_ext in '' $ac_executable_extensions; do
11379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11382 break 2
11383 fi
11384 done
11385 done
11386
11387 fi
11388 fi
11389 CC=$ac_cv_prog_CC
11390 if test -n "$CC"; then
11391 echo "$as_me:$LINENO: result: $CC" >&5
11392 echo "${ECHO_T}$CC" >&6
11393 else
11394 echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6
11396 fi
11397
11398 test -n "$CC" && break
11399 done
11400 fi
11401 if test -z "$CC"; then
11402 ac_ct_CC=$CC
11403 for ac_prog in cl
11404 do
11405 # Extract the first word of "$ac_prog", so it can be a program name with args.
11406 set dummy $ac_prog; ac_word=$2
11407 echo "$as_me:$LINENO: checking for $ac_word" >&5
11408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 if test -n "$ac_ct_CC"; then
11413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11414 else
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11417 do
11418 IFS=$as_save_IFS
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_ac_ct_CC="$ac_prog"
11423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11424 break 2
11425 fi
11426 done
11427 done
11428
11429 fi
11430 fi
11431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11432 if test -n "$ac_ct_CC"; then
11433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11434 echo "${ECHO_T}$ac_ct_CC" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440 test -n "$ac_ct_CC" && break
11441 done
11442
11443 CC=$ac_ct_CC
11444 fi
11445
11446 fi
11447
11448
11449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11450 See \`config.log' for more details." >&5
11451 echo "$as_me: error: no acceptable C compiler found in \$PATH
11452 See \`config.log' for more details." >&2;}
11453 { (exit 1); exit 1; }; }
11454
11455 # Provide some information about the compiler.
11456 echo "$as_me:$LINENO:" \
11457 "checking for C compiler version" >&5
11458 ac_compiler=`set X $ac_compile; echo $2`
11459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11460 (eval $ac_compiler --version </dev/null >&5) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11465 (eval $ac_compiler -v </dev/null >&5) 2>&5
11466 ac_status=$?
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11470 (eval $ac_compiler -V </dev/null >&5) 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11474
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481
11482 int
11483 main ()
11484 {
11485
11486 ;
11487 return 0;
11488 }
11489 _ACEOF
11490 ac_clean_files_save=$ac_clean_files
11491 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11492 # Try to create an executable without -o first, disregard a.out.
11493 # It will help us diagnose broken compilers, and finding out an intuition
11494 # of exeext.
11495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11497 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11499 (eval $ac_link_default) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; then
11503 # Find the output, starting from the most likely. This scheme is
11504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11505 # resort.
11506
11507 # Be careful to initialize this variable, since it used to be cached.
11508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11509 ac_cv_exeext=
11510 # b.out is created by i960 compilers.
11511 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11512 do
11513 test -f "$ac_file" || continue
11514 case $ac_file in
11515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11516 ;;
11517 conftest.$ac_ext )
11518 # This is the source file.
11519 ;;
11520 [ab].out )
11521 # We found the default executable, but exeext='' is most
11522 # certainly right.
11523 break;;
11524 *.* )
11525 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11526 # FIXME: I believe we export ac_cv_exeext for Libtool,
11527 # but it would be cool to find out if it's true. Does anybody
11528 # maintain Libtool? --akim.
11529 export ac_cv_exeext
11530 break;;
11531 * )
11532 break;;
11533 esac
11534 done
11535 else
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11538
11539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11540 See \`config.log' for more details." >&5
11541 echo "$as_me: error: C compiler cannot create executables
11542 See \`config.log' for more details." >&2;}
11543 { (exit 77); exit 77; }; }
11544 fi
11545
11546 ac_exeext=$ac_cv_exeext
11547 echo "$as_me:$LINENO: result: $ac_file" >&5
11548 echo "${ECHO_T}$ac_file" >&6
11549
11550 # Check the compiler produces executables we can run. If not, either
11551 # the compiler is broken, or we cross compile.
11552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11555 # If not cross compiling, check that we can run a simple program.
11556 if test "$cross_compiling" != yes; then
11557 if { ac_try='./$ac_file'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11563 cross_compiling=no
11564 else
11565 if test "$cross_compiling" = maybe; then
11566 cross_compiling=yes
11567 else
11568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11569 If you meant to cross compile, use \`--host'.
11570 See \`config.log' for more details." >&5
11571 echo "$as_me: error: cannot run C compiled programs.
11572 If you meant to cross compile, use \`--host'.
11573 See \`config.log' for more details." >&2;}
11574 { (exit 1); exit 1; }; }
11575 fi
11576 fi
11577 fi
11578 echo "$as_me:$LINENO: result: yes" >&5
11579 echo "${ECHO_T}yes" >&6
11580
11581 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11582 ac_clean_files=$ac_clean_files_save
11583 # Check the compiler produces executables we can run. If not, either
11584 # the compiler is broken, or we cross compile.
11585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11588 echo "${ECHO_T}$cross_compiling" >&6
11589
11590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>&5
11594 ac_status=$?
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; then
11597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11599 # work properly (i.e., refer to `conftest.exe'), while it won't with
11600 # `rm'.
11601 for ac_file in conftest.exe conftest conftest.*; do
11602 test -f "$ac_file" || continue
11603 case $ac_file in
11604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11606 export ac_cv_exeext
11607 break;;
11608 * ) break;;
11609 esac
11610 done
11611 else
11612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11613 See \`config.log' for more details." >&5
11614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11615 See \`config.log' for more details." >&2;}
11616 { (exit 1); exit 1; }; }
11617 fi
11618
11619 rm -f conftest$ac_cv_exeext
11620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11621 echo "${ECHO_T}$ac_cv_exeext" >&6
11622
11623 rm -f conftest.$ac_ext
11624 EXEEXT=$ac_cv_exeext
11625 ac_exeext=$EXEEXT
11626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11628 if test "${ac_cv_objext+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 else
11631 cat >conftest.$ac_ext <<_ACEOF
11632 /* confdefs.h. */
11633 _ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637
11638 int
11639 main ()
11640 {
11641
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.o conftest.obj
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>&5
11649 ac_status=$?
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; then
11652 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11653 case $ac_file in
11654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11655 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11656 break;;
11657 esac
11658 done
11659 else
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5
11662
11663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11664 See \`config.log' for more details." >&5
11665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11666 See \`config.log' for more details." >&2;}
11667 { (exit 1); exit 1; }; }
11668 fi
11669
11670 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11671 fi
11672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11673 echo "${ECHO_T}$ac_cv_objext" >&6
11674 OBJEXT=$ac_cv_objext
11675 ac_objext=$OBJEXT
11676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 else
11681 cat >conftest.$ac_ext <<_ACEOF
11682 /* confdefs.h. */
11683 _ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687
11688 int
11689 main ()
11690 {
11691 #ifndef __GNUC__
11692 choke me
11693 #endif
11694
11695 ;
11696 return 0;
11697 }
11698 _ACEOF
11699 rm -f conftest.$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11702 ac_status=$?
11703 grep -v '^ *+' conftest.er1 >conftest.err
11704 rm -f conftest.er1
11705 cat conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11711 ac_status=$?
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try='test -s conftest.$ac_objext'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11717 ac_status=$?
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; }; then
11720 ac_compiler_gnu=yes
11721 else
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.$ac_ext >&5
11724
11725 ac_compiler_gnu=no
11726 fi
11727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11728 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11729
11730 fi
11731 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11733 GCC=`test $ac_compiler_gnu = yes && echo yes`
11734 ac_test_CFLAGS=${CFLAGS+set}
11735 ac_save_CFLAGS=$CFLAGS
11736 CFLAGS="-g"
11737 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11738 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11739 if test "${ac_cv_prog_cc_g+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 else
11742 cat >conftest.$ac_ext <<_ACEOF
11743 /* confdefs.h. */
11744 _ACEOF
11745 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11748
11749 int
11750 main ()
11751 {
11752
11753 ;
11754 return 0;
11755 }
11756 _ACEOF
11757 rm -f conftest.$ac_objext
11758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11759 (eval $ac_compile) 2>conftest.er1
11760 ac_status=$?
11761 grep -v '^ *+' conftest.er1 >conftest.err
11762 rm -f conftest.er1
11763 cat conftest.err >&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } &&
11766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11769 ac_status=$?
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; } &&
11772 { ac_try='test -s conftest.$ac_objext'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11775 ac_status=$?
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; }; then
11778 ac_cv_prog_cc_g=yes
11779 else
11780 echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.$ac_ext >&5
11782
11783 ac_cv_prog_cc_g=no
11784 fi
11785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11786 fi
11787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11789 if test "$ac_test_CFLAGS" = set; then
11790 CFLAGS=$ac_save_CFLAGS
11791 elif test $ac_cv_prog_cc_g = yes; then
11792 if test "$GCC" = yes; then
11793 CFLAGS="-g -O2"
11794 else
11795 CFLAGS="-g"
11796 fi
11797 else
11798 if test "$GCC" = yes; then
11799 CFLAGS="-O2"
11800 else
11801 CFLAGS=
11802 fi
11803 fi
11804 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11805 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11806 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 ac_cv_prog_cc_stdc=no
11810 ac_save_CC=$CC
11811 cat >conftest.$ac_ext <<_ACEOF
11812 /* confdefs.h. */
11813 _ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 #include <stdarg.h>
11818 #include <stdio.h>
11819 #include <sys/types.h>
11820 #include <sys/stat.h>
11821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11822 struct buf { int x; };
11823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11824 static char *e (p, i)
11825 char **p;
11826 int i;
11827 {
11828 return p[i];
11829 }
11830 static char *f (char * (*g) (char **, int), char **p, ...)
11831 {
11832 char *s;
11833 va_list v;
11834 va_start (v,p);
11835 s = g (p, va_arg (v,int));
11836 va_end (v);
11837 return s;
11838 }
11839
11840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11841 function prototypes and stuff, but not '\xHH' hex character constants.
11842 These don't provoke an error unfortunately, instead are silently treated
11843 as 'x'. The following induces an error, until -std1 is added to get
11844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11845 array size at least. It's necessary to write '\x00'==0 to get something
11846 that's true only with -std1. */
11847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11848
11849 int test (int i, double x);
11850 struct s1 {int (*f) (int a);};
11851 struct s2 {int (*f) (double a);};
11852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11853 int argc;
11854 char **argv;
11855 int
11856 main ()
11857 {
11858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11859 ;
11860 return 0;
11861 }
11862 _ACEOF
11863 # Don't try gcc -ansi; that turns off useful extensions and
11864 # breaks some systems' header files.
11865 # AIX -qlanglvl=ansi
11866 # Ultrix and OSF/1 -std1
11867 # HP-UX 10.20 and later -Ae
11868 # HP-UX older versions -Aa -D_HPUX_SOURCE
11869 # SVR4 -Xc -D__EXTENSIONS__
11870 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11871 do
11872 CC="$ac_save_CC $ac_arg"
11873 rm -f conftest.$ac_objext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11875 (eval $ac_compile) 2>conftest.er1
11876 ac_status=$?
11877 grep -v '^ *+' conftest.er1 >conftest.err
11878 rm -f conftest.er1
11879 cat conftest.err >&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } &&
11882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11885 ac_status=$?
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; } &&
11888 { ac_try='test -s conftest.$ac_objext'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11891 ac_status=$?
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; }; then
11894 ac_cv_prog_cc_stdc=$ac_arg
11895 break
11896 else
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.$ac_ext >&5
11899
11900 fi
11901 rm -f conftest.err conftest.$ac_objext
11902 done
11903 rm -f conftest.$ac_ext conftest.$ac_objext
11904 CC=$ac_save_CC
11905
11906 fi
11907
11908 case "x$ac_cv_prog_cc_stdc" in
11909 x|xno)
11910 echo "$as_me:$LINENO: result: none needed" >&5
11911 echo "${ECHO_T}none needed" >&6 ;;
11912 *)
11913 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11914 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11915 CC="$CC $ac_cv_prog_cc_stdc" ;;
11916 esac
11917
11918 # Some people use a C++ compiler to compile C. Since we use `exit',
11919 # in C++ we need to declare it. In case someone uses the same compiler
11920 # for both compiling C and C++ we need to have the C++ compiler decide
11921 # the declaration of exit, since it's the most demanding environment.
11922 cat >conftest.$ac_ext <<_ACEOF
11923 #ifndef __cplusplus
11924 choke me
11925 #endif
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>conftest.er1
11930 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11939 ac_status=$?
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; } &&
11942 { ac_try='test -s conftest.$ac_objext'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11945 ac_status=$?
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; }; then
11948 for ac_declaration in \
11949 '' \
11950 'extern "C" void std::exit (int) throw (); using std::exit;' \
11951 'extern "C" void std::exit (int); using std::exit;' \
11952 'extern "C" void exit (int) throw ();' \
11953 'extern "C" void exit (int);' \
11954 'void exit (int);'
11955 do
11956 cat >conftest.$ac_ext <<_ACEOF
11957 /* confdefs.h. */
11958 _ACEOF
11959 cat confdefs.h >>conftest.$ac_ext
11960 cat >>conftest.$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11962 $ac_declaration
11963 #include <stdlib.h>
11964 int
11965 main ()
11966 {
11967 exit (42);
11968 ;
11969 return 0;
11970 }
11971 _ACEOF
11972 rm -f conftest.$ac_objext
11973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11974 (eval $ac_compile) 2>conftest.er1
11975 ac_status=$?
11976 grep -v '^ *+' conftest.er1 >conftest.err
11977 rm -f conftest.er1
11978 cat conftest.err >&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); } &&
11981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11984 ac_status=$?
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; } &&
11987 { ac_try='test -s conftest.$ac_objext'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11990 ac_status=$?
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; }; then
11993 :
11994 else
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11997
11998 continue
11999 fi
12000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12001 cat >conftest.$ac_ext <<_ACEOF
12002 /* confdefs.h. */
12003 _ACEOF
12004 cat confdefs.h >>conftest.$ac_ext
12005 cat >>conftest.$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12007 $ac_declaration
12008 int
12009 main ()
12010 {
12011 exit (42);
12012 ;
12013 return 0;
12014 }
12015 _ACEOF
12016 rm -f conftest.$ac_objext
12017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12018 (eval $ac_compile) 2>conftest.er1
12019 ac_status=$?
12020 grep -v '^ *+' conftest.er1 >conftest.err
12021 rm -f conftest.er1
12022 cat conftest.err >&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } &&
12025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12027 (eval $ac_try) 2>&5
12028 ac_status=$?
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); }; } &&
12031 { ac_try='test -s conftest.$ac_objext'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12034 ac_status=$?
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; }; then
12037 break
12038 else
12039 echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.$ac_ext >&5
12041
12042 fi
12043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12044 done
12045 rm -f conftest*
12046 if test -n "$ac_declaration"; then
12047 echo '#ifdef __cplusplus' >>confdefs.h
12048 echo $ac_declaration >>confdefs.h
12049 echo '#endif' >>confdefs.h
12050 fi
12051
12052 else
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.$ac_ext >&5
12055
12056 fi
12057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12058 ac_ext=c
12059 ac_cpp='$CPP $CPPFLAGS'
12060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12063
12064
12065
12066 ac_ext=c
12067 ac_cpp='$CPP $CPPFLAGS'
12068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12071
12072 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12073 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12074 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 cat >conftest.$ac_ext <<_ACEOF
12078 /* confdefs.h. */
12079 _ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12083
12084 int
12085 main ()
12086 {
12087
12088 #ifndef __INTEL_COMPILER
12089 choke me
12090 #endif
12091
12092 ;
12093 return 0;
12094 }
12095 _ACEOF
12096 rm -f conftest.$ac_objext
12097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12098 (eval $ac_compile) 2>conftest.er1
12099 ac_status=$?
12100 grep -v '^ *+' conftest.er1 >conftest.err
12101 rm -f conftest.er1
12102 cat conftest.err >&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); } &&
12105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12108 ac_status=$?
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; } &&
12111 { ac_try='test -s conftest.$ac_objext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12114 ac_status=$?
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12118 else
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12121
12122 bakefile_cv_c_compiler___INTEL_COMPILER=no
12123
12124 fi
12125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12126
12127
12128 fi
12129 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12130 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12131 ac_ext=c
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12136
12137 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12138 :; INTELCC=yes
12139 else
12140 :;
12141 fi
12142
12143
12144 if test "x$GCC" != "xyes"; then
12145 if test "xCC" = "xC"; then
12146 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12147 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12148 if test "${bakefile_cv_c_exto+set}" = set; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 else
12151 cat >conftest.$ac_ext <<_ACEOF
12152 /* confdefs.h. */
12153 _ACEOF
12154 cat confdefs.h >>conftest.$ac_ext
12155 cat >>conftest.$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12157
12158 int
12159 main ()
12160 {
12161
12162 ;
12163 return 0;
12164 }
12165 _ACEOF
12166 rm -f conftest.$ac_objext conftest.$ac_ext.o
12167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12168 (eval $ac_compile) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; then
12172 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12173 case $ac_file in
12174 conftest.$ac_ext.o)
12175 bakefile_cv_c_exto="-ext o"
12176 ;;
12177 *)
12178 ;;
12179 esac
12180 done
12181 else
12182 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12183 See \`config.log' for more details." >&5
12184 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12185 See \`config.log' for more details." >&2;}
12186 { (exit 1); exit 1; }; }
12187
12188 fi
12189
12190 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12191
12192 fi
12193 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12194 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12196 if test "c" = "c"; then
12197 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12198 fi
12199 if test "c" = "cxx"; then
12200 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12201 fi
12202 fi
12203
12204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12205 unset ac_cv_prog_cc_g
12206 ac_test_CFLAGS=${CFLAGS+set}
12207 ac_save_CFLAGS=$CFLAGS
12208 CFLAGS="-g"
12209 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12210 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12211 if test "${ac_cv_prog_cc_g+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 else
12214 cat >conftest.$ac_ext <<_ACEOF
12215 /* confdefs.h. */
12216 _ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12220
12221 int
12222 main ()
12223 {
12224
12225 ;
12226 return 0;
12227 }
12228 _ACEOF
12229 rm -f conftest.$ac_objext
12230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12231 (eval $ac_compile) 2>conftest.er1
12232 ac_status=$?
12233 grep -v '^ *+' conftest.er1 >conftest.err
12234 rm -f conftest.er1
12235 cat conftest.err >&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } &&
12238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try='test -s conftest.$ac_objext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12247 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 ac_cv_prog_cc_g=yes
12251 else
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.$ac_ext >&5
12254
12255 ac_cv_prog_cc_g=no
12256 fi
12257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12258 fi
12259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12260 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12261 if test "$ac_test_CFLAGS" = set; then
12262 CFLAGS=$ac_save_CFLAGS
12263 elif test $ac_cv_prog_cc_g = yes; then
12264 if test "$GCC" = yes; then
12265 CFLAGS="-g -O2"
12266 else
12267 CFLAGS="-g"
12268 fi
12269 else
12270 if test "$GCC" = yes; then
12271 CFLAGS="-O2"
12272 else
12273 CFLAGS=
12274 fi
12275 fi
12276 fi
12277 fi
12278
12279 case `uname -s` in
12280 AIX*)
12281 ac_ext=c
12282 ac_cpp='$CPP $CPPFLAGS'
12283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12286
12287 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12288 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12289 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 else
12292 cat >conftest.$ac_ext <<_ACEOF
12293 /* confdefs.h. */
12294 _ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298
12299 int
12300 main ()
12301 {
12302 #ifndef __xlC__
12303 choke me
12304 #endif
12305
12306 ;
12307 return 0;
12308 }
12309 _ACEOF
12310 rm -f conftest.$ac_objext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12312 (eval $ac_compile) 2>conftest.er1
12313 ac_status=$?
12314 grep -v '^ *+' conftest.er1 >conftest.err
12315 rm -f conftest.er1
12316 cat conftest.err >&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12322 ac_status=$?
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try='test -s conftest.$ac_objext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12328 ac_status=$?
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 bakefile_compiler_xlc=yes
12332 else
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12335
12336 bakefile_compiler_xlc=no
12337 fi
12338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12339 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12340
12341 fi
12342 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12343 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12344
12345 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12346 ac_ext=c
12347 ac_cpp='$CPP $CPPFLAGS'
12348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12351
12352
12353 ;;
12354
12355 Darwin)
12356 ac_ext=c
12357 ac_cpp='$CPP $CPPFLAGS'
12358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12361
12362 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12363 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12364 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12365 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 else
12367 cat >conftest.$ac_ext <<_ACEOF
12368 /* confdefs.h. */
12369 _ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373
12374 int
12375 main ()
12376 {
12377 #ifndef __MWERKS__
12378 choke me
12379 #endif
12380
12381 ;
12382 return 0;
12383 }
12384 _ACEOF
12385 rm -f conftest.$ac_objext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12387 (eval $ac_compile) 2>conftest.er1
12388 ac_status=$?
12389 grep -v '^ *+' conftest.er1 >conftest.err
12390 rm -f conftest.er1
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } &&
12394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12397 ac_status=$?
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 bakefile_compiler_mwerks=yes
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 bakefile_compiler_mwerks=no
12412 fi
12413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12414 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12415
12416 fi
12417 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12418 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12419
12420 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12421 ac_ext=c
12422 ac_cpp='$CPP $CPPFLAGS'
12423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12426
12427
12428 ac_ext=c
12429 ac_cpp='$CPP $CPPFLAGS'
12430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12433
12434 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12435 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12436 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 else
12439 cat >conftest.$ac_ext <<_ACEOF
12440 /* confdefs.h. */
12441 _ACEOF
12442 cat confdefs.h >>conftest.$ac_ext
12443 cat >>conftest.$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12445
12446 int
12447 main ()
12448 {
12449 #ifndef __xlC__
12450 choke me
12451 #endif
12452
12453 ;
12454 return 0;
12455 }
12456 _ACEOF
12457 rm -f conftest.$ac_objext
12458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12459 (eval $ac_compile) 2>conftest.er1
12460 ac_status=$?
12461 grep -v '^ *+' conftest.er1 >conftest.err
12462 rm -f conftest.er1
12463 cat conftest.err >&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12469 ac_status=$?
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try='test -s conftest.$ac_objext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12475 ac_status=$?
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 bakefile_compiler_xlc=yes
12479 else
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.$ac_ext >&5
12482
12483 bakefile_compiler_xlc=no
12484 fi
12485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12486 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12487
12488 fi
12489 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12490 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12491
12492 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12493 ac_ext=c
12494 ac_cpp='$CPP $CPPFLAGS'
12495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12498
12499
12500 ;;
12501
12502 IRIX*)
12503
12504
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12510
12511 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12512 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12513 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516 cat >conftest.$ac_ext <<_ACEOF
12517 /* confdefs.h. */
12518 _ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522
12523 int
12524 main ()
12525 {
12526
12527 #ifndef _SGI_COMPILER_VERSION
12528 choke me
12529 #endif
12530
12531 ;
12532 return 0;
12533 }
12534 _ACEOF
12535 rm -f conftest.$ac_objext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>conftest.er1
12538 ac_status=$?
12539 grep -v '^ *+' conftest.er1 >conftest.err
12540 rm -f conftest.er1
12541 cat conftest.err >&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12547 ac_status=$?
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try='test -s conftest.$ac_objext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12553 ac_status=$?
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12557 else
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12560
12561 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12562
12563 fi
12564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12565
12566
12567 fi
12568 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12569 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12570 ac_ext=c
12571 ac_cpp='$CPP $CPPFLAGS'
12572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12575
12576 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12577 :; SGICC=yes
12578 else
12579 :;
12580 fi
12581
12582
12583 ;;
12584
12585 HP-UX*)
12586
12587
12588 ac_ext=c
12589 ac_cpp='$CPP $CPPFLAGS'
12590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12593
12594 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12595 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12596 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 else
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605
12606 int
12607 main ()
12608 {
12609
12610 #ifndef __HP_cc
12611 choke me
12612 #endif
12613
12614 ;
12615 return 0;
12616 }
12617 _ACEOF
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12630 ac_status=$?
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12636 ac_status=$?
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 bakefile_cv_c_compiler___HP_cc=yes
12640 else
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.$ac_ext >&5
12643
12644 bakefile_cv_c_compiler___HP_cc=no
12645
12646 fi
12647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12648
12649
12650 fi
12651 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12652 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12653 ac_ext=c
12654 ac_cpp='$CPP $CPPFLAGS'
12655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12658
12659 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12660 :; HPCC=yes
12661 else
12662 :;
12663 fi
12664
12665
12666 ;;
12667
12668 OSF1)
12669
12670
12671 ac_ext=c
12672 ac_cpp='$CPP $CPPFLAGS'
12673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12676
12677 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12678 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12679 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 else
12682 cat >conftest.$ac_ext <<_ACEOF
12683 /* confdefs.h. */
12684 _ACEOF
12685 cat confdefs.h >>conftest.$ac_ext
12686 cat >>conftest.$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688
12689 int
12690 main ()
12691 {
12692
12693 #ifndef __DECC
12694 choke me
12695 #endif
12696
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 rm -f conftest.$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12704 ac_status=$?
12705 grep -v '^ *+' conftest.er1 >conftest.err
12706 rm -f conftest.er1
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12713 ac_status=$?
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try='test -s conftest.$ac_objext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 bakefile_cv_c_compiler___DECC=yes
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 bakefile_cv_c_compiler___DECC=no
12728
12729 fi
12730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12731
12732
12733 fi
12734 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12735 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12736 ac_ext=c
12737 ac_cpp='$CPP $CPPFLAGS'
12738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12741
12742 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12743 :; COMPAQCC=yes
12744 else
12745 :;
12746 fi
12747
12748
12749 ;;
12750
12751 SunOS)
12752
12753
12754 ac_ext=c
12755 ac_cpp='$CPP $CPPFLAGS'
12756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12759
12760 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12761 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12762 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 cat >conftest.$ac_ext <<_ACEOF
12766 /* confdefs.h. */
12767 _ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771
12772 int
12773 main ()
12774 {
12775
12776 #ifndef __SUNPRO_C
12777 choke me
12778 #endif
12779
12780 ;
12781 return 0;
12782 }
12783 _ACEOF
12784 rm -f conftest.$ac_objext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 (eval $ac_compile) 2>conftest.er1
12787 ac_status=$?
12788 grep -v '^ *+' conftest.er1 >conftest.err
12789 rm -f conftest.er1
12790 cat conftest.err >&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); } &&
12793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12796 ac_status=$?
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; } &&
12799 { ac_try='test -s conftest.$ac_objext'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12802 ac_status=$?
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; }; then
12805 bakefile_cv_c_compiler___SUNPRO_C=yes
12806 else
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.$ac_ext >&5
12809
12810 bakefile_cv_c_compiler___SUNPRO_C=no
12811
12812 fi
12813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12814
12815
12816 fi
12817 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12818 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12819 ac_ext=c
12820 ac_cpp='$CPP $CPPFLAGS'
12821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12824
12825 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12826 :; SUNCC=yes
12827 else
12828 :;
12829 fi
12830
12831
12832 ;;
12833 esac
12834 fi
12835
12836
12837
12838 ac_ext=c
12839 ac_cpp='$CPP $CPPFLAGS'
12840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12843 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12844 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12845 # On Suns, sometimes $CPP names a directory.
12846 if test -n "$CPP" && test -d "$CPP"; then
12847 CPP=
12848 fi
12849 if test -z "$CPP"; then
12850 if test "${ac_cv_prog_CPP+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12852 else
12853 # Double quotes because CPP needs to be expanded
12854 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12855 do
12856 ac_preproc_ok=false
12857 for ac_c_preproc_warn_flag in '' yes
12858 do
12859 # Use a header file that comes with gcc, so configuring glibc
12860 # with a fresh cross-compiler works.
12861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12862 # <limits.h> exists even on freestanding compilers.
12863 # On the NeXT, cc -E runs the code through the compiler's parser,
12864 # not just through cpp. "Syntax error" is here to catch this case.
12865 cat >conftest.$ac_ext <<_ACEOF
12866 /* confdefs.h. */
12867 _ACEOF
12868 cat confdefs.h >>conftest.$ac_ext
12869 cat >>conftest.$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12871 #ifdef __STDC__
12872 # include <limits.h>
12873 #else
12874 # include <assert.h>
12875 #endif
12876 Syntax error
12877 _ACEOF
12878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12880 ac_status=$?
12881 grep -v '^ *+' conftest.er1 >conftest.err
12882 rm -f conftest.er1
12883 cat conftest.err >&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } >/dev/null; then
12886 if test -s conftest.err; then
12887 ac_cpp_err=$ac_c_preproc_warn_flag
12888 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12889 else
12890 ac_cpp_err=
12891 fi
12892 else
12893 ac_cpp_err=yes
12894 fi
12895 if test -z "$ac_cpp_err"; then
12896 :
12897 else
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12900
12901 # Broken: fails on valid input.
12902 continue
12903 fi
12904 rm -f conftest.err conftest.$ac_ext
12905
12906 # OK, works on sane cases. Now check whether non-existent headers
12907 # can be detected and how.
12908 cat >conftest.$ac_ext <<_ACEOF
12909 /* confdefs.h. */
12910 _ACEOF
12911 cat confdefs.h >>conftest.$ac_ext
12912 cat >>conftest.$ac_ext <<_ACEOF
12913 /* end confdefs.h. */
12914 #include <ac_nonexistent.h>
12915 _ACEOF
12916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12918 ac_status=$?
12919 grep -v '^ *+' conftest.er1 >conftest.err
12920 rm -f conftest.er1
12921 cat conftest.err >&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } >/dev/null; then
12924 if test -s conftest.err; then
12925 ac_cpp_err=$ac_c_preproc_warn_flag
12926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12927 else
12928 ac_cpp_err=
12929 fi
12930 else
12931 ac_cpp_err=yes
12932 fi
12933 if test -z "$ac_cpp_err"; then
12934 # Broken: success on invalid input.
12935 continue
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12939
12940 # Passes both tests.
12941 ac_preproc_ok=:
12942 break
12943 fi
12944 rm -f conftest.err conftest.$ac_ext
12945
12946 done
12947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12948 rm -f conftest.err conftest.$ac_ext
12949 if $ac_preproc_ok; then
12950 break
12951 fi
12952
12953 done
12954 ac_cv_prog_CPP=$CPP
12955
12956 fi
12957 CPP=$ac_cv_prog_CPP
12958 else
12959 ac_cv_prog_CPP=$CPP
12960 fi
12961 echo "$as_me:$LINENO: result: $CPP" >&5
12962 echo "${ECHO_T}$CPP" >&6
12963 ac_preproc_ok=false
12964 for ac_c_preproc_warn_flag in '' yes
12965 do
12966 # Use a header file that comes with gcc, so configuring glibc
12967 # with a fresh cross-compiler works.
12968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12969 # <limits.h> exists even on freestanding compilers.
12970 # On the NeXT, cc -E runs the code through the compiler's parser,
12971 # not just through cpp. "Syntax error" is here to catch this case.
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #ifdef __STDC__
12979 # include <limits.h>
12980 #else
12981 # include <assert.h>
12982 #endif
12983 Syntax error
12984 _ACEOF
12985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } >/dev/null; then
12993 if test -s conftest.err; then
12994 ac_cpp_err=$ac_c_preproc_warn_flag
12995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12996 else
12997 ac_cpp_err=
12998 fi
12999 else
13000 ac_cpp_err=yes
13001 fi
13002 if test -z "$ac_cpp_err"; then
13003 :
13004 else
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13007
13008 # Broken: fails on valid input.
13009 continue
13010 fi
13011 rm -f conftest.err conftest.$ac_ext
13012
13013 # OK, works on sane cases. Now check whether non-existent headers
13014 # can be detected and how.
13015 cat >conftest.$ac_ext <<_ACEOF
13016 /* confdefs.h. */
13017 _ACEOF
13018 cat confdefs.h >>conftest.$ac_ext
13019 cat >>conftest.$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <ac_nonexistent.h>
13022 _ACEOF
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev/null; then
13031 if test -s conftest.err; then
13032 ac_cpp_err=$ac_c_preproc_warn_flag
13033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13034 else
13035 ac_cpp_err=
13036 fi
13037 else
13038 ac_cpp_err=yes
13039 fi
13040 if test -z "$ac_cpp_err"; then
13041 # Broken: success on invalid input.
13042 continue
13043 else
13044 echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.$ac_ext >&5
13046
13047 # Passes both tests.
13048 ac_preproc_ok=:
13049 break
13050 fi
13051 rm -f conftest.err conftest.$ac_ext
13052
13053 done
13054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13055 rm -f conftest.err conftest.$ac_ext
13056 if $ac_preproc_ok; then
13057 :
13058 else
13059 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13060 See \`config.log' for more details." >&5
13061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13062 See \`config.log' for more details." >&2;}
13063 { (exit 1); exit 1; }; }
13064 fi
13065
13066 ac_ext=c
13067 ac_cpp='$CPP $CPPFLAGS'
13068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13071
13072
13073 echo "$as_me:$LINENO: checking for egrep" >&5
13074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13075 if test "${ac_cv_prog_egrep+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 else
13078 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13079 then ac_cv_prog_egrep='grep -E'
13080 else ac_cv_prog_egrep='egrep'
13081 fi
13082 fi
13083 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13084 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13085 EGREP=$ac_cv_prog_egrep
13086
13087
13088 if test $ac_cv_c_compiler_gnu = yes; then
13089 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13090 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13091 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13094 ac_pattern="Autoconf.*'x'"
13095 cat >conftest.$ac_ext <<_ACEOF
13096 /* confdefs.h. */
13097 _ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13101 #include <sgtty.h>
13102 Autoconf TIOCGETP
13103 _ACEOF
13104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13105 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13106 ac_cv_prog_gcc_traditional=yes
13107 else
13108 ac_cv_prog_gcc_traditional=no
13109 fi
13110 rm -f conftest*
13111
13112
13113 if test $ac_cv_prog_gcc_traditional = no; then
13114 cat >conftest.$ac_ext <<_ACEOF
13115 /* confdefs.h. */
13116 _ACEOF
13117 cat confdefs.h >>conftest.$ac_ext
13118 cat >>conftest.$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <termio.h>
13121 Autoconf TCGETA
13122 _ACEOF
13123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13124 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13125 ac_cv_prog_gcc_traditional=yes
13126 fi
13127 rm -f conftest*
13128
13129 fi
13130 fi
13131 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13132 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13133 if test $ac_cv_prog_gcc_traditional = yes; then
13134 CC="$CC -traditional"
13135 fi
13136 fi
13137
13138
13139 ac_ext=cc
13140 ac_cpp='$CXXCPP $CPPFLAGS'
13141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13144
13145
13146 CXXFLAGS=${CXXFLAGS:=}
13147
13148
13149
13150 ac_ext=cc
13151 ac_cpp='$CXXCPP $CPPFLAGS'
13152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13155 if test -n "$ac_tool_prefix"; then
13156 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13157 do
13158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13160 echo "$as_me:$LINENO: checking for $ac_word" >&5
13161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13162 if test "${ac_cv_prog_CXX+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 else
13165 if test -n "$CXX"; then
13166 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13167 else
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
13170 do
13171 IFS=$as_save_IFS
13172 test -z "$as_dir" && as_dir=.
13173 for ac_exec_ext in '' $ac_executable_extensions; do
13174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13175 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13177 break 2
13178 fi
13179 done
13180 done
13181
13182 fi
13183 fi
13184 CXX=$ac_cv_prog_CXX
13185 if test -n "$CXX"; then
13186 echo "$as_me:$LINENO: result: $CXX" >&5
13187 echo "${ECHO_T}$CXX" >&6
13188 else
13189 echo "$as_me:$LINENO: result: no" >&5
13190 echo "${ECHO_T}no" >&6
13191 fi
13192
13193 test -n "$CXX" && break
13194 done
13195 fi
13196 if test -z "$CXX"; then
13197 ac_ct_CXX=$CXX
13198 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13199 do
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy $ac_prog; ac_word=$2
13202 echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13204 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13206 else
13207 if test -n "$ac_ct_CXX"; then
13208 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13209 else
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13212 do
13213 IFS=$as_save_IFS
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_prog_ac_ct_CXX="$ac_prog"
13218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 break 2
13220 fi
13221 done
13222 done
13223
13224 fi
13225 fi
13226 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13227 if test -n "$ac_ct_CXX"; then
13228 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13229 echo "${ECHO_T}$ac_ct_CXX" >&6
13230 else
13231 echo "$as_me:$LINENO: result: no" >&5
13232 echo "${ECHO_T}no" >&6
13233 fi
13234
13235 test -n "$ac_ct_CXX" && break
13236 done
13237 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13238
13239 CXX=$ac_ct_CXX
13240 fi
13241
13242
13243 # Provide some information about the compiler.
13244 echo "$as_me:$LINENO:" \
13245 "checking for C++ compiler version" >&5
13246 ac_compiler=`set X $ac_compile; echo $2`
13247 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13248 (eval $ac_compiler --version </dev/null >&5) 2>&5
13249 ac_status=$?
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }
13252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13253 (eval $ac_compiler -v </dev/null >&5) 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }
13257 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13258 (eval $ac_compiler -V </dev/null >&5) 2>&5
13259 ac_status=$?
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }
13262
13263 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13264 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13265 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13268 cat >conftest.$ac_ext <<_ACEOF
13269 /* confdefs.h. */
13270 _ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274
13275 int
13276 main ()
13277 {
13278 #ifndef __GNUC__
13279 choke me
13280 #endif
13281
13282 ;
13283 return 0;
13284 }
13285 _ACEOF
13286 rm -f conftest.$ac_objext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13288 (eval $ac_compile) 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13304 ac_status=$?
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 ac_compiler_gnu=yes
13308 else
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13311
13312 ac_compiler_gnu=no
13313 fi
13314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13315 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13316
13317 fi
13318 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13319 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13320 GXX=`test $ac_compiler_gnu = yes && echo yes`
13321 ac_test_CXXFLAGS=${CXXFLAGS+set}
13322 ac_save_CXXFLAGS=$CXXFLAGS
13323 CXXFLAGS="-g"
13324 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13325 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13326 if test "${ac_cv_prog_cxx_g+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 else
13329 cat >conftest.$ac_ext <<_ACEOF
13330 /* confdefs.h. */
13331 _ACEOF
13332 cat confdefs.h >>conftest.$ac_ext
13333 cat >>conftest.$ac_ext <<_ACEOF
13334 /* end confdefs.h. */
13335
13336 int
13337 main ()
13338 {
13339
13340 ;
13341 return 0;
13342 }
13343 _ACEOF
13344 rm -f conftest.$ac_objext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>conftest.er1
13347 ac_status=$?
13348 grep -v '^ *+' conftest.er1 >conftest.err
13349 rm -f conftest.er1
13350 cat conftest.err >&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } &&
13353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355 (eval $ac_try) 2>&5
13356 ac_status=$?
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; } &&
13359 { ac_try='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13362 ac_status=$?
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13365 ac_cv_prog_cxx_g=yes
13366 else
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.$ac_ext >&5
13369
13370 ac_cv_prog_cxx_g=no
13371 fi
13372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13373 fi
13374 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13375 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13376 if test "$ac_test_CXXFLAGS" = set; then
13377 CXXFLAGS=$ac_save_CXXFLAGS
13378 elif test $ac_cv_prog_cxx_g = yes; then
13379 if test "$GXX" = yes; then
13380 CXXFLAGS="-g -O2"
13381 else
13382 CXXFLAGS="-g"
13383 fi
13384 else
13385 if test "$GXX" = yes; then
13386 CXXFLAGS="-O2"
13387 else
13388 CXXFLAGS=
13389 fi
13390 fi
13391 for ac_declaration in \
13392 '' \
13393 'extern "C" void std::exit (int) throw (); using std::exit;' \
13394 'extern "C" void std::exit (int); using std::exit;' \
13395 'extern "C" void exit (int) throw ();' \
13396 'extern "C" void exit (int);' \
13397 'void exit (int);'
13398 do
13399 cat >conftest.$ac_ext <<_ACEOF
13400 /* confdefs.h. */
13401 _ACEOF
13402 cat confdefs.h >>conftest.$ac_ext
13403 cat >>conftest.$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13405 $ac_declaration
13406 #include <stdlib.h>
13407 int
13408 main ()
13409 {
13410 exit (42);
13411 ;
13412 return 0;
13413 }
13414 _ACEOF
13415 rm -f conftest.$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13418 ac_status=$?
13419 grep -v '^ *+' conftest.er1 >conftest.err
13420 rm -f conftest.er1
13421 cat conftest.err >&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13433 ac_status=$?
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 :
13437 else
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13440
13441 continue
13442 fi
13443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13444 cat >conftest.$ac_ext <<_ACEOF
13445 /* confdefs.h. */
13446 _ACEOF
13447 cat confdefs.h >>conftest.$ac_ext
13448 cat >>conftest.$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13450 $ac_declaration
13451 int
13452 main ()
13453 {
13454 exit (42);
13455 ;
13456 return 0;
13457 }
13458 _ACEOF
13459 rm -f conftest.$ac_objext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13461 (eval $ac_compile) 2>conftest.er1
13462 ac_status=$?
13463 grep -v '^ *+' conftest.er1 >conftest.err
13464 rm -f conftest.er1
13465 cat conftest.err >&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13477 ac_status=$?
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 break
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13484
13485 fi
13486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13487 done
13488 rm -f conftest*
13489 if test -n "$ac_declaration"; then
13490 echo '#ifdef __cplusplus' >>confdefs.h
13491 echo $ac_declaration >>confdefs.h
13492 echo '#endif' >>confdefs.h
13493 fi
13494
13495 ac_ext=cc
13496 ac_cpp='$CXXCPP $CPPFLAGS'
13497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13500
13501
13502
13503 ac_ext=cc
13504 ac_cpp='$CXXCPP $CPPFLAGS'
13505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13508
13509 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13510 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13511 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520
13521 int
13522 main ()
13523 {
13524
13525 #ifndef __INTEL_COMPILER
13526 choke me
13527 #endif
13528
13529 ;
13530 return 0;
13531 }
13532 _ACEOF
13533 rm -f conftest.$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13536 ac_status=$?
13537 grep -v '^ *+' conftest.er1 >conftest.err
13538 rm -f conftest.er1
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13545 ac_status=$?
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13551 ac_status=$?
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13555 else
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13558
13559 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13560
13561 fi
13562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13563
13564
13565 fi
13566 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13567 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13568 ac_ext=cc
13569 ac_cpp='$CXXCPP $CPPFLAGS'
13570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13573
13574 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13575 :; INTELCXX=yes
13576 else
13577 :;
13578 fi
13579
13580
13581 if test "x$GCXX" != "xyes"; then
13582 if test "xCXX" = "xC"; then
13583 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13584 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13585 if test "${bakefile_cv_cxx_exto+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 else
13588 cat >conftest.$ac_ext <<_ACEOF
13589 /* confdefs.h. */
13590 _ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594
13595 int
13596 main ()
13597 {
13598
13599 ;
13600 return 0;
13601 }
13602 _ACEOF
13603 rm -f conftest.$ac_objext conftest.$ac_ext.o
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>&5
13606 ac_status=$?
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; then
13609 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13610 case $ac_file in
13611 conftest.$ac_ext.o)
13612 bakefile_cv_cxx_exto="-ext o"
13613 ;;
13614 *)
13615 ;;
13616 esac
13617 done
13618 else
13619 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13620 See \`config.log' for more details." >&5
13621 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13622 See \`config.log' for more details." >&2;}
13623 { (exit 1); exit 1; }; }
13624
13625 fi
13626
13627 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13628
13629 fi
13630 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13631 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13632 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13633 if test "cxx" = "c"; then
13634 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13635 fi
13636 if test "cxx" = "cxx"; then
13637 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13638 fi
13639 fi
13640
13641 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13642 unset ac_cv_prog_cc_g
13643 ac_test_CFLAGS=${CFLAGS+set}
13644 ac_save_CFLAGS=$CFLAGS
13645 CFLAGS="-g"
13646 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13648 if test "${ac_cv_prog_cc_g+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 else
13651 cat >conftest.$ac_ext <<_ACEOF
13652 /* confdefs.h. */
13653 _ACEOF
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657
13658 int
13659 main ()
13660 {
13661
13662 ;
13663 return 0;
13664 }
13665 _ACEOF
13666 rm -f conftest.$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>conftest.er1
13669 ac_status=$?
13670 grep -v '^ *+' conftest.er1 >conftest.err
13671 rm -f conftest.er1
13672 cat conftest.err >&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try='test -s conftest.$ac_objext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_cv_prog_cc_g=yes
13688 else
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.$ac_ext >&5
13691
13692 ac_cv_prog_cc_g=no
13693 fi
13694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13695 fi
13696 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13697 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13698 if test "$ac_test_CFLAGS" = set; then
13699 CFLAGS=$ac_save_CFLAGS
13700 elif test $ac_cv_prog_cc_g = yes; then
13701 if test "$GCC" = yes; then
13702 CFLAGS="-g -O2"
13703 else
13704 CFLAGS="-g"
13705 fi
13706 else
13707 if test "$GCC" = yes; then
13708 CFLAGS="-O2"
13709 else
13710 CFLAGS=
13711 fi
13712 fi
13713 fi
13714 fi
13715
13716 case `uname -s` in
13717 AIX*)
13718 ac_ext=cc
13719 ac_cpp='$CXXCPP $CPPFLAGS'
13720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13723
13724 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13725 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13726 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 else
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735
13736 int
13737 main ()
13738 {
13739 #ifndef __xlC__
13740 choke me
13741 #endif
13742
13743 ;
13744 return 0;
13745 }
13746 _ACEOF
13747 rm -f conftest.$ac_objext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13749 (eval $ac_compile) 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13759 ac_status=$?
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try='test -s conftest.$ac_objext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 bakefile_compiler_xlc=yes
13769 else
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.$ac_ext >&5
13772
13773 bakefile_compiler_xlc=no
13774 fi
13775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13776 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13777
13778 fi
13779 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13780 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13781
13782 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13783 ac_ext=cc
13784 ac_cpp='$CXXCPP $CPPFLAGS'
13785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13788
13789
13790 ;;
13791
13792 Darwin)
13793 ac_ext=cc
13794 ac_cpp='$CXXCPP $CPPFLAGS'
13795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13798
13799 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13800 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13801 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 else
13804 cat >conftest.$ac_ext <<_ACEOF
13805 /* confdefs.h. */
13806 _ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13810
13811 int
13812 main ()
13813 {
13814 #ifndef __MWERKS__
13815 choke me
13816 #endif
13817
13818 ;
13819 return 0;
13820 }
13821 _ACEOF
13822 rm -f conftest.$ac_objext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13824 (eval $ac_compile) 2>conftest.er1
13825 ac_status=$?
13826 grep -v '^ *+' conftest.er1 >conftest.err
13827 rm -f conftest.er1
13828 cat conftest.err >&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 bakefile_compiler_mwerks=yes
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 bakefile_compiler_mwerks=no
13849 fi
13850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13851 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13852
13853 fi
13854 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13855 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13856
13857 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13858 ac_ext=cc
13859 ac_cpp='$CXXCPP $CPPFLAGS'
13860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13863
13864
13865 ac_ext=cc
13866 ac_cpp='$CXXCPP $CPPFLAGS'
13867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13870
13871 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13872 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13873 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 cat >conftest.$ac_ext <<_ACEOF
13877 /* confdefs.h. */
13878 _ACEOF
13879 cat confdefs.h >>conftest.$ac_ext
13880 cat >>conftest.$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882
13883 int
13884 main ()
13885 {
13886 #ifndef __xlC__
13887 choke me
13888 #endif
13889
13890 ;
13891 return 0;
13892 }
13893 _ACEOF
13894 rm -f conftest.$ac_objext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13896 (eval $ac_compile) 2>conftest.er1
13897 ac_status=$?
13898 grep -v '^ *+' conftest.er1 >conftest.err
13899 rm -f conftest.er1
13900 cat conftest.err >&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13906 ac_status=$?
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try='test -s conftest.$ac_objext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 bakefile_compiler_xlc=yes
13916 else
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13919
13920 bakefile_compiler_xlc=no
13921 fi
13922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13923 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13924
13925 fi
13926 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13927 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13928
13929 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13930 ac_ext=cc
13931 ac_cpp='$CXXCPP $CPPFLAGS'
13932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13935
13936
13937 ;;
13938
13939 IRIX*)
13940
13941
13942 ac_ext=cc
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13947
13948 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13949 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13950 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953 cat >conftest.$ac_ext <<_ACEOF
13954 /* confdefs.h. */
13955 _ACEOF
13956 cat confdefs.h >>conftest.$ac_ext
13957 cat >>conftest.$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959
13960 int
13961 main ()
13962 {
13963
13964 #ifndef _SGI_COMPILER_VERSION
13965 choke me
13966 #endif
13967
13968 ;
13969 return 0;
13970 }
13971 _ACEOF
13972 rm -f conftest.$ac_objext
13973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13974 (eval $ac_compile) 2>conftest.er1
13975 ac_status=$?
13976 grep -v '^ *+' conftest.er1 >conftest.err
13977 rm -f conftest.er1
13978 cat conftest.err >&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13984 ac_status=$?
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; } &&
13987 { ac_try='test -s conftest.$ac_objext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13990 ac_status=$?
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13994 else
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.$ac_ext >&5
13997
13998 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13999
14000 fi
14001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14002
14003
14004 fi
14005 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14006 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14007 ac_ext=cc
14008 ac_cpp='$CXXCPP $CPPFLAGS'
14009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14012
14013 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14014 :; SGICXX=yes
14015 else
14016 :;
14017 fi
14018
14019
14020 ;;
14021
14022 HP-UX*)
14023
14024
14025 ac_ext=cc
14026 ac_cpp='$CXXCPP $CPPFLAGS'
14027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14030
14031 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14032 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14033 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 else
14036 cat >conftest.$ac_ext <<_ACEOF
14037 /* confdefs.h. */
14038 _ACEOF
14039 cat confdefs.h >>conftest.$ac_ext
14040 cat >>conftest.$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14042
14043 int
14044 main ()
14045 {
14046
14047 #ifndef __HP_aCC
14048 choke me
14049 #endif
14050
14051 ;
14052 return 0;
14053 }
14054 _ACEOF
14055 rm -f conftest.$ac_objext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14057 (eval $ac_compile) 2>conftest.er1
14058 ac_status=$?
14059 grep -v '^ *+' conftest.er1 >conftest.err
14060 rm -f conftest.er1
14061 cat conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } &&
14064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14067 ac_status=$?
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try='test -s conftest.$ac_objext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14073 ac_status=$?
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 bakefile_cv_cxx_compiler___HP_aCC=yes
14077 else
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14080
14081 bakefile_cv_cxx_compiler___HP_aCC=no
14082
14083 fi
14084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14085
14086
14087 fi
14088 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14089 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14090 ac_ext=cc
14091 ac_cpp='$CXXCPP $CPPFLAGS'
14092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14095
14096 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14097 :; HPCXX=yes
14098 else
14099 :;
14100 fi
14101
14102
14103 ;;
14104
14105 OSF1)
14106
14107
14108 ac_ext=cc
14109 ac_cpp='$CXXCPP $CPPFLAGS'
14110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14113
14114 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14115 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14116 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 else
14119 cat >conftest.$ac_ext <<_ACEOF
14120 /* confdefs.h. */
14121 _ACEOF
14122 cat confdefs.h >>conftest.$ac_ext
14123 cat >>conftest.$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125
14126 int
14127 main ()
14128 {
14129
14130 #ifndef __DECCXX
14131 choke me
14132 #endif
14133
14134 ;
14135 return 0;
14136 }
14137 _ACEOF
14138 rm -f conftest.$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14150 ac_status=$?
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14156 ac_status=$?
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 bakefile_cv_cxx_compiler___DECCXX=yes
14160 else
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14163
14164 bakefile_cv_cxx_compiler___DECCXX=no
14165
14166 fi
14167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14168
14169
14170 fi
14171 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14172 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14173 ac_ext=cc
14174 ac_cpp='$CXXCPP $CPPFLAGS'
14175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14178
14179 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14180 :; COMPAQCXX=yes
14181 else
14182 :;
14183 fi
14184
14185
14186 ;;
14187
14188 SunOS)
14189
14190
14191 ac_ext=cc
14192 ac_cpp='$CXXCPP $CPPFLAGS'
14193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14196
14197 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14198 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14199 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 else
14202 cat >conftest.$ac_ext <<_ACEOF
14203 /* confdefs.h. */
14204 _ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14208
14209 int
14210 main ()
14211 {
14212
14213 #ifndef __SUNPRO_CC
14214 choke me
14215 #endif
14216
14217 ;
14218 return 0;
14219 }
14220 _ACEOF
14221 rm -f conftest.$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>conftest.er1
14224 ac_status=$?
14225 grep -v '^ *+' conftest.er1 >conftest.err
14226 rm -f conftest.er1
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14233 ac_status=$?
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; } &&
14236 { ac_try='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14239 ac_status=$?
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14243 else
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.$ac_ext >&5
14246
14247 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14248
14249 fi
14250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14251
14252
14253 fi
14254 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14255 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14256 ac_ext=cc
14257 ac_cpp='$CXXCPP $CPPFLAGS'
14258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14261
14262 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14263 :; SUNCXX=yes
14264 else
14265 :;
14266 fi
14267
14268
14269 ;;
14270 esac
14271 fi
14272
14273
14274
14275 if test -n "$ac_tool_prefix"; then
14276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14278 echo "$as_me:$LINENO: checking for $ac_word" >&5
14279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14280 if test "${ac_cv_prog_RANLIB+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14282 else
14283 if test -n "$RANLIB"; then
14284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14285 else
14286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14287 for as_dir in $PATH
14288 do
14289 IFS=$as_save_IFS
14290 test -z "$as_dir" && as_dir=.
14291 for ac_exec_ext in '' $ac_executable_extensions; do
14292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14295 break 2
14296 fi
14297 done
14298 done
14299
14300 fi
14301 fi
14302 RANLIB=$ac_cv_prog_RANLIB
14303 if test -n "$RANLIB"; then
14304 echo "$as_me:$LINENO: result: $RANLIB" >&5
14305 echo "${ECHO_T}$RANLIB" >&6
14306 else
14307 echo "$as_me:$LINENO: result: no" >&5
14308 echo "${ECHO_T}no" >&6
14309 fi
14310
14311 fi
14312 if test -z "$ac_cv_prog_RANLIB"; then
14313 ac_ct_RANLIB=$RANLIB
14314 # Extract the first word of "ranlib", so it can be a program name with args.
14315 set dummy ranlib; ac_word=$2
14316 echo "$as_me:$LINENO: checking for $ac_word" >&5
14317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 if test -n "$ac_ct_RANLIB"; then
14322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14323 else
14324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14325 for as_dir in $PATH
14326 do
14327 IFS=$as_save_IFS
14328 test -z "$as_dir" && as_dir=.
14329 for ac_exec_ext in '' $ac_executable_extensions; do
14330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14331 ac_cv_prog_ac_ct_RANLIB="ranlib"
14332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 break 2
14334 fi
14335 done
14336 done
14337
14338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14339 fi
14340 fi
14341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14342 if test -n "$ac_ct_RANLIB"; then
14343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14345 else
14346 echo "$as_me:$LINENO: result: no" >&5
14347 echo "${ECHO_T}no" >&6
14348 fi
14349
14350 RANLIB=$ac_ct_RANLIB
14351 else
14352 RANLIB="$ac_cv_prog_RANLIB"
14353 fi
14354
14355
14356 if test -n "$ac_tool_prefix"; then
14357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14358 set dummy ${ac_tool_prefix}ar; ac_word=$2
14359 echo "$as_me:$LINENO: checking for $ac_word" >&5
14360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14361 if test "${ac_cv_prog_AR+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 if test -n "$AR"; then
14365 ac_cv_prog_AR="$AR" # Let the user override the test.
14366 else
14367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14368 for as_dir in $PATH
14369 do
14370 IFS=$as_save_IFS
14371 test -z "$as_dir" && as_dir=.
14372 for ac_exec_ext in '' $ac_executable_extensions; do
14373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14374 ac_cv_prog_AR="${ac_tool_prefix}ar"
14375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14376 break 2
14377 fi
14378 done
14379 done
14380
14381 fi
14382 fi
14383 AR=$ac_cv_prog_AR
14384 if test -n "$AR"; then
14385 echo "$as_me:$LINENO: result: $AR" >&5
14386 echo "${ECHO_T}$AR" >&6
14387 else
14388 echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6
14390 fi
14391
14392 fi
14393 if test -z "$ac_cv_prog_AR"; then
14394 ac_ct_AR=$AR
14395 # Extract the first word of "ar", so it can be a program name with args.
14396 set dummy ar; ac_word=$2
14397 echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 else
14402 if test -n "$ac_ct_AR"; then
14403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14404 else
14405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14406 for as_dir in $PATH
14407 do
14408 IFS=$as_save_IFS
14409 test -z "$as_dir" && as_dir=.
14410 for ac_exec_ext in '' $ac_executable_extensions; do
14411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14412 ac_cv_prog_ac_ct_AR="ar"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14414 break 2
14415 fi
14416 done
14417 done
14418
14419 fi
14420 fi
14421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14422 if test -n "$ac_ct_AR"; then
14423 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14424 echo "${ECHO_T}$ac_ct_AR" >&6
14425 else
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14428 fi
14429
14430 AR=$ac_ct_AR
14431 else
14432 AR="$ac_cv_prog_AR"
14433 fi
14434
14435 if test "x$AR" = "x" ; then
14436 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14437 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14438 { (exit 1); exit 1; }; }
14439 fi
14440
14441 # Find a good install program. We prefer a C program (faster),
14442 # so one script is as good as another. But avoid the broken or
14443 # incompatible versions:
14444 # SysV /etc/install, /usr/sbin/install
14445 # SunOS /usr/etc/install
14446 # IRIX /sbin/install
14447 # AIX /bin/install
14448 # AmigaOS /C/install, which installs bootblocks on floppy discs
14449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14452 # OS/2's system install, which has a completely different semantic
14453 # ./install, which can be erroneously created by make from ./install.sh.
14454 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14455 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14456 if test -z "$INSTALL"; then
14457 if test "${ac_cv_path_install+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14461 for as_dir in $PATH
14462 do
14463 IFS=$as_save_IFS
14464 test -z "$as_dir" && as_dir=.
14465 # Account for people who put trailing slashes in PATH elements.
14466 case $as_dir/ in
14467 ./ | .// | /cC/* | \
14468 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14469 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14470 /usr/ucb/* ) ;;
14471 *)
14472 # OSF1 and SCO ODT 3.0 have their own names for install.
14473 # Don't use installbsd from OSF since it installs stuff as root
14474 # by default.
14475 for ac_prog in ginstall scoinst install; do
14476 for ac_exec_ext in '' $ac_executable_extensions; do
14477 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14478 if test $ac_prog = install &&
14479 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14480 # AIX install. It has an incompatible calling convention.
14481 :
14482 elif test $ac_prog = install &&
14483 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14484 # program-specific install script used by HP pwplus--don't use.
14485 :
14486 else
14487 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14488 break 3
14489 fi
14490 fi
14491 done
14492 done
14493 ;;
14494 esac
14495 done
14496
14497
14498 fi
14499 if test "${ac_cv_path_install+set}" = set; then
14500 INSTALL=$ac_cv_path_install
14501 else
14502 # As a last resort, use the slow shell script. We don't cache a
14503 # path for INSTALL within a source directory, because that will
14504 # break other packages using the cache if that directory is
14505 # removed, or if the path is relative.
14506 INSTALL=$ac_install_sh
14507 fi
14508 fi
14509 echo "$as_me:$LINENO: result: $INSTALL" >&5
14510 echo "${ECHO_T}$INSTALL" >&6
14511
14512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14513 # It thinks the first close brace ends the variable substitution.
14514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14515
14516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14517
14518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14519
14520
14521 case ${INSTALL} in
14522 /* ) # Absolute
14523 ;;
14524 ?:* ) # Drive letter, considered as absolute.
14525 ;;
14526 *)
14527 INSTALL=`pwd`/${INSTALL} ;;
14528 esac
14529
14530
14531 case "${host}" in
14532
14533 *-*-darwin* )
14534 INSTALL_PROGRAM="cp -fp"
14535 INSTALL_DATA="cp -fp"
14536 ;;
14537 *)
14538 ;;
14539 esac
14540
14541 if test -n "$ac_tool_prefix"; then
14542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14543 set dummy ${ac_tool_prefix}strip; ac_word=$2
14544 echo "$as_me:$LINENO: checking for $ac_word" >&5
14545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14546 if test "${ac_cv_prog_STRIP+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 else
14549 if test -n "$STRIP"; then
14550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14551 else
14552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14553 for as_dir in $PATH
14554 do
14555 IFS=$as_save_IFS
14556 test -z "$as_dir" && as_dir=.
14557 for ac_exec_ext in '' $ac_executable_extensions; do
14558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14561 break 2
14562 fi
14563 done
14564 done
14565
14566 fi
14567 fi
14568 STRIP=$ac_cv_prog_STRIP
14569 if test -n "$STRIP"; then
14570 echo "$as_me:$LINENO: result: $STRIP" >&5
14571 echo "${ECHO_T}$STRIP" >&6
14572 else
14573 echo "$as_me:$LINENO: result: no" >&5
14574 echo "${ECHO_T}no" >&6
14575 fi
14576
14577 fi
14578 if test -z "$ac_cv_prog_STRIP"; then
14579 ac_ct_STRIP=$STRIP
14580 # Extract the first word of "strip", so it can be a program name with args.
14581 set dummy strip; ac_word=$2
14582 echo "$as_me:$LINENO: checking for $ac_word" >&5
14583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14584 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 else
14587 if test -n "$ac_ct_STRIP"; then
14588 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14589 else
14590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14591 for as_dir in $PATH
14592 do
14593 IFS=$as_save_IFS
14594 test -z "$as_dir" && as_dir=.
14595 for ac_exec_ext in '' $ac_executable_extensions; do
14596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14597 ac_cv_prog_ac_ct_STRIP="strip"
14598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14599 break 2
14600 fi
14601 done
14602 done
14603
14604 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14605 fi
14606 fi
14607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14608 if test -n "$ac_ct_STRIP"; then
14609 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14610 echo "${ECHO_T}$ac_ct_STRIP" >&6
14611 else
14612 echo "$as_me:$LINENO: result: no" >&5
14613 echo "${ECHO_T}no" >&6
14614 fi
14615
14616 STRIP=$ac_ct_STRIP
14617 else
14618 STRIP="$ac_cv_prog_STRIP"
14619 fi
14620
14621
14622 if test "$wxUSE_WINE" = "yes"; then
14623 if test -n "$ac_tool_prefix"; then
14624 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14625 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14626 echo "$as_me:$LINENO: checking for $ac_word" >&5
14627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14628 if test "${ac_cv_prog_WINDRES+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 else
14631 if test -n "$WINDRES"; then
14632 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14633 else
14634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14635 for as_dir in $PATH
14636 do
14637 IFS=$as_save_IFS
14638 test -z "$as_dir" && as_dir=.
14639 for ac_exec_ext in '' $ac_executable_extensions; do
14640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14641 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
14642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14643 break 2
14644 fi
14645 done
14646 done
14647
14648 fi
14649 fi
14650 WINDRES=$ac_cv_prog_WINDRES
14651 if test -n "$WINDRES"; then
14652 echo "$as_me:$LINENO: result: $WINDRES" >&5
14653 echo "${ECHO_T}$WINDRES" >&6
14654 else
14655 echo "$as_me:$LINENO: result: no" >&5
14656 echo "${ECHO_T}no" >&6
14657 fi
14658
14659 fi
14660 if test -z "$ac_cv_prog_WINDRES"; then
14661 ac_ct_WINDRES=$WINDRES
14662 # Extract the first word of "wrc", so it can be a program name with args.
14663 set dummy wrc; ac_word=$2
14664 echo "$as_me:$LINENO: checking for $ac_word" >&5
14665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14666 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14667 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 else
14669 if test -n "$ac_ct_WINDRES"; then
14670 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14671 else
14672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14673 for as_dir in $PATH
14674 do
14675 IFS=$as_save_IFS
14676 test -z "$as_dir" && as_dir=.
14677 for ac_exec_ext in '' $ac_executable_extensions; do
14678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14679 ac_cv_prog_ac_ct_WINDRES="wrc"
14680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14681 break 2
14682 fi
14683 done
14684 done
14685
14686 fi
14687 fi
14688 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14689 if test -n "$ac_ct_WINDRES"; then
14690 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14691 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14692 else
14693 echo "$as_me:$LINENO: result: no" >&5
14694 echo "${ECHO_T}no" >&6
14695 fi
14696
14697 WINDRES=$ac_ct_WINDRES
14698 else
14699 WINDRES="$ac_cv_prog_WINDRES"
14700 fi
14701
14702 RESCOMP="$WINDRES"
14703 else
14704 case "${host}" in
14705 *-*-cygwin* | *-*-mingw32* )
14706 if test -n "$ac_tool_prefix"; then
14707 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14708 set dummy ${ac_tool_prefix}windres; ac_word=$2
14709 echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14711 if test "${ac_cv_prog_WINDRES+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714 if test -n "$WINDRES"; then
14715 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14716 else
14717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14718 for as_dir in $PATH
14719 do
14720 IFS=$as_save_IFS
14721 test -z "$as_dir" && as_dir=.
14722 for ac_exec_ext in '' $ac_executable_extensions; do
14723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14724 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14726 break 2
14727 fi
14728 done
14729 done
14730
14731 fi
14732 fi
14733 WINDRES=$ac_cv_prog_WINDRES
14734 if test -n "$WINDRES"; then
14735 echo "$as_me:$LINENO: result: $WINDRES" >&5
14736 echo "${ECHO_T}$WINDRES" >&6
14737 else
14738 echo "$as_me:$LINENO: result: no" >&5
14739 echo "${ECHO_T}no" >&6
14740 fi
14741
14742 fi
14743 if test -z "$ac_cv_prog_WINDRES"; then
14744 ac_ct_WINDRES=$WINDRES
14745 # Extract the first word of "windres", so it can be a program name with args.
14746 set dummy windres; ac_word=$2
14747 echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14749 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 if test -n "$ac_ct_WINDRES"; then
14753 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14754 else
14755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14756 for as_dir in $PATH
14757 do
14758 IFS=$as_save_IFS
14759 test -z "$as_dir" && as_dir=.
14760 for ac_exec_ext in '' $ac_executable_extensions; do
14761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14762 ac_cv_prog_ac_ct_WINDRES="windres"
14763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14764 break 2
14765 fi
14766 done
14767 done
14768
14769 fi
14770 fi
14771 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14772 if test -n "$ac_ct_WINDRES"; then
14773 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14774 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14775 else
14776 echo "$as_me:$LINENO: result: no" >&5
14777 echo "${ECHO_T}no" >&6
14778 fi
14779
14780 WINDRES=$ac_ct_WINDRES
14781 else
14782 WINDRES="$ac_cv_prog_WINDRES"
14783 fi
14784
14785 RESCOMP="$WINDRES"
14786 if test -n "$ac_tool_prefix"; then
14787 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14788 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14789 echo "$as_me:$LINENO: checking for $ac_word" >&5
14790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14791 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 else
14794 if test -n "$DLLTOOL"; then
14795 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14796 else
14797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14798 for as_dir in $PATH
14799 do
14800 IFS=$as_save_IFS
14801 test -z "$as_dir" && as_dir=.
14802 for ac_exec_ext in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14806 break 2
14807 fi
14808 done
14809 done
14810
14811 fi
14812 fi
14813 DLLTOOL=$ac_cv_prog_DLLTOOL
14814 if test -n "$DLLTOOL"; then
14815 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14816 echo "${ECHO_T}$DLLTOOL" >&6
14817 else
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14820 fi
14821
14822 fi
14823 if test -z "$ac_cv_prog_DLLTOOL"; then
14824 ac_ct_DLLTOOL=$DLLTOOL
14825 # Extract the first word of "dlltool", so it can be a program name with args.
14826 set dummy dlltool; ac_word=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 else
14832 if test -n "$ac_ct_DLLTOOL"; then
14833 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14834 else
14835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14836 for as_dir in $PATH
14837 do
14838 IFS=$as_save_IFS
14839 test -z "$as_dir" && as_dir=.
14840 for ac_exec_ext in '' $ac_executable_extensions; do
14841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14842 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14844 break 2
14845 fi
14846 done
14847 done
14848
14849 fi
14850 fi
14851 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14852 if test -n "$ac_ct_DLLTOOL"; then
14853 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14854 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14855 else
14856 echo "$as_me:$LINENO: result: no" >&5
14857 echo "${ECHO_T}no" >&6
14858 fi
14859
14860 DLLTOOL=$ac_ct_DLLTOOL
14861 else
14862 DLLTOOL="$ac_cv_prog_DLLTOOL"
14863 fi
14864
14865 ;;
14866 esac
14867 fi
14868
14869 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14870 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14871 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874
14875 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14876 egrep -s GNU > /dev/null); then
14877 wx_cv_prog_makeisgnu="yes"
14878 else
14879 wx_cv_prog_makeisgnu="no"
14880 fi
14881
14882 fi
14883 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14884 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14885
14886 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14887 IF_GNU_MAKE=""
14888 else
14889 IF_GNU_MAKE="#"
14890 fi
14891
14892
14893
14894 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14895 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14896 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14897 if test "${wx_cv_prog_makevpath+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14900
14901 cat - << EOF > confMake
14902 check : file
14903 cp \$? \$@
14904 cp \$? final_file
14905 EOF
14906
14907 if test ! -d sub ; then
14908 mkdir sub
14909 fi
14910 echo dummy > sub/file
14911 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14912 RESULT=$?
14913 rm -f sub/file check final_file confMake
14914 rmdir sub
14915 if test "$RESULT" = 0; then
14916 wx_cv_prog_makevpath="yes"
14917 else
14918 wx_cv_prog_makevpath="no"
14919 fi
14920
14921 fi
14922 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14923 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14924
14925 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14926 { { echo "$as_me:$LINENO: error:
14927 You need a make-utility that is able to use the variable
14928 VPATH correctly.
14929 If your version of make does not support VPATH correctly,
14930 please install GNU-make (possibly as gmake), and start
14931 configure with the following command:
14932 export MAKE=gmake; ./configure for sh-type shells
14933 setenv MAKE gmake; ./configure for csh-type shells
14934 Also please do remember to use gmake in this case every time
14935 you are trying to compile.
14936 " >&5
14937 echo "$as_me: error:
14938 You need a make-utility that is able to use the variable
14939 VPATH correctly.
14940 If your version of make does not support VPATH correctly,
14941 please install GNU-make (possibly as gmake), and start
14942 configure with the following command:
14943 export MAKE=gmake; ./configure for sh-type shells
14944 setenv MAKE gmake; ./configure for csh-type shells
14945 Also please do remember to use gmake in this case every time
14946 you are trying to compile.
14947 " >&2;}
14948 { (exit 1); exit 1; }; }
14949 fi fi
14950 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14951 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14952 LN_S=$as_ln_s
14953 if test "$LN_S" = "ln -s"; then
14954 echo "$as_me:$LINENO: result: yes" >&5
14955 echo "${ECHO_T}yes" >&6
14956 else
14957 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14958 echo "${ECHO_T}no, using $LN_S" >&6
14959 fi
14960
14961
14962
14963
14964 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14965 CXXFLAGS="-qunique $CXXFLAGS"
14966 fi
14967
14968 case "${host}" in
14969 powerpc-*-darwin* )
14970 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14971 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978
14979 int
14980 main ()
14981 {
14982 #ifndef __POWERPC__
14983 choke me for lack of PowerPC
14984 #endif
14985
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; } &&
15005 { ac_try='test -s conftest.$ac_objext'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15008 ac_status=$?
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; }; then
15011 echo "$as_me:$LINENO: result: yes" >&5
15012 echo "${ECHO_T}yes" >&6
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017 echo "$as_me:$LINENO: result: no" >&5
15018 echo "${ECHO_T}no" >&6
15019 cat >>confdefs.h <<\_ACEOF
15020 #define __POWERPC__ 1
15021 _ACEOF
15022
15023
15024 fi
15025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15026 ;;
15027 esac
15028
15029 case "${host}" in
15030 *-*-darwin* )
15031 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15032 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15033 cat >conftest.$ac_ext <<_ACEOF
15034 /* confdefs.h. */
15035 _ACEOF
15036 cat confdefs.h >>conftest.$ac_ext
15037 cat >>conftest.$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15039 #include <CoreFoundation/CFBase.h>
15040
15041 int
15042 main ()
15043 {
15044
15045 ;
15046 return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try='test -s conftest.$ac_objext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 echo "$as_me:$LINENO: result: yes" >&5
15071 echo "${ECHO_T}yes" >&6
15072 else
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 echo "$as_me:$LINENO: result: no" >&5
15077 echo "${ECHO_T}no" >&6
15078 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15079 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 #define __CF_USE_FRAMEWORK_INCLUDES__
15087 #include <CoreFoundation/CFBase.h>
15088
15089 int
15090 main ()
15091 {
15092
15093 ;
15094 return 0;
15095 }
15096 _ACEOF
15097 rm -f conftest.$ac_objext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099 (eval $ac_compile) 2>conftest.er1
15100 ac_status=$?
15101 grep -v '^ *+' conftest.er1 >conftest.err
15102 rm -f conftest.er1
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 echo "$as_me:$LINENO: result: yes" >&5
15119 echo "${ECHO_T}yes" >&6
15120 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15121 else
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.$ac_ext >&5
15124
15125 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15126 See \`config.log' for more details." >&5
15127 echo "$as_me: error: no. CoreFoundation not available.
15128 See \`config.log' for more details." >&2;}
15129 { (exit 1); exit 1; }; }
15130
15131 fi
15132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15133
15134
15135 fi
15136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15137 ;;
15138 esac
15139
15140 case "${host}" in
15141 *-pc-os2_emx | *-pc-os2-emx )
15142 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15143 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15144 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15145 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 ac_check_lib_save_LIBS=$LIBS
15149 LIBS="-lcExt $LIBS"
15150 cat >conftest.$ac_ext <<_ACEOF
15151 /* confdefs.h. */
15152 _ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156
15157 /* Override any gcc2 internal prototype to avoid an error. */
15158 #ifdef __cplusplus
15159 extern "C"
15160 #endif
15161 /* We use char because int might match the return type of a gcc2
15162 builtin and then its argument prototype would still apply. */
15163 char drand48 ();
15164 int
15165 main ()
15166 {
15167 drand48 ();
15168 ;
15169 return 0;
15170 }
15171 _ACEOF
15172 rm -f conftest.$ac_objext conftest$ac_exeext
15173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15174 (eval $ac_link) 2>conftest.er1
15175 ac_status=$?
15176 grep -v '^ *+' conftest.er1 >conftest.err
15177 rm -f conftest.er1
15178 cat conftest.err >&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_cExt_drand48=yes
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15197
15198 ac_cv_lib_cExt_drand48=no
15199 fi
15200 rm -f conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_lib_save_LIBS
15203 fi
15204 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15205 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15206 if test $ac_cv_lib_cExt_drand48 = yes; then
15207 LIBS="$LIBS -lcExt"
15208 fi
15209
15210 else
15211 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15212 fi
15213 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15214 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15215 if test "${wx_cv_gccversion+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 else
15218
15219 if test "$cross_compiling" = yes; then
15220 wx_cv_gccversion="EMX2"
15221
15222 else
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h. */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229
15230 #include <stdio.h>
15231
15232 int main()
15233 {
15234 FILE *f=fopen("conftestval", "w");
15235 if (!f) exit(1);
15236 fprintf(f,
15237 #if (__GNUC__ < 3)
15238 "EMX2"
15239 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15240 "EMX3"
15241 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15242 "Innotek5"
15243 #else
15244 "Innotek6"
15245 #endif
15246 );
15247 exit(0);
15248 }
15249
15250 _ACEOF
15251 rm -f conftest$ac_exeext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 wx_cv_gccversion=`cat conftestval`
15263 else
15264 echo "$as_me: program exited with status $ac_status" >&5
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15267
15268 ( exit $ac_status )
15269 wx_cv_gccversion="EMX2"
15270 fi
15271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15272 fi
15273
15274 fi
15275 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15276 echo "${ECHO_T}$wx_cv_gccversion" >&6
15277 if test "$wx_cv_gccversion" = "EMX2"; then
15278 LIBS="$LIBS -lstdcpp"
15279 LDFLAGS="$LDFLAGS -Zsysv-signals"
15280 else
15281 if test "$wx_cv_gccversion" = "EMX3"; then
15282 LIBS="$LIBS -lstdcxx -lgcc"
15283 LDFLAGS="$LDFLAGS -Zsysv-signals"
15284 else
15285 LIBS="$LIBS -lstdc++"
15286 fi
15287 fi
15288 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15289 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15290 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15291 wxUSE_OMF=yes
15292 enable_omf=yes
15293 fi
15294 ;;
15295 *)
15296
15297 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15298 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15299 if test "${ac_cv_string_strcasecmp+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309
15310 #include <string.h>
15311
15312 int
15313 main ()
15314 {
15315
15316 strcasecmp("foo", "bar");
15317
15318 ;
15319 return 0;
15320 }
15321 _ACEOF
15322 rm -f conftest.$ac_objext conftest$ac_exeext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324 (eval $ac_link) 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; } &&
15337 { ac_try='test -s conftest$ac_exeext'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15340 ac_status=$?
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; }; then
15343 ac_cv_string_strcasecmp=yes
15344 else
15345 echo "$as_me: failed program was:" >&5
15346 sed 's/^/| /' conftest.$ac_ext >&5
15347
15348 ac_cv_string_strcasecmp=no
15349
15350 fi
15351 rm -f conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15353
15354 fi
15355 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15356 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15357
15358 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15359 cat >>confdefs.h <<\_ACEOF
15360 #define HAVE_STRCASECMP_IN_STRING_H 1
15361 _ACEOF
15362
15363 else
15364 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15365 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15366 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369
15370 cat >conftest.$ac_ext <<_ACEOF
15371 /* confdefs.h. */
15372 _ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376
15377 #include <strings.h>
15378
15379 int
15380 main ()
15381 {
15382
15383 strcasecmp("foo", "bar");
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext conftest$ac_exeext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15391 (eval $ac_link) 2>conftest.er1
15392 ac_status=$?
15393 grep -v '^ *+' conftest.er1 >conftest.err
15394 rm -f conftest.er1
15395 cat conftest.err >&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try='test -s conftest$ac_exeext'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15407 ac_status=$?
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; }; then
15410 ac_cv_strings_strcasecmp=yes
15411 else
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.$ac_ext >&5
15414
15415 ac_cv_strings_strcasecmp=no
15416
15417 fi
15418 rm -f conftest.err conftest.$ac_objext \
15419 conftest$ac_exeext conftest.$ac_ext
15420
15421 fi
15422 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15423 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15424
15425 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15426 cat >>confdefs.h <<\_ACEOF
15427 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15428 _ACEOF
15429
15430 else
15431 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15432 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15433 { (exit 1); exit 1; }; }
15434 fi
15435 fi
15436
15437 ;;
15438 esac
15439
15440
15441 ac_ext=cc
15442 ac_cpp='$CXXCPP $CPPFLAGS'
15443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15446 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15447 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15448 if test -z "$CXXCPP"; then
15449 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 else
15452 # Double quotes because CXXCPP needs to be expanded
15453 for CXXCPP in "$CXX -E" "/lib/cpp"
15454 do
15455 ac_preproc_ok=false
15456 for ac_cxx_preproc_warn_flag in '' yes
15457 do
15458 # Use a header file that comes with gcc, so configuring glibc
15459 # with a fresh cross-compiler works.
15460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15461 # <limits.h> exists even on freestanding compilers.
15462 # On the NeXT, cc -E runs the code through the compiler's parser,
15463 # not just through cpp. "Syntax error" is here to catch this case.
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 #ifdef __STDC__
15471 # include <limits.h>
15472 #else
15473 # include <assert.h>
15474 #endif
15475 Syntax error
15476 _ACEOF
15477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15479 ac_status=$?
15480 grep -v '^ *+' conftest.er1 >conftest.err
15481 rm -f conftest.er1
15482 cat conftest.err >&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } >/dev/null; then
15485 if test -s conftest.err; then
15486 ac_cpp_err=$ac_cxx_preproc_warn_flag
15487 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15488 else
15489 ac_cpp_err=
15490 fi
15491 else
15492 ac_cpp_err=yes
15493 fi
15494 if test -z "$ac_cpp_err"; then
15495 :
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 # Broken: fails on valid input.
15501 continue
15502 fi
15503 rm -f conftest.err conftest.$ac_ext
15504
15505 # OK, works on sane cases. Now check whether non-existent headers
15506 # can be detected and how.
15507 cat >conftest.$ac_ext <<_ACEOF
15508 /* confdefs.h. */
15509 _ACEOF
15510 cat confdefs.h >>conftest.$ac_ext
15511 cat >>conftest.$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15513 #include <ac_nonexistent.h>
15514 _ACEOF
15515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15517 ac_status=$?
15518 grep -v '^ *+' conftest.er1 >conftest.err
15519 rm -f conftest.er1
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } >/dev/null; then
15523 if test -s conftest.err; then
15524 ac_cpp_err=$ac_cxx_preproc_warn_flag
15525 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15526 else
15527 ac_cpp_err=
15528 fi
15529 else
15530 ac_cpp_err=yes
15531 fi
15532 if test -z "$ac_cpp_err"; then
15533 # Broken: success on invalid input.
15534 continue
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 # Passes both tests.
15540 ac_preproc_ok=:
15541 break
15542 fi
15543 rm -f conftest.err conftest.$ac_ext
15544
15545 done
15546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15547 rm -f conftest.err conftest.$ac_ext
15548 if $ac_preproc_ok; then
15549 break
15550 fi
15551
15552 done
15553 ac_cv_prog_CXXCPP=$CXXCPP
15554
15555 fi
15556 CXXCPP=$ac_cv_prog_CXXCPP
15557 else
15558 ac_cv_prog_CXXCPP=$CXXCPP
15559 fi
15560 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15561 echo "${ECHO_T}$CXXCPP" >&6
15562 ac_preproc_ok=false
15563 for ac_cxx_preproc_warn_flag in '' yes
15564 do
15565 # Use a header file that comes with gcc, so configuring glibc
15566 # with a fresh cross-compiler works.
15567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15568 # <limits.h> exists even on freestanding compilers.
15569 # On the NeXT, cc -E runs the code through the compiler's parser,
15570 # not just through cpp. "Syntax error" is here to catch this case.
15571 cat >conftest.$ac_ext <<_ACEOF
15572 /* confdefs.h. */
15573 _ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 #ifdef __STDC__
15578 # include <limits.h>
15579 #else
15580 # include <assert.h>
15581 #endif
15582 Syntax error
15583 _ACEOF
15584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } >/dev/null; then
15592 if test -s conftest.err; then
15593 ac_cpp_err=$ac_cxx_preproc_warn_flag
15594 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15595 else
15596 ac_cpp_err=
15597 fi
15598 else
15599 ac_cpp_err=yes
15600 fi
15601 if test -z "$ac_cpp_err"; then
15602 :
15603 else
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15606
15607 # Broken: fails on valid input.
15608 continue
15609 fi
15610 rm -f conftest.err conftest.$ac_ext
15611
15612 # OK, works on sane cases. Now check whether non-existent headers
15613 # can be detected and how.
15614 cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h. */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 #include <ac_nonexistent.h>
15621 _ACEOF
15622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15624 ac_status=$?
15625 grep -v '^ *+' conftest.er1 >conftest.err
15626 rm -f conftest.er1
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } >/dev/null; then
15630 if test -s conftest.err; then
15631 ac_cpp_err=$ac_cxx_preproc_warn_flag
15632 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15633 else
15634 ac_cpp_err=
15635 fi
15636 else
15637 ac_cpp_err=yes
15638 fi
15639 if test -z "$ac_cpp_err"; then
15640 # Broken: success on invalid input.
15641 continue
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15645
15646 # Passes both tests.
15647 ac_preproc_ok=:
15648 break
15649 fi
15650 rm -f conftest.err conftest.$ac_ext
15651
15652 done
15653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15654 rm -f conftest.err conftest.$ac_ext
15655 if $ac_preproc_ok; then
15656 :
15657 else
15658 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15659 See \`config.log' for more details." >&5
15660 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15661 See \`config.log' for more details." >&2;}
15662 { (exit 1); exit 1; }; }
15663 fi
15664
15665 ac_ext=cc
15666 ac_cpp='$CXXCPP $CPPFLAGS'
15667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15670
15671
15672 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15674 if test "${ac_cv_header_stdc+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 else
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 #include <stdlib.h>
15684 #include <stdarg.h>
15685 #include <string.h>
15686 #include <float.h>
15687
15688 int
15689 main ()
15690 {
15691
15692 ;
15693 return 0;
15694 }
15695 _ACEOF
15696 rm -f conftest.$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; } &&
15711 { ac_try='test -s conftest.$ac_objext'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; }; then
15717 ac_cv_header_stdc=yes
15718 else
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15721
15722 ac_cv_header_stdc=no
15723 fi
15724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15725
15726 if test $ac_cv_header_stdc = yes; then
15727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15728 cat >conftest.$ac_ext <<_ACEOF
15729 /* confdefs.h. */
15730 _ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 #include <string.h>
15735
15736 _ACEOF
15737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15738 $EGREP "memchr" >/dev/null 2>&1; then
15739 :
15740 else
15741 ac_cv_header_stdc=no
15742 fi
15743 rm -f conftest*
15744
15745 fi
15746
15747 if test $ac_cv_header_stdc = yes; then
15748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 #include <stdlib.h>
15756
15757 _ACEOF
15758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15759 $EGREP "free" >/dev/null 2>&1; then
15760 :
15761 else
15762 ac_cv_header_stdc=no
15763 fi
15764 rm -f conftest*
15765
15766 fi
15767
15768 if test $ac_cv_header_stdc = yes; then
15769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15770 if test "$cross_compiling" = yes; then
15771 :
15772 else
15773 cat >conftest.$ac_ext <<_ACEOF
15774 /* confdefs.h. */
15775 _ACEOF
15776 cat confdefs.h >>conftest.$ac_ext
15777 cat >>conftest.$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15779 #include <ctype.h>
15780 #if ((' ' & 0x0FF) == 0x020)
15781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15783 #else
15784 # define ISLOWER(c) \
15785 (('a' <= (c) && (c) <= 'i') \
15786 || ('j' <= (c) && (c) <= 'r') \
15787 || ('s' <= (c) && (c) <= 'z'))
15788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15789 #endif
15790
15791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15792 int
15793 main ()
15794 {
15795 int i;
15796 for (i = 0; i < 256; i++)
15797 if (XOR (islower (i), ISLOWER (i))
15798 || toupper (i) != TOUPPER (i))
15799 exit(2);
15800 exit (0);
15801 }
15802 _ACEOF
15803 rm -f conftest$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805 (eval $ac_link) 2>&5
15806 ac_status=$?
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15811 ac_status=$?
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; }; then
15814 :
15815 else
15816 echo "$as_me: program exited with status $ac_status" >&5
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.$ac_ext >&5
15819
15820 ( exit $ac_status )
15821 ac_cv_header_stdc=no
15822 fi
15823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15824 fi
15825 fi
15826 fi
15827 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15828 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15829 if test $ac_cv_header_stdc = yes; then
15830
15831 cat >>confdefs.h <<\_ACEOF
15832 #define STDC_HEADERS 1
15833 _ACEOF
15834
15835 fi
15836
15837 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15848 inttypes.h stdint.h unistd.h
15849 do
15850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15851 echo "$as_me:$LINENO: checking for $ac_header" >&5
15852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856 cat >conftest.$ac_ext <<_ACEOF
15857 /* confdefs.h. */
15858 _ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 $ac_includes_default
15863
15864 #include <$ac_header>
15865 _ACEOF
15866 rm -f conftest.$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15869 ac_status=$?
15870 grep -v '^ *+' conftest.er1 >conftest.err
15871 rm -f conftest.er1
15872 cat conftest.err >&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 eval "$as_ac_Header=yes"
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15891
15892 eval "$as_ac_Header=no"
15893 fi
15894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15895 fi
15896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15899 cat >>confdefs.h <<_ACEOF
15900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15901 _ACEOF
15902
15903 fi
15904
15905 done
15906
15907
15908
15909 for ac_header in stdlib.h
15910 do
15911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15913 echo "$as_me:$LINENO: checking for $ac_header" >&5
15914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 fi
15918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15920 else
15921 # Is the header compilable?
15922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15924 cat >conftest.$ac_ext <<_ACEOF
15925 /* confdefs.h. */
15926 _ACEOF
15927 cat confdefs.h >>conftest.$ac_ext
15928 cat >>conftest.$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15931 #include <$ac_header>
15932 _ACEOF
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_header_compiler=yes
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 ac_header_compiler=no
15960 fi
15961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15963 echo "${ECHO_T}$ac_header_compiler" >&6
15964
15965 # Is the header present?
15966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #include <$ac_header>
15975 _ACEOF
15976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev/null; then
15984 if test -s conftest.err; then
15985 ac_cpp_err=$ac_cxx_preproc_warn_flag
15986 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15987 else
15988 ac_cpp_err=
15989 fi
15990 else
15991 ac_cpp_err=yes
15992 fi
15993 if test -z "$ac_cpp_err"; then
15994 ac_header_preproc=yes
15995 else
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15998
15999 ac_header_preproc=no
16000 fi
16001 rm -f conftest.err conftest.$ac_ext
16002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16003 echo "${ECHO_T}$ac_header_preproc" >&6
16004
16005 # So? What about this header?
16006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16007 yes:no: )
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16012 ac_header_preproc=yes
16013 ;;
16014 no:yes:* )
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16027 (
16028 cat <<\_ASBOX
16029 ## ----------------------------------------- ##
16030 ## Report this to wx-dev@lists.wxwidgets.org ##
16031 ## ----------------------------------------- ##
16032 _ASBOX
16033 ) |
16034 sed "s/^/$as_me: WARNING: /" >&2
16035 ;;
16036 esac
16037 echo "$as_me:$LINENO: checking for $ac_header" >&5
16038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 else
16042 eval "$as_ac_Header=\$ac_header_preproc"
16043 fi
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16046
16047 fi
16048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16049 cat >>confdefs.h <<_ACEOF
16050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16051 _ACEOF
16052
16053 fi
16054
16055 done
16056
16057
16058 for ac_header in malloc.h
16059 do
16060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16062 echo "$as_me:$LINENO: checking for $ac_header" >&5
16063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 fi
16067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16069 else
16070 # Is the header compilable?
16071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16073 cat >conftest.$ac_ext <<_ACEOF
16074 /* confdefs.h. */
16075 _ACEOF
16076 cat confdefs.h >>conftest.$ac_ext
16077 cat >>conftest.$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079 $ac_includes_default
16080 #include <$ac_header>
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>conftest.er1
16085 ac_status=$?
16086 grep -v '^ *+' conftest.er1 >conftest.err
16087 rm -f conftest.er1
16088 cat conftest.err >&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16100 ac_status=$?
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_header_compiler=yes
16104 else
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16107
16108 ac_header_compiler=no
16109 fi
16110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16112 echo "${ECHO_T}$ac_header_compiler" >&6
16113
16114 # Is the header present?
16115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 #include <$ac_header>
16124 _ACEOF
16125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } >/dev/null; then
16133 if test -s conftest.err; then
16134 ac_cpp_err=$ac_cxx_preproc_warn_flag
16135 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16136 else
16137 ac_cpp_err=
16138 fi
16139 else
16140 ac_cpp_err=yes
16141 fi
16142 if test -z "$ac_cpp_err"; then
16143 ac_header_preproc=yes
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148 ac_header_preproc=no
16149 fi
16150 rm -f conftest.err conftest.$ac_ext
16151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16152 echo "${ECHO_T}$ac_header_preproc" >&6
16153
16154 # So? What about this header?
16155 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16156 yes:no: )
16157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16161 ac_header_preproc=yes
16162 ;;
16163 no:yes:* )
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16176 (
16177 cat <<\_ASBOX
16178 ## ----------------------------------------- ##
16179 ## Report this to wx-dev@lists.wxwidgets.org ##
16180 ## ----------------------------------------- ##
16181 _ASBOX
16182 ) |
16183 sed "s/^/$as_me: WARNING: /" >&2
16184 ;;
16185 esac
16186 echo "$as_me:$LINENO: checking for $ac_header" >&5
16187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 else
16191 eval "$as_ac_Header=\$ac_header_preproc"
16192 fi
16193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16195
16196 fi
16197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16198 cat >>confdefs.h <<_ACEOF
16199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16200 _ACEOF
16201
16202 fi
16203
16204 done
16205
16206
16207 for ac_header in unistd.h
16208 do
16209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 fi
16216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16218 else
16219 # Is the header compilable?
16220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16222 cat >conftest.$ac_ext <<_ACEOF
16223 /* confdefs.h. */
16224 _ACEOF
16225 cat confdefs.h >>conftest.$ac_ext
16226 cat >>conftest.$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 $ac_includes_default
16229 #include <$ac_header>
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; } &&
16246 { ac_try='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_header_compiler=yes
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 ac_header_compiler=no
16258 fi
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16261 echo "${ECHO_T}$ac_header_compiler" >&6
16262
16263 # Is the header present?
16264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <$ac_header>
16273 _ACEOF
16274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev/null; then
16282 if test -s conftest.err; then
16283 ac_cpp_err=$ac_cxx_preproc_warn_flag
16284 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16285 else
16286 ac_cpp_err=
16287 fi
16288 else
16289 ac_cpp_err=yes
16290 fi
16291 if test -z "$ac_cpp_err"; then
16292 ac_header_preproc=yes
16293 else
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16296
16297 ac_header_preproc=no
16298 fi
16299 rm -f conftest.err conftest.$ac_ext
16300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16301 echo "${ECHO_T}$ac_header_preproc" >&6
16302
16303 # So? What about this header?
16304 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16305 yes:no: )
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16310 ac_header_preproc=yes
16311 ;;
16312 no:yes:* )
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16325 (
16326 cat <<\_ASBOX
16327 ## ----------------------------------------- ##
16328 ## Report this to wx-dev@lists.wxwidgets.org ##
16329 ## ----------------------------------------- ##
16330 _ASBOX
16331 ) |
16332 sed "s/^/$as_me: WARNING: /" >&2
16333 ;;
16334 esac
16335 echo "$as_me:$LINENO: checking for $ac_header" >&5
16336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 eval "$as_ac_Header=\$ac_header_preproc"
16341 fi
16342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16344
16345 fi
16346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16347 cat >>confdefs.h <<_ACEOF
16348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16349 _ACEOF
16350
16351 fi
16352
16353 done
16354
16355
16356 for ac_header in wchar.h
16357 do
16358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16360 echo "$as_me:$LINENO: checking for $ac_header" >&5
16361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 fi
16365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16367 else
16368 # Is the header compilable?
16369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 $ac_includes_default
16378 #include <$ac_header>
16379 _ACEOF
16380 rm -f conftest.$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16383 ac_status=$?
16384 grep -v '^ *+' conftest.er1 >conftest.err
16385 rm -f conftest.er1
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try='test -s conftest.$ac_objext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16398 ac_status=$?
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_header_compiler=yes
16402 else
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16405
16406 ac_header_compiler=no
16407 fi
16408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16410 echo "${ECHO_T}$ac_header_compiler" >&6
16411
16412 # Is the header present?
16413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16415 cat >conftest.$ac_ext <<_ACEOF
16416 /* confdefs.h. */
16417 _ACEOF
16418 cat confdefs.h >>conftest.$ac_ext
16419 cat >>conftest.$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 #include <$ac_header>
16422 _ACEOF
16423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } >/dev/null; then
16431 if test -s conftest.err; then
16432 ac_cpp_err=$ac_cxx_preproc_warn_flag
16433 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16434 else
16435 ac_cpp_err=
16436 fi
16437 else
16438 ac_cpp_err=yes
16439 fi
16440 if test -z "$ac_cpp_err"; then
16441 ac_header_preproc=yes
16442 else
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16445
16446 ac_header_preproc=no
16447 fi
16448 rm -f conftest.err conftest.$ac_ext
16449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16450 echo "${ECHO_T}$ac_header_preproc" >&6
16451
16452 # So? What about this header?
16453 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16454 yes:no: )
16455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16459 ac_header_preproc=yes
16460 ;;
16461 no:yes:* )
16462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16474 (
16475 cat <<\_ASBOX
16476 ## ----------------------------------------- ##
16477 ## Report this to wx-dev@lists.wxwidgets.org ##
16478 ## ----------------------------------------- ##
16479 _ASBOX
16480 ) |
16481 sed "s/^/$as_me: WARNING: /" >&2
16482 ;;
16483 esac
16484 echo "$as_me:$LINENO: checking for $ac_header" >&5
16485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 else
16489 eval "$as_ac_Header=\$ac_header_preproc"
16490 fi
16491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16493
16494 fi
16495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16496 cat >>confdefs.h <<_ACEOF
16497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16498 _ACEOF
16499
16500 fi
16501
16502 done
16503
16504
16505 if test "$ac_cv_header_wchar_h" != "yes"; then
16506
16507 for ac_header in wcstr.h
16508 do
16509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16511 echo "$as_me:$LINENO: checking for $ac_header" >&5
16512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 fi
16516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16518 else
16519 # Is the header compilable?
16520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16522 cat >conftest.$ac_ext <<_ACEOF
16523 /* confdefs.h. */
16524 _ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16529 #include <$ac_header>
16530 _ACEOF
16531 rm -f conftest.$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16534 ac_status=$?
16535 grep -v '^ *+' conftest.er1 >conftest.err
16536 rm -f conftest.er1
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_header_compiler=yes
16553 else
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16556
16557 ac_header_compiler=no
16558 fi
16559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16561 echo "${ECHO_T}$ac_header_compiler" >&6
16562
16563 # Is the header present?
16564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 #include <$ac_header>
16573 _ACEOF
16574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16576 ac_status=$?
16577 grep -v '^ *+' conftest.er1 >conftest.err
16578 rm -f conftest.er1
16579 cat conftest.err >&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } >/dev/null; then
16582 if test -s conftest.err; then
16583 ac_cpp_err=$ac_cxx_preproc_warn_flag
16584 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16585 else
16586 ac_cpp_err=
16587 fi
16588 else
16589 ac_cpp_err=yes
16590 fi
16591 if test -z "$ac_cpp_err"; then
16592 ac_header_preproc=yes
16593 else
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16596
16597 ac_header_preproc=no
16598 fi
16599 rm -f conftest.err conftest.$ac_ext
16600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16601 echo "${ECHO_T}$ac_header_preproc" >&6
16602
16603 # So? What about this header?
16604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16605 yes:no: )
16606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16610 ac_header_preproc=yes
16611 ;;
16612 no:yes:* )
16613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16625 (
16626 cat <<\_ASBOX
16627 ## ----------------------------------------- ##
16628 ## Report this to wx-dev@lists.wxwidgets.org ##
16629 ## ----------------------------------------- ##
16630 _ASBOX
16631 ) |
16632 sed "s/^/$as_me: WARNING: /" >&2
16633 ;;
16634 esac
16635 echo "$as_me:$LINENO: checking for $ac_header" >&5
16636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 eval "$as_ac_Header=\$ac_header_preproc"
16641 fi
16642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16644
16645 fi
16646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16647 cat >>confdefs.h <<_ACEOF
16648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16649 _ACEOF
16650
16651 fi
16652
16653 done
16654
16655 fi
16656
16657
16658 for ac_header in fnmatch.h
16659 do
16660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16662 echo "$as_me:$LINENO: checking for $ac_header" >&5
16663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 fi
16667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16669 else
16670 # Is the header compilable?
16671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16680 #include <$ac_header>
16681 _ACEOF
16682 rm -f conftest.$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16685 ac_status=$?
16686 grep -v '^ *+' conftest.er1 >conftest.err
16687 rm -f conftest.er1
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_header_compiler=yes
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16707
16708 ac_header_compiler=no
16709 fi
16710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16712 echo "${ECHO_T}$ac_header_compiler" >&6
16713
16714 # Is the header present?
16715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16717 cat >conftest.$ac_ext <<_ACEOF
16718 /* confdefs.h. */
16719 _ACEOF
16720 cat confdefs.h >>conftest.$ac_ext
16721 cat >>conftest.$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 #include <$ac_header>
16724 _ACEOF
16725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16727 ac_status=$?
16728 grep -v '^ *+' conftest.er1 >conftest.err
16729 rm -f conftest.er1
16730 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } >/dev/null; then
16733 if test -s conftest.err; then
16734 ac_cpp_err=$ac_cxx_preproc_warn_flag
16735 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16736 else
16737 ac_cpp_err=
16738 fi
16739 else
16740 ac_cpp_err=yes
16741 fi
16742 if test -z "$ac_cpp_err"; then
16743 ac_header_preproc=yes
16744 else
16745 echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.$ac_ext >&5
16747
16748 ac_header_preproc=no
16749 fi
16750 rm -f conftest.err conftest.$ac_ext
16751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16752 echo "${ECHO_T}$ac_header_preproc" >&6
16753
16754 # So? What about this header?
16755 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16756 yes:no: )
16757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16761 ac_header_preproc=yes
16762 ;;
16763 no:yes:* )
16764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16776 (
16777 cat <<\_ASBOX
16778 ## ----------------------------------------- ##
16779 ## Report this to wx-dev@lists.wxwidgets.org ##
16780 ## ----------------------------------------- ##
16781 _ASBOX
16782 ) |
16783 sed "s/^/$as_me: WARNING: /" >&2
16784 ;;
16785 esac
16786 echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 else
16791 eval "$as_ac_Header=\$ac_header_preproc"
16792 fi
16793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16795
16796 fi
16797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16798 cat >>confdefs.h <<_ACEOF
16799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16800 _ACEOF
16801
16802 fi
16803
16804 done
16805
16806
16807
16808 for ac_header in langinfo.h
16809 do
16810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16812 echo "$as_me:$LINENO: checking for $ac_header" >&5
16813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 fi
16817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16819 else
16820 # Is the header compilable?
16821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16823 cat >conftest.$ac_ext <<_ACEOF
16824 /* confdefs.h. */
16825 _ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 $ac_includes_default
16830 #include <$ac_header>
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_header_compiler=yes
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 ac_header_compiler=no
16859 fi
16860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16862 echo "${ECHO_T}$ac_header_compiler" >&6
16863
16864 # Is the header present?
16865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h. */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 #include <$ac_header>
16874 _ACEOF
16875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16877 ac_status=$?
16878 grep -v '^ *+' conftest.er1 >conftest.err
16879 rm -f conftest.er1
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } >/dev/null; then
16883 if test -s conftest.err; then
16884 ac_cpp_err=$ac_cxx_preproc_warn_flag
16885 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16886 else
16887 ac_cpp_err=
16888 fi
16889 else
16890 ac_cpp_err=yes
16891 fi
16892 if test -z "$ac_cpp_err"; then
16893 ac_header_preproc=yes
16894 else
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.$ac_ext >&5
16897
16898 ac_header_preproc=no
16899 fi
16900 rm -f conftest.err conftest.$ac_ext
16901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16902 echo "${ECHO_T}$ac_header_preproc" >&6
16903
16904 # So? What about this header?
16905 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16906 yes:no: )
16907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16911 ac_header_preproc=yes
16912 ;;
16913 no:yes:* )
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16926 (
16927 cat <<\_ASBOX
16928 ## ----------------------------------------- ##
16929 ## Report this to wx-dev@lists.wxwidgets.org ##
16930 ## ----------------------------------------- ##
16931 _ASBOX
16932 ) |
16933 sed "s/^/$as_me: WARNING: /" >&2
16934 ;;
16935 esac
16936 echo "$as_me:$LINENO: checking for $ac_header" >&5
16937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16941 eval "$as_ac_Header=\$ac_header_preproc"
16942 fi
16943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16945
16946 fi
16947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16948 cat >>confdefs.h <<_ACEOF
16949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16950 _ACEOF
16951
16952 fi
16953
16954 done
16955
16956
16957 case "${host}" in
16958 *-pc-os2_emx | *-pc-os2-emx )
16959 if test $ac_cv_header_langinfo_h = "yes" \
16960 -a \( "$wx_cv_gccversion" = "EMX2" \
16961 -o "$wx_cv_gccversion" = "EMX3" \
16962 -o "$wx_cv_gccversion" = "Innotek5" \); then
16963 LIBS="$LIBS -lintl"
16964 fi
16965 ;;
16966 esac
16967
16968
16969 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16970 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16971 if test "${ac_cv_c_const+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980
16981 int
16982 main ()
16983 {
16984 /* FIXME: Include the comments suggested by Paul. */
16985 #ifndef __cplusplus
16986 /* Ultrix mips cc rejects this. */
16987 typedef int charset[2];
16988 const charset x;
16989 /* SunOS 4.1.1 cc rejects this. */
16990 char const *const *ccp;
16991 char **p;
16992 /* NEC SVR4.0.2 mips cc rejects this. */
16993 struct point {int x, y;};
16994 static struct point const zero = {0,0};
16995 /* AIX XL C 1.02.0.0 rejects this.
16996 It does not let you subtract one const X* pointer from another in
16997 an arm of an if-expression whose if-part is not a constant
16998 expression */
16999 const char *g = "string";
17000 ccp = &g + (g ? g-g : 0);
17001 /* HPUX 7.0 cc rejects these. */
17002 ++ccp;
17003 p = (char**) ccp;
17004 ccp = (char const *const *) p;
17005 { /* SCO 3.2v4 cc rejects this. */
17006 char *t;
17007 char const *s = 0 ? (char *) 0 : (char const *) 0;
17008
17009 *t++ = 0;
17010 }
17011 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17012 int x[] = {25, 17};
17013 const int *foo = &x[0];
17014 ++foo;
17015 }
17016 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17017 typedef const int *iptr;
17018 iptr p = 0;
17019 ++p;
17020 }
17021 { /* AIX XL C 1.02.0.0 rejects this saying
17022 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17023 struct s { int j; const int *ap[3]; };
17024 struct s *b; b->j = 5;
17025 }
17026 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17027 const int foo = 10;
17028 }
17029 #endif
17030
17031 ;
17032 return 0;
17033 }
17034 _ACEOF
17035 rm -f conftest.$ac_objext
17036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17037 (eval $ac_compile) 2>conftest.er1
17038 ac_status=$?
17039 grep -v '^ *+' conftest.er1 >conftest.err
17040 rm -f conftest.er1
17041 cat conftest.err >&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } &&
17044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17053 ac_status=$?
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 ac_cv_c_const=yes
17057 else
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17060
17061 ac_cv_c_const=no
17062 fi
17063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17064 fi
17065 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17066 echo "${ECHO_T}$ac_cv_c_const" >&6
17067 if test $ac_cv_c_const = no; then
17068
17069 cat >>confdefs.h <<\_ACEOF
17070 #define const
17071 _ACEOF
17072
17073 fi
17074
17075 echo "$as_me:$LINENO: checking for inline" >&5
17076 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17077 if test "${ac_cv_c_inline+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 else
17080 ac_cv_c_inline=no
17081 for ac_kw in inline __inline__ __inline; do
17082 cat >conftest.$ac_ext <<_ACEOF
17083 /* confdefs.h. */
17084 _ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 #ifndef __cplusplus
17089 typedef int foo_t;
17090 static $ac_kw foo_t static_foo () {return 0; }
17091 $ac_kw foo_t foo () {return 0; }
17092 #endif
17093
17094 _ACEOF
17095 rm -f conftest.$ac_objext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17097 (eval $ac_compile) 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17107 ac_status=$?
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try='test -s conftest.$ac_objext'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17116 ac_cv_c_inline=$ac_kw; break
17117 else
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17120
17121 fi
17122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17123 done
17124
17125 fi
17126 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17127 echo "${ECHO_T}$ac_cv_c_inline" >&6
17128
17129
17130 case $ac_cv_c_inline in
17131 inline | yes) ;;
17132 *)
17133 case $ac_cv_c_inline in
17134 no) ac_val=;;
17135 *) ac_val=$ac_cv_c_inline;;
17136 esac
17137 cat >>confdefs.h <<_ACEOF
17138 #ifndef __cplusplus
17139 #define inline $ac_val
17140 #endif
17141 _ACEOF
17142 ;;
17143 esac
17144
17145
17146 echo "$as_me:$LINENO: checking for char" >&5
17147 echo $ECHO_N "checking for char... $ECHO_C" >&6
17148 if test "${ac_cv_type_char+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 else
17151 cat >conftest.$ac_ext <<_ACEOF
17152 /* confdefs.h. */
17153 _ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17157 $ac_includes_default
17158 int
17159 main ()
17160 {
17161 if ((char *) 0)
17162 return 0;
17163 if (sizeof (char))
17164 return 0;
17165 ;
17166 return 0;
17167 }
17168 _ACEOF
17169 rm -f conftest.$ac_objext
17170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17171 (eval $ac_compile) 2>conftest.er1
17172 ac_status=$?
17173 grep -v '^ *+' conftest.er1 >conftest.err
17174 rm -f conftest.er1
17175 cat conftest.err >&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17181 ac_status=$?
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; } &&
17184 { ac_try='test -s conftest.$ac_objext'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; }; then
17190 ac_cv_type_char=yes
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17194
17195 ac_cv_type_char=no
17196 fi
17197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17198 fi
17199 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17200 echo "${ECHO_T}$ac_cv_type_char" >&6
17201
17202 echo "$as_me:$LINENO: checking size of char" >&5
17203 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17204 if test "${ac_cv_sizeof_char+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 if test "$ac_cv_type_char" = yes; then
17208 # The cast to unsigned long works around a bug in the HP C Compiler
17209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17211 # This bug is HP SR number 8606223364.
17212 if test "$cross_compiling" = yes; then
17213 # Depending upon the size, compute the lo and hi bounds.
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17221 int
17222 main ()
17223 {
17224 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17225 test_array [0] = 0
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 rm -f conftest.$ac_objext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17233 (eval $ac_compile) 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17243 ac_status=$?
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try='test -s conftest.$ac_objext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17249 ac_status=$?
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_lo=0 ac_mid=0
17253 while :; do
17254 cat >conftest.$ac_ext <<_ACEOF
17255 /* confdefs.h. */
17256 _ACEOF
17257 cat confdefs.h >>conftest.$ac_ext
17258 cat >>conftest.$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 $ac_includes_default
17261 int
17262 main ()
17263 {
17264 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17265 test_array [0] = 0
17266
17267 ;
17268 return 0;
17269 }
17270 _ACEOF
17271 rm -f conftest.$ac_objext
17272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17273 (eval $ac_compile) 2>conftest.er1
17274 ac_status=$?
17275 grep -v '^ *+' conftest.er1 >conftest.err
17276 rm -f conftest.er1
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17283 ac_status=$?
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; } &&
17286 { ac_try='test -s conftest.$ac_objext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17289 ac_status=$?
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 ac_hi=$ac_mid; break
17293 else
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297 ac_lo=`expr $ac_mid + 1`
17298 if test $ac_lo -le $ac_mid; then
17299 ac_lo= ac_hi=
17300 break
17301 fi
17302 ac_mid=`expr 2 '*' $ac_mid + 1`
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305 done
17306 else
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17309
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 $ac_includes_default
17317 int
17318 main ()
17319 {
17320 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17321 test_array [0] = 0
17322
17323 ;
17324 return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest.$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329 (eval $ac_compile) 2>conftest.er1
17330 ac_status=$?
17331 grep -v '^ *+' conftest.er1 >conftest.err
17332 rm -f conftest.er1
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17339 ac_status=$?
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17345 ac_status=$?
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 ac_hi=-1 ac_mid=-1
17349 while :; do
17350 cat >conftest.$ac_ext <<_ACEOF
17351 /* confdefs.h. */
17352 _ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17357 int
17358 main ()
17359 {
17360 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17361 test_array [0] = 0
17362
17363 ;
17364 return 0;
17365 }
17366 _ACEOF
17367 rm -f conftest.$ac_objext
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>conftest.er1
17370 ac_status=$?
17371 grep -v '^ *+' conftest.er1 >conftest.err
17372 rm -f conftest.er1
17373 cat conftest.err >&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17379 ac_status=$?
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; } &&
17382 { ac_try='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_lo=$ac_mid; break
17389 else
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.$ac_ext >&5
17392
17393 ac_hi=`expr '(' $ac_mid ')' - 1`
17394 if test $ac_mid -le $ac_hi; then
17395 ac_lo= ac_hi=
17396 break
17397 fi
17398 ac_mid=`expr 2 '*' $ac_mid`
17399 fi
17400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17401 done
17402 else
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ac_lo= ac_hi=
17407 fi
17408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17409 fi
17410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17411 # Binary search between lo and hi bounds.
17412 while test "x$ac_lo" != "x$ac_hi"; do
17413 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 $ac_includes_default
17421 int
17422 main ()
17423 {
17424 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17425 test_array [0] = 0
17426
17427 ;
17428 return 0;
17429 }
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17443 ac_status=$?
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 ac_hi=$ac_mid
17453 else
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17456
17457 ac_lo=`expr '(' $ac_mid ')' + 1`
17458 fi
17459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17460 done
17461 case $ac_lo in
17462 ?*) ac_cv_sizeof_char=$ac_lo;;
17463 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17464 See \`config.log' for more details." >&5
17465 echo "$as_me: error: cannot compute sizeof (char), 77
17466 See \`config.log' for more details." >&2;}
17467 { (exit 1); exit 1; }; } ;;
17468 esac
17469 else
17470 if test "$cross_compiling" = yes; then
17471 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17472 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17473 { (exit 1); exit 1; }; }
17474 else
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17482 long longval () { return (long) (sizeof (char)); }
17483 unsigned long ulongval () { return (long) (sizeof (char)); }
17484 #include <stdio.h>
17485 #include <stdlib.h>
17486 int
17487 main ()
17488 {
17489
17490 FILE *f = fopen ("conftest.val", "w");
17491 if (! f)
17492 exit (1);
17493 if (((long) (sizeof (char))) < 0)
17494 {
17495 long i = longval ();
17496 if (i != ((long) (sizeof (char))))
17497 exit (1);
17498 fprintf (f, "%ld\n", i);
17499 }
17500 else
17501 {
17502 unsigned long i = ulongval ();
17503 if (i != ((long) (sizeof (char))))
17504 exit (1);
17505 fprintf (f, "%lu\n", i);
17506 }
17507 exit (ferror (f) || fclose (f) != 0);
17508
17509 ;
17510 return 0;
17511 }
17512 _ACEOF
17513 rm -f conftest$ac_exeext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17515 (eval $ac_link) 2>&5
17516 ac_status=$?
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17521 ac_status=$?
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 ac_cv_sizeof_char=`cat conftest.val`
17525 else
17526 echo "$as_me: program exited with status $ac_status" >&5
17527 echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.$ac_ext >&5
17529
17530 ( exit $ac_status )
17531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot compute sizeof (char), 77
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; }
17536 fi
17537 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17538 fi
17539 fi
17540 rm -f conftest.val
17541 else
17542 ac_cv_sizeof_char=0
17543 fi
17544 fi
17545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17546 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17547 cat >>confdefs.h <<_ACEOF
17548 #define SIZEOF_CHAR $ac_cv_sizeof_char
17549 _ACEOF
17550
17551
17552 echo "$as_me:$LINENO: checking for short" >&5
17553 echo $ECHO_N "checking for short... $ECHO_C" >&6
17554 if test "${ac_cv_type_short+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 $ac_includes_default
17564 int
17565 main ()
17566 {
17567 if ((short *) 0)
17568 return 0;
17569 if (sizeof (short))
17570 return 0;
17571 ;
17572 return 0;
17573 }
17574 _ACEOF
17575 rm -f conftest.$ac_objext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17577 (eval $ac_compile) 2>conftest.er1
17578 ac_status=$?
17579 grep -v '^ *+' conftest.er1 >conftest.err
17580 rm -f conftest.er1
17581 cat conftest.err >&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } &&
17584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_cv_type_short=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17600
17601 ac_cv_type_short=no
17602 fi
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17604 fi
17605 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17606 echo "${ECHO_T}$ac_cv_type_short" >&6
17607
17608 echo "$as_me:$LINENO: checking size of short" >&5
17609 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17610 if test "${ac_cv_sizeof_short+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 else
17613 if test "$ac_cv_type_short" = yes; then
17614 # The cast to unsigned long works around a bug in the HP C Compiler
17615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17617 # This bug is HP SR number 8606223364.
17618 if test "$cross_compiling" = yes; then
17619 # Depending upon the size, compute the lo and hi bounds.
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17627 int
17628 main ()
17629 {
17630 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17631 test_array [0] = 0
17632
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17640 ac_status=$?
17641 grep -v '^ *+' conftest.er1 >conftest.err
17642 rm -f conftest.er1
17643 cat conftest.err >&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_lo=0 ac_mid=0
17659 while :; do
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17667 int
17668 main ()
17669 {
17670 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17671 test_array [0] = 0
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17689 ac_status=$?
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17695 ac_status=$?
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 ac_hi=$ac_mid; break
17699 else
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.$ac_ext >&5
17702
17703 ac_lo=`expr $ac_mid + 1`
17704 if test $ac_lo -le $ac_mid; then
17705 ac_lo= ac_hi=
17706 break
17707 fi
17708 ac_mid=`expr 2 '*' $ac_mid + 1`
17709 fi
17710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17711 done
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17715
17716 cat >conftest.$ac_ext <<_ACEOF
17717 /* confdefs.h. */
17718 _ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 $ac_includes_default
17723 int
17724 main ()
17725 {
17726 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17727 test_array [0] = 0
17728
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17735 (eval $ac_compile) 2>conftest.er1
17736 ac_status=$?
17737 grep -v '^ *+' conftest.er1 >conftest.err
17738 rm -f conftest.er1
17739 cat conftest.err >&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17745 ac_status=$?
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try='test -s conftest.$ac_objext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17751 ac_status=$?
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17754 ac_hi=-1 ac_mid=-1
17755 while :; do
17756 cat >conftest.$ac_ext <<_ACEOF
17757 /* confdefs.h. */
17758 _ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17763 int
17764 main ()
17765 {
17766 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17767 test_array [0] = 0
17768
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 rm -f conftest.$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17776 ac_status=$?
17777 grep -v '^ *+' conftest.er1 >conftest.err
17778 rm -f conftest.er1
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_lo=$ac_mid; break
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 ac_hi=`expr '(' $ac_mid ')' - 1`
17800 if test $ac_mid -le $ac_hi; then
17801 ac_lo= ac_hi=
17802 break
17803 fi
17804 ac_mid=`expr 2 '*' $ac_mid`
17805 fi
17806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17807 done
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 ac_lo= ac_hi=
17813 fi
17814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17815 fi
17816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17817 # Binary search between lo and hi bounds.
17818 while test "x$ac_lo" != "x$ac_hi"; do
17819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17827 int
17828 main ()
17829 {
17830 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17831 test_array [0] = 0
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 rm -f conftest.$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17840 ac_status=$?
17841 grep -v '^ *+' conftest.er1 >conftest.err
17842 rm -f conftest.er1
17843 cat conftest.err >&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 ac_hi=$ac_mid
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17862
17863 ac_lo=`expr '(' $ac_mid ')' + 1`
17864 fi
17865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17866 done
17867 case $ac_lo in
17868 ?*) ac_cv_sizeof_short=$ac_lo;;
17869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot compute sizeof (short), 77
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; } ;;
17874 esac
17875 else
17876 if test "$cross_compiling" = yes; then
17877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17879 { (exit 1); exit 1; }; }
17880 else
17881 cat >conftest.$ac_ext <<_ACEOF
17882 /* confdefs.h. */
17883 _ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 long longval () { return (long) (sizeof (short)); }
17889 unsigned long ulongval () { return (long) (sizeof (short)); }
17890 #include <stdio.h>
17891 #include <stdlib.h>
17892 int
17893 main ()
17894 {
17895
17896 FILE *f = fopen ("conftest.val", "w");
17897 if (! f)
17898 exit (1);
17899 if (((long) (sizeof (short))) < 0)
17900 {
17901 long i = longval ();
17902 if (i != ((long) (sizeof (short))))
17903 exit (1);
17904 fprintf (f, "%ld\n", i);
17905 }
17906 else
17907 {
17908 unsigned long i = ulongval ();
17909 if (i != ((long) (sizeof (short))))
17910 exit (1);
17911 fprintf (f, "%lu\n", i);
17912 }
17913 exit (ferror (f) || fclose (f) != 0);
17914
17915 ;
17916 return 0;
17917 }
17918 _ACEOF
17919 rm -f conftest$ac_exeext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17921 (eval $ac_link) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_sizeof_short=`cat conftest.val`
17931 else
17932 echo "$as_me: program exited with status $ac_status" >&5
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 ( exit $ac_status )
17937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (short), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; }
17942 fi
17943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17944 fi
17945 fi
17946 rm -f conftest.val
17947 else
17948 ac_cv_sizeof_short=0
17949 fi
17950 fi
17951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17952 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17953 cat >>confdefs.h <<_ACEOF
17954 #define SIZEOF_SHORT $ac_cv_sizeof_short
17955 _ACEOF
17956
17957
17958 echo "$as_me:$LINENO: checking for void *" >&5
17959 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17960 if test "${ac_cv_type_void_p+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 int
17971 main ()
17972 {
17973 if ((void * *) 0)
17974 return 0;
17975 if (sizeof (void *))
17976 return 0;
17977 ;
17978 return 0;
17979 }
17980 _ACEOF
17981 rm -f conftest.$ac_objext
17982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17983 (eval $ac_compile) 2>conftest.er1
17984 ac_status=$?
17985 grep -v '^ *+' conftest.er1 >conftest.err
17986 rm -f conftest.er1
17987 cat conftest.err >&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } &&
17990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17993 ac_status=$?
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; } &&
17996 { ac_try='test -s conftest.$ac_objext'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 ac_cv_type_void_p=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 ac_cv_type_void_p=no
18008 fi
18009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18010 fi
18011 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18012 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18013
18014 echo "$as_me:$LINENO: checking size of void *" >&5
18015 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18016 if test "${ac_cv_sizeof_void_p+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 if test "$ac_cv_type_void_p" = yes; then
18020 # The cast to unsigned long works around a bug in the HP C Compiler
18021 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18022 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18023 # This bug is HP SR number 8606223364.
18024 if test "$cross_compiling" = yes; then
18025 # Depending upon the size, compute the lo and hi bounds.
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18033 int
18034 main ()
18035 {
18036 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18037 test_array [0] = 0
18038
18039 ;
18040 return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest.$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18055 ac_status=$?
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18061 ac_status=$?
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 ac_lo=0 ac_mid=0
18065 while :; do
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 $ac_includes_default
18073 int
18074 main ()
18075 {
18076 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18077 test_array [0] = 0
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 rm -f conftest.$ac_objext
18084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085 (eval $ac_compile) 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } &&
18092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 ac_hi=$ac_mid; break
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 ac_lo=`expr $ac_mid + 1`
18110 if test $ac_lo -le $ac_mid; then
18111 ac_lo= ac_hi=
18112 break
18113 fi
18114 ac_mid=`expr 2 '*' $ac_mid + 1`
18115 fi
18116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18117 done
18118 else
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18121
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 $ac_includes_default
18129 int
18130 main ()
18131 {
18132 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18133 test_array [0] = 0
18134
18135 ;
18136 return 0;
18137 }
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18141 (eval $ac_compile) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi=-1 ac_mid=-1
18161 while :; do
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 $ac_includes_default
18169 int
18170 main ()
18171 {
18172 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18173 test_array [0] = 0
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 rm -f conftest.$ac_objext
18180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18181 (eval $ac_compile) 2>conftest.er1
18182 ac_status=$?
18183 grep -v '^ *+' conftest.er1 >conftest.err
18184 rm -f conftest.er1
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; } &&
18194 { ac_try='test -s conftest.$ac_objext'
18195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18196 (eval $ac_try) 2>&5
18197 ac_status=$?
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); }; }; then
18200 ac_lo=$ac_mid; break
18201 else
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.$ac_ext >&5
18204
18205 ac_hi=`expr '(' $ac_mid ')' - 1`
18206 if test $ac_mid -le $ac_hi; then
18207 ac_lo= ac_hi=
18208 break
18209 fi
18210 ac_mid=`expr 2 '*' $ac_mid`
18211 fi
18212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18213 done
18214 else
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18217
18218 ac_lo= ac_hi=
18219 fi
18220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18221 fi
18222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18223 # Binary search between lo and hi bounds.
18224 while test "x$ac_lo" != "x$ac_hi"; do
18225 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 int
18234 main ()
18235 {
18236 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18237 test_array [0] = 0
18238
18239 ;
18240 return 0;
18241 }
18242 _ACEOF
18243 rm -f conftest.$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>conftest.er1
18246 ac_status=$?
18247 grep -v '^ *+' conftest.er1 >conftest.err
18248 rm -f conftest.er1
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; } &&
18258 { ac_try='test -s conftest.$ac_objext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18261 ac_status=$?
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_hi=$ac_mid
18265 else
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.$ac_ext >&5
18268
18269 ac_lo=`expr '(' $ac_mid ')' + 1`
18270 fi
18271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18272 done
18273 case $ac_lo in
18274 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18275 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18276 See \`config.log' for more details." >&5
18277 echo "$as_me: error: cannot compute sizeof (void *), 77
18278 See \`config.log' for more details." >&2;}
18279 { (exit 1); exit 1; }; } ;;
18280 esac
18281 else
18282 if test "$cross_compiling" = yes; then
18283 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18284 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18285 { (exit 1); exit 1; }; }
18286 else
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 long longval () { return (long) (sizeof (void *)); }
18295 unsigned long ulongval () { return (long) (sizeof (void *)); }
18296 #include <stdio.h>
18297 #include <stdlib.h>
18298 int
18299 main ()
18300 {
18301
18302 FILE *f = fopen ("conftest.val", "w");
18303 if (! f)
18304 exit (1);
18305 if (((long) (sizeof (void *))) < 0)
18306 {
18307 long i = longval ();
18308 if (i != ((long) (sizeof (void *))))
18309 exit (1);
18310 fprintf (f, "%ld\n", i);
18311 }
18312 else
18313 {
18314 unsigned long i = ulongval ();
18315 if (i != ((long) (sizeof (void *))))
18316 exit (1);
18317 fprintf (f, "%lu\n", i);
18318 }
18319 exit (ferror (f) || fclose (f) != 0);
18320
18321 ;
18322 return 0;
18323 }
18324 _ACEOF
18325 rm -f conftest$ac_exeext
18326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18327 (eval $ac_link) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18333 ac_status=$?
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 ac_cv_sizeof_void_p=`cat conftest.val`
18337 else
18338 echo "$as_me: program exited with status $ac_status" >&5
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18341
18342 ( exit $ac_status )
18343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18344 See \`config.log' for more details." >&5
18345 echo "$as_me: error: cannot compute sizeof (void *), 77
18346 See \`config.log' for more details." >&2;}
18347 { (exit 1); exit 1; }; }
18348 fi
18349 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18350 fi
18351 fi
18352 rm -f conftest.val
18353 else
18354 ac_cv_sizeof_void_p=0
18355 fi
18356 fi
18357 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18358 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18359 cat >>confdefs.h <<_ACEOF
18360 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18361 _ACEOF
18362
18363
18364 echo "$as_me:$LINENO: checking for int" >&5
18365 echo $ECHO_N "checking for int... $ECHO_C" >&6
18366 if test "${ac_cv_type_int+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18368 else
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 $ac_includes_default
18376 int
18377 main ()
18378 {
18379 if ((int *) 0)
18380 return 0;
18381 if (sizeof (int))
18382 return 0;
18383 ;
18384 return 0;
18385 }
18386 _ACEOF
18387 rm -f conftest.$ac_objext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18389 (eval $ac_compile) 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18399 ac_status=$?
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; } &&
18402 { ac_try='test -s conftest.$ac_objext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18405 ac_status=$?
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18408 ac_cv_type_int=yes
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 ac_cv_type_int=no
18414 fi
18415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18416 fi
18417 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18418 echo "${ECHO_T}$ac_cv_type_int" >&6
18419
18420 echo "$as_me:$LINENO: checking size of int" >&5
18421 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18422 if test "${ac_cv_sizeof_int+set}" = set; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425 if test "$ac_cv_type_int" = yes; then
18426 # The cast to unsigned long works around a bug in the HP C Compiler
18427 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18428 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18429 # This bug is HP SR number 8606223364.
18430 if test "$cross_compiling" = yes; then
18431 # Depending upon the size, compute the lo and hi bounds.
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18439 int
18440 main ()
18441 {
18442 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18443 test_array [0] = 0
18444
18445 ;
18446 return 0;
18447 }
18448 _ACEOF
18449 rm -f conftest.$ac_objext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18451 (eval $ac_compile) 2>conftest.er1
18452 ac_status=$?
18453 grep -v '^ *+' conftest.er1 >conftest.err
18454 rm -f conftest.er1
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } &&
18458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try='test -s conftest.$ac_objext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_lo=0 ac_mid=0
18471 while :; do
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 $ac_includes_default
18479 int
18480 main ()
18481 {
18482 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18483 test_array [0] = 0
18484
18485 ;
18486 return 0;
18487 }
18488 _ACEOF
18489 rm -f conftest.$ac_objext
18490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18491 (eval $ac_compile) 2>conftest.er1
18492 ac_status=$?
18493 grep -v '^ *+' conftest.er1 >conftest.err
18494 rm -f conftest.er1
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } &&
18498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500 (eval $ac_try) 2>&5
18501 ac_status=$?
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; } &&
18504 { ac_try='test -s conftest.$ac_objext'
18505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18506 (eval $ac_try) 2>&5
18507 ac_status=$?
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; }; then
18510 ac_hi=$ac_mid; break
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18514
18515 ac_lo=`expr $ac_mid + 1`
18516 if test $ac_lo -le $ac_mid; then
18517 ac_lo= ac_hi=
18518 break
18519 fi
18520 ac_mid=`expr 2 '*' $ac_mid + 1`
18521 fi
18522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18523 done
18524 else
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18527
18528 cat >conftest.$ac_ext <<_ACEOF
18529 /* confdefs.h. */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 $ac_includes_default
18535 int
18536 main ()
18537 {
18538 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18539 test_array [0] = 0
18540
18541 ;
18542 return 0;
18543 }
18544 _ACEOF
18545 rm -f conftest.$ac_objext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest.$ac_objext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18563 ac_status=$?
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 ac_hi=-1 ac_mid=-1
18567 while :; do
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 $ac_includes_default
18575 int
18576 main ()
18577 {
18578 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18579 test_array [0] = 0
18580
18581 ;
18582 return 0;
18583 }
18584 _ACEOF
18585 rm -f conftest.$ac_objext
18586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18587 (eval $ac_compile) 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } &&
18594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18597 ac_status=$?
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18603 ac_status=$?
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 ac_lo=$ac_mid; break
18607 else
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18610
18611 ac_hi=`expr '(' $ac_mid ')' - 1`
18612 if test $ac_mid -le $ac_hi; then
18613 ac_lo= ac_hi=
18614 break
18615 fi
18616 ac_mid=`expr 2 '*' $ac_mid`
18617 fi
18618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18619 done
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18623
18624 ac_lo= ac_hi=
18625 fi
18626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18627 fi
18628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18629 # Binary search between lo and hi bounds.
18630 while test "x$ac_lo" != "x$ac_hi"; do
18631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 int
18640 main ()
18641 {
18642 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18643 test_array [0] = 0
18644
18645 ;
18646 return 0;
18647 }
18648 _ACEOF
18649 rm -f conftest.$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18652 ac_status=$?
18653 grep -v '^ *+' conftest.er1 >conftest.err
18654 rm -f conftest.er1
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try='test -s conftest.$ac_objext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_hi=$ac_mid
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 ac_lo=`expr '(' $ac_mid ')' + 1`
18676 fi
18677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18678 done
18679 case $ac_lo in
18680 ?*) ac_cv_sizeof_int=$ac_lo;;
18681 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18682 See \`config.log' for more details." >&5
18683 echo "$as_me: error: cannot compute sizeof (int), 77
18684 See \`config.log' for more details." >&2;}
18685 { (exit 1); exit 1; }; } ;;
18686 esac
18687 else
18688 if test "$cross_compiling" = yes; then
18689 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18690 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18691 { (exit 1); exit 1; }; }
18692 else
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 $ac_includes_default
18700 long longval () { return (long) (sizeof (int)); }
18701 unsigned long ulongval () { return (long) (sizeof (int)); }
18702 #include <stdio.h>
18703 #include <stdlib.h>
18704 int
18705 main ()
18706 {
18707
18708 FILE *f = fopen ("conftest.val", "w");
18709 if (! f)
18710 exit (1);
18711 if (((long) (sizeof (int))) < 0)
18712 {
18713 long i = longval ();
18714 if (i != ((long) (sizeof (int))))
18715 exit (1);
18716 fprintf (f, "%ld\n", i);
18717 }
18718 else
18719 {
18720 unsigned long i = ulongval ();
18721 if (i != ((long) (sizeof (int))))
18722 exit (1);
18723 fprintf (f, "%lu\n", i);
18724 }
18725 exit (ferror (f) || fclose (f) != 0);
18726
18727 ;
18728 return 0;
18729 }
18730 _ACEOF
18731 rm -f conftest$ac_exeext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18733 (eval $ac_link) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_sizeof_int=`cat conftest.val`
18743 else
18744 echo "$as_me: program exited with status $ac_status" >&5
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 ( exit $ac_status )
18749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18750 See \`config.log' for more details." >&5
18751 echo "$as_me: error: cannot compute sizeof (int), 77
18752 See \`config.log' for more details." >&2;}
18753 { (exit 1); exit 1; }; }
18754 fi
18755 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18756 fi
18757 fi
18758 rm -f conftest.val
18759 else
18760 ac_cv_sizeof_int=0
18761 fi
18762 fi
18763 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18764 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18765 cat >>confdefs.h <<_ACEOF
18766 #define SIZEOF_INT $ac_cv_sizeof_int
18767 _ACEOF
18768
18769
18770 echo "$as_me:$LINENO: checking for long" >&5
18771 echo $ECHO_N "checking for long... $ECHO_C" >&6
18772 if test "${ac_cv_type_long+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 else
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 int
18783 main ()
18784 {
18785 if ((long *) 0)
18786 return 0;
18787 if (sizeof (long))
18788 return 0;
18789 ;
18790 return 0;
18791 }
18792 _ACEOF
18793 rm -f conftest.$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>conftest.er1
18796 ac_status=$?
18797 grep -v '^ *+' conftest.er1 >conftest.err
18798 rm -f conftest.er1
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18805 ac_status=$?
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_cv_type_long=yes
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 ac_cv_type_long=no
18820 fi
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 fi
18823 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18824 echo "${ECHO_T}$ac_cv_type_long" >&6
18825
18826 echo "$as_me:$LINENO: checking size of long" >&5
18827 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18828 if test "${ac_cv_sizeof_long+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831 if test "$ac_cv_type_long" = yes; then
18832 # The cast to unsigned long works around a bug in the HP C Compiler
18833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18835 # This bug is HP SR number 8606223364.
18836 if test "$cross_compiling" = yes; then
18837 # Depending upon the size, compute the lo and hi bounds.
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 $ac_includes_default
18845 int
18846 main ()
18847 {
18848 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18849 test_array [0] = 0
18850
18851 ;
18852 return 0;
18853 }
18854 _ACEOF
18855 rm -f conftest.$ac_objext
18856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18857 (eval $ac_compile) 2>conftest.er1
18858 ac_status=$?
18859 grep -v '^ *+' conftest.er1 >conftest.err
18860 rm -f conftest.er1
18861 cat conftest.err >&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } &&
18864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18867 ac_status=$?
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; } &&
18870 { ac_try='test -s conftest.$ac_objext'
18871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872 (eval $ac_try) 2>&5
18873 ac_status=$?
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; }; then
18876 ac_lo=0 ac_mid=0
18877 while :; do
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 $ac_includes_default
18885 int
18886 main ()
18887 {
18888 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18889 test_array [0] = 0
18890
18891 ;
18892 return 0;
18893 }
18894 _ACEOF
18895 rm -f conftest.$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try='test -s conftest.$ac_objext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18913 ac_status=$?
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18916 ac_hi=$ac_mid; break
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18920
18921 ac_lo=`expr $ac_mid + 1`
18922 if test $ac_lo -le $ac_mid; then
18923 ac_lo= ac_hi=
18924 break
18925 fi
18926 ac_mid=`expr 2 '*' $ac_mid + 1`
18927 fi
18928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18929 done
18930 else
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18933
18934 cat >conftest.$ac_ext <<_ACEOF
18935 /* confdefs.h. */
18936 _ACEOF
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18940 $ac_includes_default
18941 int
18942 main ()
18943 {
18944 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18945 test_array [0] = 0
18946
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18972 ac_hi=-1 ac_mid=-1
18973 while :; do
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 $ac_includes_default
18981 int
18982 main ()
18983 {
18984 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18985 test_array [0] = 0
18986
18987 ;
18988 return 0;
18989 }
18990 _ACEOF
18991 rm -f conftest.$ac_objext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18993 (eval $ac_compile) 2>conftest.er1
18994 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; } &&
19006 { ac_try='test -s conftest.$ac_objext'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; }; then
19012 ac_lo=$ac_mid; break
19013 else
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19016
19017 ac_hi=`expr '(' $ac_mid ')' - 1`
19018 if test $ac_mid -le $ac_hi; then
19019 ac_lo= ac_hi=
19020 break
19021 fi
19022 ac_mid=`expr 2 '*' $ac_mid`
19023 fi
19024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19025 done
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030 ac_lo= ac_hi=
19031 fi
19032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19033 fi
19034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19035 # Binary search between lo and hi bounds.
19036 while test "x$ac_lo" != "x$ac_hi"; do
19037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 $ac_includes_default
19045 int
19046 main ()
19047 {
19048 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19049 test_array [0] = 0
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>conftest.er1
19058 ac_status=$?
19059 grep -v '^ *+' conftest.er1 >conftest.err
19060 rm -f conftest.er1
19061 cat conftest.err >&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try='test -s conftest.$ac_objext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19073 ac_status=$?
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_hi=$ac_mid
19077 else
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19080
19081 ac_lo=`expr '(' $ac_mid ')' + 1`
19082 fi
19083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19084 done
19085 case $ac_lo in
19086 ?*) ac_cv_sizeof_long=$ac_lo;;
19087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19088 See \`config.log' for more details." >&5
19089 echo "$as_me: error: cannot compute sizeof (long), 77
19090 See \`config.log' for more details." >&2;}
19091 { (exit 1); exit 1; }; } ;;
19092 esac
19093 else
19094 if test "$cross_compiling" = yes; then
19095 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19096 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19097 { (exit 1); exit 1; }; }
19098 else
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105 $ac_includes_default
19106 long longval () { return (long) (sizeof (long)); }
19107 unsigned long ulongval () { return (long) (sizeof (long)); }
19108 #include <stdio.h>
19109 #include <stdlib.h>
19110 int
19111 main ()
19112 {
19113
19114 FILE *f = fopen ("conftest.val", "w");
19115 if (! f)
19116 exit (1);
19117 if (((long) (sizeof (long))) < 0)
19118 {
19119 long i = longval ();
19120 if (i != ((long) (sizeof (long))))
19121 exit (1);
19122 fprintf (f, "%ld\n", i);
19123 }
19124 else
19125 {
19126 unsigned long i = ulongval ();
19127 if (i != ((long) (sizeof (long))))
19128 exit (1);
19129 fprintf (f, "%lu\n", i);
19130 }
19131 exit (ferror (f) || fclose (f) != 0);
19132
19133 ;
19134 return 0;
19135 }
19136 _ACEOF
19137 rm -f conftest$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139 (eval $ac_link) 2>&5
19140 ac_status=$?
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19145 ac_status=$?
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 ac_cv_sizeof_long=`cat conftest.val`
19149 else
19150 echo "$as_me: program exited with status $ac_status" >&5
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.$ac_ext >&5
19153
19154 ( exit $ac_status )
19155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19156 See \`config.log' for more details." >&5
19157 echo "$as_me: error: cannot compute sizeof (long), 77
19158 See \`config.log' for more details." >&2;}
19159 { (exit 1); exit 1; }; }
19160 fi
19161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19162 fi
19163 fi
19164 rm -f conftest.val
19165 else
19166 ac_cv_sizeof_long=0
19167 fi
19168 fi
19169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19170 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19171 cat >>confdefs.h <<_ACEOF
19172 #define SIZEOF_LONG $ac_cv_sizeof_long
19173 _ACEOF
19174
19175
19176 echo "$as_me:$LINENO: checking for size_t" >&5
19177 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19178 if test "${ac_cv_type_size_t+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 else
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 int
19189 main ()
19190 {
19191 if ((size_t *) 0)
19192 return 0;
19193 if (sizeof (size_t))
19194 return 0;
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; } &&
19214 { ac_try='test -s conftest.$ac_objext'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; }; then
19220 ac_cv_type_size_t=yes
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 ac_cv_type_size_t=no
19226 fi
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 fi
19229 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19230 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19231
19232 echo "$as_me:$LINENO: checking size of size_t" >&5
19233 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19234 if test "${ac_cv_sizeof_size_t+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 if test "$ac_cv_type_size_t" = yes; then
19238 # The cast to unsigned long works around a bug in the HP C Compiler
19239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19241 # This bug is HP SR number 8606223364.
19242 if test "$cross_compiling" = yes; then
19243 # Depending upon the size, compute the lo and hi bounds.
19244 cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h. */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 $ac_includes_default
19251 int
19252 main ()
19253 {
19254 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19255 test_array [0] = 0
19256
19257 ;
19258 return 0;
19259 }
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19263 (eval $ac_compile) 2>conftest.er1
19264 ac_status=$?
19265 grep -v '^ *+' conftest.er1 >conftest.err
19266 rm -f conftest.er1
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } &&
19270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try='test -s conftest.$ac_objext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19279 ac_status=$?
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_lo=0 ac_mid=0
19283 while :; do
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 $ac_includes_default
19291 int
19292 main ()
19293 {
19294 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19295 test_array [0] = 0
19296
19297 ;
19298 return 0;
19299 }
19300 _ACEOF
19301 rm -f conftest.$ac_objext
19302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19303 (eval $ac_compile) 2>conftest.er1
19304 ac_status=$?
19305 grep -v '^ *+' conftest.er1 >conftest.err
19306 rm -f conftest.er1
19307 cat conftest.err >&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } &&
19310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19313 ac_status=$?
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; } &&
19316 { ac_try='test -s conftest.$ac_objext'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 ac_hi=$ac_mid; break
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 ac_lo=`expr $ac_mid + 1`
19328 if test $ac_lo -le $ac_mid; then
19329 ac_lo= ac_hi=
19330 break
19331 fi
19332 ac_mid=`expr 2 '*' $ac_mid + 1`
19333 fi
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19335 done
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19339
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 $ac_includes_default
19347 int
19348 main ()
19349 {
19350 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19351 test_array [0] = 0
19352
19353 ;
19354 return 0;
19355 }
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_hi=-1 ac_mid=-1
19379 while :; do
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19387 int
19388 main ()
19389 {
19390 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19391 test_array [0] = 0
19392
19393 ;
19394 return 0;
19395 }
19396 _ACEOF
19397 rm -f conftest.$ac_objext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>conftest.er1
19400 ac_status=$?
19401 grep -v '^ *+' conftest.er1 >conftest.err
19402 rm -f conftest.er1
19403 cat conftest.err >&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19415 ac_status=$?
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_lo=$ac_mid; break
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ac_hi=`expr '(' $ac_mid ')' - 1`
19424 if test $ac_mid -le $ac_hi; then
19425 ac_lo= ac_hi=
19426 break
19427 fi
19428 ac_mid=`expr 2 '*' $ac_mid`
19429 fi
19430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19431 done
19432 else
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19435
19436 ac_lo= ac_hi=
19437 fi
19438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19439 fi
19440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19441 # Binary search between lo and hi bounds.
19442 while test "x$ac_lo" != "x$ac_hi"; do
19443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19451 int
19452 main ()
19453 {
19454 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19455 test_array [0] = 0
19456
19457 ;
19458 return 0;
19459 }
19460 _ACEOF
19461 rm -f conftest.$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19464 ac_status=$?
19465 grep -v '^ *+' conftest.er1 >conftest.err
19466 rm -f conftest.er1
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_hi=$ac_mid
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_lo=`expr '(' $ac_mid ')' + 1`
19488 fi
19489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19490 done
19491 case $ac_lo in
19492 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19493 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19494 See \`config.log' for more details." >&5
19495 echo "$as_me: error: cannot compute sizeof (size_t), 77
19496 See \`config.log' for more details." >&2;}
19497 { (exit 1); exit 1; }; } ;;
19498 esac
19499 else
19500 if test "$cross_compiling" = yes; then
19501 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19502 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19503 { (exit 1); exit 1; }; }
19504 else
19505 cat >conftest.$ac_ext <<_ACEOF
19506 /* confdefs.h. */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511 $ac_includes_default
19512 long longval () { return (long) (sizeof (size_t)); }
19513 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19514 #include <stdio.h>
19515 #include <stdlib.h>
19516 int
19517 main ()
19518 {
19519
19520 FILE *f = fopen ("conftest.val", "w");
19521 if (! f)
19522 exit (1);
19523 if (((long) (sizeof (size_t))) < 0)
19524 {
19525 long i = longval ();
19526 if (i != ((long) (sizeof (size_t))))
19527 exit (1);
19528 fprintf (f, "%ld\n", i);
19529 }
19530 else
19531 {
19532 unsigned long i = ulongval ();
19533 if (i != ((long) (sizeof (size_t))))
19534 exit (1);
19535 fprintf (f, "%lu\n", i);
19536 }
19537 exit (ferror (f) || fclose (f) != 0);
19538
19539 ;
19540 return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest$ac_exeext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19545 (eval $ac_link) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_cv_sizeof_size_t=`cat conftest.val`
19555 else
19556 echo "$as_me: program exited with status $ac_status" >&5
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ( exit $ac_status )
19561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19562 See \`config.log' for more details." >&5
19563 echo "$as_me: error: cannot compute sizeof (size_t), 77
19564 See \`config.log' for more details." >&2;}
19565 { (exit 1); exit 1; }; }
19566 fi
19567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19568 fi
19569 fi
19570 rm -f conftest.val
19571 else
19572 ac_cv_sizeof_size_t=0
19573 fi
19574 fi
19575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19576 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19577 cat >>confdefs.h <<_ACEOF
19578 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19579 _ACEOF
19580
19581
19582
19583 case "${host}" in
19584 arm-*-linux* )
19585 echo "$as_me:$LINENO: checking for long long" >&5
19586 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19587 if test "${ac_cv_type_long_long+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 int
19598 main ()
19599 {
19600 if ((long long *) 0)
19601 return 0;
19602 if (sizeof (long long))
19603 return 0;
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610 (eval $ac_compile) 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } &&
19617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_cv_type_long_long=yes
19630 else
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.$ac_ext >&5
19633
19634 ac_cv_type_long_long=no
19635 fi
19636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19637 fi
19638 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19639 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19640
19641 echo "$as_me:$LINENO: checking size of long long" >&5
19642 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19643 if test "${ac_cv_sizeof_long_long+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 else
19646 if test "$ac_cv_type_long_long" = yes; then
19647 # The cast to unsigned long works around a bug in the HP C Compiler
19648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19650 # This bug is HP SR number 8606223364.
19651 if test "$cross_compiling" = yes; then
19652 # Depending upon the size, compute the lo and hi bounds.
19653 cat >conftest.$ac_ext <<_ACEOF
19654 /* confdefs.h. */
19655 _ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19660 int
19661 main ()
19662 {
19663 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19664 test_array [0] = 0
19665
19666 ;
19667 return 0;
19668 }
19669 _ACEOF
19670 rm -f conftest.$ac_objext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19672 (eval $ac_compile) 2>conftest.er1
19673 ac_status=$?
19674 grep -v '^ *+' conftest.er1 >conftest.err
19675 rm -f conftest.er1
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; } &&
19685 { ac_try='test -s conftest.$ac_objext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 ac_lo=0 ac_mid=0
19692 while :; do
19693 cat >conftest.$ac_ext <<_ACEOF
19694 /* confdefs.h. */
19695 _ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19700 int
19701 main ()
19702 {
19703 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19704 test_array [0] = 0
19705
19706 ;
19707 return 0;
19708 }
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19722 ac_status=$?
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19728 ac_status=$?
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_hi=$ac_mid; break
19732 else
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19735
19736 ac_lo=`expr $ac_mid + 1`
19737 if test $ac_lo -le $ac_mid; then
19738 ac_lo= ac_hi=
19739 break
19740 fi
19741 ac_mid=`expr 2 '*' $ac_mid + 1`
19742 fi
19743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19744 done
19745 else
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19748
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 int
19757 main ()
19758 {
19759 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19760 test_array [0] = 0
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19778 ac_status=$?
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; } &&
19781 { ac_try='test -s conftest.$ac_objext'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19784 ac_status=$?
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; }; then
19787 ac_hi=-1 ac_mid=-1
19788 while :; do
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19796 int
19797 main ()
19798 {
19799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19800 test_array [0] = 0
19801
19802 ;
19803 return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19808 (eval $ac_compile) 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } &&
19815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; } &&
19821 { ac_try='test -s conftest.$ac_objext'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19824 ac_status=$?
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; }; then
19827 ac_lo=$ac_mid; break
19828 else
19829 echo "$as_me: failed program was:" >&5
19830 sed 's/^/| /' conftest.$ac_ext >&5
19831
19832 ac_hi=`expr '(' $ac_mid ')' - 1`
19833 if test $ac_mid -le $ac_hi; then
19834 ac_lo= ac_hi=
19835 break
19836 fi
19837 ac_mid=`expr 2 '*' $ac_mid`
19838 fi
19839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19840 done
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19844
19845 ac_lo= ac_hi=
19846 fi
19847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19848 fi
19849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19850 # Binary search between lo and hi bounds.
19851 while test "x$ac_lo" != "x$ac_hi"; do
19852 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 int
19861 main ()
19862 {
19863 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19864 test_array [0] = 0
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_hi=$ac_mid
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19895
19896 ac_lo=`expr '(' $ac_mid ')' + 1`
19897 fi
19898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19899 done
19900 case $ac_lo in
19901 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19902 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19903 See \`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (long long), 77
19905 See \`config.log' for more details." >&2;}
19906 { (exit 1); exit 1; }; } ;;
19907 esac
19908 else
19909 if test "$cross_compiling" = yes; then
19910 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19911 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19912 { (exit 1); exit 1; }; }
19913 else
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19921 long longval () { return (long) (sizeof (long long)); }
19922 unsigned long ulongval () { return (long) (sizeof (long long)); }
19923 #include <stdio.h>
19924 #include <stdlib.h>
19925 int
19926 main ()
19927 {
19928
19929 FILE *f = fopen ("conftest.val", "w");
19930 if (! f)
19931 exit (1);
19932 if (((long) (sizeof (long long))) < 0)
19933 {
19934 long i = longval ();
19935 if (i != ((long) (sizeof (long long))))
19936 exit (1);
19937 fprintf (f, "%ld\n", i);
19938 }
19939 else
19940 {
19941 unsigned long i = ulongval ();
19942 if (i != ((long) (sizeof (long long))))
19943 exit (1);
19944 fprintf (f, "%lu\n", i);
19945 }
19946 exit (ferror (f) || fclose (f) != 0);
19947
19948 ;
19949 return 0;
19950 }
19951 _ACEOF
19952 rm -f conftest$ac_exeext
19953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19954 (eval $ac_link) 2>&5
19955 ac_status=$?
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19960 ac_status=$?
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_sizeof_long_long=`cat conftest.val`
19964 else
19965 echo "$as_me: program exited with status $ac_status" >&5
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 ( exit $ac_status )
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (long long), 77
19973 See \`config.log' for more details." >&2;}
19974 { (exit 1); exit 1; }; }
19975 fi
19976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19977 fi
19978 fi
19979 rm -f conftest.val
19980 else
19981 ac_cv_sizeof_long_long=0
19982 fi
19983 fi
19984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19985 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19986 cat >>confdefs.h <<_ACEOF
19987 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19988 _ACEOF
19989
19990
19991 ;;
19992 *-hp-hpux* )
19993 echo "$as_me:$LINENO: checking for long long" >&5
19994 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19995 if test "${ac_cv_type_long_long+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 else
19998 cat >conftest.$ac_ext <<_ACEOF
19999 /* confdefs.h. */
20000 _ACEOF
20001 cat confdefs.h >>conftest.$ac_ext
20002 cat >>conftest.$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 $ac_includes_default
20005 int
20006 main ()
20007 {
20008 if ((long long *) 0)
20009 return 0;
20010 if (sizeof (long long))
20011 return 0;
20012 ;
20013 return 0;
20014 }
20015 _ACEOF
20016 rm -f conftest.$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20019 ac_status=$?
20020 grep -v '^ *+' conftest.er1 >conftest.err
20021 rm -f conftest.er1
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_type_long_long=yes
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20041
20042 ac_cv_type_long_long=no
20043 fi
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045 fi
20046 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20047 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20048
20049 echo "$as_me:$LINENO: checking size of long long" >&5
20050 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20051 if test "${ac_cv_sizeof_long_long+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 if test "$ac_cv_type_long_long" = yes; then
20055 # The cast to unsigned long works around a bug in the HP C Compiler
20056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20058 # This bug is HP SR number 8606223364.
20059 if test "$cross_compiling" = yes; then
20060 # Depending upon the size, compute the lo and hi bounds.
20061 cat >conftest.$ac_ext <<_ACEOF
20062 /* confdefs.h. */
20063 _ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 int
20069 main ()
20070 {
20071 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20072 test_array [0] = 0
20073
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest.$ac_objext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20080 (eval $ac_compile) 2>conftest.er1
20081 ac_status=$?
20082 grep -v '^ *+' conftest.er1 >conftest.err
20083 rm -f conftest.er1
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20096 ac_status=$?
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_lo=0 ac_mid=0
20100 while :; do
20101 cat >conftest.$ac_ext <<_ACEOF
20102 /* confdefs.h. */
20103 _ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20108 int
20109 main ()
20110 {
20111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20112 test_array [0] = 0
20113
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try='test -s conftest.$ac_objext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_hi=$ac_mid; break
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20143
20144 ac_lo=`expr $ac_mid + 1`
20145 if test $ac_lo -le $ac_mid; then
20146 ac_lo= ac_hi=
20147 break
20148 fi
20149 ac_mid=`expr 2 '*' $ac_mid + 1`
20150 fi
20151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20152 done
20153 else
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.$ac_ext >&5
20156
20157 cat >conftest.$ac_ext <<_ACEOF
20158 /* confdefs.h. */
20159 _ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 $ac_includes_default
20164 int
20165 main ()
20166 {
20167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20168 test_array [0] = 0
20169
20170 ;
20171 return 0;
20172 }
20173 _ACEOF
20174 rm -f conftest.$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>conftest.er1
20177 ac_status=$?
20178 grep -v '^ *+' conftest.er1 >conftest.err
20179 rm -f conftest.er1
20180 cat conftest.err >&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_hi=-1 ac_mid=-1
20196 while :; do
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 int
20205 main ()
20206 {
20207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20208 test_array [0] = 0
20209
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20216 (eval $ac_compile) 2>conftest.er1
20217 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } &&
20223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_lo=$ac_mid; break
20236 else
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20239
20240 ac_hi=`expr '(' $ac_mid ')' - 1`
20241 if test $ac_mid -le $ac_hi; then
20242 ac_lo= ac_hi=
20243 break
20244 fi
20245 ac_mid=`expr 2 '*' $ac_mid`
20246 fi
20247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20248 done
20249 else
20250 echo "$as_me: failed program was:" >&5
20251 sed 's/^/| /' conftest.$ac_ext >&5
20252
20253 ac_lo= ac_hi=
20254 fi
20255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20256 fi
20257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20258 # Binary search between lo and hi bounds.
20259 while test "x$ac_lo" != "x$ac_hi"; do
20260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 int
20269 main ()
20270 {
20271 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20272 test_array [0] = 0
20273
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 rm -f conftest.$ac_objext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>conftest.er1
20281 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_hi=$ac_mid
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_lo=`expr '(' $ac_mid ')' + 1`
20305 fi
20306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20307 done
20308 case $ac_lo in
20309 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20310 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20311 See \`config.log' for more details." >&5
20312 echo "$as_me: error: cannot compute sizeof (long long), 77
20313 See \`config.log' for more details." >&2;}
20314 { (exit 1); exit 1; }; } ;;
20315 esac
20316 else
20317 if test "$cross_compiling" = yes; then
20318 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20319 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20320 { (exit 1); exit 1; }; }
20321 else
20322 cat >conftest.$ac_ext <<_ACEOF
20323 /* confdefs.h. */
20324 _ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 long longval () { return (long) (sizeof (long long)); }
20330 unsigned long ulongval () { return (long) (sizeof (long long)); }
20331 #include <stdio.h>
20332 #include <stdlib.h>
20333 int
20334 main ()
20335 {
20336
20337 FILE *f = fopen ("conftest.val", "w");
20338 if (! f)
20339 exit (1);
20340 if (((long) (sizeof (long long))) < 0)
20341 {
20342 long i = longval ();
20343 if (i != ((long) (sizeof (long long))))
20344 exit (1);
20345 fprintf (f, "%ld\n", i);
20346 }
20347 else
20348 {
20349 unsigned long i = ulongval ();
20350 if (i != ((long) (sizeof (long long))))
20351 exit (1);
20352 fprintf (f, "%lu\n", i);
20353 }
20354 exit (ferror (f) || fclose (f) != 0);
20355
20356 ;
20357 return 0;
20358 }
20359 _ACEOF
20360 rm -f conftest$ac_exeext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20362 (eval $ac_link) 2>&5
20363 ac_status=$?
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20368 ac_status=$?
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 ac_cv_sizeof_long_long=`cat conftest.val`
20372 else
20373 echo "$as_me: program exited with status $ac_status" >&5
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 ( exit $ac_status )
20378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20379 See \`config.log' for more details." >&5
20380 echo "$as_me: error: cannot compute sizeof (long long), 77
20381 See \`config.log' for more details." >&2;}
20382 { (exit 1); exit 1; }; }
20383 fi
20384 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20385 fi
20386 fi
20387 rm -f conftest.val
20388 else
20389 ac_cv_sizeof_long_long=0
20390 fi
20391 fi
20392 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20393 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20394 cat >>confdefs.h <<_ACEOF
20395 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20396 _ACEOF
20397
20398
20399 if test "$ac_cv_sizeof_long_long" != "0"; then
20400 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20401 fi
20402 ;;
20403 * )
20404 echo "$as_me:$LINENO: checking for long long" >&5
20405 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20406 if test "${ac_cv_type_long_long+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20408 else
20409 cat >conftest.$ac_ext <<_ACEOF
20410 /* confdefs.h. */
20411 _ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 int
20417 main ()
20418 {
20419 if ((long long *) 0)
20420 return 0;
20421 if (sizeof (long long))
20422 return 0;
20423 ;
20424 return 0;
20425 }
20426 _ACEOF
20427 rm -f conftest.$ac_objext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20429 (eval $ac_compile) 2>conftest.er1
20430 ac_status=$?
20431 grep -v '^ *+' conftest.er1 >conftest.err
20432 rm -f conftest.er1
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } &&
20436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20439 ac_status=$?
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_cv_type_long_long=yes
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 ac_cv_type_long_long=no
20454 fi
20455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20456 fi
20457 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20458 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20459
20460 echo "$as_me:$LINENO: checking size of long long" >&5
20461 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20462 if test "${ac_cv_sizeof_long_long+set}" = set; then
20463 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 else
20465 if test "$ac_cv_type_long_long" = yes; then
20466 # The cast to unsigned long works around a bug in the HP C Compiler
20467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20469 # This bug is HP SR number 8606223364.
20470 if test "$cross_compiling" = yes; then
20471 # Depending upon the size, compute the lo and hi bounds.
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 int
20480 main ()
20481 {
20482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20483 test_array [0] = 0
20484
20485 ;
20486 return 0;
20487 }
20488 _ACEOF
20489 rm -f conftest.$ac_objext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20491 (eval $ac_compile) 2>conftest.er1
20492 ac_status=$?
20493 grep -v '^ *+' conftest.er1 >conftest.err
20494 rm -f conftest.er1
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 ac_lo=0 ac_mid=0
20511 while :; do
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 int
20520 main ()
20521 {
20522 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20523 test_array [0] = 0
20524
20525 ;
20526 return 0;
20527 }
20528 _ACEOF
20529 rm -f conftest.$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20532 ac_status=$?
20533 grep -v '^ *+' conftest.er1 >conftest.err
20534 rm -f conftest.er1
20535 cat conftest.err >&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_hi=$ac_mid; break
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20554
20555 ac_lo=`expr $ac_mid + 1`
20556 if test $ac_lo -le $ac_mid; then
20557 ac_lo= ac_hi=
20558 break
20559 fi
20560 ac_mid=`expr 2 '*' $ac_mid + 1`
20561 fi
20562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20563 done
20564 else
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20567
20568 cat >conftest.$ac_ext <<_ACEOF
20569 /* confdefs.h. */
20570 _ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20575 int
20576 main ()
20577 {
20578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20579 test_array [0] = 0
20580
20581 ;
20582 return 0;
20583 }
20584 _ACEOF
20585 rm -f conftest.$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>conftest.er1
20588 ac_status=$?
20589 grep -v '^ *+' conftest.er1 >conftest.err
20590 rm -f conftest.er1
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20603 ac_status=$?
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_hi=-1 ac_mid=-1
20607 while :; do
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20615 int
20616 main ()
20617 {
20618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20619 test_array [0] = 0
20620
20621 ;
20622 return 0;
20623 }
20624 _ACEOF
20625 rm -f conftest.$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20628 ac_status=$?
20629 grep -v '^ *+' conftest.er1 >conftest.err
20630 rm -f conftest.er1
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_lo=$ac_mid; break
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_hi=`expr '(' $ac_mid ')' - 1`
20652 if test $ac_mid -le $ac_hi; then
20653 ac_lo= ac_hi=
20654 break
20655 fi
20656 ac_mid=`expr 2 '*' $ac_mid`
20657 fi
20658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20659 done
20660 else
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20663
20664 ac_lo= ac_hi=
20665 fi
20666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20667 fi
20668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20669 # Binary search between lo and hi bounds.
20670 while test "x$ac_lo" != "x$ac_hi"; do
20671 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20679 int
20680 main ()
20681 {
20682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20683 test_array [0] = 0
20684
20685 ;
20686 return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_hi=$ac_mid
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_lo=`expr '(' $ac_mid ')' + 1`
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718 done
20719 case $ac_lo in
20720 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20721 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20722 See \`config.log' for more details." >&5
20723 echo "$as_me: error: cannot compute sizeof (long long), 77
20724 See \`config.log' for more details." >&2;}
20725 { (exit 1); exit 1; }; } ;;
20726 esac
20727 else
20728 if test "$cross_compiling" = yes; then
20729 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20730 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20731 { (exit 1); exit 1; }; }
20732 else
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 long longval () { return (long) (sizeof (long long)); }
20741 unsigned long ulongval () { return (long) (sizeof (long long)); }
20742 #include <stdio.h>
20743 #include <stdlib.h>
20744 int
20745 main ()
20746 {
20747
20748 FILE *f = fopen ("conftest.val", "w");
20749 if (! f)
20750 exit (1);
20751 if (((long) (sizeof (long long))) < 0)
20752 {
20753 long i = longval ();
20754 if (i != ((long) (sizeof (long long))))
20755 exit (1);
20756 fprintf (f, "%ld\n", i);
20757 }
20758 else
20759 {
20760 unsigned long i = ulongval ();
20761 if (i != ((long) (sizeof (long long))))
20762 exit (1);
20763 fprintf (f, "%lu\n", i);
20764 }
20765 exit (ferror (f) || fclose (f) != 0);
20766
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest$ac_exeext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20773 (eval $ac_link) 2>&5
20774 ac_status=$?
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_sizeof_long_long=`cat conftest.val`
20783 else
20784 echo "$as_me: program exited with status $ac_status" >&5
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.$ac_ext >&5
20787
20788 ( exit $ac_status )
20789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20790 See \`config.log' for more details." >&5
20791 echo "$as_me: error: cannot compute sizeof (long long), 77
20792 See \`config.log' for more details." >&2;}
20793 { (exit 1); exit 1; }; }
20794 fi
20795 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20796 fi
20797 fi
20798 rm -f conftest.val
20799 else
20800 ac_cv_sizeof_long_long=0
20801 fi
20802 fi
20803 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20804 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20805 cat >>confdefs.h <<_ACEOF
20806 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20807 _ACEOF
20808
20809
20810 esac
20811
20812 echo "$as_me:$LINENO: checking for wchar_t" >&5
20813 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20814 if test "${ac_cv_type_wchar_t+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 else
20817 cat >conftest.$ac_ext <<_ACEOF
20818 /* confdefs.h. */
20819 _ACEOF
20820 cat confdefs.h >>conftest.$ac_ext
20821 cat >>conftest.$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823
20824 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20825 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20826 # error "fake wchar_t"
20827 #endif
20828 #ifdef HAVE_WCHAR_H
20829 # ifdef __CYGWIN__
20830 # include <stddef.h>
20831 # endif
20832 # include <wchar.h>
20833 #endif
20834 #ifdef HAVE_STDLIB_H
20835 # include <stdlib.h>
20836 #endif
20837 #include <stdio.h>
20838
20839
20840
20841 int
20842 main ()
20843 {
20844 if ((wchar_t *) 0)
20845 return 0;
20846 if (sizeof (wchar_t))
20847 return 0;
20848 ;
20849 return 0;
20850 }
20851 _ACEOF
20852 rm -f conftest.$ac_objext
20853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20854 (eval $ac_compile) 2>conftest.er1
20855 ac_status=$?
20856 grep -v '^ *+' conftest.er1 >conftest.err
20857 rm -f conftest.er1
20858 cat conftest.err >&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 ac_cv_type_wchar_t=yes
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20877
20878 ac_cv_type_wchar_t=no
20879 fi
20880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20881 fi
20882 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20883 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20884
20885 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20886 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20887 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 else
20890 if test "$ac_cv_type_wchar_t" = yes; then
20891 # The cast to unsigned long works around a bug in the HP C Compiler
20892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20894 # This bug is HP SR number 8606223364.
20895 if test "$cross_compiling" = yes; then
20896 # Depending upon the size, compute the lo and hi bounds.
20897 cat >conftest.$ac_ext <<_ACEOF
20898 /* confdefs.h. */
20899 _ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903
20904 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20905 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20906 # error "fake wchar_t"
20907 #endif
20908 #ifdef HAVE_WCHAR_H
20909 # ifdef __CYGWIN__
20910 # include <stddef.h>
20911 # endif
20912 # include <wchar.h>
20913 #endif
20914 #ifdef HAVE_STDLIB_H
20915 # include <stdlib.h>
20916 #endif
20917 #include <stdio.h>
20918
20919
20920
20921 int
20922 main ()
20923 {
20924 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20925 test_array [0] = 0
20926
20927 ;
20928 return 0;
20929 }
20930 _ACEOF
20931 rm -f conftest.$ac_objext
20932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20933 (eval $ac_compile) 2>conftest.er1
20934 ac_status=$?
20935 grep -v '^ *+' conftest.er1 >conftest.err
20936 rm -f conftest.er1
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } &&
20940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_lo=0 ac_mid=0
20953 while :; do
20954 cat >conftest.$ac_ext <<_ACEOF
20955 /* confdefs.h. */
20956 _ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960
20961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20963 # error "fake wchar_t"
20964 #endif
20965 #ifdef HAVE_WCHAR_H
20966 # ifdef __CYGWIN__
20967 # include <stddef.h>
20968 # endif
20969 # include <wchar.h>
20970 #endif
20971 #ifdef HAVE_STDLIB_H
20972 # include <stdlib.h>
20973 #endif
20974 #include <stdio.h>
20975
20976
20977
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20990 (eval $ac_compile) 2>conftest.er1
20991 ac_status=$?
20992 grep -v '^ *+' conftest.er1 >conftest.err
20993 rm -f conftest.er1
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21000 ac_status=$?
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_hi=$ac_mid; break
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_lo=`expr $ac_mid + 1`
21015 if test $ac_lo -le $ac_mid; then
21016 ac_lo= ac_hi=
21017 break
21018 fi
21019 ac_mid=`expr 2 '*' $ac_mid + 1`
21020 fi
21021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21022 done
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21026
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033
21034 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21035 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21036 # error "fake wchar_t"
21037 #endif
21038 #ifdef HAVE_WCHAR_H
21039 # ifdef __CYGWIN__
21040 # include <stddef.h>
21041 # endif
21042 # include <wchar.h>
21043 #endif
21044 #ifdef HAVE_STDLIB_H
21045 # include <stdlib.h>
21046 #endif
21047 #include <stdio.h>
21048
21049
21050
21051 int
21052 main ()
21053 {
21054 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21055 test_array [0] = 0
21056
21057 ;
21058 return 0;
21059 }
21060 _ACEOF
21061 rm -f conftest.$ac_objext
21062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21063 (eval $ac_compile) 2>conftest.er1
21064 ac_status=$?
21065 grep -v '^ *+' conftest.er1 >conftest.err
21066 rm -f conftest.er1
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } &&
21070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try='test -s conftest.$ac_objext'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21079 ac_status=$?
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; }; then
21082 ac_hi=-1 ac_mid=-1
21083 while :; do
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090
21091 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21092 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21093 # error "fake wchar_t"
21094 #endif
21095 #ifdef HAVE_WCHAR_H
21096 # ifdef __CYGWIN__
21097 # include <stddef.h>
21098 # endif
21099 # include <wchar.h>
21100 #endif
21101 #ifdef HAVE_STDLIB_H
21102 # include <stdlib.h>
21103 #endif
21104 #include <stdio.h>
21105
21106
21107
21108 int
21109 main ()
21110 {
21111 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21112 test_array [0] = 0
21113
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21120 (eval $ac_compile) 2>conftest.er1
21121 ac_status=$?
21122 grep -v '^ *+' conftest.er1 >conftest.err
21123 rm -f conftest.er1
21124 cat conftest.err >&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try='test -s conftest.$ac_objext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_lo=$ac_mid; break
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 ac_hi=`expr '(' $ac_mid ')' - 1`
21145 if test $ac_mid -le $ac_hi; then
21146 ac_lo= ac_hi=
21147 break
21148 fi
21149 ac_mid=`expr 2 '*' $ac_mid`
21150 fi
21151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21152 done
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 ac_lo= ac_hi=
21158 fi
21159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21160 fi
21161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21162 # Binary search between lo and hi bounds.
21163 while test "x$ac_lo" != "x$ac_hi"; do
21164 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21165 cat >conftest.$ac_ext <<_ACEOF
21166 /* confdefs.h. */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171
21172 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21173 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21174 # error "fake wchar_t"
21175 #endif
21176 #ifdef HAVE_WCHAR_H
21177 # ifdef __CYGWIN__
21178 # include <stddef.h>
21179 # endif
21180 # include <wchar.h>
21181 #endif
21182 #ifdef HAVE_STDLIB_H
21183 # include <stdlib.h>
21184 #endif
21185 #include <stdio.h>
21186
21187
21188
21189 int
21190 main ()
21191 {
21192 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21193 test_array [0] = 0
21194
21195 ;
21196 return 0;
21197 }
21198 _ACEOF
21199 rm -f conftest.$ac_objext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21201 (eval $ac_compile) 2>conftest.er1
21202 ac_status=$?
21203 grep -v '^ *+' conftest.er1 >conftest.err
21204 rm -f conftest.er1
21205 cat conftest.err >&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } &&
21208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21211 ac_status=$?
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; } &&
21214 { ac_try='test -s conftest.$ac_objext'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21217 ac_status=$?
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; }; then
21220 ac_hi=$ac_mid
21221 else
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21224
21225 ac_lo=`expr '(' $ac_mid ')' + 1`
21226 fi
21227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21228 done
21229 case $ac_lo in
21230 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21231 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21232 See \`config.log' for more details." >&5
21233 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21234 See \`config.log' for more details." >&2;}
21235 { (exit 1); exit 1; }; } ;;
21236 esac
21237 else
21238 if test "$cross_compiling" = yes; then
21239 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21240 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21241 { (exit 1); exit 1; }; }
21242 else
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249
21250 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21251 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21252 # error "fake wchar_t"
21253 #endif
21254 #ifdef HAVE_WCHAR_H
21255 # ifdef __CYGWIN__
21256 # include <stddef.h>
21257 # endif
21258 # include <wchar.h>
21259 #endif
21260 #ifdef HAVE_STDLIB_H
21261 # include <stdlib.h>
21262 #endif
21263 #include <stdio.h>
21264
21265
21266
21267 long longval () { return (long) (sizeof (wchar_t)); }
21268 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21269 #include <stdio.h>
21270 #include <stdlib.h>
21271 int
21272 main ()
21273 {
21274
21275 FILE *f = fopen ("conftest.val", "w");
21276 if (! f)
21277 exit (1);
21278 if (((long) (sizeof (wchar_t))) < 0)
21279 {
21280 long i = longval ();
21281 if (i != ((long) (sizeof (wchar_t))))
21282 exit (1);
21283 fprintf (f, "%ld\n", i);
21284 }
21285 else
21286 {
21287 unsigned long i = ulongval ();
21288 if (i != ((long) (sizeof (wchar_t))))
21289 exit (1);
21290 fprintf (f, "%lu\n", i);
21291 }
21292 exit (ferror (f) || fclose (f) != 0);
21293
21294 ;
21295 return 0;
21296 }
21297 _ACEOF
21298 rm -f conftest$ac_exeext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21300 (eval $ac_link) 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_cv_sizeof_wchar_t=`cat conftest.val`
21310 else
21311 echo "$as_me: program exited with status $ac_status" >&5
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21314
21315 ( exit $ac_status )
21316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21317 See \`config.log' for more details." >&5
21318 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21319 See \`config.log' for more details." >&2;}
21320 { (exit 1); exit 1; }; }
21321 fi
21322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21323 fi
21324 fi
21325 rm -f conftest.val
21326 else
21327 ac_cv_sizeof_wchar_t=0
21328 fi
21329 fi
21330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21331 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21332 cat >>confdefs.h <<_ACEOF
21333 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21334 _ACEOF
21335
21336
21337 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21338 wxUSE_WCHAR_T=yes
21339 else
21340 wxUSE_WCHAR_T=no
21341 fi
21342
21343 echo "$as_me:$LINENO: checking for va_copy" >&5
21344 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21345 if test "${wx_cv_func_va_copy+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21347 else
21348
21349 cat >conftest.$ac_ext <<_ACEOF
21350
21351 #include <stdarg.h>
21352 void foo(char *f, ...)
21353 {
21354 va_list ap1, ap2;
21355 va_start(ap1, f);
21356 va_copy(ap2, ap1);
21357 va_end(ap2);
21358 va_end(ap1);
21359 }
21360 int main()
21361 {
21362 foo("hi", 17);
21363 return 0;
21364 }
21365 _ACEOF
21366 rm -f conftest.$ac_objext conftest$ac_exeext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21368 (eval $ac_link) 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 wx_cv_func_va_copy=yes
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 wx_cv_func_va_copy=no
21393
21394 fi
21395 rm -f conftest.err conftest.$ac_objext \
21396 conftest$ac_exeext conftest.$ac_ext
21397
21398
21399 fi
21400 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21401 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21402
21403 if test $wx_cv_func_va_copy = "yes"; then
21404 cat >>confdefs.h <<\_ACEOF
21405 #define HAVE_VA_COPY 1
21406 _ACEOF
21407
21408 else
21409 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21410 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21411 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 else
21414
21415 if test "$cross_compiling" = yes; then
21416 wx_cv_type_va_list_lvalue=yes
21417
21418 else
21419 cat >conftest.$ac_ext <<_ACEOF
21420
21421 #include <stdarg.h>
21422 int foo(char *f, ...)
21423 {
21424 va_list ap1, ap2;
21425 va_start(ap1, f);
21426 ap2 = ap1;
21427 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21428 return 1;
21429 va_end(ap2);
21430 va_end(ap1);
21431 return 0;
21432 }
21433 int main()
21434 {
21435 return foo("hi", 17);
21436 }
21437 _ACEOF
21438 rm -f conftest$ac_exeext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21440 (eval $ac_link) 2>&5
21441 ac_status=$?
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; }; then
21449 wx_cv_type_va_list_lvalue=yes
21450 else
21451 echo "$as_me: program exited with status $ac_status" >&5
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21454
21455 ( exit $ac_status )
21456 wx_cv_type_va_list_lvalue=no
21457 fi
21458 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21459 fi
21460
21461
21462 fi
21463 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21464 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21465
21466 if test $wx_cv_type_va_list_lvalue != "yes"; then
21467 cat >>confdefs.h <<\_ACEOF
21468 #define VA_LIST_IS_ARRAY 1
21469 _ACEOF
21470
21471 fi
21472 fi
21473
21474 # Check whether --enable-largefile or --disable-largefile was given.
21475 if test "${enable_largefile+set}" = set; then
21476 enableval="$enable_largefile"
21477
21478 fi;
21479 if test "$enable_largefile" != no; then
21480 wx_largefile=no
21481
21482 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21483 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21484 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21486 else
21487
21488 cat >conftest.$ac_ext <<_ACEOF
21489 /* confdefs.h. */
21490 _ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #define _FILE_OFFSET_BITS 64
21495 #include <sys/types.h>
21496 int
21497 main ()
21498 {
21499 typedef struct {
21500 unsigned int field: sizeof(off_t) == 8;
21501 } wxlf;
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21509 (eval $ac_compile) 2>conftest.er1
21510 ac_status=$?
21511 grep -v '^ *+' conftest.er1 >conftest.err
21512 rm -f conftest.er1
21513 cat conftest.err >&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); } &&
21516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518 (eval $ac_try) 2>&5
21519 ac_status=$?
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); }; } &&
21522 { ac_try='test -s conftest.$ac_objext'
21523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524 (eval $ac_try) 2>&5
21525 ac_status=$?
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sys_file_offset_bits=64
21529 else
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 ac_cv_sys_file_offset_bits=no
21534 fi
21535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21536
21537
21538 fi
21539 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21540 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21541
21542 if test "$ac_cv_sys_file_offset_bits" != no; then
21543 wx_largefile=yes
21544 cat >>confdefs.h <<_ACEOF
21545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21546 _ACEOF
21547
21548 fi
21549
21550 if test "x$wx_largefile" != "xyes"; then
21551
21552 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21553 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21554 if test "${ac_cv_sys_large_files+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21556 else
21557
21558 cat >conftest.$ac_ext <<_ACEOF
21559 /* confdefs.h. */
21560 _ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 #define _LARGE_FILES 1
21565 #include <sys/types.h>
21566 int
21567 main ()
21568 {
21569 typedef struct {
21570 unsigned int field: sizeof(off_t) == 8;
21571 } wxlf;
21572
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_cv_sys_large_files=1
21599 else
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21602
21603 ac_cv_sys_large_files=no
21604 fi
21605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21606
21607
21608 fi
21609 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21610 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21611
21612 if test "$ac_cv_sys_large_files" != no; then
21613 wx_largefile=yes
21614 cat >>confdefs.h <<_ACEOF
21615 #define _LARGE_FILES $ac_cv_sys_large_files
21616 _ACEOF
21617
21618 fi
21619
21620 fi
21621
21622 echo "$as_me:$LINENO: checking if large file support is available" >&5
21623 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21624 if test "x$wx_largefile" = "xyes"; then
21625 cat >>confdefs.h <<\_ACEOF
21626 #define HAVE_LARGEFILE_SUPPORT 1
21627 _ACEOF
21628
21629 fi
21630 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21631 echo "${ECHO_T}$wx_largefile" >&6
21632 fi
21633
21634
21635 if test "x$wx_largefile" = "xyes"; then
21636 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21637 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21638
21639 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21640 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21641 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21642 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21643 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 else
21645
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h. */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652
21653 int
21654 main ()
21655 {
21656
21657 #ifndef __STDC_EXT__
21658 choke me
21659 #endif
21660
21661 ;
21662 return 0;
21663 }
21664 _ACEOF
21665 rm -f conftest.$ac_objext
21666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21667 (eval $ac_compile) 2>conftest.er1
21668 ac_status=$?
21669 grep -v '^ *+' conftest.er1 >conftest.err
21670 rm -f conftest.er1
21671 cat conftest.err >&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } &&
21674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676 (eval $ac_try) 2>&5
21677 ac_status=$?
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; } &&
21680 { ac_try='test -s conftest.$ac_objext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21683 ac_status=$?
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 wx_cv_STDC_EXT_required=no
21687 else
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.$ac_ext >&5
21690
21691 wx_cv_STDC_EXT_required=yes
21692
21693 fi
21694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21695
21696
21697 fi
21698 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21699 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21700 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21701 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21702 fi
21703 fi
21704 else
21705 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21706 fi
21707 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21708 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21709 if test "${ac_cv_sys_largefile_source+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 else
21712 while :; do
21713 ac_cv_sys_largefile_source=no
21714 cat >conftest.$ac_ext <<_ACEOF
21715 /* confdefs.h. */
21716 _ACEOF
21717 cat confdefs.h >>conftest.$ac_ext
21718 cat >>conftest.$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21720 #include <stdio.h>
21721 int
21722 main ()
21723 {
21724 return !fseeko;
21725 ;
21726 return 0;
21727 }
21728 _ACEOF
21729 rm -f conftest.$ac_objext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21731 (eval $ac_compile) 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try='test -s conftest.$ac_objext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 break
21751 else
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.$ac_ext >&5
21754
21755 fi
21756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 #define _LARGEFILE_SOURCE 1
21764 #include <stdio.h>
21765 int
21766 main ()
21767 {
21768 return !fseeko;
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21776 ac_status=$?
21777 grep -v '^ *+' conftest.er1 >conftest.err
21778 rm -f conftest.er1
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_cv_sys_largefile_source=1; break
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 fi
21800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21801 break
21802 done
21803 fi
21804 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21805 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21806 if test "$ac_cv_sys_largefile_source" != no; then
21807
21808 cat >>confdefs.h <<_ACEOF
21809 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21810 _ACEOF
21811
21812 fi
21813 rm -f conftest*
21814
21815 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21816 # in glibc 2.1.3, but that breaks too many other things.
21817 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21818 echo "$as_me:$LINENO: checking for fseeko" >&5
21819 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21820 if test "${ac_cv_func_fseeko+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823 cat >conftest.$ac_ext <<_ACEOF
21824 /* confdefs.h. */
21825 _ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 #include <stdio.h>
21830 int
21831 main ()
21832 {
21833 return fseeko && fseeko (stdin, 0, 0);
21834 ;
21835 return 0;
21836 }
21837 _ACEOF
21838 rm -f conftest.$ac_objext conftest$ac_exeext
21839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21840 (eval $ac_link) 2>conftest.er1
21841 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try='test -s conftest$ac_exeext'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21856 ac_status=$?
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; }; then
21859 ac_cv_func_fseeko=yes
21860 else
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21863
21864 ac_cv_func_fseeko=no
21865 fi
21866 rm -f conftest.err conftest.$ac_objext \
21867 conftest$ac_exeext conftest.$ac_ext
21868 fi
21869 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21870 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21871 if test $ac_cv_func_fseeko = yes; then
21872
21873 cat >>confdefs.h <<\_ACEOF
21874 #define HAVE_FSEEKO 1
21875 _ACEOF
21876
21877 fi
21878
21879 if test "$ac_cv_sys_largefile_source" != no; then
21880 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21881 fi
21882 fi
21883
21884 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21885 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21886 if test "${ac_cv_c_bigendian+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 else
21889 ac_cv_c_bigendian=unknown
21890 # See if sys/param.h defines the BYTE_ORDER macro.
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 #include <sys/types.h>
21898 #include <sys/param.h>
21899 int
21900 main ()
21901 {
21902
21903 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21904 bogus endian macros
21905 #endif
21906 ;
21907 return 0;
21908 }
21909 _ACEOF
21910 rm -f conftest.$ac_objext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21912 (eval $ac_compile) 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try='test -s conftest.$ac_objext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 # It does; now see whether it defined to BIG_ENDIAN or not.
21932 cat >conftest.$ac_ext <<_ACEOF
21933 /* confdefs.h. */
21934 _ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938 #include <sys/types.h>
21939 #include <sys/param.h>
21940 int
21941 main ()
21942 {
21943
21944 #if BYTE_ORDER != BIG_ENDIAN
21945 not big endian
21946 #endif
21947 ;
21948 return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953 (eval $ac_compile) 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try='test -s conftest.$ac_objext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21969 ac_status=$?
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 ac_cv_c_bigendian=yes
21973 else
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 ac_cv_c_bigendian=no
21978 fi
21979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21980 else
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21983
21984 fi
21985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21986 if test $ac_cv_c_bigendian = unknown; then
21987 if test "$cross_compiling" = yes; then
21988 ac_cv_c_bigendian=unknown
21989 else
21990 cat >conftest.$ac_ext <<_ACEOF
21991 /* confdefs.h. */
21992 _ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996 main () {
21997 /* Are we little or big endian? From Harbison&Steele. */
21998 union
21999 {
22000 long l;
22001 char c[sizeof (long)];
22002 } u;
22003 u.l = 1;
22004 exit (u.c[sizeof (long) - 1] == 1);
22005 }
22006 _ACEOF
22007 rm -f conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_c_bigendian=no
22019 else
22020 echo "$as_me: program exited with status $ac_status" >&5
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 ( exit $ac_status )
22025 ac_cv_c_bigendian=yes
22026 fi
22027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 fi
22030 fi
22031 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22032 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22033 if test $ac_cv_c_bigendian = unknown; then
22034 { 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
22035 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;}
22036 fi
22037 if test $ac_cv_c_bigendian = yes; then
22038 cat >>confdefs.h <<\_ACEOF
22039 #define WORDS_BIGENDIAN 1
22040 _ACEOF
22041
22042 fi
22043
22044
22045
22046
22047
22048 ac_ext=cc
22049 ac_cpp='$CXXCPP $CPPFLAGS'
22050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22053
22054
22055
22056 for ac_header in iostream
22057 do
22058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22060 echo "$as_me:$LINENO: checking for $ac_header" >&5
22061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 fi
22065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22067 else
22068 # Is the header compilable?
22069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 #include <$ac_header>
22079 _ACEOF
22080 rm -f conftest.$ac_objext
22081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22082 (eval $ac_compile) 2>conftest.er1
22083 ac_status=$?
22084 grep -v '^ *+' conftest.er1 >conftest.err
22085 rm -f conftest.er1
22086 cat conftest.err >&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; } &&
22095 { ac_try='test -s conftest.$ac_objext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22098 ac_status=$?
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 ac_header_compiler=yes
22102 else
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22105
22106 ac_header_compiler=no
22107 fi
22108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22110 echo "${ECHO_T}$ac_header_compiler" >&6
22111
22112 # Is the header present?
22113 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 #include <$ac_header>
22122 _ACEOF
22123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22125 ac_status=$?
22126 grep -v '^ *+' conftest.er1 >conftest.err
22127 rm -f conftest.er1
22128 cat conftest.err >&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } >/dev/null; then
22131 if test -s conftest.err; then
22132 ac_cpp_err=$ac_cxx_preproc_warn_flag
22133 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22134 else
22135 ac_cpp_err=
22136 fi
22137 else
22138 ac_cpp_err=yes
22139 fi
22140 if test -z "$ac_cpp_err"; then
22141 ac_header_preproc=yes
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_header_preproc=no
22147 fi
22148 rm -f conftest.err conftest.$ac_ext
22149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22150 echo "${ECHO_T}$ac_header_preproc" >&6
22151
22152 # So? What about this header?
22153 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22154 yes:no: )
22155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22158 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22159 ac_header_preproc=yes
22160 ;;
22161 no:yes:* )
22162 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22163 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22164 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22165 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22166 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22167 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22168 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22169 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22172 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22173 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22174 (
22175 cat <<\_ASBOX
22176 ## ----------------------------------------- ##
22177 ## Report this to wx-dev@lists.wxwidgets.org ##
22178 ## ----------------------------------------- ##
22179 _ASBOX
22180 ) |
22181 sed "s/^/$as_me: WARNING: /" >&2
22182 ;;
22183 esac
22184 echo "$as_me:$LINENO: checking for $ac_header" >&5
22185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22187 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 else
22189 eval "$as_ac_Header=\$ac_header_preproc"
22190 fi
22191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22193
22194 fi
22195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22196 cat >>confdefs.h <<_ACEOF
22197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22198 _ACEOF
22199
22200 fi
22201
22202 done
22203
22204
22205 if test "$ac_cv_header_iostream" = "yes" ; then
22206 :
22207 else
22208 cat >>confdefs.h <<\_ACEOF
22209 #define wxUSE_IOSTREAMH 1
22210 _ACEOF
22211
22212 fi
22213
22214 ac_ext=cc
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219
22220
22221
22222
22223 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22224 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22225 if test "${wx_cv_cpp_bool+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 else
22228
22229
22230
22231 ac_ext=cc
22232 ac_cpp='$CXXCPP $CPPFLAGS'
22233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236
22237
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244
22245
22246 int
22247 main ()
22248 {
22249
22250 bool b = true;
22251
22252 return 0;
22253
22254 ;
22255 return 0;
22256 }
22257 _ACEOF
22258 rm -f conftest.$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22270 ac_status=$?
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279
22280 wx_cv_cpp_bool=yes
22281
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22285
22286
22287 wx_cv_cpp_bool=no
22288
22289
22290 fi
22291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22292
22293 ac_ext=cc
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298
22299
22300 fi
22301 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22302 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22303
22304 if test "$wx_cv_cpp_bool" = "yes"; then
22305 cat >>confdefs.h <<\_ACEOF
22306 #define HAVE_BOOL 1
22307 _ACEOF
22308
22309 fi
22310
22311
22312
22313 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22314 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22315 if test "${wx_cv_explicit+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 else
22318
22319
22320
22321 ac_ext=cc
22322 ac_cpp='$CXXCPP $CPPFLAGS'
22323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22326
22327
22328 cat >conftest.$ac_ext <<_ACEOF
22329 /* confdefs.h. */
22330 _ACEOF
22331 cat confdefs.h >>conftest.$ac_ext
22332 cat >>conftest.$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22334
22335 class Foo { public: explicit Foo(int) {} };
22336
22337 int
22338 main ()
22339 {
22340
22341 return 0;
22342
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22349 (eval $ac_compile) 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358 (eval $ac_try) 2>&5
22359 ac_status=$?
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); }; } &&
22362 { ac_try='test -s conftest.$ac_objext'
22363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368
22369 cat >conftest.$ac_ext <<_ACEOF
22370 /* confdefs.h. */
22371 _ACEOF
22372 cat confdefs.h >>conftest.$ac_ext
22373 cat >>conftest.$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22375
22376 class Foo { public: explicit Foo(int) {} };
22377 static void TakeFoo(const Foo& foo) { }
22378
22379 int
22380 main ()
22381 {
22382
22383 TakeFoo(17);
22384 return 0;
22385
22386 ;
22387 return 0;
22388 }
22389 _ACEOF
22390 rm -f conftest.$ac_objext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22392 (eval $ac_compile) 2>conftest.er1
22393 ac_status=$?
22394 grep -v '^ *+' conftest.er1 >conftest.err
22395 rm -f conftest.er1
22396 cat conftest.err >&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 wx_cv_explicit=no
22412 else
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22415
22416 wx_cv_explicit=yes
22417
22418 fi
22419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22420
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 wx_cv_explicit=no
22426
22427 fi
22428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22429
22430 ac_ext=cc
22431 ac_cpp='$CXXCPP $CPPFLAGS'
22432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22435
22436
22437 fi
22438 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22439 echo "${ECHO_T}$wx_cv_explicit" >&6
22440
22441 if test "$wx_cv_explicit" = "yes"; then
22442 cat >>confdefs.h <<\_ACEOF
22443 #define HAVE_EXPLICIT 1
22444 _ACEOF
22445
22446 fi
22447
22448
22449 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22450 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22451 if test "${ac_cv_cxx_const_cast+set}" = set; then
22452 echo $ECHO_N "(cached) $ECHO_C" >&6
22453 else
22454
22455
22456 ac_ext=cc
22457 ac_cpp='$CXXCPP $CPPFLAGS'
22458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22461
22462 cat >conftest.$ac_ext <<_ACEOF
22463 /* confdefs.h. */
22464 _ACEOF
22465 cat confdefs.h >>conftest.$ac_ext
22466 cat >>conftest.$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22468
22469 int
22470 main ()
22471 {
22472 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22473 ;
22474 return 0;
22475 }
22476 _ACEOF
22477 rm -f conftest.$ac_objext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22479 (eval $ac_compile) 2>conftest.er1
22480 ac_status=$?
22481 grep -v '^ *+' conftest.er1 >conftest.err
22482 rm -f conftest.er1
22483 cat conftest.err >&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22489 ac_status=$?
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; } &&
22492 { ac_try='test -s conftest.$ac_objext'
22493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22494 (eval $ac_try) 2>&5
22495 ac_status=$?
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); }; }; then
22498 ac_cv_cxx_const_cast=yes
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 ac_cv_cxx_const_cast=no
22504 fi
22505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22506 ac_ext=cc
22507 ac_cpp='$CXXCPP $CPPFLAGS'
22508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22511
22512
22513 fi
22514 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22515 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22516 if test "$ac_cv_cxx_const_cast" = yes; then
22517
22518 cat >>confdefs.h <<\_ACEOF
22519 #define HAVE_CONST_CAST
22520 _ACEOF
22521
22522 fi
22523
22524 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22525 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22526 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 else
22529
22530
22531 ac_ext=cc
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536
22537 cat >conftest.$ac_ext <<_ACEOF
22538 /* confdefs.h. */
22539 _ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 #include <typeinfo>
22544 class Base { public : Base () {} virtual void f () = 0;};
22545 class Derived : public Base { public : Derived () {} virtual void f () {} };
22546 class Unrelated { public : Unrelated () {} };
22547 int g (Unrelated&) { return 0; }
22548 int
22549 main ()
22550 {
22551
22552 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 rm -f conftest.$ac_objext
22558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22559 (eval $ac_compile) 2>conftest.er1
22560 ac_status=$?
22561 grep -v '^ *+' conftest.er1 >conftest.err
22562 rm -f conftest.er1
22563 cat conftest.err >&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } &&
22566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22569 ac_status=$?
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try='test -s conftest.$ac_objext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_cxx_reinterpret_cast=yes
22579 else
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22582
22583 ac_cv_cxx_reinterpret_cast=no
22584 fi
22585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22586 ac_ext=cc
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591
22592
22593 fi
22594 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22595 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22596 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22597
22598 cat >>confdefs.h <<\_ACEOF
22599 #define HAVE_REINTERPRET_CAST
22600 _ACEOF
22601
22602 fi
22603
22604 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22605 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22606 if test "${ac_cv_cxx_static_cast+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609
22610
22611 ac_ext=cc
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22616
22617 cat >conftest.$ac_ext <<_ACEOF
22618 /* confdefs.h. */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 #include <typeinfo>
22624 class Base { public : Base () {} virtual void f () = 0; };
22625 class Derived : public Base { public : Derived () {} virtual void f () {} };
22626 int g (Derived&) { return 0; }
22627 int
22628 main ()
22629 {
22630
22631 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 rm -f conftest.$ac_objext
22637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22638 (eval $ac_compile) 2>conftest.er1
22639 ac_status=$?
22640 grep -v '^ *+' conftest.er1 >conftest.err
22641 rm -f conftest.er1
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22648 ac_status=$?
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; } &&
22651 { ac_try='test -s conftest.$ac_objext'
22652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22653 (eval $ac_try) 2>&5
22654 ac_status=$?
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); }; }; then
22657 ac_cv_cxx_static_cast=yes
22658 else
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22661
22662 ac_cv_cxx_static_cast=no
22663 fi
22664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22665 ac_ext=cc
22666 ac_cpp='$CXXCPP $CPPFLAGS'
22667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22670
22671
22672 fi
22673 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22674 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22675 if test "$ac_cv_cxx_static_cast" = yes; then
22676
22677 cat >>confdefs.h <<\_ACEOF
22678 #define HAVE_STATIC_CAST
22679 _ACEOF
22680
22681 fi
22682
22683
22684 if test "x$SUNCXX" = xyes; then
22685 CXXFLAGS="-features=tmplife $CXXFLAGS"
22686 fi
22687
22688 if test "x$SUNCC" = xyes; then
22689 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22690 fi
22691
22692 if test "x$SGICC" = "xyes"; then
22693 CFLAGS="-woff 3970 $CFLAGS"
22694 fi
22695 if test "x$SGICXX" = "xyes"; then
22696 CXXFLAGS="-woff 3970 $CXXFLAGS"
22697 fi
22698
22699 if test "x$HPCC" = "xyes"; then
22700 CFLAGS="+W 2011,2450 $CFLAGS"
22701 fi
22702 if test "x$HPCXX" = "xyes"; then
22703 CXXFLAGS="+W 2340 $CXXFLAGS"
22704 fi
22705
22706 if test "x$COMPAQCXX" = "xyes"; then
22707 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22708 fi
22709
22710 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22711 if test "$wxUSE_UNICODE" = "yes"; then
22712 std_string="std::wstring"
22713 char_type="wchar_t"
22714 else
22715 std_string="std::string"
22716 char_type="char"
22717 fi
22718
22719 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22720 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22721 cat >conftest.$ac_ext <<_ACEOF
22722 /* confdefs.h. */
22723 _ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22727 #include <string>
22728 int
22729 main ()
22730 {
22731 $std_string foo;
22732 ;
22733 return 0;
22734 }
22735 _ACEOF
22736 rm -f conftest.$ac_objext
22737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22738 (eval $ac_compile) 2>conftest.er1
22739 ac_status=$?
22740 grep -v '^ *+' conftest.er1 >conftest.err
22741 rm -f conftest.er1
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } &&
22745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22747 (eval $ac_try) 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; } &&
22751 { ac_try='test -s conftest.$ac_objext'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 echo "$as_me:$LINENO: result: yes" >&5
22758 echo "${ECHO_T}yes" >&6
22759 cat >>confdefs.h <<\_ACEOF
22760 #define HAVE_STD_WSTRING 1
22761 _ACEOF
22762
22763 else
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22766
22767 echo "$as_me:$LINENO: result: no" >&5
22768 echo "${ECHO_T}no" >&6
22769 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22770 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22771 cat >conftest.$ac_ext <<_ACEOF
22772 /* confdefs.h. */
22773 _ACEOF
22774 cat confdefs.h >>conftest.$ac_ext
22775 cat >>conftest.$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777
22778 #ifdef HAVE_WCHAR_H
22779 # ifdef __CYGWIN__
22780 # include <stddef.h>
22781 # endif
22782 # include <wchar.h>
22783 #endif
22784 #ifdef HAVE_STDLIB_H
22785 # include <stdlib.h>
22786 #endif
22787 #include <stdio.h>
22788 #include <string>
22789
22790 int
22791 main ()
22792 {
22793 std::basic_string<$char_type> foo;
22794 const $char_type* dummy = foo.c_str();
22795 ;
22796 return 0;
22797 }
22798 _ACEOF
22799 rm -f conftest.$ac_objext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801 (eval $ac_compile) 2>conftest.er1
22802 ac_status=$?
22803 grep -v '^ *+' conftest.er1 >conftest.err
22804 rm -f conftest.er1
22805 cat conftest.err >&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } &&
22808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22811 ac_status=$?
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try='test -s conftest.$ac_objext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22817 ac_status=$?
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 echo "$as_me:$LINENO: result: yes" >&5
22821 echo "${ECHO_T}yes" >&6
22822 else
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.$ac_ext >&5
22825
22826 echo "$as_me:$LINENO: result: no" >&5
22827 echo "${ECHO_T}no" >&6
22828 if test "$wxUSE_STL" = "yes"; then
22829 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22830 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22831 { (exit 1); exit 1; }; }
22832 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22833 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22834 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22835 { (exit 1); exit 1; }; }
22836 else
22837 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22838 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22839 wxUSE_STD_STRING=no
22840 fi
22841
22842
22843 fi
22844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22845
22846 fi
22847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22848 fi
22849
22850 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22851 echo "$as_me:$LINENO: checking for std::istream" >&5
22852 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22853 if test "${ac_cv_type_std__istream+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 else
22856 cat >conftest.$ac_ext <<_ACEOF
22857 /* confdefs.h. */
22858 _ACEOF
22859 cat confdefs.h >>conftest.$ac_ext
22860 cat >>conftest.$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 #include <iostream>
22863
22864 int
22865 main ()
22866 {
22867 if ((std::istream *) 0)
22868 return 0;
22869 if (sizeof (std::istream))
22870 return 0;
22871 ;
22872 return 0;
22873 }
22874 _ACEOF
22875 rm -f conftest.$ac_objext
22876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22877 (eval $ac_compile) 2>conftest.er1
22878 ac_status=$?
22879 grep -v '^ *+' conftest.er1 >conftest.err
22880 rm -f conftest.er1
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22887 ac_status=$?
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; } &&
22890 { ac_try='test -s conftest.$ac_objext'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; }; then
22896 ac_cv_type_std__istream=yes
22897 else
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.$ac_ext >&5
22900
22901 ac_cv_type_std__istream=no
22902 fi
22903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22904 fi
22905 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22906 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22907 if test $ac_cv_type_std__istream = yes; then
22908
22909 cat >>confdefs.h <<_ACEOF
22910 #define HAVE_STD__ISTREAM 1
22911 _ACEOF
22912
22913
22914 else
22915 wxUSE_STD_IOSTREAM=no
22916 fi
22917 echo "$as_me:$LINENO: checking for std::ostream" >&5
22918 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22919 if test "${ac_cv_type_std__ostream+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22921 else
22922 cat >conftest.$ac_ext <<_ACEOF
22923 /* confdefs.h. */
22924 _ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928 #include <iostream>
22929
22930 int
22931 main ()
22932 {
22933 if ((std::ostream *) 0)
22934 return 0;
22935 if (sizeof (std::ostream))
22936 return 0;
22937 ;
22938 return 0;
22939 }
22940 _ACEOF
22941 rm -f conftest.$ac_objext
22942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22943 (eval $ac_compile) 2>conftest.er1
22944 ac_status=$?
22945 grep -v '^ *+' conftest.er1 >conftest.err
22946 rm -f conftest.er1
22947 cat conftest.err >&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } &&
22950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; } &&
22956 { ac_try='test -s conftest.$ac_objext'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22959 ac_status=$?
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; }; then
22962 ac_cv_type_std__ostream=yes
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967 ac_cv_type_std__ostream=no
22968 fi
22969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22970 fi
22971 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22972 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22973 if test $ac_cv_type_std__ostream = yes; then
22974
22975 cat >>confdefs.h <<_ACEOF
22976 #define HAVE_STD__OSTREAM 1
22977 _ACEOF
22978
22979
22980 else
22981 wxUSE_STD_IOSTREAM=no
22982 fi
22983
22984
22985 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22986 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22987 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22988 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22989 { (exit 1); exit 1; }; }
22990 else
22991 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22992 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22993 fi
22994 fi
22995 fi
22996
22997 if test "$wxUSE_STL" = "yes"; then
22998 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22999 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23000 cat >conftest.$ac_ext <<_ACEOF
23001 /* confdefs.h. */
23002 _ACEOF
23003 cat confdefs.h >>conftest.$ac_ext
23004 cat >>conftest.$ac_ext <<_ACEOF
23005 /* end confdefs.h. */
23006 #include <string>
23007 #include <functional>
23008 #include <algorithm>
23009 #include <vector>
23010 #include <list>
23011 int
23012 main ()
23013 {
23014 std::vector<int> moo;
23015 std::list<int> foo;
23016 std::vector<int>::iterator it =
23017 std::find_if(moo.begin(), moo.end(),
23018 std::bind2nd(std::less<int>(), 3));
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23026 ac_status=$?
23027 grep -v '^ *+' conftest.er1 >conftest.err
23028 rm -f conftest.er1
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try='test -s conftest.$ac_objext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 echo "$as_me:$LINENO: result: yes" >&5
23045 echo "${ECHO_T}yes" >&6
23046 else
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23049
23050 echo "$as_me:$LINENO: result: no" >&5
23051 echo "${ECHO_T}no" >&6
23052 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23053 echo "$as_me: error: Basic STL functionality missing" >&2;}
23054 { (exit 1); exit 1; }; }
23055 fi
23056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23057
23058 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23059 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <string>
23067 int
23068 main ()
23069 {
23070 std::string foo, bar;
23071 foo.compare(bar);
23072 foo.compare(1, 1, bar);
23073 foo.compare(1, 1, bar, 1, 1);
23074 foo.compare("");
23075 foo.compare(1, 1, "");
23076 foo.compare(1, 1, "", 2);
23077 ;
23078 return 0;
23079 }
23080 _ACEOF
23081 rm -f conftest.$ac_objext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23083 (eval $ac_compile) 2>conftest.er1
23084 ac_status=$?
23085 grep -v '^ *+' conftest.er1 >conftest.err
23086 rm -f conftest.er1
23087 cat conftest.err >&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23102 echo "$as_me:$LINENO: result: yes" >&5
23103 echo "${ECHO_T}yes" >&6
23104 cat >>confdefs.h <<\_ACEOF
23105 #define HAVE_STD_STRING_COMPARE 1
23106 _ACEOF
23107
23108 else
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23111
23112 echo "$as_me:$LINENO: result: no" >&5
23113 echo "${ECHO_T}no" >&6
23114 fi
23115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23116
23117 if test "${ac_cv_header_hash_map+set}" = set; then
23118 echo "$as_me:$LINENO: checking for hash_map" >&5
23119 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23120 if test "${ac_cv_header_hash_map+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 fi
23123 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23124 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23125 else
23126 # Is the header compilable?
23127 echo "$as_me:$LINENO: checking hash_map usability" >&5
23128 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23129 cat >conftest.$ac_ext <<_ACEOF
23130 /* confdefs.h. */
23131 _ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23135 $ac_includes_default
23136 #include <hash_map>
23137 _ACEOF
23138 rm -f conftest.$ac_objext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23140 (eval $ac_compile) 2>conftest.er1
23141 ac_status=$?
23142 grep -v '^ *+' conftest.er1 >conftest.err
23143 rm -f conftest.er1
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; } &&
23153 { ac_try='test -s conftest.$ac_objext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_header_compiler=yes
23160 else
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23163
23164 ac_header_compiler=no
23165 fi
23166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23168 echo "${ECHO_T}$ac_header_compiler" >&6
23169
23170 # Is the header present?
23171 echo "$as_me:$LINENO: checking hash_map presence" >&5
23172 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23173 cat >conftest.$ac_ext <<_ACEOF
23174 /* confdefs.h. */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 #include <hash_map>
23180 _ACEOF
23181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23183 ac_status=$?
23184 grep -v '^ *+' conftest.er1 >conftest.err
23185 rm -f conftest.er1
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } >/dev/null; then
23189 if test -s conftest.err; then
23190 ac_cpp_err=$ac_cxx_preproc_warn_flag
23191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23192 else
23193 ac_cpp_err=
23194 fi
23195 else
23196 ac_cpp_err=yes
23197 fi
23198 if test -z "$ac_cpp_err"; then
23199 ac_header_preproc=yes
23200 else
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.$ac_ext >&5
23203
23204 ac_header_preproc=no
23205 fi
23206 rm -f conftest.err conftest.$ac_ext
23207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23208 echo "${ECHO_T}$ac_header_preproc" >&6
23209
23210 # So? What about this header?
23211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23212 yes:no: )
23213 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23214 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23215 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23216 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23217 ac_header_preproc=yes
23218 ;;
23219 no:yes:* )
23220 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23221 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23222 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23223 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23224 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23225 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23226 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23227 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23228 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23229 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23230 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23231 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23232 (
23233 cat <<\_ASBOX
23234 ## ----------------------------------------- ##
23235 ## Report this to wx-dev@lists.wxwidgets.org ##
23236 ## ----------------------------------------- ##
23237 _ASBOX
23238 ) |
23239 sed "s/^/$as_me: WARNING: /" >&2
23240 ;;
23241 esac
23242 echo "$as_me:$LINENO: checking for hash_map" >&5
23243 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23244 if test "${ac_cv_header_hash_map+set}" = set; then
23245 echo $ECHO_N "(cached) $ECHO_C" >&6
23246 else
23247 ac_cv_header_hash_map=$ac_header_preproc
23248 fi
23249 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23250 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23251
23252 fi
23253 if test $ac_cv_header_hash_map = yes; then
23254 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23255 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23256 cat >conftest.$ac_ext <<_ACEOF
23257 /* confdefs.h. */
23258 _ACEOF
23259 cat confdefs.h >>conftest.$ac_ext
23260 cat >>conftest.$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 #include <hash_map>
23263 #include <hash_set>
23264 int
23265 main ()
23266 {
23267 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23268 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23275 (eval $ac_compile) 2>conftest.er1
23276 ac_status=$?
23277 grep -v '^ *+' conftest.er1 >conftest.err
23278 rm -f conftest.er1
23279 cat conftest.err >&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } &&
23282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23285 ac_status=$?
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; } &&
23288 { ac_try='test -s conftest.$ac_objext'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23291 ac_status=$?
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; }; then
23294 echo "$as_me:$LINENO: result: yes" >&5
23295 echo "${ECHO_T}yes" >&6
23296 cat >>confdefs.h <<\_ACEOF
23297 #define HAVE_HASH_MAP 1
23298 _ACEOF
23299
23300 cat >>confdefs.h <<\_ACEOF
23301 #define HAVE_STD_HASH_MAP 1
23302 _ACEOF
23303
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23307
23308 echo "$as_me:$LINENO: result: no" >&5
23309 echo "${ECHO_T}no" >&6
23310 fi
23311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23312
23313 fi
23314
23315
23316
23317 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23318 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23319 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23320 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23321 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 fi
23323 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23324 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23325 else
23326 # Is the header compilable?
23327 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23328 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23329 cat >conftest.$ac_ext <<_ACEOF
23330 /* confdefs.h. */
23331 _ACEOF
23332 cat confdefs.h >>conftest.$ac_ext
23333 cat >>conftest.$ac_ext <<_ACEOF
23334 /* end confdefs.h. */
23335 $ac_includes_default
23336 #include <ext/hash_map>
23337 _ACEOF
23338 rm -f conftest.$ac_objext
23339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23340 (eval $ac_compile) 2>conftest.er1
23341 ac_status=$?
23342 grep -v '^ *+' conftest.er1 >conftest.err
23343 rm -f conftest.er1
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; } &&
23353 { ac_try='test -s conftest.$ac_objext'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23356 ac_status=$?
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; }; then
23359 ac_header_compiler=yes
23360 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 ac_header_compiler=no
23365 fi
23366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23368 echo "${ECHO_T}$ac_header_compiler" >&6
23369
23370 # Is the header present?
23371 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23372 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include <ext/hash_map>
23380 _ACEOF
23381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23383 ac_status=$?
23384 grep -v '^ *+' conftest.er1 >conftest.err
23385 rm -f conftest.er1
23386 cat conftest.err >&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } >/dev/null; then
23389 if test -s conftest.err; then
23390 ac_cpp_err=$ac_cxx_preproc_warn_flag
23391 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23392 else
23393 ac_cpp_err=
23394 fi
23395 else
23396 ac_cpp_err=yes
23397 fi
23398 if test -z "$ac_cpp_err"; then
23399 ac_header_preproc=yes
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23403
23404 ac_header_preproc=no
23405 fi
23406 rm -f conftest.err conftest.$ac_ext
23407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23408 echo "${ECHO_T}$ac_header_preproc" >&6
23409
23410 # So? What about this header?
23411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23412 yes:no: )
23413 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23414 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23416 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23417 ac_header_preproc=yes
23418 ;;
23419 no:yes:* )
23420 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23421 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23422 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23423 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23424 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23425 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23426 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23427 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23428 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23429 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23431 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23432 (
23433 cat <<\_ASBOX
23434 ## ----------------------------------------- ##
23435 ## Report this to wx-dev@lists.wxwidgets.org ##
23436 ## ----------------------------------------- ##
23437 _ASBOX
23438 ) |
23439 sed "s/^/$as_me: WARNING: /" >&2
23440 ;;
23441 esac
23442 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23443 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23444 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23445 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 else
23447 ac_cv_header_ext_hash_map=$ac_header_preproc
23448 fi
23449 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23450 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23451
23452 fi
23453 if test $ac_cv_header_ext_hash_map = yes; then
23454 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23455 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462 #include <ext/hash_map>
23463 #include <ext/hash_set>
23464 int
23465 main ()
23466 {
23467 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23468 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23469 ;
23470 return 0;
23471 }
23472 _ACEOF
23473 rm -f conftest.$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try='test -s conftest.$ac_objext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23494 echo "$as_me:$LINENO: result: yes" >&5
23495 echo "${ECHO_T}yes" >&6
23496 cat >>confdefs.h <<\_ACEOF
23497 #define HAVE_EXT_HASH_MAP 1
23498 _ACEOF
23499
23500 cat >>confdefs.h <<\_ACEOF
23501 #define HAVE_GNU_CXX_HASH_MAP 1
23502 _ACEOF
23503
23504 else
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23507
23508 echo "$as_me:$LINENO: result: no" >&5
23509 echo "${ECHO_T}no" >&6
23510 fi
23511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23512
23513 fi
23514
23515
23516 fi
23517
23518
23519 SEARCH_INCLUDE="\
23520 /usr/local/include \
23521 \
23522 /usr/Motif-2.1/include \
23523 /usr/Motif-1.2/include \
23524 /usr/include/Motif1.2 \
23525 \
23526 /usr/dt/include \
23527 /usr/openwin/include \
23528 \
23529 /usr/include/Xm \
23530 \
23531 /usr/X11R6/include \
23532 /usr/X11R6.4/include \
23533 /usr/X11R5/include \
23534 /usr/X11R4/include \
23535 \
23536 /usr/include/X11R6 \
23537 /usr/include/X11R5 \
23538 /usr/include/X11R4 \
23539 \
23540 /usr/local/X11R6/include \
23541 /usr/local/X11R5/include \
23542 /usr/local/X11R4/include \
23543 \
23544 /usr/local/include/X11R6 \
23545 /usr/local/include/X11R5 \
23546 /usr/local/include/X11R4 \
23547 \
23548 /usr/X11/include \
23549 /usr/include/X11 \
23550 /usr/local/X11/include \
23551 /usr/local/include/X11 \
23552 \
23553 /usr/XFree86/include/X11 \
23554 /usr/pkg/include \
23555 \
23556 /usr/openwin/share/include"
23557
23558 echo "$as_me:$LINENO: checking for libraries directory" >&5
23559 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23560
23561 case "${host}" in
23562 *-*-irix6* )
23563 if test "${wx_cv_std_libpath+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 else
23566
23567 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23568 for e in a so sl dylib dll.a; do
23569 libc="$d/libc.$e"
23570 if test -f $libc; then
23571 save_LIBS="$LIBS"
23572 LIBS="$libc"
23573 cat >conftest.$ac_ext <<_ACEOF
23574 int main() { return 0; }
23575 _ACEOF
23576 rm -f conftest.$ac_objext conftest$ac_exeext
23577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23578 (eval $ac_link) 2>conftest.er1
23579 ac_status=$?
23580 grep -v '^ *+' conftest.er1 >conftest.err
23581 rm -f conftest.er1
23582 cat conftest.err >&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; } &&
23591 { ac_try='test -s conftest$ac_exeext'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23594 ac_status=$?
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; }; then
23597 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23598 else
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23601
23602 fi
23603 rm -f conftest.err conftest.$ac_objext \
23604 conftest$ac_exeext conftest.$ac_ext
23605 LIBS="$save_LIBS"
23606 if test "x$wx_cv_std_libpath" != "x"; then
23607 break 2
23608 fi
23609 fi
23610 done
23611 done
23612 if test "x$wx_cv_std_libpath" = "x"; then
23613 wx_cv_std_libpath="lib"
23614 fi
23615
23616
23617 fi
23618
23619 ;;
23620
23621 *-*-solaris2* )
23622 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23623 wx_cv_std_libpath="lib/64"
23624 else
23625 wx_cv_std_libpath="lib"
23626 fi
23627 ;;
23628
23629 *-*-linux* )
23630 if test "$ac_cv_sizeof_void_p" = 8 -a \
23631 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23632 wx_cv_std_libpath="lib64"
23633 else
23634 wx_cv_std_libpath="lib"
23635 fi
23636 ;;
23637
23638 *)
23639 wx_cv_std_libpath="lib";
23640 ;;
23641 esac
23642
23643 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23644 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23645
23646 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23647
23648 if test "$build" != "$host" -a "$GCC" = yes; then
23649 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23650 cross_root=`dirname $cross_root`
23651 cross_root=`dirname $cross_root`
23652
23653 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23654 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23655 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23656
23657 if test -z "$PKG_CONFIG_PATH"; then
23658 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23659 export PKG_CONFIG_PATH
23660 fi
23661
23662 if test -z "$x_includes" -o "$x_includes" = NONE; then
23663
23664 ac_find_includes=
23665 for ac_dir in $SEARCH_INCLUDE /usr/include;
23666 do
23667 if test -f "$ac_dir/X11/Intrinsic.h"; then
23668 ac_find_includes=$ac_dir
23669 break
23670 fi
23671 done
23672
23673 x_includes=$ac_find_includes
23674 fi
23675 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23676
23677 ac_find_libraries=
23678 for ac_dir in $SEARCH_LIB;
23679 do
23680 for ac_extension in a so sl dylib dll.a; do
23681 if test -f "$ac_dir/libXt.$ac_extension"; then
23682 ac_find_libraries=$ac_dir
23683 break 2
23684 fi
23685 done
23686 done
23687
23688 x_libraries=$ac_find_libraries
23689 fi
23690 fi
23691 fi
23692
23693
23694 cat >confcache <<\_ACEOF
23695 # This file is a shell script that caches the results of configure
23696 # tests run on this system so they can be shared between configure
23697 # scripts and configure runs, see configure's option --config-cache.
23698 # It is not useful on other systems. If it contains results you don't
23699 # want to keep, you may remove or edit it.
23700 #
23701 # config.status only pays attention to the cache file if you give it
23702 # the --recheck option to rerun configure.
23703 #
23704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23706 # following values.
23707
23708 _ACEOF
23709
23710 # The following way of writing the cache mishandles newlines in values,
23711 # but we know of no workaround that is simple, portable, and efficient.
23712 # So, don't put newlines in cache variables' values.
23713 # Ultrix sh set writes to stderr and can't be redirected directly,
23714 # and sets the high bit in the cache file unless we assign to the vars.
23715 {
23716 (set) 2>&1 |
23717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23718 *ac_space=\ *)
23719 # `set' does not quote correctly, so add quotes (double-quote
23720 # substitution turns \\\\ into \\, and sed turns \\ into \).
23721 sed -n \
23722 "s/'/'\\\\''/g;
23723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23724 ;;
23725 *)
23726 # `set' quotes correctly as required by POSIX, so do not add quotes.
23727 sed -n \
23728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23729 ;;
23730 esac;
23731 } |
23732 sed '
23733 t clear
23734 : clear
23735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23736 t end
23737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23738 : end' >>confcache
23739 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23740 if test -w $cache_file; then
23741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23742 cat confcache >$cache_file
23743 else
23744 echo "not updating unwritable cache $cache_file"
23745 fi
23746 fi
23747 rm -f confcache
23748
23749 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23750 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23751 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23752 if test "${wx_cv_lib_glibc21+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23755
23756 cat >conftest.$ac_ext <<_ACEOF
23757 /* confdefs.h. */
23758 _ACEOF
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 #include <features.h>
23763 int
23764 main ()
23765 {
23766
23767 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23768 not glibc 2.1
23769 #endif
23770
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 rm -f conftest.$ac_objext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23777 (eval $ac_compile) 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; } &&
23790 { ac_try='test -s conftest.$ac_objext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23793 ac_status=$?
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23796
23797 wx_cv_lib_glibc21=yes
23798
23799 else
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23802
23803
23804 wx_cv_lib_glibc21=no
23805
23806
23807 fi
23808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23809
23810 fi
23811 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23812 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23813 if test "$wx_cv_lib_glibc21" = "yes"; then
23814 cat >>confdefs.h <<\_ACEOF
23815 #define wxHAVE_GLIBC2 1
23816 _ACEOF
23817
23818 fi
23819 fi
23820
23821 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23822 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23823 cat >>confdefs.h <<\_ACEOF
23824 #define _GNU_SOURCE 1
23825 _ACEOF
23826
23827 fi
23828 fi
23829
23830 have_cos=0
23831 have_floor=0
23832
23833 for ac_func in cos
23834 do
23835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23836 echo "$as_me:$LINENO: checking for $ac_func" >&5
23837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23838 if eval "test \"\${$as_ac_var+set}\" = set"; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23840 else
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23849 #define $ac_func innocuous_$ac_func
23850
23851 /* System header to define __stub macros and hopefully few prototypes,
23852 which can conflict with char $ac_func (); below.
23853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23854 <limits.h> exists even on freestanding compilers. */
23855
23856 #ifdef __STDC__
23857 # include <limits.h>
23858 #else
23859 # include <assert.h>
23860 #endif
23861
23862 #undef $ac_func
23863
23864 /* Override any gcc2 internal prototype to avoid an error. */
23865 #ifdef __cplusplus
23866 extern "C"
23867 {
23868 #endif
23869 /* We use char because int might match the return type of a gcc2
23870 builtin and then its argument prototype would still apply. */
23871 char $ac_func ();
23872 /* The GNU C library defines this for functions which it implements
23873 to always fail with ENOSYS. Some functions are actually named
23874 something starting with __ and the normal name is an alias. */
23875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23876 choke me
23877 #else
23878 char (*f) () = $ac_func;
23879 #endif
23880 #ifdef __cplusplus
23881 }
23882 #endif
23883
23884 int
23885 main ()
23886 {
23887 return f != $ac_func;
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 rm -f conftest.$ac_objext conftest$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23904 ac_status=$?
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try='test -s conftest$ac_exeext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 eval "$as_ac_var=yes"
23914 else
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.$ac_ext >&5
23917
23918 eval "$as_ac_var=no"
23919 fi
23920 rm -f conftest.err conftest.$ac_objext \
23921 conftest$ac_exeext conftest.$ac_ext
23922 fi
23923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23925 if test `eval echo '${'$as_ac_var'}'` = yes; then
23926 cat >>confdefs.h <<_ACEOF
23927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23928 _ACEOF
23929 have_cos=1
23930 fi
23931 done
23932
23933
23934 for ac_func in floor
23935 do
23936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23937 echo "$as_me:$LINENO: checking for $ac_func" >&5
23938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23939 if eval "test \"\${$as_ac_var+set}\" = set"; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 else
23942 cat >conftest.$ac_ext <<_ACEOF
23943 /* confdefs.h. */
23944 _ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23950 #define $ac_func innocuous_$ac_func
23951
23952 /* System header to define __stub macros and hopefully few prototypes,
23953 which can conflict with char $ac_func (); below.
23954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23955 <limits.h> exists even on freestanding compilers. */
23956
23957 #ifdef __STDC__
23958 # include <limits.h>
23959 #else
23960 # include <assert.h>
23961 #endif
23962
23963 #undef $ac_func
23964
23965 /* Override any gcc2 internal prototype to avoid an error. */
23966 #ifdef __cplusplus
23967 extern "C"
23968 {
23969 #endif
23970 /* We use char because int might match the return type of a gcc2
23971 builtin and then its argument prototype would still apply. */
23972 char $ac_func ();
23973 /* The GNU C library defines this for functions which it implements
23974 to always fail with ENOSYS. Some functions are actually named
23975 something starting with __ and the normal name is an alias. */
23976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23977 choke me
23978 #else
23979 char (*f) () = $ac_func;
23980 #endif
23981 #ifdef __cplusplus
23982 }
23983 #endif
23984
23985 int
23986 main ()
23987 {
23988 return f != $ac_func;
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext conftest$ac_exeext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23995 (eval $ac_link) 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } &&
24002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try='test -s conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 eval "$as_ac_var=yes"
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 eval "$as_ac_var=no"
24020 fi
24021 rm -f conftest.err conftest.$ac_objext \
24022 conftest$ac_exeext conftest.$ac_ext
24023 fi
24024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24026 if test `eval echo '${'$as_ac_var'}'` = yes; then
24027 cat >>confdefs.h <<_ACEOF
24028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24029 _ACEOF
24030 have_floor=1
24031 fi
24032 done
24033
24034 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24035 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24036 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24037 echo "$as_me:$LINENO: result: yes" >&5
24038 echo "${ECHO_T}yes" >&6
24039 else
24040 echo "$as_me:$LINENO: result: no" >&5
24041 echo "${ECHO_T}no" >&6
24042 LIBS="$LIBS -lm"
24043 # use different functions to avoid configure caching
24044 have_sin=0
24045 have_ceil=0
24046
24047 for ac_func in sin
24048 do
24049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24050 echo "$as_me:$LINENO: checking for $ac_func" >&5
24051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24052 if eval "test \"\${$as_ac_var+set}\" = set"; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 else
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24063 #define $ac_func innocuous_$ac_func
24064
24065 /* System header to define __stub macros and hopefully few prototypes,
24066 which can conflict with char $ac_func (); below.
24067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24068 <limits.h> exists even on freestanding compilers. */
24069
24070 #ifdef __STDC__
24071 # include <limits.h>
24072 #else
24073 # include <assert.h>
24074 #endif
24075
24076 #undef $ac_func
24077
24078 /* Override any gcc2 internal prototype to avoid an error. */
24079 #ifdef __cplusplus
24080 extern "C"
24081 {
24082 #endif
24083 /* We use char because int might match the return type of a gcc2
24084 builtin and then its argument prototype would still apply. */
24085 char $ac_func ();
24086 /* The GNU C library defines this for functions which it implements
24087 to always fail with ENOSYS. Some functions are actually named
24088 something starting with __ and the normal name is an alias. */
24089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24090 choke me
24091 #else
24092 char (*f) () = $ac_func;
24093 #endif
24094 #ifdef __cplusplus
24095 }
24096 #endif
24097
24098 int
24099 main ()
24100 {
24101 return f != $ac_func;
24102 ;
24103 return 0;
24104 }
24105 _ACEOF
24106 rm -f conftest.$ac_objext conftest$ac_exeext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24108 (eval $ac_link) 2>conftest.er1
24109 ac_status=$?
24110 grep -v '^ *+' conftest.er1 >conftest.err
24111 rm -f conftest.er1
24112 cat conftest.err >&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); } &&
24115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; } &&
24121 { ac_try='test -s conftest$ac_exeext'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24124 ac_status=$?
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; }; then
24127 eval "$as_ac_var=yes"
24128 else
24129 echo "$as_me: failed program was:" >&5
24130 sed 's/^/| /' conftest.$ac_ext >&5
24131
24132 eval "$as_ac_var=no"
24133 fi
24134 rm -f conftest.err conftest.$ac_objext \
24135 conftest$ac_exeext conftest.$ac_ext
24136 fi
24137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24139 if test `eval echo '${'$as_ac_var'}'` = yes; then
24140 cat >>confdefs.h <<_ACEOF
24141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24142 _ACEOF
24143 have_sin=1
24144 fi
24145 done
24146
24147
24148 for ac_func in ceil
24149 do
24150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24151 echo "$as_me:$LINENO: checking for $ac_func" >&5
24152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24153 if eval "test \"\${$as_ac_var+set}\" = set"; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156 cat >conftest.$ac_ext <<_ACEOF
24157 /* confdefs.h. */
24158 _ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24164 #define $ac_func innocuous_$ac_func
24165
24166 /* System header to define __stub macros and hopefully few prototypes,
24167 which can conflict with char $ac_func (); below.
24168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24169 <limits.h> exists even on freestanding compilers. */
24170
24171 #ifdef __STDC__
24172 # include <limits.h>
24173 #else
24174 # include <assert.h>
24175 #endif
24176
24177 #undef $ac_func
24178
24179 /* Override any gcc2 internal prototype to avoid an error. */
24180 #ifdef __cplusplus
24181 extern "C"
24182 {
24183 #endif
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24186 char $ac_func ();
24187 /* The GNU C library defines this for functions which it implements
24188 to always fail with ENOSYS. Some functions are actually named
24189 something starting with __ and the normal name is an alias. */
24190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24191 choke me
24192 #else
24193 char (*f) () = $ac_func;
24194 #endif
24195 #ifdef __cplusplus
24196 }
24197 #endif
24198
24199 int
24200 main ()
24201 {
24202 return f != $ac_func;
24203 ;
24204 return 0;
24205 }
24206 _ACEOF
24207 rm -f conftest.$ac_objext conftest$ac_exeext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24209 (eval $ac_link) 2>conftest.er1
24210 ac_status=$?
24211 grep -v '^ *+' conftest.er1 >conftest.err
24212 rm -f conftest.er1
24213 cat conftest.err >&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24219 ac_status=$?
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; } &&
24222 { ac_try='test -s conftest$ac_exeext'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24225 ac_status=$?
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; }; then
24228 eval "$as_ac_var=yes"
24229 else
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.$ac_ext >&5
24232
24233 eval "$as_ac_var=no"
24234 fi
24235 rm -f conftest.err conftest.$ac_objext \
24236 conftest$ac_exeext conftest.$ac_ext
24237 fi
24238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24240 if test `eval echo '${'$as_ac_var'}'` = yes; then
24241 cat >>confdefs.h <<_ACEOF
24242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24243 _ACEOF
24244 have_ceil=1
24245 fi
24246 done
24247
24248 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24249 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24250 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24251 echo "$as_me:$LINENO: result: yes" >&5
24252 echo "${ECHO_T}yes" >&6
24253 else
24254 echo "$as_me:$LINENO: result: no" >&5
24255 echo "${ECHO_T}no" >&6
24256 # not sure we should warn the user, crash, etc.
24257 fi
24258 fi
24259
24260
24261
24262 if test "$wxUSE_REGEX" != "no"; then
24263 cat >>confdefs.h <<\_ACEOF
24264 #define wxUSE_REGEX 1
24265 _ACEOF
24266
24267
24268 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24269 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24270 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24271 wxUSE_REGEX=builtin
24272 fi
24273
24274 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24275 if test "${ac_cv_header_regex_h+set}" = set; then
24276 echo "$as_me:$LINENO: checking for regex.h" >&5
24277 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24278 if test "${ac_cv_header_regex_h+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 fi
24281 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24282 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24283 else
24284 # Is the header compilable?
24285 echo "$as_me:$LINENO: checking regex.h usability" >&5
24286 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24287 cat >conftest.$ac_ext <<_ACEOF
24288 /* confdefs.h. */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h. */
24293 $ac_includes_default
24294 #include <regex.h>
24295 _ACEOF
24296 rm -f conftest.$ac_objext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24298 (eval $ac_compile) 2>conftest.er1
24299 ac_status=$?
24300 grep -v '^ *+' conftest.er1 >conftest.err
24301 rm -f conftest.er1
24302 cat conftest.err >&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24308 ac_status=$?
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; } &&
24311 { ac_try='test -s conftest.$ac_objext'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24314 ac_status=$?
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; }; then
24317 ac_header_compiler=yes
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 ac_header_compiler=no
24323 fi
24324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24326 echo "${ECHO_T}$ac_header_compiler" >&6
24327
24328 # Is the header present?
24329 echo "$as_me:$LINENO: checking regex.h presence" >&5
24330 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 #include <regex.h>
24338 _ACEOF
24339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24341 ac_status=$?
24342 grep -v '^ *+' conftest.er1 >conftest.err
24343 rm -f conftest.er1
24344 cat conftest.err >&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } >/dev/null; then
24347 if test -s conftest.err; then
24348 ac_cpp_err=$ac_cxx_preproc_warn_flag
24349 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24350 else
24351 ac_cpp_err=
24352 fi
24353 else
24354 ac_cpp_err=yes
24355 fi
24356 if test -z "$ac_cpp_err"; then
24357 ac_header_preproc=yes
24358 else
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24361
24362 ac_header_preproc=no
24363 fi
24364 rm -f conftest.err conftest.$ac_ext
24365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24366 echo "${ECHO_T}$ac_header_preproc" >&6
24367
24368 # So? What about this header?
24369 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24370 yes:no: )
24371 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24372 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24374 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24375 ac_header_preproc=yes
24376 ;;
24377 no:yes:* )
24378 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24379 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24380 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24381 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24382 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24383 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24385 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24387 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24388 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24389 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24390 (
24391 cat <<\_ASBOX
24392 ## ----------------------------------------- ##
24393 ## Report this to wx-dev@lists.wxwidgets.org ##
24394 ## ----------------------------------------- ##
24395 _ASBOX
24396 ) |
24397 sed "s/^/$as_me: WARNING: /" >&2
24398 ;;
24399 esac
24400 echo "$as_me:$LINENO: checking for regex.h" >&5
24401 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24402 if test "${ac_cv_header_regex_h+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24404 else
24405 ac_cv_header_regex_h=$ac_header_preproc
24406 fi
24407 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24408 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24409
24410 fi
24411 if test $ac_cv_header_regex_h = yes; then
24412
24413
24414 for ac_func in regcomp re_search
24415 do
24416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24417 echo "$as_me:$LINENO: checking for $ac_func" >&5
24418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24419 if eval "test \"\${$as_ac_var+set}\" = set"; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24421 else
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h. */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24430 #define $ac_func innocuous_$ac_func
24431
24432 /* System header to define __stub macros and hopefully few prototypes,
24433 which can conflict with char $ac_func (); below.
24434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24435 <limits.h> exists even on freestanding compilers. */
24436
24437 #ifdef __STDC__
24438 # include <limits.h>
24439 #else
24440 # include <assert.h>
24441 #endif
24442
24443 #undef $ac_func
24444
24445 /* Override any gcc2 internal prototype to avoid an error. */
24446 #ifdef __cplusplus
24447 extern "C"
24448 {
24449 #endif
24450 /* We use char because int might match the return type of a gcc2
24451 builtin and then its argument prototype would still apply. */
24452 char $ac_func ();
24453 /* The GNU C library defines this for functions which it implements
24454 to always fail with ENOSYS. Some functions are actually named
24455 something starting with __ and the normal name is an alias. */
24456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24457 choke me
24458 #else
24459 char (*f) () = $ac_func;
24460 #endif
24461 #ifdef __cplusplus
24462 }
24463 #endif
24464
24465 int
24466 main ()
24467 {
24468 return f != $ac_func;
24469 ;
24470 return 0;
24471 }
24472 _ACEOF
24473 rm -f conftest.$ac_objext conftest$ac_exeext
24474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24475 (eval $ac_link) 2>conftest.er1
24476 ac_status=$?
24477 grep -v '^ *+' conftest.er1 >conftest.err
24478 rm -f conftest.er1
24479 cat conftest.err >&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } &&
24482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24485 ac_status=$?
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; } &&
24488 { ac_try='test -s conftest$ac_exeext'
24489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24490 (eval $ac_try) 2>&5
24491 ac_status=$?
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); }; }; then
24494 eval "$as_ac_var=yes"
24495 else
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24498
24499 eval "$as_ac_var=no"
24500 fi
24501 rm -f conftest.err conftest.$ac_objext \
24502 conftest$ac_exeext conftest.$ac_ext
24503 fi
24504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24506 if test `eval echo '${'$as_ac_var'}'` = yes; then
24507 cat >>confdefs.h <<_ACEOF
24508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24509 _ACEOF
24510
24511 fi
24512 done
24513
24514 fi
24515
24516
24517
24518 if test "x$ac_cv_func_regcomp" != "xyes"; then
24519 if test "$wxUSE_REGEX" = "sys" ; then
24520 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24521 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24522 { (exit 1); exit 1; }; }
24523 else
24524 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24525 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24526 wxUSE_REGEX=builtin
24527 fi
24528 else
24529 wxUSE_REGEX=sys
24530 cat >>confdefs.h <<\_ACEOF
24531 #define WX_NO_REGEX_ADVANCED 1
24532 _ACEOF
24533
24534 fi
24535 fi
24536 fi
24537
24538
24539 ZLIB_LINK=
24540 if test "$wxUSE_ZLIB" != "no" ; then
24541 cat >>confdefs.h <<\_ACEOF
24542 #define wxUSE_ZLIB 1
24543 _ACEOF
24544
24545
24546 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24547 if test "$USE_DARWIN" = 1; then
24548 system_zlib_h_ok="yes"
24549 else
24550 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24551 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24552 if test "${ac_cv_header_zlib_h+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24555 if test "$cross_compiling" = yes; then
24556 unset ac_cv_header_zlib_h
24557
24558 else
24559 cat >conftest.$ac_ext <<_ACEOF
24560 /* confdefs.h. */
24561 _ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565
24566 #include <zlib.h>
24567 #include <stdio.h>
24568
24569 int main()
24570 {
24571 FILE *f=fopen("conftestval", "w");
24572 if (!f) exit(1);
24573 fprintf(f, "%s",
24574 ZLIB_VERSION[0] == '1' &&
24575 (ZLIB_VERSION[2] > '1' ||
24576 (ZLIB_VERSION[2] == '1' &&
24577 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24578 exit(0);
24579 }
24580
24581 _ACEOF
24582 rm -f conftest$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584 (eval $ac_link) 2>&5
24585 ac_status=$?
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24590 ac_status=$?
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 ac_cv_header_zlib_h=`cat conftestval`
24594 else
24595 echo "$as_me: program exited with status $ac_status" >&5
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24598
24599 ( exit $ac_status )
24600 ac_cv_header_zlib_h=no
24601 fi
24602 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24603 fi
24604
24605 fi
24606 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24607 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24608 if test "${ac_cv_header_zlib_h+set}" = set; then
24609 echo "$as_me:$LINENO: checking for zlib.h" >&5
24610 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_zlib_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 fi
24614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24616 else
24617 # Is the header compilable?
24618 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24619 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 $ac_includes_default
24627 #include <zlib.h>
24628 _ACEOF
24629 rm -f conftest.$ac_objext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24631 (eval $ac_compile) 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_cxx_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_objext'
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 ac_header_compiler=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 ac_header_compiler=no
24656 fi
24657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24659 echo "${ECHO_T}$ac_header_compiler" >&6
24660
24661 # Is the header present?
24662 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24663 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 #include <zlib.h>
24671 _ACEOF
24672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24674 ac_status=$?
24675 grep -v '^ *+' conftest.er1 >conftest.err
24676 rm -f conftest.er1
24677 cat conftest.err >&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } >/dev/null; then
24680 if test -s conftest.err; then
24681 ac_cpp_err=$ac_cxx_preproc_warn_flag
24682 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24683 else
24684 ac_cpp_err=
24685 fi
24686 else
24687 ac_cpp_err=yes
24688 fi
24689 if test -z "$ac_cpp_err"; then
24690 ac_header_preproc=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 ac_header_preproc=no
24696 fi
24697 rm -f conftest.err conftest.$ac_ext
24698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24699 echo "${ECHO_T}$ac_header_preproc" >&6
24700
24701 # So? What about this header?
24702 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24703 yes:no: )
24704 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24705 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24706 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24707 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24708 ac_header_preproc=yes
24709 ;;
24710 no:yes:* )
24711 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24712 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24713 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24714 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24715 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24716 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24717 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24718 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24719 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24720 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24721 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24722 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24723 (
24724 cat <<\_ASBOX
24725 ## ----------------------------------------- ##
24726 ## Report this to wx-dev@lists.wxwidgets.org ##
24727 ## ----------------------------------------- ##
24728 _ASBOX
24729 ) |
24730 sed "s/^/$as_me: WARNING: /" >&2
24731 ;;
24732 esac
24733 echo "$as_me:$LINENO: checking for zlib.h" >&5
24734 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24735 if test "${ac_cv_header_zlib_h+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 else
24738 ac_cv_header_zlib_h=$ac_header_preproc
24739 fi
24740 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24741 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24742
24743 fi
24744
24745
24746
24747 system_zlib_h_ok=$ac_cv_header_zlib_h
24748 fi
24749
24750 if test "$system_zlib_h_ok" = "yes"; then
24751 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24752 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24753 if test "${ac_cv_lib_z_deflate+set}" = set; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 else
24756 ac_check_lib_save_LIBS=$LIBS
24757 LIBS="-lz $LIBS"
24758 cat >conftest.$ac_ext <<_ACEOF
24759 /* confdefs.h. */
24760 _ACEOF
24761 cat confdefs.h >>conftest.$ac_ext
24762 cat >>conftest.$ac_ext <<_ACEOF
24763 /* end confdefs.h. */
24764
24765 /* Override any gcc2 internal prototype to avoid an error. */
24766 #ifdef __cplusplus
24767 extern "C"
24768 #endif
24769 /* We use char because int might match the return type of a gcc2
24770 builtin and then its argument prototype would still apply. */
24771 char deflate ();
24772 int
24773 main ()
24774 {
24775 deflate ();
24776 ;
24777 return 0;
24778 }
24779 _ACEOF
24780 rm -f conftest.$ac_objext conftest$ac_exeext
24781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24782 (eval $ac_link) 2>conftest.er1
24783 ac_status=$?
24784 grep -v '^ *+' conftest.er1 >conftest.err
24785 rm -f conftest.er1
24786 cat conftest.err >&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } &&
24789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24792 ac_status=$?
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; } &&
24795 { ac_try='test -s conftest$ac_exeext'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; }; then
24801 ac_cv_lib_z_deflate=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 ac_cv_lib_z_deflate=no
24807 fi
24808 rm -f conftest.err conftest.$ac_objext \
24809 conftest$ac_exeext conftest.$ac_ext
24810 LIBS=$ac_check_lib_save_LIBS
24811 fi
24812 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24813 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24814 if test $ac_cv_lib_z_deflate = yes; then
24815 ZLIB_LINK=" -lz"
24816 fi
24817
24818 fi
24819
24820 if test "x$ZLIB_LINK" = "x" ; then
24821 if test "$wxUSE_ZLIB" = "sys" ; then
24822 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24823 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24824 { (exit 1); exit 1; }; }
24825 else
24826 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24827 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24828 wxUSE_ZLIB=builtin
24829 fi
24830 else
24831 wxUSE_ZLIB=sys
24832 fi
24833 fi
24834 fi
24835
24836
24837 PNG_LINK=
24838 if test "$wxUSE_LIBPNG" != "no" ; then
24839 cat >>confdefs.h <<\_ACEOF
24840 #define wxUSE_LIBPNG 1
24841 _ACEOF
24842
24843
24844 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24845 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24846 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24847 wxUSE_LIBPNG=sys
24848 fi
24849
24850 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24851 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24852 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24853 wxUSE_LIBPNG=builtin
24854 fi
24855
24856 if test "$wxUSE_MGL" != 1 ; then
24857 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24858 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24859 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24860 if test "${ac_cv_header_png_h+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 else
24863 if test "$cross_compiling" = yes; then
24864 unset ac_cv_header_png_h
24865
24866 else
24867 cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h. */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873
24874 #include <png.h>
24875 #include <stdio.h>
24876
24877 int main()
24878 {
24879 FILE *f=fopen("conftestval", "w");
24880 if (!f) exit(1);
24881 fprintf(f, "%s",
24882 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24883 exit(0);
24884 }
24885
24886 _ACEOF
24887 rm -f conftest$ac_exeext
24888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24889 (eval $ac_link) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24895 ac_status=$?
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; }; then
24898 ac_cv_header_png_h=`cat conftestval`
24899 else
24900 echo "$as_me: program exited with status $ac_status" >&5
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ( exit $ac_status )
24905 ac_cv_header_png_h=no
24906 fi
24907 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24908 fi
24909
24910 fi
24911 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24912 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24913 if test "${ac_cv_header_png_h+set}" = set; then
24914 echo "$as_me:$LINENO: checking for png.h" >&5
24915 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24916 if test "${ac_cv_header_png_h+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 fi
24919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24921 else
24922 # Is the header compilable?
24923 echo "$as_me:$LINENO: checking png.h usability" >&5
24924 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931 $ac_includes_default
24932 #include <png.h>
24933 _ACEOF
24934 rm -f conftest.$ac_objext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24936 (eval $ac_compile) 2>conftest.er1
24937 ac_status=$?
24938 grep -v '^ *+' conftest.er1 >conftest.err
24939 rm -f conftest.er1
24940 cat conftest.err >&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24946 ac_status=$?
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); }; } &&
24949 { ac_try='test -s conftest.$ac_objext'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24952 ac_status=$?
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; }; then
24955 ac_header_compiler=yes
24956 else
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.$ac_ext >&5
24959
24960 ac_header_compiler=no
24961 fi
24962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24964 echo "${ECHO_T}$ac_header_compiler" >&6
24965
24966 # Is the header present?
24967 echo "$as_me:$LINENO: checking png.h presence" >&5
24968 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24969 cat >conftest.$ac_ext <<_ACEOF
24970 /* confdefs.h. */
24971 _ACEOF
24972 cat confdefs.h >>conftest.$ac_ext
24973 cat >>conftest.$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24975 #include <png.h>
24976 _ACEOF
24977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24979 ac_status=$?
24980 grep -v '^ *+' conftest.er1 >conftest.err
24981 rm -f conftest.er1
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } >/dev/null; then
24985 if test -s conftest.err; then
24986 ac_cpp_err=$ac_cxx_preproc_warn_flag
24987 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24988 else
24989 ac_cpp_err=
24990 fi
24991 else
24992 ac_cpp_err=yes
24993 fi
24994 if test -z "$ac_cpp_err"; then
24995 ac_header_preproc=yes
24996 else
24997 echo "$as_me: failed program was:" >&5
24998 sed 's/^/| /' conftest.$ac_ext >&5
24999
25000 ac_header_preproc=no
25001 fi
25002 rm -f conftest.err conftest.$ac_ext
25003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25004 echo "${ECHO_T}$ac_header_preproc" >&6
25005
25006 # So? What about this header?
25007 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25008 yes:no: )
25009 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25010 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25011 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25012 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25013 ac_header_preproc=yes
25014 ;;
25015 no:yes:* )
25016 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25017 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25018 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25019 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25020 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25021 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25022 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25023 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25024 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25025 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25026 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25027 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25028 (
25029 cat <<\_ASBOX
25030 ## ----------------------------------------- ##
25031 ## Report this to wx-dev@lists.wxwidgets.org ##
25032 ## ----------------------------------------- ##
25033 _ASBOX
25034 ) |
25035 sed "s/^/$as_me: WARNING: /" >&2
25036 ;;
25037 esac
25038 echo "$as_me:$LINENO: checking for png.h" >&5
25039 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25040 if test "${ac_cv_header_png_h+set}" = set; then
25041 echo $ECHO_N "(cached) $ECHO_C" >&6
25042 else
25043 ac_cv_header_png_h=$ac_header_preproc
25044 fi
25045 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25046 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25047
25048 fi
25049
25050
25051
25052 if test "$ac_cv_header_png_h" = "yes"; then
25053 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25054 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25055 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25056 echo $ECHO_N "(cached) $ECHO_C" >&6
25057 else
25058 ac_check_lib_save_LIBS=$LIBS
25059 LIBS="-lpng -lz -lm $LIBS"
25060 cat >conftest.$ac_ext <<_ACEOF
25061 /* confdefs.h. */
25062 _ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066
25067 /* Override any gcc2 internal prototype to avoid an error. */
25068 #ifdef __cplusplus
25069 extern "C"
25070 #endif
25071 /* We use char because int might match the return type of a gcc2
25072 builtin and then its argument prototype would still apply. */
25073 char png_check_sig ();
25074 int
25075 main ()
25076 {
25077 png_check_sig ();
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest.$ac_objext conftest$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_lib_png_png_check_sig=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ac_cv_lib_png_png_check_sig=no
25109 fi
25110 rm -f conftest.err conftest.$ac_objext \
25111 conftest$ac_exeext conftest.$ac_ext
25112 LIBS=$ac_check_lib_save_LIBS
25113 fi
25114 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25115 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25116 if test $ac_cv_lib_png_png_check_sig = yes; then
25117 PNG_LINK=" -lpng -lz"
25118 fi
25119
25120 fi
25121
25122 if test "x$PNG_LINK" = "x" ; then
25123 if test "$wxUSE_LIBPNG" = "sys" ; then
25124 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25125 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25126 { (exit 1); exit 1; }; }
25127 else
25128 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25129 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25130 wxUSE_LIBPNG=builtin
25131 fi
25132 else
25133 wxUSE_LIBPNG=sys
25134 fi
25135 fi
25136 fi
25137
25138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25139 fi
25140
25141
25142 JPEG_LINK=
25143 if test "$wxUSE_LIBJPEG" != "no" ; then
25144 cat >>confdefs.h <<\_ACEOF
25145 #define wxUSE_LIBJPEG 1
25146 _ACEOF
25147
25148
25149 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25150 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25151 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25152 wxUSE_LIBJPEG=sys
25153 fi
25154
25155 if test "$wxUSE_MGL" != 1 ; then
25156 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25157 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25158 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25159 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168
25169 #undef HAVE_STDLIB_H
25170 #include <stdio.h>
25171 #include <jpeglib.h>
25172
25173 int
25174 main ()
25175 {
25176
25177
25178 ;
25179 return 0;
25180 }
25181 _ACEOF
25182 rm -f conftest.$ac_objext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25184 (eval $ac_compile) 2>conftest.er1
25185 ac_status=$?
25186 grep -v '^ *+' conftest.er1 >conftest.err
25187 rm -f conftest.er1
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } &&
25191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try='test -s conftest.$ac_objext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_header_jpeglib_h=yes
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 ac_cv_header_jpeglib_h=no
25209
25210 fi
25211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25212
25213 fi
25214
25215 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25217
25218 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25219 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25220 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25221 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224 ac_check_lib_save_LIBS=$LIBS
25225 LIBS="-ljpeg $LIBS"
25226 cat >conftest.$ac_ext <<_ACEOF
25227 /* confdefs.h. */
25228 _ACEOF
25229 cat confdefs.h >>conftest.$ac_ext
25230 cat >>conftest.$ac_ext <<_ACEOF
25231 /* end confdefs.h. */
25232
25233 /* Override any gcc2 internal prototype to avoid an error. */
25234 #ifdef __cplusplus
25235 extern "C"
25236 #endif
25237 /* We use char because int might match the return type of a gcc2
25238 builtin and then its argument prototype would still apply. */
25239 char jpeg_read_header ();
25240 int
25241 main ()
25242 {
25243 jpeg_read_header ();
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext conftest$ac_exeext
25249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25250 (eval $ac_link) 2>conftest.er1
25251 ac_status=$?
25252 grep -v '^ *+' conftest.er1 >conftest.err
25253 rm -f conftest.er1
25254 cat conftest.err >&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } &&
25257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; } &&
25263 { ac_try='test -s conftest$ac_exeext'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; }; then
25269 ac_cv_lib_jpeg_jpeg_read_header=yes
25270 else
25271 echo "$as_me: failed program was:" >&5
25272 sed 's/^/| /' conftest.$ac_ext >&5
25273
25274 ac_cv_lib_jpeg_jpeg_read_header=no
25275 fi
25276 rm -f conftest.err conftest.$ac_objext \
25277 conftest$ac_exeext conftest.$ac_ext
25278 LIBS=$ac_check_lib_save_LIBS
25279 fi
25280 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25281 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25282 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25283 JPEG_LINK=" -ljpeg"
25284 fi
25285
25286 fi
25287
25288 if test "x$JPEG_LINK" = "x" ; then
25289 if test "$wxUSE_LIBJPEG" = "sys" ; then
25290 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25291 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25292 { (exit 1); exit 1; }; }
25293 else
25294 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25295 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25296 wxUSE_LIBJPEG=builtin
25297 fi
25298 else
25299 wxUSE_LIBJPEG=sys
25300 fi
25301 fi
25302 fi
25303 fi
25304
25305
25306 TIFF_LINK=
25307 TIFF_PREREQ_LINKS=-lm
25308 if test "$wxUSE_LIBTIFF" != "no" ; then
25309 cat >>confdefs.h <<\_ACEOF
25310 #define wxUSE_LIBTIFF 1
25311 _ACEOF
25312
25313
25314 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25315 if test "$wxUSE_LIBJPEG" = "sys"; then
25316 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25317 fi
25318 if test "$wxUSE_ZLIB" = "sys"; then
25319 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25320 fi
25321 if test "${ac_cv_header_tiffio_h+set}" = set; then
25322 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25323 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25324 if test "${ac_cv_header_tiffio_h+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 fi
25327 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25328 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25329 else
25330 # Is the header compilable?
25331 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25332 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25333 cat >conftest.$ac_ext <<_ACEOF
25334 /* confdefs.h. */
25335 _ACEOF
25336 cat confdefs.h >>conftest.$ac_ext
25337 cat >>conftest.$ac_ext <<_ACEOF
25338 /* end confdefs.h. */
25339 $ac_includes_default
25340 #include <tiffio.h>
25341 _ACEOF
25342 rm -f conftest.$ac_objext
25343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25344 (eval $ac_compile) 2>conftest.er1
25345 ac_status=$?
25346 grep -v '^ *+' conftest.er1 >conftest.err
25347 rm -f conftest.er1
25348 cat conftest.err >&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try='test -s conftest.$ac_objext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25360 ac_status=$?
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_header_compiler=yes
25364 else
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25367
25368 ac_header_compiler=no
25369 fi
25370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25372 echo "${ECHO_T}$ac_header_compiler" >&6
25373
25374 # Is the header present?
25375 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25376 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25377 cat >conftest.$ac_ext <<_ACEOF
25378 /* confdefs.h. */
25379 _ACEOF
25380 cat confdefs.h >>conftest.$ac_ext
25381 cat >>conftest.$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25383 #include <tiffio.h>
25384 _ACEOF
25385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } >/dev/null; then
25393 if test -s conftest.err; then
25394 ac_cpp_err=$ac_cxx_preproc_warn_flag
25395 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25396 else
25397 ac_cpp_err=
25398 fi
25399 else
25400 ac_cpp_err=yes
25401 fi
25402 if test -z "$ac_cpp_err"; then
25403 ac_header_preproc=yes
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 ac_header_preproc=no
25409 fi
25410 rm -f conftest.err conftest.$ac_ext
25411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25412 echo "${ECHO_T}$ac_header_preproc" >&6
25413
25414 # So? What about this header?
25415 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25416 yes:no: )
25417 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25418 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25419 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25420 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25421 ac_header_preproc=yes
25422 ;;
25423 no:yes:* )
25424 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25425 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25426 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25427 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25428 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25429 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25430 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25431 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25432 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25433 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25434 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25435 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25436 (
25437 cat <<\_ASBOX
25438 ## ----------------------------------------- ##
25439 ## Report this to wx-dev@lists.wxwidgets.org ##
25440 ## ----------------------------------------- ##
25441 _ASBOX
25442 ) |
25443 sed "s/^/$as_me: WARNING: /" >&2
25444 ;;
25445 esac
25446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25448 if test "${ac_cv_header_tiffio_h+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 else
25451 ac_cv_header_tiffio_h=$ac_header_preproc
25452 fi
25453 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25454 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25455
25456 fi
25457 if test $ac_cv_header_tiffio_h = yes; then
25458
25459 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25460 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25461 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464 ac_check_lib_save_LIBS=$LIBS
25465 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25466 cat >conftest.$ac_ext <<_ACEOF
25467 /* confdefs.h. */
25468 _ACEOF
25469 cat confdefs.h >>conftest.$ac_ext
25470 cat >>conftest.$ac_ext <<_ACEOF
25471 /* end confdefs.h. */
25472
25473 /* Override any gcc2 internal prototype to avoid an error. */
25474 #ifdef __cplusplus
25475 extern "C"
25476 #endif
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25479 char TIFFError ();
25480 int
25481 main ()
25482 {
25483 TIFFError ();
25484 ;
25485 return 0;
25486 }
25487 _ACEOF
25488 rm -f conftest.$ac_objext conftest$ac_exeext
25489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25490 (eval $ac_link) 2>conftest.er1
25491 ac_status=$?
25492 grep -v '^ *+' conftest.er1 >conftest.err
25493 rm -f conftest.er1
25494 cat conftest.err >&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } &&
25497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25500 ac_status=$?
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; } &&
25503 { ac_try='test -s conftest$ac_exeext'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; }; then
25509 ac_cv_lib_tiff_TIFFError=yes
25510 else
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.$ac_ext >&5
25513
25514 ac_cv_lib_tiff_TIFFError=no
25515 fi
25516 rm -f conftest.err conftest.$ac_objext \
25517 conftest$ac_exeext conftest.$ac_ext
25518 LIBS=$ac_check_lib_save_LIBS
25519 fi
25520 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25521 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25522 if test $ac_cv_lib_tiff_TIFFError = yes; then
25523 TIFF_LINK=" -ltiff"
25524 fi
25525
25526
25527
25528 fi
25529
25530
25531
25532 if test "x$TIFF_LINK" = "x" ; then
25533 if test "$wxUSE_LIBTIFF" = "sys" ; then
25534 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25535 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25536 { (exit 1); exit 1; }; }
25537 else
25538 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25539 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25540 wxUSE_LIBTIFF=builtin
25541 fi
25542 else
25543 wxUSE_LIBTIFF=sys
25544 fi
25545 fi
25546 fi
25547
25548
25549 if test "$wxUSE_WCHAR_T" != "yes"; then
25550 if test "$wxUSE_EXPAT" != "no"; then
25551 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25552 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25553 wxUSE_EXPAT=no
25554 fi
25555 if test "$wxUSE_XML" != "no"; then
25556 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25557 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25558 wxUSE_XML=no
25559 fi
25560 fi
25561
25562 if test "$wxUSE_EXPAT" != "no"; then
25563 wxUSE_XML=yes
25564 cat >>confdefs.h <<\_ACEOF
25565 #define wxUSE_EXPAT 1
25566 _ACEOF
25567
25568 cat >>confdefs.h <<\_ACEOF
25569 #define wxUSE_XML 1
25570 _ACEOF
25571
25572
25573 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25574 if test "${ac_cv_header_expat_h+set}" = set; then
25575 echo "$as_me:$LINENO: checking for expat.h" >&5
25576 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25577 if test "${ac_cv_header_expat_h+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 fi
25580 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25581 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25582 else
25583 # Is the header compilable?
25584 echo "$as_me:$LINENO: checking expat.h usability" >&5
25585 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25586 cat >conftest.$ac_ext <<_ACEOF
25587 /* confdefs.h. */
25588 _ACEOF
25589 cat confdefs.h >>conftest.$ac_ext
25590 cat >>conftest.$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 $ac_includes_default
25593 #include <expat.h>
25594 _ACEOF
25595 rm -f conftest.$ac_objext
25596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25597 (eval $ac_compile) 2>conftest.er1
25598 ac_status=$?
25599 grep -v '^ *+' conftest.er1 >conftest.err
25600 rm -f conftest.er1
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } &&
25604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25606 (eval $ac_try) 2>&5
25607 ac_status=$?
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); }; } &&
25610 { ac_try='test -s conftest.$ac_objext'
25611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25612 (eval $ac_try) 2>&5
25613 ac_status=$?
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); }; }; then
25616 ac_header_compiler=yes
25617 else
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.$ac_ext >&5
25620
25621 ac_header_compiler=no
25622 fi
25623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25625 echo "${ECHO_T}$ac_header_compiler" >&6
25626
25627 # Is the header present?
25628 echo "$as_me:$LINENO: checking expat.h presence" >&5
25629 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25630 cat >conftest.$ac_ext <<_ACEOF
25631 /* confdefs.h. */
25632 _ACEOF
25633 cat confdefs.h >>conftest.$ac_ext
25634 cat >>conftest.$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636 #include <expat.h>
25637 _ACEOF
25638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25640 ac_status=$?
25641 grep -v '^ *+' conftest.er1 >conftest.err
25642 rm -f conftest.er1
25643 cat conftest.err >&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } >/dev/null; then
25646 if test -s conftest.err; then
25647 ac_cpp_err=$ac_cxx_preproc_warn_flag
25648 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25649 else
25650 ac_cpp_err=
25651 fi
25652 else
25653 ac_cpp_err=yes
25654 fi
25655 if test -z "$ac_cpp_err"; then
25656 ac_header_preproc=yes
25657 else
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25660
25661 ac_header_preproc=no
25662 fi
25663 rm -f conftest.err conftest.$ac_ext
25664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25665 echo "${ECHO_T}$ac_header_preproc" >&6
25666
25667 # So? What about this header?
25668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25669 yes:no: )
25670 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25671 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25672 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25673 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25674 ac_header_preproc=yes
25675 ;;
25676 no:yes:* )
25677 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25678 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25679 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25680 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25681 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25682 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25683 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25684 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25686 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25687 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25688 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25689 (
25690 cat <<\_ASBOX
25691 ## ----------------------------------------- ##
25692 ## Report this to wx-dev@lists.wxwidgets.org ##
25693 ## ----------------------------------------- ##
25694 _ASBOX
25695 ) |
25696 sed "s/^/$as_me: WARNING: /" >&2
25697 ;;
25698 esac
25699 echo "$as_me:$LINENO: checking for expat.h" >&5
25700 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25701 if test "${ac_cv_header_expat_h+set}" = set; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704 ac_cv_header_expat_h=$ac_header_preproc
25705 fi
25706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25708
25709 fi
25710 if test $ac_cv_header_expat_h = yes; then
25711 found_expat_h=1
25712 fi
25713
25714
25715 if test "x$found_expat_h" = "x1"; then
25716 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25717 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25718 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 else
25721
25722 cat >conftest.$ac_ext <<_ACEOF
25723 /* confdefs.h. */
25724 _ACEOF
25725 cat confdefs.h >>conftest.$ac_ext
25726 cat >>conftest.$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25728 #include <expat.h>
25729 int
25730 main ()
25731 {
25732
25733 ;
25734 return 0;
25735 }
25736 _ACEOF
25737 rm -f conftest.$ac_objext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25739 (eval $ac_compile) 2>conftest.er1
25740 ac_status=$?
25741 grep -v '^ *+' conftest.er1 >conftest.err
25742 rm -f conftest.er1
25743 cat conftest.err >&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; } &&
25752 { ac_try='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 wx_cv_expat_is_not_broken=yes
25759 else
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.$ac_ext >&5
25762
25763 wx_cv_expat_is_not_broken=no
25764
25765 fi
25766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25767
25768
25769 fi
25770 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25771 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25772 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25773 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25774 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25775 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778 ac_check_lib_save_LIBS=$LIBS
25779 LIBS="-lexpat $LIBS"
25780 cat >conftest.$ac_ext <<_ACEOF
25781 /* confdefs.h. */
25782 _ACEOF
25783 cat confdefs.h >>conftest.$ac_ext
25784 cat >>conftest.$ac_ext <<_ACEOF
25785 /* end confdefs.h. */
25786
25787 /* Override any gcc2 internal prototype to avoid an error. */
25788 #ifdef __cplusplus
25789 extern "C"
25790 #endif
25791 /* We use char because int might match the return type of a gcc2
25792 builtin and then its argument prototype would still apply. */
25793 char XML_ParserCreate ();
25794 int
25795 main ()
25796 {
25797 XML_ParserCreate ();
25798 ;
25799 return 0;
25800 }
25801 _ACEOF
25802 rm -f conftest.$ac_objext conftest$ac_exeext
25803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25804 (eval $ac_link) 2>conftest.er1
25805 ac_status=$?
25806 grep -v '^ *+' conftest.er1 >conftest.err
25807 rm -f conftest.er1
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25814 ac_status=$?
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; } &&
25817 { ac_try='test -s conftest$ac_exeext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25820 ac_status=$?
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_lib_expat_XML_ParserCreate=yes
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 ac_cv_lib_expat_XML_ParserCreate=no
25829 fi
25830 rm -f conftest.err conftest.$ac_objext \
25831 conftest$ac_exeext conftest.$ac_ext
25832 LIBS=$ac_check_lib_save_LIBS
25833 fi
25834 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25835 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25836 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25837 EXPAT_LINK=" -lexpat"
25838 fi
25839
25840 fi
25841 fi
25842 if test "x$EXPAT_LINK" = "x" ; then
25843 if test "$wxUSE_EXPAT" = "sys" ; then
25844 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25845 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25846 { (exit 1); exit 1; }; }
25847 else
25848 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25849 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25850 wxUSE_EXPAT=builtin
25851 fi
25852 else
25853 wxUSE_EXPAT=sys
25854 fi
25855 fi
25856 if test "$wxUSE_EXPAT" = "builtin" ; then
25857
25858
25859 subdirs="$subdirs src/expat"
25860
25861 fi
25862 fi
25863
25864
25865
25866 if test "$wxUSE_LIBMSPACK" != "no"; then
25867 if test "${ac_cv_header_mspack_h+set}" = set; then
25868 echo "$as_me:$LINENO: checking for mspack.h" >&5
25869 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25870 if test "${ac_cv_header_mspack_h+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 fi
25873 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25874 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25875 else
25876 # Is the header compilable?
25877 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25878 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25879 cat >conftest.$ac_ext <<_ACEOF
25880 /* confdefs.h. */
25881 _ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 $ac_includes_default
25886 #include <mspack.h>
25887 _ACEOF
25888 rm -f conftest.$ac_objext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25890 (eval $ac_compile) 2>conftest.er1
25891 ac_status=$?
25892 grep -v '^ *+' conftest.er1 >conftest.err
25893 rm -f conftest.er1
25894 cat conftest.err >&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } &&
25897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25900 ac_status=$?
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; } &&
25903 { ac_try='test -s conftest.$ac_objext'
25904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25905 (eval $ac_try) 2>&5
25906 ac_status=$?
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); }; }; then
25909 ac_header_compiler=yes
25910 else
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.$ac_ext >&5
25913
25914 ac_header_compiler=no
25915 fi
25916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25918 echo "${ECHO_T}$ac_header_compiler" >&6
25919
25920 # Is the header present?
25921 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25922 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25923 cat >conftest.$ac_ext <<_ACEOF
25924 /* confdefs.h. */
25925 _ACEOF
25926 cat confdefs.h >>conftest.$ac_ext
25927 cat >>conftest.$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929 #include <mspack.h>
25930 _ACEOF
25931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25933 ac_status=$?
25934 grep -v '^ *+' conftest.er1 >conftest.err
25935 rm -f conftest.er1
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } >/dev/null; then
25939 if test -s conftest.err; then
25940 ac_cpp_err=$ac_cxx_preproc_warn_flag
25941 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25942 else
25943 ac_cpp_err=
25944 fi
25945 else
25946 ac_cpp_err=yes
25947 fi
25948 if test -z "$ac_cpp_err"; then
25949 ac_header_preproc=yes
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 ac_header_preproc=no
25955 fi
25956 rm -f conftest.err conftest.$ac_ext
25957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25958 echo "${ECHO_T}$ac_header_preproc" >&6
25959
25960 # So? What about this header?
25961 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25962 yes:no: )
25963 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25964 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25966 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25967 ac_header_preproc=yes
25968 ;;
25969 no:yes:* )
25970 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25971 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25973 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25974 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25975 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25976 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25977 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25979 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25980 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25981 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25982 (
25983 cat <<\_ASBOX
25984 ## ----------------------------------------- ##
25985 ## Report this to wx-dev@lists.wxwidgets.org ##
25986 ## ----------------------------------------- ##
25987 _ASBOX
25988 ) |
25989 sed "s/^/$as_me: WARNING: /" >&2
25990 ;;
25991 esac
25992 echo "$as_me:$LINENO: checking for mspack.h" >&5
25993 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25994 if test "${ac_cv_header_mspack_h+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 ac_cv_header_mspack_h=$ac_header_preproc
25998 fi
25999 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26000 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26001
26002 fi
26003 if test $ac_cv_header_mspack_h = yes; then
26004 found_mspack_h=1
26005 fi
26006
26007
26008 if test "x$found_mspack_h" = "x1"; then
26009 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26010 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26011 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26012 echo $ECHO_N "(cached) $ECHO_C" >&6
26013 else
26014 ac_check_lib_save_LIBS=$LIBS
26015 LIBS="-lmspack $LIBS"
26016 cat >conftest.$ac_ext <<_ACEOF
26017 /* confdefs.h. */
26018 _ACEOF
26019 cat confdefs.h >>conftest.$ac_ext
26020 cat >>conftest.$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26022
26023 /* Override any gcc2 internal prototype to avoid an error. */
26024 #ifdef __cplusplus
26025 extern "C"
26026 #endif
26027 /* We use char because int might match the return type of a gcc2
26028 builtin and then its argument prototype would still apply. */
26029 char mspack_create_chm_decompressor ();
26030 int
26031 main ()
26032 {
26033 mspack_create_chm_decompressor ();
26034 ;
26035 return 0;
26036 }
26037 _ACEOF
26038 rm -f conftest.$ac_objext conftest$ac_exeext
26039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26040 (eval $ac_link) 2>conftest.er1
26041 ac_status=$?
26042 grep -v '^ *+' conftest.er1 >conftest.err
26043 rm -f conftest.er1
26044 cat conftest.err >&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } &&
26047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26049 (eval $ac_try) 2>&5
26050 ac_status=$?
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); }; } &&
26053 { ac_try='test -s conftest$ac_exeext'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26056 ac_status=$?
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26065 fi
26066 rm -f conftest.err conftest.$ac_objext \
26067 conftest$ac_exeext conftest.$ac_ext
26068 LIBS=$ac_check_lib_save_LIBS
26069 fi
26070 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26071 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26072 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26073 MSPACK_LINK=" -lmspack"
26074 fi
26075
26076 fi
26077 if test "x$MSPACK_LINK" = "x" ; then
26078 wxUSE_LIBMSPACK=no
26079 fi
26080 fi
26081
26082 if test "$wxUSE_LIBMSPACK" != "no"; then
26083 cat >>confdefs.h <<\_ACEOF
26084 #define wxUSE_LIBMSPACK 1
26085 _ACEOF
26086
26087 fi
26088
26089
26090
26091 AFMINSTALL=
26092 WIN32INSTALL=
26093
26094 TOOLKIT=
26095 TOOLKIT_INCLUDE=
26096 WIDGET_SET=
26097
26098 if test "$USE_WIN32" = 1 ; then
26099
26100 for ac_header in w32api.h
26101 do
26102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26104 echo "$as_me:$LINENO: checking for $ac_header" >&5
26105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 fi
26109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26111 else
26112 # Is the header compilable?
26113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26115 cat >conftest.$ac_ext <<_ACEOF
26116 /* confdefs.h. */
26117 _ACEOF
26118 cat confdefs.h >>conftest.$ac_ext
26119 cat >>conftest.$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26121 $ac_includes_default
26122 #include <$ac_header>
26123 _ACEOF
26124 rm -f conftest.$ac_objext
26125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26126 (eval $ac_compile) 2>conftest.er1
26127 ac_status=$?
26128 grep -v '^ *+' conftest.er1 >conftest.err
26129 rm -f conftest.er1
26130 cat conftest.err >&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } &&
26133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26136 ac_status=$?
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; } &&
26139 { ac_try='test -s conftest.$ac_objext'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26142 ac_status=$?
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; }; then
26145 ac_header_compiler=yes
26146 else
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150 ac_header_compiler=no
26151 fi
26152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26154 echo "${ECHO_T}$ac_header_compiler" >&6
26155
26156 # Is the header present?
26157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26159 cat >conftest.$ac_ext <<_ACEOF
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <$ac_header>
26166 _ACEOF
26167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } >/dev/null; then
26175 if test -s conftest.err; then
26176 ac_cpp_err=$ac_cxx_preproc_warn_flag
26177 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26178 else
26179 ac_cpp_err=
26180 fi
26181 else
26182 ac_cpp_err=yes
26183 fi
26184 if test -z "$ac_cpp_err"; then
26185 ac_header_preproc=yes
26186 else
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 ac_header_preproc=no
26191 fi
26192 rm -f conftest.err conftest.$ac_ext
26193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26194 echo "${ECHO_T}$ac_header_preproc" >&6
26195
26196 # So? What about this header?
26197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26198 yes:no: )
26199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26203 ac_header_preproc=yes
26204 ;;
26205 no:yes:* )
26206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26218 (
26219 cat <<\_ASBOX
26220 ## ----------------------------------------- ##
26221 ## Report this to wx-dev@lists.wxwidgets.org ##
26222 ## ----------------------------------------- ##
26223 _ASBOX
26224 ) |
26225 sed "s/^/$as_me: WARNING: /" >&2
26226 ;;
26227 esac
26228 echo "$as_me:$LINENO: checking for $ac_header" >&5
26229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 else
26233 eval "$as_ac_Header=\$ac_header_preproc"
26234 fi
26235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26237
26238 fi
26239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26240 cat >>confdefs.h <<_ACEOF
26241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26242 _ACEOF
26243
26244 fi
26245
26246 done
26247
26248 if test "${ac_cv_header_windows_h+set}" = set; then
26249 echo "$as_me:$LINENO: checking for windows.h" >&5
26250 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26251 if test "${ac_cv_header_windows_h+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 fi
26254 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26255 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26256 else
26257 # Is the header compilable?
26258 echo "$as_me:$LINENO: checking windows.h usability" >&5
26259 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26260 cat >conftest.$ac_ext <<_ACEOF
26261 /* confdefs.h. */
26262 _ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266 $ac_includes_default
26267 #include <windows.h>
26268 _ACEOF
26269 rm -f conftest.$ac_objext
26270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26271 (eval $ac_compile) 2>conftest.er1
26272 ac_status=$?
26273 grep -v '^ *+' conftest.er1 >conftest.err
26274 rm -f conftest.er1
26275 cat conftest.err >&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } &&
26278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26281 ac_status=$?
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26287 ac_status=$?
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26290 ac_header_compiler=yes
26291 else
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.$ac_ext >&5
26294
26295 ac_header_compiler=no
26296 fi
26297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26299 echo "${ECHO_T}$ac_header_compiler" >&6
26300
26301 # Is the header present?
26302 echo "$as_me:$LINENO: checking windows.h presence" >&5
26303 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26304 cat >conftest.$ac_ext <<_ACEOF
26305 /* confdefs.h. */
26306 _ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 #include <windows.h>
26311 _ACEOF
26312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26314 ac_status=$?
26315 grep -v '^ *+' conftest.er1 >conftest.err
26316 rm -f conftest.er1
26317 cat conftest.err >&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); } >/dev/null; then
26320 if test -s conftest.err; then
26321 ac_cpp_err=$ac_cxx_preproc_warn_flag
26322 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26323 else
26324 ac_cpp_err=
26325 fi
26326 else
26327 ac_cpp_err=yes
26328 fi
26329 if test -z "$ac_cpp_err"; then
26330 ac_header_preproc=yes
26331 else
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26334
26335 ac_header_preproc=no
26336 fi
26337 rm -f conftest.err conftest.$ac_ext
26338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26339 echo "${ECHO_T}$ac_header_preproc" >&6
26340
26341 # So? What about this header?
26342 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26343 yes:no: )
26344 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26345 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26347 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26348 ac_header_preproc=yes
26349 ;;
26350 no:yes:* )
26351 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26352 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26353 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26354 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26356 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26358 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26360 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26361 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26362 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26363 (
26364 cat <<\_ASBOX
26365 ## ----------------------------------------- ##
26366 ## Report this to wx-dev@lists.wxwidgets.org ##
26367 ## ----------------------------------------- ##
26368 _ASBOX
26369 ) |
26370 sed "s/^/$as_me: WARNING: /" >&2
26371 ;;
26372 esac
26373 echo "$as_me:$LINENO: checking for windows.h" >&5
26374 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26375 if test "${ac_cv_header_windows_h+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 else
26378 ac_cv_header_windows_h=$ac_header_preproc
26379 fi
26380 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26381 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26382
26383 fi
26384 if test $ac_cv_header_windows_h = yes; then
26385 :
26386 else
26387
26388 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26389 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26390 { (exit 1); exit 1; }; }
26391
26392 fi
26393
26394
26395
26396 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26397
26398 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26399 LIBS="$LIBS -loleacc"
26400 fi
26401
26402 case "${host}" in
26403 *-*-cygwin* )
26404 LIBS="$LIBS -lkernel32 -luser32"
26405 esac
26406
26407 if test "$wxUSE_ODBC" = "sys" ; then
26408 wxUSE_ODBC = "yes"
26409 fi
26410 if test "$wxUSE_ODBC" = "yes" ; then
26411 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26412 cat >>confdefs.h <<\_ACEOF
26413 #define wxUSE_ODBC 1
26414 _ACEOF
26415
26416 fi
26417
26418 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26419 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26420
26421 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26422
26423 WIN32INSTALL=win32install
26424 fi
26425
26426 if test "$wxUSE_GUI" = "yes"; then
26427 USE_GUI=1
26428
26429 GUI_TK_LIBRARY=
26430
26431 WXGTK12=
26432 WXGTK127=
26433 WXGTK20=
26434 WXGPE=
26435
26436 if test "$wxUSE_COCOA" = 1 ; then
26437 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26438 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26439 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26440 wxUSE_PRINTING_ARCHITECTURE=no
26441 fi
26442 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26443 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26444 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26445 wxUSE_DRAG_AND_DROP=no
26446 fi
26447 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26448 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26449 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26450 wxUSE_DRAGIMAGE=no
26451 fi
26452 fi
26453
26454 if test "$wxUSE_MSW" = 1 ; then
26455 TOOLKIT=MSW
26456 GUIDIST=MSW_DIST
26457
26458 case "${host}" in
26459 *-*-mingw32* )
26460 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26461 esac
26462 fi
26463
26464 if test "$wxUSE_GTK" = 1; then
26465 ac_ext=c
26466 ac_cpp='$CPP $CPPFLAGS'
26467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26470
26471
26472 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26473 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26474
26475 gtk_version_cached=1
26476 if test "${wx_cv_lib_gtk+set}" = set; then
26477 echo $ECHO_N "(cached) $ECHO_C" >&6
26478 else
26479
26480 gtk_version_cached=0
26481 echo "$as_me:$LINENO: result: " >&5
26482 echo "${ECHO_T}" >&6
26483
26484 GTK_MODULES=
26485 if test "$wxUSE_THREADS" = "yes"; then
26486 GTK_MODULES=gthread
26487 fi
26488
26489 wx_cv_lib_gtk=
26490 if test "x$wxGTK_VERSION" != "x1"
26491 then
26492 case "${host}" in
26493 *-*-solaris2* )
26494 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26495 enable_gtktest=no
26496 fi
26497 esac
26498
26499 # Check whether --enable-gtktest or --disable-gtktest was given.
26500 if test "${enable_gtktest+set}" = set; then
26501 enableval="$enable_gtktest"
26502
26503 else
26504 enable_gtktest=yes
26505 fi;
26506
26507 pkg_config_args=gtk+-2.0
26508 for module in . $GTK_MODULES
26509 do
26510 case "$module" in
26511 gthread)
26512 pkg_config_args="$pkg_config_args gthread-2.0"
26513 ;;
26514 esac
26515 done
26516
26517 no_gtk=""
26518
26519 # Extract the first word of "pkg-config", so it can be a program name with args.
26520 set dummy pkg-config; ac_word=$2
26521 echo "$as_me:$LINENO: checking for $ac_word" >&5
26522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26523 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 else
26526 case $PKG_CONFIG in
26527 [\\/]* | ?:[\\/]*)
26528 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26529 ;;
26530 *)
26531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26532 for as_dir in $PATH
26533 do
26534 IFS=$as_save_IFS
26535 test -z "$as_dir" && as_dir=.
26536 for ac_exec_ext in '' $ac_executable_extensions; do
26537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26538 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26540 break 2
26541 fi
26542 done
26543 done
26544
26545 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26546 ;;
26547 esac
26548 fi
26549 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26550
26551 if test -n "$PKG_CONFIG"; then
26552 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26553 echo "${ECHO_T}$PKG_CONFIG" >&6
26554 else
26555 echo "$as_me:$LINENO: result: no" >&5
26556 echo "${ECHO_T}no" >&6
26557 fi
26558
26559
26560 if test x$PKG_CONFIG != xno ; then
26561 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26562 :
26563 else
26564 echo "*** pkg-config too old; version 0.7 or better required."
26565 no_gtk=yes
26566 PKG_CONFIG=no
26567 fi
26568 else
26569 no_gtk=yes
26570 fi
26571
26572 min_gtk_version=2.0.0
26573 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26574 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26575
26576 if test x$PKG_CONFIG != xno ; then
26577 ## don't try to run the test against uninstalled libtool libs
26578 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26579 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26580 enable_gtktest=no
26581 fi
26582
26583 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26584 :
26585 else
26586 no_gtk=yes
26587 fi
26588 fi
26589
26590 if test x"$no_gtk" = x ; then
26591 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26592 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26593 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26595 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26597 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26599 if test "x$enable_gtktest" = "xyes" ; then
26600 ac_save_CFLAGS="$CFLAGS"
26601 ac_save_LIBS="$LIBS"
26602 CFLAGS="$CFLAGS $GTK_CFLAGS"
26603 LIBS="$GTK_LIBS $LIBS"
26604 rm -f conf.gtktest
26605 if test "$cross_compiling" = yes; then
26606 echo $ac_n "cross compiling; assumed OK... $ac_c"
26607 else
26608 cat >conftest.$ac_ext <<_ACEOF
26609 /* confdefs.h. */
26610 _ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614
26615 #include <gtk/gtk.h>
26616 #include <stdio.h>
26617 #include <stdlib.h>
26618
26619 int
26620 main ()
26621 {
26622 int major, minor, micro;
26623 char *tmp_version;
26624
26625 system ("touch conf.gtktest");
26626
26627 /* HP/UX 9 (%@#!) writes to sscanf strings */
26628 tmp_version = g_strdup("$min_gtk_version");
26629 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26630 printf("%s, bad version string\n", "$min_gtk_version");
26631 exit(1);
26632 }
26633
26634 if ((gtk_major_version != $gtk_config_major_version) ||
26635 (gtk_minor_version != $gtk_config_minor_version) ||
26636 (gtk_micro_version != $gtk_config_micro_version))
26637 {
26638 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26639 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26640 gtk_major_version, gtk_minor_version, gtk_micro_version);
26641 printf ("*** was found! If pkg-config was correct, then it is best\n");
26642 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26643 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26644 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26645 printf("*** required on your system.\n");
26646 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26647 printf("*** to point to the correct configuration files\n");
26648 }
26649 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26650 (gtk_minor_version != GTK_MINOR_VERSION) ||
26651 (gtk_micro_version != GTK_MICRO_VERSION))
26652 {
26653 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26654 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26655 printf("*** library (version %d.%d.%d)\n",
26656 gtk_major_version, gtk_minor_version, gtk_micro_version);
26657 }
26658 else
26659 {
26660 if ((gtk_major_version > major) ||
26661 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26662 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26663 {
26664 return 0;
26665 }
26666 else
26667 {
26668 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26669 gtk_major_version, gtk_minor_version, gtk_micro_version);
26670 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26671 major, minor, micro);
26672 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26673 printf("***\n");
26674 printf("*** If you have already installed a sufficiently new version, this error\n");
26675 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26676 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26677 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26678 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26679 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26680 printf("*** so that the correct libraries are found at run-time))\n");
26681 }
26682 }
26683 return 1;
26684 }
26685
26686 _ACEOF
26687 rm -f conftest$ac_exeext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26689 (eval $ac_link) 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26695 ac_status=$?
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; }; then
26698 :
26699 else
26700 echo "$as_me: program exited with status $ac_status" >&5
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26703
26704 ( exit $ac_status )
26705 no_gtk=yes
26706 fi
26707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26708 fi
26709 CFLAGS="$ac_save_CFLAGS"
26710 LIBS="$ac_save_LIBS"
26711 fi
26712 fi
26713 if test "x$no_gtk" = x ; then
26714 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26715 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26716 wx_cv_lib_gtk=2.0
26717 else
26718 echo "$as_me:$LINENO: result: no" >&5
26719 echo "${ECHO_T}no" >&6
26720 if test "$PKG_CONFIG" = "no" ; then
26721 echo "*** A new enough version of pkg-config was not found."
26722 echo "*** See http://pkgconfig.sourceforge.net"
26723 else
26724 if test -f conf.gtktest ; then
26725 :
26726 else
26727 echo "*** Could not run GTK+ test program, checking why..."
26728 ac_save_CFLAGS="$CFLAGS"
26729 ac_save_LIBS="$LIBS"
26730 CFLAGS="$CFLAGS $GTK_CFLAGS"
26731 LIBS="$LIBS $GTK_LIBS"
26732 cat >conftest.$ac_ext <<_ACEOF
26733 /* confdefs.h. */
26734 _ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738
26739 #include <gtk/gtk.h>
26740 #include <stdio.h>
26741
26742 int
26743 main ()
26744 {
26745 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26746 ;
26747 return 0;
26748 }
26749 _ACEOF
26750 rm -f conftest.$ac_objext conftest$ac_exeext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26752 (eval $ac_link) 2>conftest.er1
26753 ac_status=$?
26754 grep -v '^ *+' conftest.er1 >conftest.err
26755 rm -f conftest.er1
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26761 (eval $ac_try) 2>&5
26762 ac_status=$?
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); }; } &&
26765 { ac_try='test -s conftest$ac_exeext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771 echo "*** The test program compiled, but did not run. This usually means"
26772 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26773 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26774 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26775 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26776 echo "*** is required on your system"
26777 echo "***"
26778 echo "*** If you have an old version installed, it is best to remove it, although"
26779 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26780 else
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26783
26784 echo "*** The test program failed to compile or link. See the file config.log for the"
26785 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26786 fi
26787 rm -f conftest.err conftest.$ac_objext \
26788 conftest$ac_exeext conftest.$ac_ext
26789 CFLAGS="$ac_save_CFLAGS"
26790 LIBS="$ac_save_LIBS"
26791 fi
26792 fi
26793 GTK_CFLAGS=""
26794 GTK_LIBS=""
26795 :
26796 fi
26797
26798
26799 rm -f conf.gtktest
26800
26801
26802 case "${host}" in
26803 *-*-solaris2* )
26804 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26805 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26806 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26807 fi
26808 if test "$wxUSE_SHARED" != "yes"; then
26809 GTK_LIBS="$GTK_LIBS -lX11"
26810 fi
26811 esac
26812 fi
26813
26814 if test -z "$wx_cv_lib_gtk"; then
26815 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26816
26817 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26818 if test "${with_gtk_prefix+set}" = set; then
26819 withval="$with_gtk_prefix"
26820 gtk_config_prefix="$withval"
26821 else
26822 gtk_config_prefix=""
26823 fi;
26824
26825 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26826 if test "${with_gtk_exec_prefix+set}" = set; then
26827 withval="$with_gtk_exec_prefix"
26828 gtk_config_exec_prefix="$withval"
26829 else
26830 gtk_config_exec_prefix=""
26831 fi;
26832 # Check whether --enable-gtktest or --disable-gtktest was given.
26833 if test "${enable_gtktest+set}" = set; then
26834 enableval="$enable_gtktest"
26835
26836 else
26837 enable_gtktest=yes
26838 fi;
26839
26840 for module in . $GTK_MODULES
26841 do
26842 case "$module" in
26843 gthread)
26844 gtk_config_args="$gtk_config_args gthread"
26845 ;;
26846 esac
26847 done
26848
26849 if test x$gtk_config_exec_prefix != x ; then
26850 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26851 if test x${GTK_CONFIG+set} != xset ; then
26852 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26853 fi
26854 fi
26855 if test x$gtk_config_prefix != x ; then
26856 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26857 if test x${GTK_CONFIG+set} != xset ; then
26858 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26859 fi
26860 fi
26861
26862 # Extract the first word of "gtk-config", so it can be a program name with args.
26863 set dummy gtk-config; ac_word=$2
26864 echo "$as_me:$LINENO: checking for $ac_word" >&5
26865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26866 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26869 case $GTK_CONFIG in
26870 [\\/]* | ?:[\\/]*)
26871 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26872 ;;
26873 *)
26874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26875 for as_dir in $PATH
26876 do
26877 IFS=$as_save_IFS
26878 test -z "$as_dir" && as_dir=.
26879 for ac_exec_ext in '' $ac_executable_extensions; do
26880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26881 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26883 break 2
26884 fi
26885 done
26886 done
26887
26888 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26889 ;;
26890 esac
26891 fi
26892 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26893
26894 if test -n "$GTK_CONFIG"; then
26895 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26896 echo "${ECHO_T}$GTK_CONFIG" >&6
26897 else
26898 echo "$as_me:$LINENO: result: no" >&5
26899 echo "${ECHO_T}no" >&6
26900 fi
26901
26902 min_gtk_version=1.2.7
26903 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26904 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26905 no_gtk=""
26906 if test "$GTK_CONFIG" = "no" ; then
26907 no_gtk=yes
26908 else
26909 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26910 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26911 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26913 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26915 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26917 if test "x$enable_gtktest" = "xyes" ; then
26918 ac_save_CFLAGS="$CFLAGS"
26919 ac_save_LIBS="$LIBS"
26920 CFLAGS="$CFLAGS $GTK_CFLAGS"
26921 LIBS="$GTK_LIBS $LIBS"
26922 rm -f conf.gtktest
26923 if test "$cross_compiling" = yes; then
26924 echo $ac_n "cross compiling; assumed OK... $ac_c"
26925 else
26926 cat >conftest.$ac_ext <<_ACEOF
26927 /* confdefs.h. */
26928 _ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26932
26933 #include <gtk/gtk.h>
26934 #include <stdio.h>
26935 #include <stdlib.h>
26936
26937 int
26938 main ()
26939 {
26940 int major, minor, micro;
26941 char *tmp_version;
26942
26943 system ("touch conf.gtktest");
26944
26945 /* HP/UX 9 (%@#!) writes to sscanf strings */
26946 tmp_version = g_strdup("$min_gtk_version");
26947 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26948 printf("%s, bad version string\n", "$min_gtk_version");
26949 exit(1);
26950 }
26951
26952 if ((gtk_major_version != $gtk_config_major_version) ||
26953 (gtk_minor_version != $gtk_config_minor_version) ||
26954 (gtk_micro_version != $gtk_config_micro_version))
26955 {
26956 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26957 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26958 gtk_major_version, gtk_minor_version, gtk_micro_version);
26959 printf ("*** was found! If gtk-config was correct, then it is best\n");
26960 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26961 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26962 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26963 printf("*** required on your system.\n");
26964 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26965 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26966 printf("*** before re-running configure\n");
26967 }
26968 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26970 (gtk_minor_version != GTK_MINOR_VERSION) ||
26971 (gtk_micro_version != GTK_MICRO_VERSION))
26972 {
26973 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26975 printf("*** library (version %d.%d.%d)\n",
26976 gtk_major_version, gtk_minor_version, gtk_micro_version);
26977 }
26978 #endif /* defined (GTK_MAJOR_VERSION) ... */
26979 else
26980 {
26981 if ((gtk_major_version > major) ||
26982 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26983 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26984 {
26985 return 0;
26986 }
26987 else
26988 {
26989 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26990 gtk_major_version, gtk_minor_version, gtk_micro_version);
26991 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26992 major, minor, micro);
26993 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26994 printf("***\n");
26995 printf("*** If you have already installed a sufficiently new version, this error\n");
26996 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26997 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26998 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26999 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27000 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27001 printf("*** so that the correct libraries are found at run-time))\n");
27002 }
27003 }
27004 return 1;
27005 }
27006
27007 _ACEOF
27008 rm -f conftest$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010 (eval $ac_link) 2>&5
27011 ac_status=$?
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27016 ac_status=$?
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; }; then
27019 :
27020 else
27021 echo "$as_me: program exited with status $ac_status" >&5
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 ( exit $ac_status )
27026 no_gtk=yes
27027 fi
27028 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27029 fi
27030 CFLAGS="$ac_save_CFLAGS"
27031 LIBS="$ac_save_LIBS"
27032 fi
27033 fi
27034 if test "x$no_gtk" = x ; then
27035 echo "$as_me:$LINENO: result: yes" >&5
27036 echo "${ECHO_T}yes" >&6
27037 wx_cv_lib_gtk=1.2.7
27038 else
27039 echo "$as_me:$LINENO: result: no" >&5
27040 echo "${ECHO_T}no" >&6
27041 if test "$GTK_CONFIG" = "no" ; then
27042 echo "*** The gtk-config script installed by GTK could not be found"
27043 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27044 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27045 echo "*** full path to gtk-config."
27046 else
27047 if test -f conf.gtktest ; then
27048 :
27049 else
27050 echo "*** Could not run GTK test program, checking why..."
27051 CFLAGS="$CFLAGS $GTK_CFLAGS"
27052 LIBS="$LIBS $GTK_LIBS"
27053 cat >conftest.$ac_ext <<_ACEOF
27054 /* confdefs.h. */
27055 _ACEOF
27056 cat confdefs.h >>conftest.$ac_ext
27057 cat >>conftest.$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059
27060 #include <gtk/gtk.h>
27061 #include <stdio.h>
27062
27063 int
27064 main ()
27065 {
27066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27067 ;
27068 return 0;
27069 }
27070 _ACEOF
27071 rm -f conftest.$ac_objext conftest$ac_exeext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27073 (eval $ac_link) 2>conftest.er1
27074 ac_status=$?
27075 grep -v '^ *+' conftest.er1 >conftest.err
27076 rm -f conftest.er1
27077 cat conftest.err >&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } &&
27080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 echo "*** The test program compiled, but did not run. This usually means"
27093 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27094 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27095 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27096 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27097 echo "*** is required on your system"
27098 echo "***"
27099 echo "*** If you have an old version installed, it is best to remove it, although"
27100 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27101 echo "***"
27102 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27103 echo "*** came with the system with the command"
27104 echo "***"
27105 echo "*** rpm --erase --nodeps gtk gtk-devel"
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27109
27110 echo "*** The test program failed to compile or link. See the file config.log for the"
27111 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27112 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27113 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27114 fi
27115 rm -f conftest.err conftest.$ac_objext \
27116 conftest$ac_exeext conftest.$ac_ext
27117 CFLAGS="$ac_save_CFLAGS"
27118 LIBS="$ac_save_LIBS"
27119 fi
27120 fi
27121 GTK_CFLAGS=""
27122 GTK_LIBS=""
27123 :
27124 fi
27125
27126
27127 rm -f conf.gtktest
27128
27129
27130 if test -z "$wx_cv_lib_gtk"; then
27131
27132 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27133 if test "${with_gtk_prefix+set}" = set; then
27134 withval="$with_gtk_prefix"
27135 gtk_config_prefix="$withval"
27136 else
27137 gtk_config_prefix=""
27138 fi;
27139
27140 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27141 if test "${with_gtk_exec_prefix+set}" = set; then
27142 withval="$with_gtk_exec_prefix"
27143 gtk_config_exec_prefix="$withval"
27144 else
27145 gtk_config_exec_prefix=""
27146 fi;
27147 # Check whether --enable-gtktest or --disable-gtktest was given.
27148 if test "${enable_gtktest+set}" = set; then
27149 enableval="$enable_gtktest"
27150
27151 else
27152 enable_gtktest=yes
27153 fi;
27154
27155 for module in . $GTK_MODULES
27156 do
27157 case "$module" in
27158 gthread)
27159 gtk_config_args="$gtk_config_args gthread"
27160 ;;
27161 esac
27162 done
27163
27164 if test x$gtk_config_exec_prefix != x ; then
27165 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27166 if test x${GTK_CONFIG+set} != xset ; then
27167 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27168 fi
27169 fi
27170 if test x$gtk_config_prefix != x ; then
27171 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27172 if test x${GTK_CONFIG+set} != xset ; then
27173 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27174 fi
27175 fi
27176
27177 # Extract the first word of "gtk-config", so it can be a program name with args.
27178 set dummy gtk-config; ac_word=$2
27179 echo "$as_me:$LINENO: checking for $ac_word" >&5
27180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27181 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27183 else
27184 case $GTK_CONFIG in
27185 [\\/]* | ?:[\\/]*)
27186 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27187 ;;
27188 *)
27189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27190 for as_dir in $PATH
27191 do
27192 IFS=$as_save_IFS
27193 test -z "$as_dir" && as_dir=.
27194 for ac_exec_ext in '' $ac_executable_extensions; do
27195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27196 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27198 break 2
27199 fi
27200 done
27201 done
27202
27203 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27204 ;;
27205 esac
27206 fi
27207 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27208
27209 if test -n "$GTK_CONFIG"; then
27210 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27211 echo "${ECHO_T}$GTK_CONFIG" >&6
27212 else
27213 echo "$as_me:$LINENO: result: no" >&5
27214 echo "${ECHO_T}no" >&6
27215 fi
27216
27217 min_gtk_version=1.2.3
27218 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27219 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27220 no_gtk=""
27221 if test "$GTK_CONFIG" = "no" ; then
27222 no_gtk=yes
27223 else
27224 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27225 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27226 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27228 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27230 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27232 if test "x$enable_gtktest" = "xyes" ; then
27233 ac_save_CFLAGS="$CFLAGS"
27234 ac_save_LIBS="$LIBS"
27235 CFLAGS="$CFLAGS $GTK_CFLAGS"
27236 LIBS="$GTK_LIBS $LIBS"
27237 rm -f conf.gtktest
27238 if test "$cross_compiling" = yes; then
27239 echo $ac_n "cross compiling; assumed OK... $ac_c"
27240 else
27241 cat >conftest.$ac_ext <<_ACEOF
27242 /* confdefs.h. */
27243 _ACEOF
27244 cat confdefs.h >>conftest.$ac_ext
27245 cat >>conftest.$ac_ext <<_ACEOF
27246 /* end confdefs.h. */
27247
27248 #include <gtk/gtk.h>
27249 #include <stdio.h>
27250 #include <stdlib.h>
27251
27252 int
27253 main ()
27254 {
27255 int major, minor, micro;
27256 char *tmp_version;
27257
27258 system ("touch conf.gtktest");
27259
27260 /* HP/UX 9 (%@#!) writes to sscanf strings */
27261 tmp_version = g_strdup("$min_gtk_version");
27262 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27263 printf("%s, bad version string\n", "$min_gtk_version");
27264 exit(1);
27265 }
27266
27267 if ((gtk_major_version != $gtk_config_major_version) ||
27268 (gtk_minor_version != $gtk_config_minor_version) ||
27269 (gtk_micro_version != $gtk_config_micro_version))
27270 {
27271 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27272 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27273 gtk_major_version, gtk_minor_version, gtk_micro_version);
27274 printf ("*** was found! If gtk-config was correct, then it is best\n");
27275 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27276 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27277 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27278 printf("*** required on your system.\n");
27279 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27280 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27281 printf("*** before re-running configure\n");
27282 }
27283 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27284 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27285 (gtk_minor_version != GTK_MINOR_VERSION) ||
27286 (gtk_micro_version != GTK_MICRO_VERSION))
27287 {
27288 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27289 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27290 printf("*** library (version %d.%d.%d)\n",
27291 gtk_major_version, gtk_minor_version, gtk_micro_version);
27292 }
27293 #endif /* defined (GTK_MAJOR_VERSION) ... */
27294 else
27295 {
27296 if ((gtk_major_version > major) ||
27297 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27298 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27299 {
27300 return 0;
27301 }
27302 else
27303 {
27304 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27305 gtk_major_version, gtk_minor_version, gtk_micro_version);
27306 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27307 major, minor, micro);
27308 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27309 printf("***\n");
27310 printf("*** If you have already installed a sufficiently new version, this error\n");
27311 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27312 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27313 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27314 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27315 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27316 printf("*** so that the correct libraries are found at run-time))\n");
27317 }
27318 }
27319 return 1;
27320 }
27321
27322 _ACEOF
27323 rm -f conftest$ac_exeext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27325 (eval $ac_link) 2>&5
27326 ac_status=$?
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27331 ac_status=$?
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27334 :
27335 else
27336 echo "$as_me: program exited with status $ac_status" >&5
27337 echo "$as_me: failed program was:" >&5
27338 sed 's/^/| /' conftest.$ac_ext >&5
27339
27340 ( exit $ac_status )
27341 no_gtk=yes
27342 fi
27343 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27344 fi
27345 CFLAGS="$ac_save_CFLAGS"
27346 LIBS="$ac_save_LIBS"
27347 fi
27348 fi
27349 if test "x$no_gtk" = x ; then
27350 echo "$as_me:$LINENO: result: yes" >&5
27351 echo "${ECHO_T}yes" >&6
27352 wx_cv_lib_gtk=1.2.3
27353 else
27354 echo "$as_me:$LINENO: result: no" >&5
27355 echo "${ECHO_T}no" >&6
27356 if test "$GTK_CONFIG" = "no" ; then
27357 echo "*** The gtk-config script installed by GTK could not be found"
27358 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27359 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27360 echo "*** full path to gtk-config."
27361 else
27362 if test -f conf.gtktest ; then
27363 :
27364 else
27365 echo "*** Could not run GTK test program, checking why..."
27366 CFLAGS="$CFLAGS $GTK_CFLAGS"
27367 LIBS="$LIBS $GTK_LIBS"
27368 cat >conftest.$ac_ext <<_ACEOF
27369 /* confdefs.h. */
27370 _ACEOF
27371 cat confdefs.h >>conftest.$ac_ext
27372 cat >>conftest.$ac_ext <<_ACEOF
27373 /* end confdefs.h. */
27374
27375 #include <gtk/gtk.h>
27376 #include <stdio.h>
27377
27378 int
27379 main ()
27380 {
27381 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27382 ;
27383 return 0;
27384 }
27385 _ACEOF
27386 rm -f conftest.$ac_objext conftest$ac_exeext
27387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27388 (eval $ac_link) 2>conftest.er1
27389 ac_status=$?
27390 grep -v '^ *+' conftest.er1 >conftest.err
27391 rm -f conftest.er1
27392 cat conftest.err >&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try='test -s conftest$ac_exeext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27404 ac_status=$?
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407 echo "*** The test program compiled, but did not run. This usually means"
27408 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27409 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27410 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27411 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27412 echo "*** is required on your system"
27413 echo "***"
27414 echo "*** If you have an old version installed, it is best to remove it, although"
27415 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27416 echo "***"
27417 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27418 echo "*** came with the system with the command"
27419 echo "***"
27420 echo "*** rpm --erase --nodeps gtk gtk-devel"
27421 else
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27424
27425 echo "*** The test program failed to compile or link. See the file config.log for the"
27426 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27427 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27428 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27429 fi
27430 rm -f conftest.err conftest.$ac_objext \
27431 conftest$ac_exeext conftest.$ac_ext
27432 CFLAGS="$ac_save_CFLAGS"
27433 LIBS="$ac_save_LIBS"
27434 fi
27435 fi
27436 GTK_CFLAGS=""
27437 GTK_LIBS=""
27438 :
27439 fi
27440
27441
27442 rm -f conf.gtktest
27443
27444 fi
27445 fi
27446 fi
27447
27448 if test -z "$wx_cv_lib_gtk"; then
27449 wx_cv_lib_gtk=none
27450 else
27451 wx_cv_cflags_gtk=$GTK_CFLAGS
27452 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27453 fi
27454
27455
27456 fi
27457
27458
27459 if test "$gtk_version_cached" = 1; then
27460 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27461 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27462 fi
27463
27464 case "$wx_cv_lib_gtk" in
27465 2.0) WXGTK20=1
27466 TOOLKIT_VERSION=2
27467 ;;
27468 1.2.7) WXGTK127=1
27469 WXGTK12=1
27470 ;;
27471 1.2.3) WXGTK12=1
27472 ;;
27473 *) { { echo "$as_me:$LINENO: error:
27474 The development files for GTK+ were not found. For GTK+ 2, please
27475 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27476 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27477 and that the version is 1.2.3 or above. Also check that the
27478 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27479 --libs' are in the LD_LIBRARY_PATH or equivalent.
27480 " >&5
27481 echo "$as_me: error:
27482 The development files for GTK+ were not found. For GTK+ 2, please
27483 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27484 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27485 and that the version is 1.2.3 or above. Also check that the
27486 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27487 --libs' are in the LD_LIBRARY_PATH or equivalent.
27488 " >&2;}
27489 { (exit 1); exit 1; }; }
27490 ;;
27491 esac
27492
27493 if test "$WXGTK20" = 1; then
27494 save_CXXFLAGS="$CFLAGS"
27495 save_LIBS="$LIBS"
27496 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27497 LIBS="$LIBS $wx_cv_libs_gtk"
27498
27499 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27500 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27501 cat >conftest.$ac_ext <<_ACEOF
27502 /* confdefs.h. */
27503 _ACEOF
27504 cat confdefs.h >>conftest.$ac_ext
27505 cat >>conftest.$ac_ext <<_ACEOF
27506 /* end confdefs.h. */
27507
27508 #include <gtk/gtk.h>
27509
27510 int
27511 main ()
27512 {
27513
27514 void *f = gtk_icon_size_lookup;
27515
27516 ;
27517 return 0;
27518 }
27519 _ACEOF
27520 rm -f conftest.$ac_objext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27522 (eval $ac_compile) 2>conftest.er1
27523 ac_status=$?
27524 grep -v '^ *+' conftest.er1 >conftest.err
27525 rm -f conftest.er1
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27531 (eval $ac_try) 2>&5
27532 ac_status=$?
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; } &&
27535 { ac_try='test -s conftest.$ac_objext'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27538 ac_status=$?
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; }; then
27541
27542 echo "$as_me:$LINENO: result: no" >&5
27543 echo "${ECHO_T}no" >&6
27544
27545 else
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.$ac_ext >&5
27548
27549
27550 cat >>confdefs.h <<\_ACEOF
27551 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27552 _ACEOF
27553
27554 echo "$as_me:$LINENO: result: yes" >&5
27555 echo "${ECHO_T}yes" >&6
27556
27557 fi
27558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27559
27560 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27561 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27562 cat >conftest.$ac_ext <<_ACEOF
27563 /* confdefs.h. */
27564 _ACEOF
27565 cat confdefs.h >>conftest.$ac_ext
27566 cat >>conftest.$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27568
27569 #include <gtk/gtk.h>
27570
27571 int
27572 main ()
27573 {
27574
27575 #if !GTK_CHECK_VERSION(2,4,0)
27576 Not GTK+ 2.4
27577 #endif
27578
27579 ;
27580 return 0;
27581 }
27582 _ACEOF
27583 rm -f conftest.$ac_objext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27585 (eval $ac_compile) 2>conftest.er1
27586 ac_status=$?
27587 grep -v '^ *+' conftest.er1 >conftest.err
27588 rm -f conftest.er1
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27595 ac_status=$?
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; } &&
27598 { ac_try='test -s conftest.$ac_objext'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27601 ac_status=$?
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; }; then
27604
27605 cat >>confdefs.h <<\_ACEOF
27606 #define __WXGTK24__ 1
27607 _ACEOF
27608
27609 echo "$as_me:$LINENO: result: yes" >&5
27610 echo "${ECHO_T}yes" >&6
27611
27612 else
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.$ac_ext >&5
27615
27616
27617 echo "$as_me:$LINENO: result: no" >&5
27618 echo "${ECHO_T}no" >&6
27619
27620 fi
27621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27622
27623 CFLAGS="$save_CFLAGS"
27624 LIBS="$save_LIBS"
27625 else
27626 if test "$wxUSE_UNICODE" = "yes"; then
27627 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27628 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27629 wxUSE_UNICODE=no
27630 fi
27631 fi
27632
27633 ac_ext=cc
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638
27639
27640 if test "$USE_DARWIN" != 1; then
27641
27642 for ac_func in poll
27643 do
27644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27645 echo "$as_me:$LINENO: checking for $ac_func" >&5
27646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27647 if eval "test \"\${$as_ac_var+set}\" = set"; then
27648 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 else
27650 cat >conftest.$ac_ext <<_ACEOF
27651 /* confdefs.h. */
27652 _ACEOF
27653 cat confdefs.h >>conftest.$ac_ext
27654 cat >>conftest.$ac_ext <<_ACEOF
27655 /* end confdefs.h. */
27656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27658 #define $ac_func innocuous_$ac_func
27659
27660 /* System header to define __stub macros and hopefully few prototypes,
27661 which can conflict with char $ac_func (); below.
27662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27663 <limits.h> exists even on freestanding compilers. */
27664
27665 #ifdef __STDC__
27666 # include <limits.h>
27667 #else
27668 # include <assert.h>
27669 #endif
27670
27671 #undef $ac_func
27672
27673 /* Override any gcc2 internal prototype to avoid an error. */
27674 #ifdef __cplusplus
27675 extern "C"
27676 {
27677 #endif
27678 /* We use char because int might match the return type of a gcc2
27679 builtin and then its argument prototype would still apply. */
27680 char $ac_func ();
27681 /* The GNU C library defines this for functions which it implements
27682 to always fail with ENOSYS. Some functions are actually named
27683 something starting with __ and the normal name is an alias. */
27684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27685 choke me
27686 #else
27687 char (*f) () = $ac_func;
27688 #endif
27689 #ifdef __cplusplus
27690 }
27691 #endif
27692
27693 int
27694 main ()
27695 {
27696 return f != $ac_func;
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext conftest$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712 (eval $ac_try) 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; } &&
27716 { ac_try='test -s conftest$ac_exeext'
27717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 (eval $ac_try) 2>&5
27719 ac_status=$?
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); }; }; then
27722 eval "$as_ac_var=yes"
27723 else
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727 eval "$as_ac_var=no"
27728 fi
27729 rm -f conftest.err conftest.$ac_objext \
27730 conftest$ac_exeext conftest.$ac_ext
27731 fi
27732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27734 if test `eval echo '${'$as_ac_var'}'` = yes; then
27735 cat >>confdefs.h <<_ACEOF
27736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27737 _ACEOF
27738
27739 fi
27740 done
27741
27742 fi
27743
27744 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27745 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27746
27747 AFMINSTALL=afminstall
27748 TOOLKIT=GTK
27749 GUIDIST=GTK_DIST
27750
27751 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27752 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27753 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 else
27756 ac_check_lib_save_LIBS=$LIBS
27757 LIBS="-lgdk $LIBS"
27758 cat >conftest.$ac_ext <<_ACEOF
27759 /* confdefs.h. */
27760 _ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27764
27765 /* Override any gcc2 internal prototype to avoid an error. */
27766 #ifdef __cplusplus
27767 extern "C"
27768 #endif
27769 /* We use char because int might match the return type of a gcc2
27770 builtin and then its argument prototype would still apply. */
27771 char gdk_im_open ();
27772 int
27773 main ()
27774 {
27775 gdk_im_open ();
27776 ;
27777 return 0;
27778 }
27779 _ACEOF
27780 rm -f conftest.$ac_objext conftest$ac_exeext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27782 (eval $ac_link) 2>conftest.er1
27783 ac_status=$?
27784 grep -v '^ *+' conftest.er1 >conftest.err
27785 rm -f conftest.er1
27786 cat conftest.err >&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27792 ac_status=$?
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try='test -s conftest$ac_exeext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_lib_gdk_gdk_im_open=yes
27802 else
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27805
27806 ac_cv_lib_gdk_gdk_im_open=no
27807 fi
27808 rm -f conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27810 LIBS=$ac_check_lib_save_LIBS
27811 fi
27812 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27813 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27814 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27815 cat >>confdefs.h <<\_ACEOF
27816 #define HAVE_XIM 1
27817 _ACEOF
27818
27819 fi
27820
27821
27822
27823 if test "$wxUSE_GPE" = "yes"; then
27824 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27825 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27826
27827 ac_find_libraries=
27828 for ac_dir in $SEARCH_LIB;
27829 do
27830 for ac_extension in a so sl dylib dll.a; do
27831 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27832 ac_find_libraries=$ac_dir
27833 break 2
27834 fi
27835 done
27836 done
27837
27838 if test "$ac_find_libraries" != "" ; then
27839
27840 if test "$ac_find_libraries" = "default location"; then
27841 ac_path_to_link=""
27842 else
27843 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27844 result=$?
27845 if test $result = 0; then
27846 ac_path_to_link=""
27847 else
27848 ac_path_to_link=" -L$ac_find_libraries"
27849 fi
27850 fi
27851
27852 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27853 WXGPE=1
27854 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27855 echo "${ECHO_T}found in $ac_find_libraries" >&6
27856 else
27857 echo "$as_me:$LINENO: result: not found" >&5
27858 echo "${ECHO_T}not found" >&6
27859 fi
27860
27861 fi
27862 fi
27863
27864 if test "$wxUSE_MGL" = 1; then
27865 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27866 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27867 if test "x$MGL_ROOT" = x ; then
27868 echo "$as_me:$LINENO: result: not found" >&5
27869 echo "${ECHO_T}not found" >&6
27870 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27871 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27872 { (exit 1); exit 1; }; }
27873 else
27874 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27875 echo "${ECHO_T}$MGL_ROOT" >&6
27876 fi
27877
27878 echo "$as_me:$LINENO: checking for libmgl location" >&5
27879 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27880 case "${host}" in
27881 *-*-linux* )
27882 if test "x$wxUSE_SHARED" = xyes ; then
27883 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27884 else
27885 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27886 fi
27887 ;;
27888 *-pc-msdosdjgpp )
27889 mgl_os_candidates="dos32/dj2"
27890 ;;
27891 *)
27892 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27893 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27894 { (exit 1); exit 1; }; }
27895 esac
27896
27897 mgl_lib_type=""
27898 mgl_os=""
27899
27900 for mgl_os_i in $mgl_os_candidates ; do
27901 if test "x$mgl_os" = x ; then
27902 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27903 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27904 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27905 mgl_lib_type=debug
27906 mgl_os=$mgl_os_i
27907 fi
27908 fi
27909 if test "x$mgl_lib_type" = x ; then
27910 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27911 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27912 mgl_lib_type=release
27913 mgl_os=$mgl_os_i
27914 fi
27915 fi
27916 fi
27917 done
27918
27919 if test "x$mgl_os" = x ; then
27920 echo "$as_me:$LINENO: result: not found" >&5
27921 echo "${ECHO_T}not found" >&6
27922 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27923 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27924 { (exit 1); exit 1; }; }
27925 fi
27926 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27927 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27928
27929 wxUSE_UNIVERSAL="yes"
27930
27931 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27932 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27933
27934 AFMINSTALL=afminstall
27935 TOOLKIT=MGL
27936 GUIDIST=MGL_DIST
27937 fi
27938
27939 if test "$wxUSE_MICROWIN" = 1; then
27940 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27941 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27942 if test "x$MICROWINDOWS" = x ; then
27943 echo "$as_me:$LINENO: result: not found" >&5
27944 echo "${ECHO_T}not found" >&6
27945 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27946 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27947 { (exit 1); exit 1; }; }
27948 else
27949 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27950 echo "${ECHO_T}$MICROWINDOWS" >&6
27951 fi
27952
27953 if test -f $MICROWINDOWS/lib/libmwin.a; then
27954 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27955 echo "${ECHO_T}MicroWindows' libraries found." >&6
27956 else
27957 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27958 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27959 { (exit 1); exit 1; }; }
27960 fi
27961
27962 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27963 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27964
27965 wxUSE_UNIVERSAL="yes"
27966
27967 AFMINSTALL=afminstall
27968 TOOLKIT=MICROWIN
27969 GUIDIST=MICROWIN_DIST
27970
27971 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27972 fi
27973
27974 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27975
27976 if test "x$ac_path_x_has_been_run" != xyes; then
27977 echo "$as_me:$LINENO: checking for X" >&5
27978 echo $ECHO_N "checking for X... $ECHO_C" >&6
27979
27980 ac_path_x_has_been_run=yes
27981
27982 # Check whether --with-x or --without-x was given.
27983 if test "${with_x+set}" = set; then
27984 withval="$with_x"
27985
27986 fi;
27987 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27988 if test "x$with_x" = xno; then
27989 # The user explicitly disabled X.
27990 have_x=disabled
27991 else
27992 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27993 # Both variables are already set.
27994 have_x=yes
27995 else
27996 if test "${ac_cv_have_x+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999 # One or both of the vars are not set, and there is no cached value.
28000 ac_x_includes=no ac_x_libraries=no
28001 rm -fr conftest.dir
28002 if mkdir conftest.dir; then
28003 cd conftest.dir
28004 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28005 cat >Imakefile <<'_ACEOF'
28006 acfindx:
28007 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28008 _ACEOF
28009 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28011 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28013 for ac_extension in a so sl; do
28014 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28015 test -f $ac_im_libdir/libX11.$ac_extension; then
28016 ac_im_usrlibdir=$ac_im_libdir; break
28017 fi
28018 done
28019 # Screen out bogus values from the imake configuration. They are
28020 # bogus both because they are the default anyway, and because
28021 # using them would break gcc on systems where it needs fixed includes.
28022 case $ac_im_incroot in
28023 /usr/include) ;;
28024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28025 esac
28026 case $ac_im_usrlibdir in
28027 /usr/lib | /lib) ;;
28028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28029 esac
28030 fi
28031 cd ..
28032 rm -fr conftest.dir
28033 fi
28034
28035 # Standard set of common directories for X headers.
28036 # Check X11 before X11Rn because it is often a symlink to the current release.
28037 ac_x_header_dirs='
28038 /usr/X11/include
28039 /usr/X11R6/include
28040 /usr/X11R5/include
28041 /usr/X11R4/include
28042
28043 /usr/include/X11
28044 /usr/include/X11R6
28045 /usr/include/X11R5
28046 /usr/include/X11R4
28047
28048 /usr/local/X11/include
28049 /usr/local/X11R6/include
28050 /usr/local/X11R5/include
28051 /usr/local/X11R4/include
28052
28053 /usr/local/include/X11
28054 /usr/local/include/X11R6
28055 /usr/local/include/X11R5
28056 /usr/local/include/X11R4
28057
28058 /usr/X386/include
28059 /usr/x386/include
28060 /usr/XFree86/include/X11
28061
28062 /usr/include
28063 /usr/local/include
28064 /usr/unsupported/include
28065 /usr/athena/include
28066 /usr/local/x11r5/include
28067 /usr/lpp/Xamples/include
28068
28069 /usr/openwin/include
28070 /usr/openwin/share/include'
28071
28072 if test "$ac_x_includes" = no; then
28073 # Guess where to find include files, by looking for a specified header file.
28074 # First, try using that file with no special directory specified.
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 #include <X11/Intrinsic.h>
28082 _ACEOF
28083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28085 ac_status=$?
28086 grep -v '^ *+' conftest.er1 >conftest.err
28087 rm -f conftest.er1
28088 cat conftest.err >&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } >/dev/null; then
28091 if test -s conftest.err; then
28092 ac_cpp_err=$ac_cxx_preproc_warn_flag
28093 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28094 else
28095 ac_cpp_err=
28096 fi
28097 else
28098 ac_cpp_err=yes
28099 fi
28100 if test -z "$ac_cpp_err"; then
28101 # We can compile using X headers with no special include directory.
28102 ac_x_includes=
28103 else
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.$ac_ext >&5
28106
28107 for ac_dir in $ac_x_header_dirs; do
28108 if test -r "$ac_dir/X11/Intrinsic.h"; then
28109 ac_x_includes=$ac_dir
28110 break
28111 fi
28112 done
28113 fi
28114 rm -f conftest.err conftest.$ac_ext
28115 fi # $ac_x_includes = no
28116
28117 if test "$ac_x_libraries" = no; then
28118 # Check for the libraries.
28119 # See if we find them without any special options.
28120 # Don't add to $LIBS permanently.
28121 ac_save_LIBS=$LIBS
28122 LIBS="-lXt $LIBS"
28123 cat >conftest.$ac_ext <<_ACEOF
28124 /* confdefs.h. */
28125 _ACEOF
28126 cat confdefs.h >>conftest.$ac_ext
28127 cat >>conftest.$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28129 #include <X11/Intrinsic.h>
28130 int
28131 main ()
28132 {
28133 XtMalloc (0)
28134 ;
28135 return 0;
28136 }
28137 _ACEOF
28138 rm -f conftest.$ac_objext conftest$ac_exeext
28139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28140 (eval $ac_link) 2>conftest.er1
28141 ac_status=$?
28142 grep -v '^ *+' conftest.er1 >conftest.err
28143 rm -f conftest.er1
28144 cat conftest.err >&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 LIBS=$ac_save_LIBS
28160 # We can link X programs with no special library path.
28161 ac_x_libraries=
28162 else
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28165
28166 LIBS=$ac_save_LIBS
28167 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28168 do
28169 # Don't even attempt the hair of trying to link an X program!
28170 for ac_extension in a so sl; do
28171 if test -r $ac_dir/libXt.$ac_extension; then
28172 ac_x_libraries=$ac_dir
28173 break 2
28174 fi
28175 done
28176 done
28177 fi
28178 rm -f conftest.err conftest.$ac_objext \
28179 conftest$ac_exeext conftest.$ac_ext
28180 fi # $ac_x_libraries = no
28181
28182 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28183 # Didn't find X anywhere. Cache the known absence of X.
28184 ac_cv_have_x="have_x=no"
28185 else
28186 # Record where we found X for the cache.
28187 ac_cv_have_x="have_x=yes \
28188 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28189 fi
28190 fi
28191
28192 fi
28193 eval "$ac_cv_have_x"
28194 fi # $with_x != no
28195
28196 if test "$have_x" != yes; then
28197 echo "$as_me:$LINENO: result: $have_x" >&5
28198 echo "${ECHO_T}$have_x" >&6
28199 no_x=yes
28200 else
28201 # If each of the values was on the command line, it overrides each guess.
28202 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28203 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28204 # Update the cache value to reflect the command line values.
28205 ac_cv_have_x="have_x=yes \
28206 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28207 # It might be that x_includes is empty (headers are found in the
28208 # standard search path. Then output the corresponding message
28209 ac_out_x_includes=$x_includes
28210 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
28211 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28212 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28213 fi
28214
28215 fi
28216 if test "$no_x" = yes; then
28217 # Not all programs may use this symbol, but it does not hurt to define it.
28218
28219 cat >>confdefs.h <<\_ACEOF
28220 #define X_DISPLAY_MISSING 1
28221 _ACEOF
28222
28223 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28224 else
28225 if test -n "$x_includes"; then
28226 X_CFLAGS="$X_CFLAGS -I$x_includes"
28227 fi
28228
28229 # It would also be nice to do this for all -L options, not just this one.
28230 if test -n "$x_libraries"; then
28231 X_LIBS="$X_LIBS -L$x_libraries"
28232 # For Solaris; some versions of Sun CC require a space after -R and
28233 # others require no space. Words are not sufficient . . . .
28234 case `(uname -sr) 2>/dev/null` in
28235 "SunOS 5"*)
28236 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28237 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28238 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28239 cat >conftest.$ac_ext <<_ACEOF
28240 /* confdefs.h. */
28241 _ACEOF
28242 cat confdefs.h >>conftest.$ac_ext
28243 cat >>conftest.$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28245
28246 int
28247 main ()
28248 {
28249
28250 ;
28251 return 0;
28252 }
28253 _ACEOF
28254 rm -f conftest.$ac_objext conftest$ac_exeext
28255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28256 (eval $ac_link) 2>conftest.er1
28257 ac_status=$?
28258 grep -v '^ *+' conftest.er1 >conftest.err
28259 rm -f conftest.er1
28260 cat conftest.err >&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } &&
28263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265 (eval $ac_try) 2>&5
28266 ac_status=$?
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; } &&
28269 { ac_try='test -s conftest$ac_exeext'
28270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28271 (eval $ac_try) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); }; }; then
28275 ac_R_nospace=yes
28276 else
28277 echo "$as_me: failed program was:" >&5
28278 sed 's/^/| /' conftest.$ac_ext >&5
28279
28280 ac_R_nospace=no
28281 fi
28282 rm -f conftest.err conftest.$ac_objext \
28283 conftest$ac_exeext conftest.$ac_ext
28284 if test $ac_R_nospace = yes; then
28285 echo "$as_me:$LINENO: result: no" >&5
28286 echo "${ECHO_T}no" >&6
28287 X_LIBS="$X_LIBS -R$x_libraries"
28288 else
28289 LIBS="$ac_xsave_LIBS -R $x_libraries"
28290 cat >conftest.$ac_ext <<_ACEOF
28291 /* confdefs.h. */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296
28297 int
28298 main ()
28299 {
28300
28301 ;
28302 return 0;
28303 }
28304 _ACEOF
28305 rm -f conftest.$ac_objext conftest$ac_exeext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28307 (eval $ac_link) 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try='test -s conftest$ac_exeext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28323 ac_status=$?
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 ac_R_space=yes
28327 else
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.$ac_ext >&5
28330
28331 ac_R_space=no
28332 fi
28333 rm -f conftest.err conftest.$ac_objext \
28334 conftest$ac_exeext conftest.$ac_ext
28335 if test $ac_R_space = yes; then
28336 echo "$as_me:$LINENO: result: yes" >&5
28337 echo "${ECHO_T}yes" >&6
28338 X_LIBS="$X_LIBS -R $x_libraries"
28339 else
28340 echo "$as_me:$LINENO: result: neither works" >&5
28341 echo "${ECHO_T}neither works" >&6
28342 fi
28343 fi
28344 LIBS=$ac_xsave_LIBS
28345 esac
28346 fi
28347
28348 # Check for system-dependent libraries X programs must link with.
28349 # Do this before checking for the system-independent R6 libraries
28350 # (-lICE), since we may need -lsocket or whatever for X linking.
28351
28352 if test "$ISC" = yes; then
28353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28354 else
28355 # Martyn Johnson says this is needed for Ultrix, if the X
28356 # libraries were built with DECnet support. And Karl Berry says
28357 # the Alpha needs dnet_stub (dnet does not exist).
28358 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28359 cat >conftest.$ac_ext <<_ACEOF
28360 /* confdefs.h. */
28361 _ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365
28366 /* Override any gcc2 internal prototype to avoid an error. */
28367 #ifdef __cplusplus
28368 extern "C"
28369 #endif
28370 /* We use char because int might match the return type of a gcc2
28371 builtin and then its argument prototype would still apply. */
28372 char XOpenDisplay ();
28373 int
28374 main ()
28375 {
28376 XOpenDisplay ();
28377 ;
28378 return 0;
28379 }
28380 _ACEOF
28381 rm -f conftest.$ac_objext conftest$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>conftest.er1
28384 ac_status=$?
28385 grep -v '^ *+' conftest.er1 >conftest.err
28386 rm -f conftest.er1
28387 cat conftest.err >&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; } &&
28396 { ac_try='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28399 ac_status=$?
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 :
28403 else
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28406
28407 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28408 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28409 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28411 else
28412 ac_check_lib_save_LIBS=$LIBS
28413 LIBS="-ldnet $LIBS"
28414 cat >conftest.$ac_ext <<_ACEOF
28415 /* confdefs.h. */
28416 _ACEOF
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28420
28421 /* Override any gcc2 internal prototype to avoid an error. */
28422 #ifdef __cplusplus
28423 extern "C"
28424 #endif
28425 /* We use char because int might match the return type of a gcc2
28426 builtin and then its argument prototype would still apply. */
28427 char dnet_ntoa ();
28428 int
28429 main ()
28430 {
28431 dnet_ntoa ();
28432 ;
28433 return 0;
28434 }
28435 _ACEOF
28436 rm -f conftest.$ac_objext conftest$ac_exeext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28438 (eval $ac_link) 2>conftest.er1
28439 ac_status=$?
28440 grep -v '^ *+' conftest.er1 >conftest.err
28441 rm -f conftest.er1
28442 cat conftest.err >&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); } &&
28445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28448 ac_status=$?
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try='test -s conftest$ac_exeext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_lib_dnet_dnet_ntoa=yes
28458 else
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.$ac_ext >&5
28461
28462 ac_cv_lib_dnet_dnet_ntoa=no
28463 fi
28464 rm -f conftest.err conftest.$ac_objext \
28465 conftest$ac_exeext conftest.$ac_ext
28466 LIBS=$ac_check_lib_save_LIBS
28467 fi
28468 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28469 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28470 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28471 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28472 fi
28473
28474 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28475 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28476 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28477 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 else
28480 ac_check_lib_save_LIBS=$LIBS
28481 LIBS="-ldnet_stub $LIBS"
28482 cat >conftest.$ac_ext <<_ACEOF
28483 /* confdefs.h. */
28484 _ACEOF
28485 cat confdefs.h >>conftest.$ac_ext
28486 cat >>conftest.$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28488
28489 /* Override any gcc2 internal prototype to avoid an error. */
28490 #ifdef __cplusplus
28491 extern "C"
28492 #endif
28493 /* We use char because int might match the return type of a gcc2
28494 builtin and then its argument prototype would still apply. */
28495 char dnet_ntoa ();
28496 int
28497 main ()
28498 {
28499 dnet_ntoa ();
28500 ;
28501 return 0;
28502 }
28503 _ACEOF
28504 rm -f conftest.$ac_objext conftest$ac_exeext
28505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28506 (eval $ac_link) 2>conftest.er1
28507 ac_status=$?
28508 grep -v '^ *+' conftest.er1 >conftest.err
28509 rm -f conftest.er1
28510 cat conftest.err >&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; } &&
28519 { ac_try='test -s conftest$ac_exeext'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28526 else
28527 echo "$as_me: failed program was:" >&5
28528 sed 's/^/| /' conftest.$ac_ext >&5
28529
28530 ac_cv_lib_dnet_stub_dnet_ntoa=no
28531 fi
28532 rm -f conftest.err conftest.$ac_objext \
28533 conftest$ac_exeext conftest.$ac_ext
28534 LIBS=$ac_check_lib_save_LIBS
28535 fi
28536 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28540 fi
28541
28542 fi
28543 fi
28544 rm -f conftest.err conftest.$ac_objext \
28545 conftest$ac_exeext conftest.$ac_ext
28546 LIBS="$ac_xsave_LIBS"
28547
28548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28549 # to get the SysV transport functions.
28550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28551 # needs -lnsl.
28552 # The nsl library prevents programs from opening the X display
28553 # on Irix 5.2, according to T.E. Dickey.
28554 # The functions gethostbyname, getservbyname, and inet_addr are
28555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28556 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28557 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28558 if test "${ac_cv_func_gethostbyname+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 else
28561 cat >conftest.$ac_ext <<_ACEOF
28562 /* confdefs.h. */
28563 _ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28569 #define gethostbyname innocuous_gethostbyname
28570
28571 /* System header to define __stub macros and hopefully few prototypes,
28572 which can conflict with char gethostbyname (); below.
28573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28574 <limits.h> exists even on freestanding compilers. */
28575
28576 #ifdef __STDC__
28577 # include <limits.h>
28578 #else
28579 # include <assert.h>
28580 #endif
28581
28582 #undef gethostbyname
28583
28584 /* Override any gcc2 internal prototype to avoid an error. */
28585 #ifdef __cplusplus
28586 extern "C"
28587 {
28588 #endif
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28591 char gethostbyname ();
28592 /* The GNU C library defines this for functions which it implements
28593 to always fail with ENOSYS. Some functions are actually named
28594 something starting with __ and the normal name is an alias. */
28595 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28596 choke me
28597 #else
28598 char (*f) () = gethostbyname;
28599 #endif
28600 #ifdef __cplusplus
28601 }
28602 #endif
28603
28604 int
28605 main ()
28606 {
28607 return f != gethostbyname;
28608 ;
28609 return 0;
28610 }
28611 _ACEOF
28612 rm -f conftest.$ac_objext conftest$ac_exeext
28613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28614 (eval $ac_link) 2>conftest.er1
28615 ac_status=$?
28616 grep -v '^ *+' conftest.er1 >conftest.err
28617 rm -f conftest.er1
28618 cat conftest.err >&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } &&
28621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28624 ac_status=$?
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; } &&
28627 { ac_try='test -s conftest$ac_exeext'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28630 ac_status=$?
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28633 ac_cv_func_gethostbyname=yes
28634 else
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.$ac_ext >&5
28637
28638 ac_cv_func_gethostbyname=no
28639 fi
28640 rm -f conftest.err conftest.$ac_objext \
28641 conftest$ac_exeext conftest.$ac_ext
28642 fi
28643 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28644 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28645
28646 if test $ac_cv_func_gethostbyname = no; then
28647 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28648 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28649 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652 ac_check_lib_save_LIBS=$LIBS
28653 LIBS="-lnsl $LIBS"
28654 cat >conftest.$ac_ext <<_ACEOF
28655 /* confdefs.h. */
28656 _ACEOF
28657 cat confdefs.h >>conftest.$ac_ext
28658 cat >>conftest.$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28660
28661 /* Override any gcc2 internal prototype to avoid an error. */
28662 #ifdef __cplusplus
28663 extern "C"
28664 #endif
28665 /* We use char because int might match the return type of a gcc2
28666 builtin and then its argument prototype would still apply. */
28667 char gethostbyname ();
28668 int
28669 main ()
28670 {
28671 gethostbyname ();
28672 ;
28673 return 0;
28674 }
28675 _ACEOF
28676 rm -f conftest.$ac_objext conftest$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>conftest.er1
28679 ac_status=$?
28680 grep -v '^ *+' conftest.er1 >conftest.err
28681 rm -f conftest.er1
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28687 (eval $ac_try) 2>&5
28688 ac_status=$?
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; } &&
28691 { ac_try='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28694 ac_status=$?
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_lib_nsl_gethostbyname=yes
28698 else
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.$ac_ext >&5
28701
28702 ac_cv_lib_nsl_gethostbyname=no
28703 fi
28704 rm -f conftest.err conftest.$ac_objext \
28705 conftest$ac_exeext conftest.$ac_ext
28706 LIBS=$ac_check_lib_save_LIBS
28707 fi
28708 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28709 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28710 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28711 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28712 fi
28713
28714 if test $ac_cv_lib_nsl_gethostbyname = no; then
28715 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28716 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28717 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 else
28720 ac_check_lib_save_LIBS=$LIBS
28721 LIBS="-lbsd $LIBS"
28722 cat >conftest.$ac_ext <<_ACEOF
28723 /* confdefs.h. */
28724 _ACEOF
28725 cat confdefs.h >>conftest.$ac_ext
28726 cat >>conftest.$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28728
28729 /* Override any gcc2 internal prototype to avoid an error. */
28730 #ifdef __cplusplus
28731 extern "C"
28732 #endif
28733 /* We use char because int might match the return type of a gcc2
28734 builtin and then its argument prototype would still apply. */
28735 char gethostbyname ();
28736 int
28737 main ()
28738 {
28739 gethostbyname ();
28740 ;
28741 return 0;
28742 }
28743 _ACEOF
28744 rm -f conftest.$ac_objext conftest$ac_exeext
28745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28746 (eval $ac_link) 2>conftest.er1
28747 ac_status=$?
28748 grep -v '^ *+' conftest.er1 >conftest.err
28749 rm -f conftest.er1
28750 cat conftest.err >&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } &&
28753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28755 (eval $ac_try) 2>&5
28756 ac_status=$?
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); }; } &&
28759 { ac_try='test -s conftest$ac_exeext'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28762 ac_status=$?
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; }; then
28765 ac_cv_lib_bsd_gethostbyname=yes
28766 else
28767 echo "$as_me: failed program was:" >&5
28768 sed 's/^/| /' conftest.$ac_ext >&5
28769
28770 ac_cv_lib_bsd_gethostbyname=no
28771 fi
28772 rm -f conftest.err conftest.$ac_objext \
28773 conftest$ac_exeext conftest.$ac_ext
28774 LIBS=$ac_check_lib_save_LIBS
28775 fi
28776 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28777 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28778 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28780 fi
28781
28782 fi
28783 fi
28784
28785 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28786 # socket/setsockopt and other routines are undefined under SCO ODT
28787 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28788 # on later versions), says Simon Leinen: it contains gethostby*
28789 # variants that don't use the name server (or something). -lsocket
28790 # must be given before -lnsl if both are needed. We assume that
28791 # if connect needs -lnsl, so does gethostbyname.
28792 echo "$as_me:$LINENO: checking for connect" >&5
28793 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28794 if test "${ac_cv_func_connect+set}" = set; then
28795 echo $ECHO_N "(cached) $ECHO_C" >&6
28796 else
28797 cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h. */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28803 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28805 #define connect innocuous_connect
28806
28807 /* System header to define __stub macros and hopefully few prototypes,
28808 which can conflict with char connect (); below.
28809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28810 <limits.h> exists even on freestanding compilers. */
28811
28812 #ifdef __STDC__
28813 # include <limits.h>
28814 #else
28815 # include <assert.h>
28816 #endif
28817
28818 #undef connect
28819
28820 /* Override any gcc2 internal prototype to avoid an error. */
28821 #ifdef __cplusplus
28822 extern "C"
28823 {
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28827 char connect ();
28828 /* The GNU C library defines this for functions which it implements
28829 to always fail with ENOSYS. Some functions are actually named
28830 something starting with __ and the normal name is an alias. */
28831 #if defined (__stub_connect) || defined (__stub___connect)
28832 choke me
28833 #else
28834 char (*f) () = connect;
28835 #endif
28836 #ifdef __cplusplus
28837 }
28838 #endif
28839
28840 int
28841 main ()
28842 {
28843 return f != connect;
28844 ;
28845 return 0;
28846 }
28847 _ACEOF
28848 rm -f conftest.$ac_objext conftest$ac_exeext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28850 (eval $ac_link) 2>conftest.er1
28851 ac_status=$?
28852 grep -v '^ *+' conftest.er1 >conftest.err
28853 rm -f conftest.er1
28854 cat conftest.err >&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try='test -s conftest$ac_exeext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 ac_cv_func_connect=yes
28870 else
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 ac_cv_func_connect=no
28875 fi
28876 rm -f conftest.err conftest.$ac_objext \
28877 conftest$ac_exeext conftest.$ac_ext
28878 fi
28879 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28880 echo "${ECHO_T}$ac_cv_func_connect" >&6
28881
28882 if test $ac_cv_func_connect = no; then
28883 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28884 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28885 if test "${ac_cv_lib_socket_connect+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 else
28888 ac_check_lib_save_LIBS=$LIBS
28889 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28890 cat >conftest.$ac_ext <<_ACEOF
28891 /* confdefs.h. */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28896
28897 /* Override any gcc2 internal prototype to avoid an error. */
28898 #ifdef __cplusplus
28899 extern "C"
28900 #endif
28901 /* We use char because int might match the return type of a gcc2
28902 builtin and then its argument prototype would still apply. */
28903 char connect ();
28904 int
28905 main ()
28906 {
28907 connect ();
28908 ;
28909 return 0;
28910 }
28911 _ACEOF
28912 rm -f conftest.$ac_objext conftest$ac_exeext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28914 (eval $ac_link) 2>conftest.er1
28915 ac_status=$?
28916 grep -v '^ *+' conftest.er1 >conftest.err
28917 rm -f conftest.er1
28918 cat conftest.err >&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28923 (eval $ac_try) 2>&5
28924 ac_status=$?
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); }; } &&
28927 { ac_try='test -s conftest$ac_exeext'
28928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28929 (eval $ac_try) 2>&5
28930 ac_status=$?
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); }; }; then
28933 ac_cv_lib_socket_connect=yes
28934 else
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938 ac_cv_lib_socket_connect=no
28939 fi
28940 rm -f conftest.err conftest.$ac_objext \
28941 conftest$ac_exeext conftest.$ac_ext
28942 LIBS=$ac_check_lib_save_LIBS
28943 fi
28944 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28945 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28946 if test $ac_cv_lib_socket_connect = yes; then
28947 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28948 fi
28949
28950 fi
28951
28952 # Guillermo Gomez says -lposix is necessary on A/UX.
28953 echo "$as_me:$LINENO: checking for remove" >&5
28954 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28955 if test "${ac_cv_func_remove+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28957 else
28958 cat >conftest.$ac_ext <<_ACEOF
28959 /* confdefs.h. */
28960 _ACEOF
28961 cat confdefs.h >>conftest.$ac_ext
28962 cat >>conftest.$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28964 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28966 #define remove innocuous_remove
28967
28968 /* System header to define __stub macros and hopefully few prototypes,
28969 which can conflict with char remove (); below.
28970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28971 <limits.h> exists even on freestanding compilers. */
28972
28973 #ifdef __STDC__
28974 # include <limits.h>
28975 #else
28976 # include <assert.h>
28977 #endif
28978
28979 #undef remove
28980
28981 /* Override any gcc2 internal prototype to avoid an error. */
28982 #ifdef __cplusplus
28983 extern "C"
28984 {
28985 #endif
28986 /* We use char because int might match the return type of a gcc2
28987 builtin and then its argument prototype would still apply. */
28988 char remove ();
28989 /* The GNU C library defines this for functions which it implements
28990 to always fail with ENOSYS. Some functions are actually named
28991 something starting with __ and the normal name is an alias. */
28992 #if defined (__stub_remove) || defined (__stub___remove)
28993 choke me
28994 #else
28995 char (*f) () = remove;
28996 #endif
28997 #ifdef __cplusplus
28998 }
28999 #endif
29000
29001 int
29002 main ()
29003 {
29004 return f != remove;
29005 ;
29006 return 0;
29007 }
29008 _ACEOF
29009 rm -f conftest.$ac_objext conftest$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29012 ac_status=$?
29013 grep -v '^ *+' conftest.er1 >conftest.err
29014 rm -f conftest.er1
29015 cat conftest.err >&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29021 ac_status=$?
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; } &&
29024 { ac_try='test -s conftest$ac_exeext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29027 ac_status=$?
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29030 ac_cv_func_remove=yes
29031 else
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29034
29035 ac_cv_func_remove=no
29036 fi
29037 rm -f conftest.err conftest.$ac_objext \
29038 conftest$ac_exeext conftest.$ac_ext
29039 fi
29040 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29041 echo "${ECHO_T}$ac_cv_func_remove" >&6
29042
29043 if test $ac_cv_func_remove = no; then
29044 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29045 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29046 if test "${ac_cv_lib_posix_remove+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29048 else
29049 ac_check_lib_save_LIBS=$LIBS
29050 LIBS="-lposix $LIBS"
29051 cat >conftest.$ac_ext <<_ACEOF
29052 /* confdefs.h. */
29053 _ACEOF
29054 cat confdefs.h >>conftest.$ac_ext
29055 cat >>conftest.$ac_ext <<_ACEOF
29056 /* end confdefs.h. */
29057
29058 /* Override any gcc2 internal prototype to avoid an error. */
29059 #ifdef __cplusplus
29060 extern "C"
29061 #endif
29062 /* We use char because int might match the return type of a gcc2
29063 builtin and then its argument prototype would still apply. */
29064 char remove ();
29065 int
29066 main ()
29067 {
29068 remove ();
29069 ;
29070 return 0;
29071 }
29072 _ACEOF
29073 rm -f conftest.$ac_objext conftest$ac_exeext
29074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29075 (eval $ac_link) 2>conftest.er1
29076 ac_status=$?
29077 grep -v '^ *+' conftest.er1 >conftest.err
29078 rm -f conftest.er1
29079 cat conftest.err >&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } &&
29082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29085 ac_status=$?
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; } &&
29088 { ac_try='test -s conftest$ac_exeext'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29091 ac_status=$?
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29094 ac_cv_lib_posix_remove=yes
29095 else
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.$ac_ext >&5
29098
29099 ac_cv_lib_posix_remove=no
29100 fi
29101 rm -f conftest.err conftest.$ac_objext \
29102 conftest$ac_exeext conftest.$ac_ext
29103 LIBS=$ac_check_lib_save_LIBS
29104 fi
29105 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29106 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29107 if test $ac_cv_lib_posix_remove = yes; then
29108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29109 fi
29110
29111 fi
29112
29113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29114 echo "$as_me:$LINENO: checking for shmat" >&5
29115 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29116 if test "${ac_cv_func_shmat+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29127 #define shmat innocuous_shmat
29128
29129 /* System header to define __stub macros and hopefully few prototypes,
29130 which can conflict with char shmat (); below.
29131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29132 <limits.h> exists even on freestanding compilers. */
29133
29134 #ifdef __STDC__
29135 # include <limits.h>
29136 #else
29137 # include <assert.h>
29138 #endif
29139
29140 #undef shmat
29141
29142 /* Override any gcc2 internal prototype to avoid an error. */
29143 #ifdef __cplusplus
29144 extern "C"
29145 {
29146 #endif
29147 /* We use char because int might match the return type of a gcc2
29148 builtin and then its argument prototype would still apply. */
29149 char shmat ();
29150 /* The GNU C library defines this for functions which it implements
29151 to always fail with ENOSYS. Some functions are actually named
29152 something starting with __ and the normal name is an alias. */
29153 #if defined (__stub_shmat) || defined (__stub___shmat)
29154 choke me
29155 #else
29156 char (*f) () = shmat;
29157 #endif
29158 #ifdef __cplusplus
29159 }
29160 #endif
29161
29162 int
29163 main ()
29164 {
29165 return f != shmat;
29166 ;
29167 return 0;
29168 }
29169 _ACEOF
29170 rm -f conftest.$ac_objext conftest$ac_exeext
29171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29172 (eval $ac_link) 2>conftest.er1
29173 ac_status=$?
29174 grep -v '^ *+' conftest.er1 >conftest.err
29175 rm -f conftest.er1
29176 cat conftest.err >&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } &&
29179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29182 ac_status=$?
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; } &&
29185 { ac_try='test -s conftest$ac_exeext'
29186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29187 (eval $ac_try) 2>&5
29188 ac_status=$?
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); }; }; then
29191 ac_cv_func_shmat=yes
29192 else
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.$ac_ext >&5
29195
29196 ac_cv_func_shmat=no
29197 fi
29198 rm -f conftest.err conftest.$ac_objext \
29199 conftest$ac_exeext conftest.$ac_ext
29200 fi
29201 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29202 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29203
29204 if test $ac_cv_func_shmat = no; then
29205 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29206 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29207 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29208 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 else
29210 ac_check_lib_save_LIBS=$LIBS
29211 LIBS="-lipc $LIBS"
29212 cat >conftest.$ac_ext <<_ACEOF
29213 /* confdefs.h. */
29214 _ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218
29219 /* Override any gcc2 internal prototype to avoid an error. */
29220 #ifdef __cplusplus
29221 extern "C"
29222 #endif
29223 /* We use char because int might match the return type of a gcc2
29224 builtin and then its argument prototype would still apply. */
29225 char shmat ();
29226 int
29227 main ()
29228 {
29229 shmat ();
29230 ;
29231 return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 ac_cv_lib_ipc_shmat=yes
29256 else
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29259
29260 ac_cv_lib_ipc_shmat=no
29261 fi
29262 rm -f conftest.err conftest.$ac_objext \
29263 conftest$ac_exeext conftest.$ac_ext
29264 LIBS=$ac_check_lib_save_LIBS
29265 fi
29266 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29267 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29268 if test $ac_cv_lib_ipc_shmat = yes; then
29269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29270 fi
29271
29272 fi
29273 fi
29274
29275 # Check for libraries that X11R6 Xt/Xaw programs need.
29276 ac_save_LDFLAGS=$LDFLAGS
29277 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29279 # check for ICE first), but we must link in the order -lSM -lICE or
29280 # we get undefined symbols. So assume we have SM if we have ICE.
29281 # These have to be linked with before -lX11, unlike the other
29282 # libraries we check for below, so use a different variable.
29283 # John Interrante, Karl Berry
29284 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29285 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29286 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29287 echo $ECHO_N "(cached) $ECHO_C" >&6
29288 else
29289 ac_check_lib_save_LIBS=$LIBS
29290 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29291 cat >conftest.$ac_ext <<_ACEOF
29292 /* confdefs.h. */
29293 _ACEOF
29294 cat confdefs.h >>conftest.$ac_ext
29295 cat >>conftest.$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29297
29298 /* Override any gcc2 internal prototype to avoid an error. */
29299 #ifdef __cplusplus
29300 extern "C"
29301 #endif
29302 /* We use char because int might match the return type of a gcc2
29303 builtin and then its argument prototype would still apply. */
29304 char IceConnectionNumber ();
29305 int
29306 main ()
29307 {
29308 IceConnectionNumber ();
29309 ;
29310 return 0;
29311 }
29312 _ACEOF
29313 rm -f conftest.$ac_objext conftest$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315 (eval $ac_link) 2>conftest.er1
29316 ac_status=$?
29317 grep -v '^ *+' conftest.er1 >conftest.err
29318 rm -f conftest.er1
29319 cat conftest.err >&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } &&
29322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29331 ac_status=$?
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 ac_cv_lib_ICE_IceConnectionNumber=yes
29335 else
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.$ac_ext >&5
29338
29339 ac_cv_lib_ICE_IceConnectionNumber=no
29340 fi
29341 rm -f conftest.err conftest.$ac_objext \
29342 conftest$ac_exeext conftest.$ac_ext
29343 LIBS=$ac_check_lib_save_LIBS
29344 fi
29345 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29346 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29347 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29348 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29349 fi
29350
29351 LDFLAGS=$ac_save_LDFLAGS
29352
29353 fi
29354
29355
29356 if test "$no_x" = "yes"; then
29357 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29358 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29359 { (exit 1); exit 1; }; }
29360 fi
29361
29362 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29363 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29364 AFMINSTALL=afminstall
29365 COMPILED_X_PROGRAM=0
29366
29367 fi
29368
29369 if test "$wxUSE_X11" = 1; then
29370 if test "$wxUSE_NANOX" = "yes"; then
29371 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29372 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29373 if test "x$MICROWIN" = x ; then
29374 echo "$as_me:$LINENO: result: not found" >&5
29375 echo "${ECHO_T}not found" >&6
29376 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29377 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29378 { (exit 1); exit 1; }; }
29379 else
29380 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29381 echo "${ECHO_T}$MICROWIN" >&6
29382 cat >>confdefs.h <<\_ACEOF
29383 #define wxUSE_NANOX 1
29384 _ACEOF
29385
29386 fi
29387 fi
29388
29389 if test "$wxUSE_UNICODE" = "yes"; then
29390
29391 succeeded=no
29392
29393 if test -z "$PKG_CONFIG"; then
29394 # Extract the first word of "pkg-config", so it can be a program name with args.
29395 set dummy pkg-config; ac_word=$2
29396 echo "$as_me:$LINENO: checking for $ac_word" >&5
29397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 else
29401 case $PKG_CONFIG in
29402 [\\/]* | ?:[\\/]*)
29403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29404 ;;
29405 *)
29406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29407 for as_dir in $PATH
29408 do
29409 IFS=$as_save_IFS
29410 test -z "$as_dir" && as_dir=.
29411 for ac_exec_ext in '' $ac_executable_extensions; do
29412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29415 break 2
29416 fi
29417 done
29418 done
29419
29420 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29421 ;;
29422 esac
29423 fi
29424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29425
29426 if test -n "$PKG_CONFIG"; then
29427 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29428 echo "${ECHO_T}$PKG_CONFIG" >&6
29429 else
29430 echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6
29432 fi
29433
29434 fi
29435
29436 if test "$PKG_CONFIG" = "no" ; then
29437 echo "*** The pkg-config script could not be found. Make sure it is"
29438 echo "*** in your path, or set the PKG_CONFIG environment variable"
29439 echo "*** to the full path to pkg-config."
29440 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29441 else
29442 PKG_CONFIG_MIN_VERSION=0.9.0
29443 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29444 echo "$as_me:$LINENO: checking for pangox" >&5
29445 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29446
29447 if $PKG_CONFIG --exists "pangox" ; then
29448 echo "$as_me:$LINENO: result: yes" >&5
29449 echo "${ECHO_T}yes" >&6
29450 succeeded=yes
29451
29452 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29453 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29454 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29455 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29456 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29457
29458 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29459 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29460 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29461 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29462 echo "${ECHO_T}$PANGOX_LIBS" >&6
29463 else
29464 PANGOX_CFLAGS=""
29465 PANGOX_LIBS=""
29466 ## If we have a custom action on failure, don't print errors, but
29467 ## do set a variable so people can do so.
29468 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29469
29470 fi
29471
29472
29473
29474 else
29475 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29476 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29477 fi
29478 fi
29479
29480 if test $succeeded = yes; then
29481
29482 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29483 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29484
29485 else
29486
29487 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29488 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29489 { (exit 1); exit 1; }; }
29490
29491
29492 fi
29493
29494
29495 succeeded=no
29496
29497 if test -z "$PKG_CONFIG"; then
29498 # Extract the first word of "pkg-config", so it can be a program name with args.
29499 set dummy pkg-config; ac_word=$2
29500 echo "$as_me:$LINENO: checking for $ac_word" >&5
29501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29502 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 else
29505 case $PKG_CONFIG in
29506 [\\/]* | ?:[\\/]*)
29507 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29508 ;;
29509 *)
29510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29511 for as_dir in $PATH
29512 do
29513 IFS=$as_save_IFS
29514 test -z "$as_dir" && as_dir=.
29515 for ac_exec_ext in '' $ac_executable_extensions; do
29516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29517 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29519 break 2
29520 fi
29521 done
29522 done
29523
29524 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29525 ;;
29526 esac
29527 fi
29528 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29529
29530 if test -n "$PKG_CONFIG"; then
29531 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29532 echo "${ECHO_T}$PKG_CONFIG" >&6
29533 else
29534 echo "$as_me:$LINENO: result: no" >&5
29535 echo "${ECHO_T}no" >&6
29536 fi
29537
29538 fi
29539
29540 if test "$PKG_CONFIG" = "no" ; then
29541 echo "*** The pkg-config script could not be found. Make sure it is"
29542 echo "*** in your path, or set the PKG_CONFIG environment variable"
29543 echo "*** to the full path to pkg-config."
29544 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29545 else
29546 PKG_CONFIG_MIN_VERSION=0.9.0
29547 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29548 echo "$as_me:$LINENO: checking for pangoft2" >&5
29549 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29550
29551 if $PKG_CONFIG --exists "pangoft2" ; then
29552 echo "$as_me:$LINENO: result: yes" >&5
29553 echo "${ECHO_T}yes" >&6
29554 succeeded=yes
29555
29556 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29557 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29558 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
29559 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29560 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29561
29562 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29563 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29564 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
29565 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29566 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29567 else
29568 PANGOFT2_CFLAGS=""
29569 PANGOFT2_LIBS=""
29570 ## If we have a custom action on failure, don't print errors, but
29571 ## do set a variable so people can do so.
29572 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29573
29574 fi
29575
29576
29577
29578 else
29579 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29580 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29581 fi
29582 fi
29583
29584 if test $succeeded = yes; then
29585
29586 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29587 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29588
29589 else
29590
29591 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29592 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29593 wxUSE_PRINTING_ARCHITECTURE="no"
29594
29595
29596 fi
29597
29598
29599 succeeded=no
29600
29601 if test -z "$PKG_CONFIG"; then
29602 # Extract the first word of "pkg-config", so it can be a program name with args.
29603 set dummy pkg-config; ac_word=$2
29604 echo "$as_me:$LINENO: checking for $ac_word" >&5
29605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29607 echo $ECHO_N "(cached) $ECHO_C" >&6
29608 else
29609 case $PKG_CONFIG in
29610 [\\/]* | ?:[\\/]*)
29611 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29612 ;;
29613 *)
29614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29615 for as_dir in $PATH
29616 do
29617 IFS=$as_save_IFS
29618 test -z "$as_dir" && as_dir=.
29619 for ac_exec_ext in '' $ac_executable_extensions; do
29620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29621 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29623 break 2
29624 fi
29625 done
29626 done
29627
29628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29629 ;;
29630 esac
29631 fi
29632 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29633
29634 if test -n "$PKG_CONFIG"; then
29635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29636 echo "${ECHO_T}$PKG_CONFIG" >&6
29637 else
29638 echo "$as_me:$LINENO: result: no" >&5
29639 echo "${ECHO_T}no" >&6
29640 fi
29641
29642 fi
29643
29644 if test "$PKG_CONFIG" = "no" ; then
29645 echo "*** The pkg-config script could not be found. Make sure it is"
29646 echo "*** in your path, or set the PKG_CONFIG environment variable"
29647 echo "*** to the full path to pkg-config."
29648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29649 else
29650 PKG_CONFIG_MIN_VERSION=0.9.0
29651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29652 echo "$as_me:$LINENO: checking for pangoxft" >&5
29653 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29654
29655 if $PKG_CONFIG --exists "pangoxft" ; then
29656 echo "$as_me:$LINENO: result: yes" >&5
29657 echo "${ECHO_T}yes" >&6
29658 succeeded=yes
29659
29660 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29661 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29662 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
29663 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29664 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29665
29666 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29667 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29668 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
29669 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29670 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29671 else
29672 PANGOXFT_CFLAGS=""
29673 PANGOXFT_LIBS=""
29674 ## If we have a custom action on failure, don't print errors, but
29675 ## do set a variable so people can do so.
29676 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29677
29678 fi
29679
29680
29681
29682 else
29683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29685 fi
29686 fi
29687
29688 if test $succeeded = yes; then
29689
29690 cat >>confdefs.h <<\_ACEOF
29691 #define HAVE_PANGO_XFT 1
29692 _ACEOF
29693
29694 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29696
29697 else
29698
29699 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29700 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29701
29702
29703 fi
29704
29705 save_CXXFLAGS="$CXXFLAGS"
29706 save_LIBS="$LIBS"
29707 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29708 LIBS="$LIBS $PANGOX_LIBS"
29709
29710 for ac_func in pango_font_family_is_monospace
29711 do
29712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29713 echo "$as_me:$LINENO: checking for $ac_func" >&5
29714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29715 if eval "test \"\${$as_ac_var+set}\" = set"; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29717 else
29718 cat >conftest.$ac_ext <<_ACEOF
29719 /* confdefs.h. */
29720 _ACEOF
29721 cat confdefs.h >>conftest.$ac_ext
29722 cat >>conftest.$ac_ext <<_ACEOF
29723 /* end confdefs.h. */
29724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29726 #define $ac_func innocuous_$ac_func
29727
29728 /* System header to define __stub macros and hopefully few prototypes,
29729 which can conflict with char $ac_func (); below.
29730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29731 <limits.h> exists even on freestanding compilers. */
29732
29733 #ifdef __STDC__
29734 # include <limits.h>
29735 #else
29736 # include <assert.h>
29737 #endif
29738
29739 #undef $ac_func
29740
29741 /* Override any gcc2 internal prototype to avoid an error. */
29742 #ifdef __cplusplus
29743 extern "C"
29744 {
29745 #endif
29746 /* We use char because int might match the return type of a gcc2
29747 builtin and then its argument prototype would still apply. */
29748 char $ac_func ();
29749 /* The GNU C library defines this for functions which it implements
29750 to always fail with ENOSYS. Some functions are actually named
29751 something starting with __ and the normal name is an alias. */
29752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29753 choke me
29754 #else
29755 char (*f) () = $ac_func;
29756 #endif
29757 #ifdef __cplusplus
29758 }
29759 #endif
29760
29761 int
29762 main ()
29763 {
29764 return f != $ac_func;
29765 ;
29766 return 0;
29767 }
29768 _ACEOF
29769 rm -f conftest.$ac_objext conftest$ac_exeext
29770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29771 (eval $ac_link) 2>conftest.er1
29772 ac_status=$?
29773 grep -v '^ *+' conftest.er1 >conftest.err
29774 rm -f conftest.er1
29775 cat conftest.err >&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } &&
29778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 eval "$as_ac_var=yes"
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 eval "$as_ac_var=no"
29796 fi
29797 rm -f conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29799 fi
29800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29802 if test `eval echo '${'$as_ac_var'}'` = yes; then
29803 cat >>confdefs.h <<_ACEOF
29804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29805 _ACEOF
29806
29807 fi
29808 done
29809
29810 CXXFLAGS="$save_CXXFLAGS"
29811 LIBS="$save_LIBS"
29812 fi
29813
29814 wxUSE_UNIVERSAL="yes"
29815
29816 if test "$wxUSE_NANOX" = "yes"; then
29817 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29818 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"
29819 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29820 else
29821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29822 fi
29823
29824 TOOLKIT=X11
29825 GUIDIST=X11_DIST
29826 fi
29827
29828 if test "$wxUSE_MOTIF" = 1; then
29829 if test "$wxUSE_UNICODE" = "yes"; then
29830 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29831 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29832 { (exit 1); exit 1; }; }
29833 fi
29834
29835 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29836 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29837
29838 ac_find_includes=
29839 for ac_dir in $SEARCH_INCLUDE /usr/include;
29840 do
29841 if test -f "$ac_dir/Xm/Xm.h"; then
29842 ac_find_includes=$ac_dir
29843 break
29844 fi
29845 done
29846
29847 if test "$ac_find_includes" != "" ; then
29848 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29849 echo "${ECHO_T}found in $ac_find_includes" >&6
29850
29851 if test "x$ac_find_includes" = "x/usr/include"; then
29852 ac_path_to_include=""
29853 else
29854 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29855 result=$?
29856 if test $result = 0; then
29857 ac_path_to_include=""
29858 else
29859 ac_path_to_include=" -I$ac_find_includes"
29860 fi
29861 fi
29862
29863 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29864 else
29865 save_CXXFLAGS=$CXXFLAGS
29866 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
29867
29868 cat >conftest.$ac_ext <<_ACEOF
29869 /* confdefs.h. */
29870 _ACEOF
29871 cat confdefs.h >>conftest.$ac_ext
29872 cat >>conftest.$ac_ext <<_ACEOF
29873 /* end confdefs.h. */
29874
29875 #include <Xm/Xm.h>
29876
29877 int
29878 main ()
29879 {
29880
29881 int version;
29882 version = xmUseVersion;
29883
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 rm -f conftest.$ac_objext
29889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29890 (eval $ac_compile) 2>conftest.er1
29891 ac_status=$?
29892 grep -v '^ *+' conftest.er1 >conftest.err
29893 rm -f conftest.er1
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } &&
29897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; } &&
29903 { ac_try='test -s conftest.$ac_objext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909
29910 echo "$as_me:$LINENO: result: found in default search path" >&5
29911 echo "${ECHO_T}found in default search path" >&6
29912 COMPILED_X_PROGRAM=1
29913
29914 else
29915 echo "$as_me: failed program was:" >&5
29916 sed 's/^/| /' conftest.$ac_ext >&5
29917
29918
29919 echo "$as_me:$LINENO: result: no" >&5
29920 echo "${ECHO_T}no" >&6
29921 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29922 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29923 { (exit 1); exit 1; }; }
29924
29925
29926 fi
29927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29928
29929 CXXFLAGS=$save_CXXFLAGS
29930 fi
29931
29932
29933 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29934 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29935
29936 ac_find_libraries=
29937 for ac_dir in $SEARCH_LIB;
29938 do
29939 for ac_extension in a so sl dylib dll.a; do
29940 if test -f "$ac_dir/libXm.$ac_extension"; then
29941 ac_find_libraries=$ac_dir
29942 break 2
29943 fi
29944 done
29945 done
29946
29947
29948 if test "x$ac_find_libraries" != "x" ; then
29949 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29950 echo "${ECHO_T}found in $ac_find_libraries" >&6
29951
29952
29953 if test "$ac_find_libraries" = "default location"; then
29954 ac_path_to_link=""
29955 else
29956 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29957 result=$?
29958 if test $result = 0; then
29959 ac_path_to_link=""
29960 else
29961 ac_path_to_link=" -L$ac_find_libraries"
29962 fi
29963 fi
29964
29965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29966 else
29967 save_CXXFLAGS=$CXXFLAGS
29968 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
29969 save_LIBS="$LIBS"
29970 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29971
29972 cat >conftest.$ac_ext <<_ACEOF
29973 /* confdefs.h. */
29974 _ACEOF
29975 cat confdefs.h >>conftest.$ac_ext
29976 cat >>conftest.$ac_ext <<_ACEOF
29977 /* end confdefs.h. */
29978
29979 #include <Xm/Xm.h>
29980
29981 int
29982 main ()
29983 {
29984
29985 int version;
29986 version = xmUseVersion;
29987
29988 ;
29989 return 0;
29990 }
29991 _ACEOF
29992 rm -f conftest.$ac_objext conftest$ac_exeext
29993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29994 (eval $ac_link) 2>conftest.er1
29995 ac_status=$?
29996 grep -v '^ *+' conftest.er1 >conftest.err
29997 rm -f conftest.er1
29998 cat conftest.err >&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); } &&
30001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; } &&
30007 { ac_try='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30010 ac_status=$?
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013
30014 echo "$as_me:$LINENO: result: found in default search path" >&5
30015 echo "${ECHO_T}found in default search path" >&6
30016 COMPILED_X_PROGRAM=1
30017
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30021
30022
30023 echo "$as_me:$LINENO: result: no" >&5
30024 echo "${ECHO_T}no" >&6
30025 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30026 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30027 { (exit 1); exit 1; }; }
30028
30029
30030 fi
30031 rm -f conftest.err conftest.$ac_objext \
30032 conftest$ac_exeext conftest.$ac_ext
30033
30034 CXXFLAGS=$save_CXXFLAGS
30035 LIBS="$save_LIBS"
30036 fi
30037
30038 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30039 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30040 libp_link=""
30041 libsm_ice_link=""
30042 libs_found=0
30043 for libp in "" " -lXp"; do
30044 if test "$libs_found" = "0"; then
30045 for libsm_ice in "" " -lSM -lICE"; do
30046 if test "$libs_found" = "0"; then
30047 save_LIBS="$LIBS"
30048 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30049 save_CXXFLAGS=$CXXFLAGS
30050 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30051
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h. */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058
30059 #include <Xm/Xm.h>
30060 #include <Xm/List.h>
30061
30062 int
30063 main ()
30064 {
30065
30066 XmString string = NULL;
30067 Widget w = NULL;
30068 int position = 0;
30069 XmListAddItem(w, string, position);
30070
30071 ;
30072 return 0;
30073 }
30074 _ACEOF
30075 rm -f conftest.$ac_objext conftest$ac_exeext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30077 (eval $ac_link) 2>conftest.er1
30078 ac_status=$?
30079 grep -v '^ *+' conftest.er1 >conftest.err
30080 rm -f conftest.er1
30081 cat conftest.err >&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } &&
30084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30087 ac_status=$?
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; } &&
30090 { ac_try='test -s conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30093 ac_status=$?
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30096
30097 libp_link="$libp"
30098 libsm_ice_link="$libsm_ice"
30099 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30100 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30101 libs_found=1
30102
30103 else
30104 echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.$ac_ext >&5
30106
30107
30108
30109 fi
30110 rm -f conftest.err conftest.$ac_objext \
30111 conftest$ac_exeext conftest.$ac_ext
30112
30113 LIBS="$save_LIBS"
30114 CXXFLAGS=$save_CXXFLAGS
30115 fi
30116 done
30117 fi
30118 done
30119
30120 if test "$libs_found" = "0"; then
30121 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30122 echo "${ECHO_T}can't find the right libraries" >&6
30123 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30124 echo "$as_me: error: can't link a simple motif program" >&2;}
30125 { (exit 1); exit 1; }; }
30126 fi
30127
30128 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30129 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30130 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30131 echo $ECHO_N "(cached) $ECHO_C" >&6
30132 else
30133 ac_check_lib_save_LIBS=$LIBS
30134 LIBS="-lSgm $LIBS"
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141
30142 /* Override any gcc2 internal prototype to avoid an error. */
30143 #ifdef __cplusplus
30144 extern "C"
30145 #endif
30146 /* We use char because int might match the return type of a gcc2
30147 builtin and then its argument prototype would still apply. */
30148 char SgCreateList ();
30149 int
30150 main ()
30151 {
30152 SgCreateList ();
30153 ;
30154 return 0;
30155 }
30156 _ACEOF
30157 rm -f conftest.$ac_objext conftest$ac_exeext
30158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30159 (eval $ac_link) 2>conftest.er1
30160 ac_status=$?
30161 grep -v '^ *+' conftest.er1 >conftest.err
30162 rm -f conftest.er1
30163 cat conftest.err >&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; } &&
30172 { ac_try='test -s conftest$ac_exeext'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30175 ac_status=$?
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; }; then
30178 ac_cv_lib_Sgm_SgCreateList=yes
30179 else
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30182
30183 ac_cv_lib_Sgm_SgCreateList=no
30184 fi
30185 rm -f conftest.err conftest.$ac_objext \
30186 conftest$ac_exeext conftest.$ac_ext
30187 LIBS=$ac_check_lib_save_LIBS
30188 fi
30189 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30190 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30191 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30192 libsgm_link=" -lSgm"
30193 fi
30194
30195
30196 save_CXXFLAGS=$CXXFLAGS
30197 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30198
30199 echo "$as_me:$LINENO: checking for Motif 2" >&5
30200 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30201 if test "${wx_cv_lib_motif2+set}" = set; then
30202 echo $ECHO_N "(cached) $ECHO_C" >&6
30203 else
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210
30211 #include <Xm/Xm.h>
30212
30213 int
30214 main ()
30215 {
30216
30217 #if XmVersion < 2000
30218 Not Motif 2
30219 #endif
30220
30221 ;
30222 return 0;
30223 }
30224 _ACEOF
30225 rm -f conftest.$ac_objext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30227 (eval $ac_compile) 2>conftest.er1
30228 ac_status=$?
30229 grep -v '^ *+' conftest.er1 >conftest.err
30230 rm -f conftest.er1
30231 cat conftest.err >&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } &&
30234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30237 ac_status=$?
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; } &&
30240 { ac_try='test -s conftest.$ac_objext'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30243 ac_status=$?
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30246 wx_cv_lib_motif2="yes"
30247 else
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30250
30251 wx_cv_lib_motif2="no"
30252 fi
30253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30254 fi
30255 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30256 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30257 if test "$wx_cv_lib_motif2" = "yes"; then
30258 cat >>confdefs.h <<\_ACEOF
30259 #define __WXMOTIF20__ 1
30260 _ACEOF
30261
30262 else
30263 cat >>confdefs.h <<\_ACEOF
30264 #define __WXMOTIF20__ 0
30265 _ACEOF
30266
30267 fi
30268
30269 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30270 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30271 if test "${wx_cv_lib_lesstif+set}" = set; then
30272 echo $ECHO_N "(cached) $ECHO_C" >&6
30273 else
30274 cat >conftest.$ac_ext <<_ACEOF
30275 /* confdefs.h. */
30276 _ACEOF
30277 cat confdefs.h >>conftest.$ac_ext
30278 cat >>conftest.$ac_ext <<_ACEOF
30279 /* end confdefs.h. */
30280
30281 #include <Xm/Xm.h>
30282
30283 int
30284 main ()
30285 {
30286
30287 #if !defined(LesstifVersion) || LesstifVersion <= 0
30288 Not Lesstif
30289 #endif
30290
30291 ;
30292 return 0;
30293 }
30294 _ACEOF
30295 rm -f conftest.$ac_objext
30296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30297 (eval $ac_compile) 2>conftest.er1
30298 ac_status=$?
30299 grep -v '^ *+' conftest.er1 >conftest.err
30300 rm -f conftest.er1
30301 cat conftest.err >&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); } &&
30304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30307 ac_status=$?
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; } &&
30310 { ac_try='test -s conftest.$ac_objext'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30313 ac_status=$?
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; }; then
30316 wx_cv_lib_lesstif="yes"
30317 else
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30320
30321 wx_cv_lib_lesstif="no"
30322 fi
30323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30324
30325 fi
30326 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30327 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30328 if test "$wx_cv_lib_lesstif" = "yes"; then
30329 cat >>confdefs.h <<\_ACEOF
30330 #define __WXLESSTIF__ 1
30331 _ACEOF
30332
30333 else
30334 cat >>confdefs.h <<\_ACEOF
30335 #define __WXLESSTIF__ 0
30336 _ACEOF
30337
30338 fi
30339
30340 CXXFLAGS=$save_CXXFLAGS
30341
30342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30343 TOOLKIT=MOTIF
30344 GUIDIST=MOTIF_DIST
30345 fi
30346
30347 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30348 if test "$wxUSE_LIBXPM" = "sys"; then
30349 echo "$as_me:$LINENO: checking for Xpm library" >&5
30350 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30351
30352 ac_find_libraries=
30353 for ac_dir in $SEARCH_LIB;
30354 do
30355 for ac_extension in a so sl dylib dll.a; do
30356 if test -f "$ac_dir/libXpm.$ac_extension"; then
30357 ac_find_libraries=$ac_dir
30358 break 2
30359 fi
30360 done
30361 done
30362
30363 if test "$ac_find_libraries" != "" ; then
30364
30365 if test "$ac_find_libraries" = "default location"; then
30366 ac_path_to_link=""
30367 else
30368 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30369 result=$?
30370 if test $result = 0; then
30371 ac_path_to_link=""
30372 else
30373 ac_path_to_link=" -L$ac_find_libraries"
30374 fi
30375 fi
30376
30377 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30378 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30379 echo "${ECHO_T}found in $ac_find_libraries" >&6
30380
30381 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30382 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30383 if test "${wx_cv_x11_xpm_h+set}" = set; then
30384 echo $ECHO_N "(cached) $ECHO_C" >&6
30385 else
30386
30387 save_CXXFLAGS=$CXXFLAGS
30388 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30389
30390 cat >conftest.$ac_ext <<_ACEOF
30391 /* confdefs.h. */
30392 _ACEOF
30393 cat confdefs.h >>conftest.$ac_ext
30394 cat >>conftest.$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30396
30397 #include <X11/xpm.h>
30398
30399 int
30400 main ()
30401 {
30402
30403 int version;
30404 version = XpmLibraryVersion();
30405
30406 ;
30407 return 0;
30408 }
30409 _ACEOF
30410 rm -f conftest.$ac_objext
30411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30412 (eval $ac_compile) 2>conftest.er1
30413 ac_status=$?
30414 grep -v '^ *+' conftest.er1 >conftest.err
30415 rm -f conftest.er1
30416 cat conftest.err >&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } &&
30419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30422 ac_status=$?
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; } &&
30425 { ac_try='test -s conftest.$ac_objext'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; }; then
30431 wx_cv_x11_xpm_h=yes
30432 else
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30435
30436 wx_cv_x11_xpm_h=no
30437
30438 fi
30439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30440
30441 CXXFLAGS=$save_CXXFLAGS
30442
30443
30444 fi
30445 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30446 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30447
30448 if test $wx_cv_x11_xpm_h = "yes"; then
30449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30450 cat >>confdefs.h <<\_ACEOF
30451 #define wxHAVE_LIB_XPM 1
30452 _ACEOF
30453
30454 else
30455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30456 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30457 fi
30458 fi
30459
30460 fi
30461
30462 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30463 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30464 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30466 else
30467 ac_check_lib_save_LIBS=$LIBS
30468 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30469 cat >conftest.$ac_ext <<_ACEOF
30470 /* confdefs.h. */
30471 _ACEOF
30472 cat confdefs.h >>conftest.$ac_ext
30473 cat >>conftest.$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30475
30476 /* Override any gcc2 internal prototype to avoid an error. */
30477 #ifdef __cplusplus
30478 extern "C"
30479 #endif
30480 /* We use char because int might match the return type of a gcc2
30481 builtin and then its argument prototype would still apply. */
30482 char XShapeQueryExtension ();
30483 int
30484 main ()
30485 {
30486 XShapeQueryExtension ();
30487 ;
30488 return 0;
30489 }
30490 _ACEOF
30491 rm -f conftest.$ac_objext conftest$ac_exeext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30493 (eval $ac_link) 2>conftest.er1
30494 ac_status=$?
30495 grep -v '^ *+' conftest.er1 >conftest.err
30496 rm -f conftest.er1
30497 cat conftest.err >&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30503 ac_status=$?
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; } &&
30506 { ac_try='test -s conftest$ac_exeext'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30509 ac_status=$?
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; }; then
30512 ac_cv_lib_Xext_XShapeQueryExtension=yes
30513 else
30514 echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.$ac_ext >&5
30516
30517 ac_cv_lib_Xext_XShapeQueryExtension=no
30518 fi
30519 rm -f conftest.err conftest.$ac_objext \
30520 conftest$ac_exeext conftest.$ac_ext
30521 LIBS=$ac_check_lib_save_LIBS
30522 fi
30523 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30524 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30525 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30526
30527 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30528 wxHAVE_XEXT_LIB=1
30529
30530 fi
30531
30532
30533 if test "$wxHAVE_XEXT_LIB" = 1; then
30534 save_CXXFLAGS="$CXXFLAGS"
30535 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30536
30537 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30538 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30539 cat >conftest.$ac_ext <<_ACEOF
30540 /* confdefs.h. */
30541 _ACEOF
30542 cat confdefs.h >>conftest.$ac_ext
30543 cat >>conftest.$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30545
30546 #include <X11/Xlib.h>
30547 #include <X11/extensions/shape.h>
30548
30549 int
30550 main ()
30551 {
30552
30553 int dummy1, dummy2;
30554 XShapeQueryExtension((Display*)NULL,
30555 (int*)NULL, (int*)NULL);
30556
30557 ;
30558 return 0;
30559 }
30560 _ACEOF
30561 rm -f conftest.$ac_objext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30563 (eval $ac_compile) 2>conftest.er1
30564 ac_status=$?
30565 grep -v '^ *+' conftest.er1 >conftest.err
30566 rm -f conftest.er1
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
30570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30572 (eval $ac_try) 2>&5
30573 ac_status=$?
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; } &&
30576 { ac_try='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30582
30583 cat >>confdefs.h <<\_ACEOF
30584 #define HAVE_XSHAPE 1
30585 _ACEOF
30586
30587 echo "$as_me:$LINENO: result: found" >&5
30588 echo "${ECHO_T}found" >&6
30589
30590 else
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594
30595 echo "$as_me:$LINENO: result: not found" >&5
30596 echo "${ECHO_T}not found" >&6
30597
30598 fi
30599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30600 CXXFLAGS="$save_CXXFLAGS"
30601
30602 fi
30603 fi
30604
30605 if test "$wxUSE_MAC" = 1; then
30606 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30607 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30608 if test "$GCC" = yes; then
30609 echo "$as_me:$LINENO: result: gcc" >&5
30610 echo "${ECHO_T}gcc" >&6
30611 CPPFLAGS_PASCAL="-fpascal-strings"
30612 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30613 echo "$as_me:$LINENO: result: xlc" >&5
30614 echo "${ECHO_T}xlc" >&6
30615 CPPFLAGS_PASCAL="-qmacpstr"
30616 else
30617 echo "$as_me:$LINENO: result: none" >&5
30618 echo "${ECHO_T}none" >&6
30619 fi
30620
30621 if test "x$wxUSE_UNIX" = "xyes"; then
30622 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30623 else
30624 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30625 fi
30626
30627 TOOLKIT=MAC
30628 GUIDIST=MACX_DIST
30629 WXBASEPORT="_carbon"
30630 fi
30631
30632 if test "$wxUSE_COCOA" = 1; then
30633 TOOLKIT=COCOA
30634 GUIDIST=COCOA_DIST
30635 fi
30636
30637 if test "$wxUSE_PM" = 1; then
30638 TOOLKIT=PM
30639 GUIDIST=PM_DIST
30640 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30641 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30642 if test "${wx_cv_spbcdata+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645
30646 cat >conftest.$ac_ext <<_ACEOF
30647 /* confdefs.h. */
30648 _ACEOF
30649 cat confdefs.h >>conftest.$ac_ext
30650 cat >>conftest.$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30652
30653 #define INCL_PM
30654 #include <os2.h>
30655
30656 int
30657 main ()
30658 {
30659
30660 SPBCDATA test;
30661
30662 ;
30663 return 0;
30664 }
30665 _ACEOF
30666 rm -f conftest.$ac_objext
30667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30668 (eval $ac_compile) 2>conftest.er1
30669 ac_status=$?
30670 grep -v '^ *+' conftest.er1 >conftest.err
30671 rm -f conftest.er1
30672 cat conftest.err >&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } &&
30675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30678 ac_status=$?
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; } &&
30681 { ac_try='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30684 ac_status=$?
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30687 wx_cv_spbcdata=yes
30688 else
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692 wx_cv_spbcdata=no
30693
30694 fi
30695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30696
30697
30698 fi
30699 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30700 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30701
30702 if test $wx_cv_spbcdata = "yes"; then
30703 cat >>confdefs.h <<\_ACEOF
30704 #define HAVE_SPBCDATA 1
30705 _ACEOF
30706
30707 fi
30708 fi
30709
30710 if test "$TOOLKIT" = "PM" ; then
30711 TOOLKIT_DIR="os2"
30712 else
30713 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30714 fi
30715
30716 if test "$wxUSE_UNIVERSAL" = "yes"; then
30717 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30718 WIDGET_SET=univ
30719 fi
30720
30721 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30722 DISTDIR="wx\$(TOOLKIT)"
30723 else
30724 USE_GUI=0
30725
30726 TOOLKIT_DIR="base"
30727
30728 if test "$USE_WIN32" = 1 ; then
30729 TOOLKIT="MSW"
30730 fi
30731
30732 GUIDIST="BASE_DIST"
30733 DISTDIR="wxBase"
30734 fi
30735
30736
30737 if test "$wxUSE_GUI" = "yes"; then
30738 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30739
30740 for ac_header in X11/Xlib.h
30741 do
30742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30744 echo "$as_me:$LINENO: checking for $ac_header" >&5
30745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30747 echo $ECHO_N "(cached) $ECHO_C" >&6
30748 fi
30749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30751 else
30752 # Is the header compilable?
30753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30755 cat >conftest.$ac_ext <<_ACEOF
30756 /* confdefs.h. */
30757 _ACEOF
30758 cat confdefs.h >>conftest.$ac_ext
30759 cat >>conftest.$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761 $ac_includes_default
30762 #include <$ac_header>
30763 _ACEOF
30764 rm -f conftest.$ac_objext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30766 (eval $ac_compile) 2>conftest.er1
30767 ac_status=$?
30768 grep -v '^ *+' conftest.er1 >conftest.err
30769 rm -f conftest.er1
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; } &&
30779 { ac_try='test -s conftest.$ac_objext'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; }; then
30785 ac_header_compiler=yes
30786 else
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.$ac_ext >&5
30789
30790 ac_header_compiler=no
30791 fi
30792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30794 echo "${ECHO_T}$ac_header_compiler" >&6
30795
30796 # Is the header present?
30797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30799 cat >conftest.$ac_ext <<_ACEOF
30800 /* confdefs.h. */
30801 _ACEOF
30802 cat confdefs.h >>conftest.$ac_ext
30803 cat >>conftest.$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30805 #include <$ac_header>
30806 _ACEOF
30807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30808 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30809 ac_status=$?
30810 grep -v '^ *+' conftest.er1 >conftest.err
30811 rm -f conftest.er1
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } >/dev/null; then
30815 if test -s conftest.err; then
30816 ac_cpp_err=$ac_cxx_preproc_warn_flag
30817 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30818 else
30819 ac_cpp_err=
30820 fi
30821 else
30822 ac_cpp_err=yes
30823 fi
30824 if test -z "$ac_cpp_err"; then
30825 ac_header_preproc=yes
30826 else
30827 echo "$as_me: failed program was:" >&5
30828 sed 's/^/| /' conftest.$ac_ext >&5
30829
30830 ac_header_preproc=no
30831 fi
30832 rm -f conftest.err conftest.$ac_ext
30833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30834 echo "${ECHO_T}$ac_header_preproc" >&6
30835
30836 # So? What about this header?
30837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30838 yes:no: )
30839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30843 ac_header_preproc=yes
30844 ;;
30845 no:yes:* )
30846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30858 (
30859 cat <<\_ASBOX
30860 ## ----------------------------------------- ##
30861 ## Report this to wx-dev@lists.wxwidgets.org ##
30862 ## ----------------------------------------- ##
30863 _ASBOX
30864 ) |
30865 sed "s/^/$as_me: WARNING: /" >&2
30866 ;;
30867 esac
30868 echo "$as_me:$LINENO: checking for $ac_header" >&5
30869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 else
30873 eval "$as_ac_Header=\$ac_header_preproc"
30874 fi
30875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30877
30878 fi
30879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30880 cat >>confdefs.h <<_ACEOF
30881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30882 _ACEOF
30883
30884 fi
30885
30886 done
30887
30888
30889 for ac_header in X11/XKBlib.h
30890 do
30891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30892 echo "$as_me:$LINENO: checking for $ac_header" >&5
30893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897 cat >conftest.$ac_ext <<_ACEOF
30898 /* confdefs.h. */
30899 _ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903
30904 #if HAVE_X11_XLIB_H
30905 #include <X11/Xlib.h>
30906 #endif
30907
30908
30909 #include <$ac_header>
30910 _ACEOF
30911 rm -f conftest.$ac_objext
30912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30913 (eval $ac_compile) 2>conftest.er1
30914 ac_status=$?
30915 grep -v '^ *+' conftest.er1 >conftest.err
30916 rm -f conftest.er1
30917 cat conftest.err >&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } &&
30920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30922 (eval $ac_try) 2>&5
30923 ac_status=$?
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); }; } &&
30926 { ac_try='test -s conftest.$ac_objext'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; }; then
30932 eval "$as_ac_Header=yes"
30933 else
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.$ac_ext >&5
30936
30937 eval "$as_ac_Header=no"
30938 fi
30939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30940 fi
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30944 cat >>confdefs.h <<_ACEOF
30945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30946 _ACEOF
30947
30948 fi
30949
30950 done
30951
30952 fi
30953 fi
30954
30955
30956
30957 IODBC_C_SRC=""
30958
30959
30960 if test "$TOOLKIT" != "MSW" ; then
30961
30962 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30963
30964 if test "${ac_cv_header_sql_h+set}" = set; then
30965 echo "$as_me:$LINENO: checking for sql.h" >&5
30966 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30967 if test "${ac_cv_header_sql_h+set}" = set; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 fi
30970 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30971 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30972 else
30973 # Is the header compilable?
30974 echo "$as_me:$LINENO: checking sql.h usability" >&5
30975 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982 $ac_includes_default
30983 #include <sql.h>
30984 _ACEOF
30985 rm -f conftest.$ac_objext
30986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30987 (eval $ac_compile) 2>conftest.er1
30988 ac_status=$?
30989 grep -v '^ *+' conftest.er1 >conftest.err
30990 rm -f conftest.er1
30991 cat conftest.err >&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } &&
30994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30997 ac_status=$?
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try='test -s conftest.$ac_objext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31003 ac_status=$?
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 ac_header_compiler=yes
31007 else
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.$ac_ext >&5
31010
31011 ac_header_compiler=no
31012 fi
31013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31015 echo "${ECHO_T}$ac_header_compiler" >&6
31016
31017 # Is the header present?
31018 echo "$as_me:$LINENO: checking sql.h presence" >&5
31019 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31020 cat >conftest.$ac_ext <<_ACEOF
31021 /* confdefs.h. */
31022 _ACEOF
31023 cat confdefs.h >>conftest.$ac_ext
31024 cat >>conftest.$ac_ext <<_ACEOF
31025 /* end confdefs.h. */
31026 #include <sql.h>
31027 _ACEOF
31028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31030 ac_status=$?
31031 grep -v '^ *+' conftest.er1 >conftest.err
31032 rm -f conftest.er1
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } >/dev/null; then
31036 if test -s conftest.err; then
31037 ac_cpp_err=$ac_cxx_preproc_warn_flag
31038 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31039 else
31040 ac_cpp_err=
31041 fi
31042 else
31043 ac_cpp_err=yes
31044 fi
31045 if test -z "$ac_cpp_err"; then
31046 ac_header_preproc=yes
31047 else
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31050
31051 ac_header_preproc=no
31052 fi
31053 rm -f conftest.err conftest.$ac_ext
31054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31055 echo "${ECHO_T}$ac_header_preproc" >&6
31056
31057 # So? What about this header?
31058 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31059 yes:no: )
31060 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31061 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31062 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31063 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31064 ac_header_preproc=yes
31065 ;;
31066 no:yes:* )
31067 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31068 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31070 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31071 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31072 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31073 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31074 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31075 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31076 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31077 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31078 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31079 (
31080 cat <<\_ASBOX
31081 ## ----------------------------------------- ##
31082 ## Report this to wx-dev@lists.wxwidgets.org ##
31083 ## ----------------------------------------- ##
31084 _ASBOX
31085 ) |
31086 sed "s/^/$as_me: WARNING: /" >&2
31087 ;;
31088 esac
31089 echo "$as_me:$LINENO: checking for sql.h" >&5
31090 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31091 if test "${ac_cv_header_sql_h+set}" = set; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 else
31094 ac_cv_header_sql_h=$ac_header_preproc
31095 fi
31096 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31097 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31098
31099 fi
31100 if test $ac_cv_header_sql_h = yes; then
31101 found_sql_h=1
31102 fi
31103
31104
31105 if test "x$found_sql_h" = "x1" ; then
31106 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31107 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31108 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111 ac_check_lib_save_LIBS=$LIBS
31112 LIBS="-liodbc $LIBS"
31113 cat >conftest.$ac_ext <<_ACEOF
31114 /* confdefs.h. */
31115 _ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31119
31120 /* Override any gcc2 internal prototype to avoid an error. */
31121 #ifdef __cplusplus
31122 extern "C"
31123 #endif
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31126 char SQLAllocEnv ();
31127 int
31128 main ()
31129 {
31130 SQLAllocEnv ();
31131 ;
31132 return 0;
31133 }
31134 _ACEOF
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31138 ac_status=$?
31139 grep -v '^ *+' conftest.er1 >conftest.err
31140 rm -f conftest.er1
31141 cat conftest.err >&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_iodbc_SQLAllocEnv=yes
31157 else
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161 ac_cv_lib_iodbc_SQLAllocEnv=no
31162 fi
31163 rm -f conftest.err conftest.$ac_objext \
31164 conftest$ac_exeext conftest.$ac_ext
31165 LIBS=$ac_check_lib_save_LIBS
31166 fi
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31168 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31169 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31170 ODBC_LINK=" -liodbc"
31171 else
31172
31173 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31174 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31175 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178 ac_check_lib_save_LIBS=$LIBS
31179 LIBS="-lunixodbc $LIBS"
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186
31187 /* Override any gcc2 internal prototype to avoid an error. */
31188 #ifdef __cplusplus
31189 extern "C"
31190 #endif
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31193 char SQLAllocEnv ();
31194 int
31195 main ()
31196 {
31197 SQLAllocEnv ();
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204 (eval $ac_link) 2>conftest.er1
31205 ac_status=$?
31206 grep -v '^ *+' conftest.er1 >conftest.err
31207 rm -f conftest.er1
31208 cat conftest.err >&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try='test -s conftest$ac_exeext'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; }; then
31223 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31224 else
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.$ac_ext >&5
31227
31228 ac_cv_lib_unixodbc_SQLAllocEnv=no
31229 fi
31230 rm -f conftest.err conftest.$ac_objext \
31231 conftest$ac_exeext conftest.$ac_ext
31232 LIBS=$ac_check_lib_save_LIBS
31233 fi
31234 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31235 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31236 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31237 ODBC_LINK=" -lunixodbc"
31238 else
31239
31240 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31241 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31242 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31243 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 else
31245 ac_check_lib_save_LIBS=$LIBS
31246 LIBS="-lodbc $LIBS"
31247 cat >conftest.$ac_ext <<_ACEOF
31248 /* confdefs.h. */
31249 _ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31253
31254 /* Override any gcc2 internal prototype to avoid an error. */
31255 #ifdef __cplusplus
31256 extern "C"
31257 #endif
31258 /* We use char because int might match the return type of a gcc2
31259 builtin and then its argument prototype would still apply. */
31260 char SQLAllocEnv ();
31261 int
31262 main ()
31263 {
31264 SQLAllocEnv ();
31265 ;
31266 return 0;
31267 }
31268 _ACEOF
31269 rm -f conftest.$ac_objext conftest$ac_exeext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31271 (eval $ac_link) 2>conftest.er1
31272 ac_status=$?
31273 grep -v '^ *+' conftest.er1 >conftest.err
31274 rm -f conftest.er1
31275 cat conftest.err >&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } &&
31278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31281 ac_status=$?
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; } &&
31284 { ac_try='test -s conftest$ac_exeext'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31287 ac_status=$?
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; }; then
31290 ac_cv_lib_odbc_SQLAllocEnv=yes
31291 else
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295 ac_cv_lib_odbc_SQLAllocEnv=no
31296 fi
31297 rm -f conftest.err conftest.$ac_objext \
31298 conftest$ac_exeext conftest.$ac_ext
31299 LIBS=$ac_check_lib_save_LIBS
31300 fi
31301 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31302 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31303 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31304 ODBC_LINK=" -lodbc"
31305 fi
31306
31307
31308 fi
31309
31310
31311 fi
31312
31313 fi
31314 if test "x$ODBC_LINK" = "x" ; then
31315 if test "$wxUSE_ODBC" = "sys" ; then
31316 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31317 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31318 { (exit 1); exit 1; }; }
31319 else
31320 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31321 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31322 wxUSE_ODBC=builtin
31323 fi
31324 else
31325 wxUSE_ODBC=sys
31326 fi
31327 fi
31328
31329 if test "$wxUSE_ODBC" = "builtin" ; then
31330 cat >>confdefs.h <<\_ACEOF
31331 #define wxUSE_BUILTIN_IODBC 1
31332 _ACEOF
31333
31334 fi
31335 fi
31336
31337 if test "$wxUSE_ODBC" != "no" ; then
31338 cat >>confdefs.h <<\_ACEOF
31339 #define wxUSE_ODBC 1
31340 _ACEOF
31341
31342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31343
31344 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31345 fi
31346
31347
31348 if test "$wxUSE_DISPLAY" = "yes"; then
31349 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31350 echo "$as_me:$LINENO: checking for Xinerama" >&5
31351 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31352
31353 ac_find_libraries=
31354 for ac_dir in $SEARCH_LIB;
31355 do
31356 for ac_extension in a so sl dylib dll.a; do
31357 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31358 ac_find_libraries=$ac_dir
31359 break 2
31360 fi
31361 done
31362 done
31363
31364 if test "$ac_find_libraries" != "" ; then
31365
31366 if test "$ac_find_libraries" = "default location"; then
31367 ac_path_to_link=""
31368 else
31369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31370 result=$?
31371 if test $result = 0; then
31372 ac_path_to_link=""
31373 else
31374 ac_path_to_link=" -L$ac_find_libraries"
31375 fi
31376 fi
31377
31378 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31379 LDFLAGS="$LDFLAGS $ac_path_to_link"
31380 fi
31381 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31382 echo "$as_me:$LINENO: result: yes" >&5
31383 echo "${ECHO_T}yes" >&6
31384
31385 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31386 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31387
31388 ac_find_libraries=
31389 for ac_dir in $SEARCH_LIB;
31390 do
31391 for ac_extension in a so sl dylib dll.a; do
31392 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31393 ac_find_libraries=$ac_dir
31394 break 2
31395 fi
31396 done
31397 done
31398
31399 if test "$ac_find_libraries" != "" ; then
31400 echo "$as_me:$LINENO: result: yes" >&5
31401 echo "${ECHO_T}yes" >&6
31402
31403 for ac_header in X11/extensions/xf86vmode.h
31404 do
31405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31406 echo "$as_me:$LINENO: checking for $ac_header" >&5
31407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 else
31411 cat >conftest.$ac_ext <<_ACEOF
31412 /* confdefs.h. */
31413 _ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417
31418 #if HAVE_X11_XLIB_H
31419 #include <X11/Xlib.h>
31420 #endif
31421
31422
31423 #include <$ac_header>
31424 _ACEOF
31425 rm -f conftest.$ac_objext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31427 (eval $ac_compile) 2>conftest.er1
31428 ac_status=$?
31429 grep -v '^ *+' conftest.er1 >conftest.err
31430 rm -f conftest.er1
31431 cat conftest.err >&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 eval "$as_ac_Header=yes"
31447 else
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31450
31451 eval "$as_ac_Header=no"
31452 fi
31453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31454 fi
31455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31458 cat >>confdefs.h <<_ACEOF
31459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31460 _ACEOF
31461
31462 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31463
31464 fi
31465
31466 done
31467
31468 else
31469 echo "$as_me:$LINENO: result: no" >&5
31470 echo "${ECHO_T}no" >&6
31471 fi
31472
31473 else
31474 echo "$as_me:$LINENO: result: no" >&5
31475 echo "${ECHO_T}no" >&6
31476 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31477 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31478 wxUSE_DISPLAY="no"
31479 fi
31480 elif test "$wxUSE_MSW" = 1; then
31481
31482 for ac_header in ddraw.h
31483 do
31484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31485 echo "$as_me:$LINENO: checking for $ac_header" >&5
31486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31488 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 else
31490 cat >conftest.$ac_ext <<_ACEOF
31491 /* confdefs.h. */
31492 _ACEOF
31493 cat confdefs.h >>conftest.$ac_ext
31494 cat >>conftest.$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496 #include <windows.h>
31497
31498 #include <$ac_header>
31499 _ACEOF
31500 rm -f conftest.$ac_objext
31501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31502 (eval $ac_compile) 2>conftest.er1
31503 ac_status=$?
31504 grep -v '^ *+' conftest.er1 >conftest.err
31505 rm -f conftest.er1
31506 cat conftest.err >&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); } &&
31509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest.$ac_objext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 eval "$as_ac_Header=yes"
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 eval "$as_ac_Header=no"
31527 fi
31528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31529 fi
31530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31533 cat >>confdefs.h <<_ACEOF
31534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31535 _ACEOF
31536
31537 fi
31538
31539 done
31540
31541 fi
31542 fi
31543
31544
31545 USE_OPENGL=0
31546 if test "$wxUSE_OPENGL" = "yes"; then
31547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31548 OPENGL_LIBS="-framework OpenGL -framework AGL"
31549 elif test "$wxUSE_MSW" = 1; then
31550 OPENGL_LIBS="-lopengl32 -lglu32"
31551 else
31552
31553
31554 ac_find_includes=
31555 for ac_dir in $SEARCH_INCLUDE /usr/include;
31556 do
31557 if test -f "$ac_dir/GL/gl.h"; then
31558 ac_find_includes=$ac_dir
31559 break
31560 fi
31561 done
31562
31563 if test "$ac_find_includes" != "" ; then
31564 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31565 echo "${ECHO_T}found in $ac_find_includes" >&6
31566
31567 if test "x$ac_find_includes" = "x/usr/include"; then
31568 ac_path_to_include=""
31569 else
31570 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31571 result=$?
31572 if test $result = 0; then
31573 ac_path_to_include=""
31574 else
31575 ac_path_to_include=" -I$ac_find_includes"
31576 fi
31577 fi
31578
31579 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31580 fi
31581
31582 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31583 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31584 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31585 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31586 echo $ECHO_N "(cached) $ECHO_C" >&6
31587 fi
31588 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31589 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31590 else
31591 # Is the header compilable?
31592 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31593 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31594 cat >conftest.$ac_ext <<_ACEOF
31595 /* confdefs.h. */
31596 _ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31600 $ac_includes_default
31601 #include <GL/gl.h>
31602 _ACEOF
31603 rm -f conftest.$ac_objext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31605 (eval $ac_compile) 2>conftest.er1
31606 ac_status=$?
31607 grep -v '^ *+' conftest.er1 >conftest.err
31608 rm -f conftest.er1
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try='test -s conftest.$ac_objext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31621 ac_status=$?
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 ac_header_compiler=yes
31625 else
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.$ac_ext >&5
31628
31629 ac_header_compiler=no
31630 fi
31631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31633 echo "${ECHO_T}$ac_header_compiler" >&6
31634
31635 # Is the header present?
31636 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31637 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31638 cat >conftest.$ac_ext <<_ACEOF
31639 /* confdefs.h. */
31640 _ACEOF
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31644 #include <GL/gl.h>
31645 _ACEOF
31646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31648 ac_status=$?
31649 grep -v '^ *+' conftest.er1 >conftest.err
31650 rm -f conftest.er1
31651 cat conftest.err >&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); } >/dev/null; then
31654 if test -s conftest.err; then
31655 ac_cpp_err=$ac_cxx_preproc_warn_flag
31656 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31657 else
31658 ac_cpp_err=
31659 fi
31660 else
31661 ac_cpp_err=yes
31662 fi
31663 if test -z "$ac_cpp_err"; then
31664 ac_header_preproc=yes
31665 else
31666 echo "$as_me: failed program was:" >&5
31667 sed 's/^/| /' conftest.$ac_ext >&5
31668
31669 ac_header_preproc=no
31670 fi
31671 rm -f conftest.err conftest.$ac_ext
31672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31673 echo "${ECHO_T}$ac_header_preproc" >&6
31674
31675 # So? What about this header?
31676 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31677 yes:no: )
31678 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31679 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31680 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31681 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31682 ac_header_preproc=yes
31683 ;;
31684 no:yes:* )
31685 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31686 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31688 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31690 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31691 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31692 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31693 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31694 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31695 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31696 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31697 (
31698 cat <<\_ASBOX
31699 ## ----------------------------------------- ##
31700 ## Report this to wx-dev@lists.wxwidgets.org ##
31701 ## ----------------------------------------- ##
31702 _ASBOX
31703 ) |
31704 sed "s/^/$as_me: WARNING: /" >&2
31705 ;;
31706 esac
31707 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31708 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31709 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31710 echo $ECHO_N "(cached) $ECHO_C" >&6
31711 else
31712 ac_cv_header_GL_gl_h=$ac_header_preproc
31713 fi
31714 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31715 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31716
31717 fi
31718 if test $ac_cv_header_GL_gl_h = yes; then
31719
31720 found_gl=0
31721
31722 echo "$as_me:$LINENO: checking for -lGL" >&5
31723 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31724
31725 ac_find_libraries=
31726 for ac_dir in $SEARCH_LIB;
31727 do
31728 for ac_extension in a so sl dylib dll.a; do
31729 if test -f "$ac_dir/libGL.$ac_extension"; then
31730 ac_find_libraries=$ac_dir
31731 break 2
31732 fi
31733 done
31734 done
31735
31736 if test "$ac_find_libraries" != "" ; then
31737 echo "$as_me:$LINENO: result: yes" >&5
31738 echo "${ECHO_T}yes" >&6
31739
31740
31741 if test "$ac_find_libraries" = "default location"; then
31742 ac_path_to_link=""
31743 else
31744 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31745 result=$?
31746 if test $result = 0; then
31747 ac_path_to_link=""
31748 else
31749 ac_path_to_link=" -L$ac_find_libraries"
31750 fi
31751 fi
31752
31753 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31754 LDFLAGS_GL="$ac_path_to_link"
31755 fi
31756
31757 echo "$as_me:$LINENO: checking for -lGLU" >&5
31758 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31759
31760 ac_find_libraries=
31761 for ac_dir in $SEARCH_LIB;
31762 do
31763 for ac_extension in a so sl dylib dll.a; do
31764 if test -f "$ac_dir/libGLU.$ac_extension"; then
31765 ac_find_libraries=$ac_dir
31766 break 2
31767 fi
31768 done
31769 done
31770
31771 if test "$ac_find_libraries" != "" ; then
31772
31773 if test "$ac_find_libraries" = "default location"; then
31774 ac_path_to_link=""
31775 else
31776 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31777 result=$?
31778 if test $result = 0; then
31779 ac_path_to_link=""
31780 else
31781 ac_path_to_link=" -L$ac_find_libraries"
31782 fi
31783 fi
31784
31785 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31786 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31787 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31788 fi
31789
31790 found_gl=1
31791 OPENGL_LIBS="-lGL -lGLU"
31792 echo "$as_me:$LINENO: result: yes" >&5
31793 echo "${ECHO_T}yes" >&6
31794 else
31795 echo "$as_me:$LINENO: result: no" >&5
31796 echo "${ECHO_T}no" >&6
31797 fi
31798 else
31799 echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6
31801 fi
31802
31803 if test "$found_gl" != 1; then
31804 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31805 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31806
31807 ac_find_libraries=
31808 for ac_dir in $SEARCH_LIB;
31809 do
31810 for ac_extension in a so sl dylib dll.a; do
31811 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31812 ac_find_libraries=$ac_dir
31813 break 2
31814 fi
31815 done
31816 done
31817
31818 if test "$ac_find_libraries" != "" ; then
31819
31820 if test "$ac_find_libraries" = "default location"; then
31821 ac_path_to_link=""
31822 else
31823 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31824 result=$?
31825 if test $result = 0; then
31826 ac_path_to_link=""
31827 else
31828 ac_path_to_link=" -L$ac_find_libraries"
31829 fi
31830 fi
31831
31832 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31833 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31834 echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6
31836 else
31837 echo "$as_me:$LINENO: result: no" >&5
31838 echo "${ECHO_T}no" >&6
31839 fi
31840 fi
31841
31842 fi
31843
31844
31845
31846 if test "x$OPENGL_LIBS" = "x"; then
31847 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31848 echo "$as_me: error: OpenGL libraries not available" >&2;}
31849 { (exit 1); exit 1; }; }
31850 fi
31851 fi
31852
31853 if test "$wxUSE_OPENGL" = "yes"; then
31854 USE_OPENGL=1
31855 cat >>confdefs.h <<\_ACEOF
31856 #define wxUSE_OPENGL 1
31857 _ACEOF
31858
31859 cat >>confdefs.h <<\_ACEOF
31860 #define wxUSE_GLCANVAS 1
31861 _ACEOF
31862
31863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31864 fi
31865 fi
31866
31867
31868 if test -n "$TOOLKIT" ; then
31869 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31870 fi
31871
31872
31873
31874 if test "$wxUSE_SHARED" = "yes"; then
31875 case "${host}" in
31876 *-pc-msdosdjgpp )
31877 wxUSE_SHARED=no
31878 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31879 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31880 ;;
31881 esac
31882 fi
31883
31884 if test "$wxUSE_SHARED" = "yes"; then
31885
31886
31887 found_versioning=no
31888
31889
31890 if test $found_versioning = no ; then
31891 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31892 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31893 if test "${wx_cv_version_script+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 else
31896
31897 echo "VER_1 { *; };" >conftest.sym
31898 echo "int main() { return 0; }" >conftest.cpp
31899
31900 if { ac_try='
31901 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31902 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; } ; then
31908 if test -s conftest.stderr ; then
31909 wx_cv_version_script=no
31910 else
31911 wx_cv_version_script=yes
31912 fi
31913 else
31914 wx_cv_version_script=no
31915 fi
31916
31917 if test $wx_cv_version_script = yes
31918 then
31919 echo "struct B { virtual ~B() { } }; \
31920 struct D : public B { }; \
31921 void F() { D d; }" > conftest.cpp
31922
31923 if { ac_try='
31924 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31925 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31927 (eval $ac_try) 2>&5
31928 ac_status=$?
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); }; } &&
31931 { ac_try='
31932 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31933 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }
31939 then
31940 if { ac_try='
31941 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31942 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31945 ac_status=$?
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }
31948 then
31949 wx_cv_version_script=yes
31950 else
31951 wx_cv_version_script=no
31952 fi
31953 fi
31954 fi
31955
31956 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31957 rm -f conftest1.output conftest2.output conftest3.output
31958
31959 fi
31960 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31961 echo "${ECHO_T}$wx_cv_version_script" >&6
31962 if test $wx_cv_version_script = yes ; then
31963 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31964 fi
31965 fi
31966
31967
31968 case "${host}" in
31969 *-*-linux* | *-*-gnu* )
31970 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31971 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31972 ;;
31973
31974 *-*-solaris2* )
31975 if test "$GCC" = yes ; then
31976 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
31977
31978 saveLdflags="$LDFLAGS"
31979 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31980 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31981 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31982 cat >conftest.$ac_ext <<_ACEOF
31983 /* confdefs.h. */
31984 _ACEOF
31985 cat confdefs.h >>conftest.$ac_ext
31986 cat >>conftest.$ac_ext <<_ACEOF
31987 /* end confdefs.h. */
31988
31989 int
31990 main ()
31991 {
31992
31993 ;
31994 return 0;
31995 }
31996 _ACEOF
31997 rm -f conftest.$ac_objext conftest$ac_exeext
31998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31999 (eval $ac_link) 2>conftest.er1
32000 ac_status=$?
32001 grep -v '^ *+' conftest.er1 >conftest.err
32002 rm -f conftest.er1
32003 cat conftest.err >&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); } &&
32006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32009 ac_status=$?
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; } &&
32012 { ac_try='test -s conftest$ac_exeext'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32015 ac_status=$?
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; }; then
32018
32019 echo "$as_me:$LINENO: result: yes" >&5
32020 echo "${ECHO_T}yes" >&6
32021 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32022 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32023
32024 else
32025 echo "$as_me: failed program was:" >&5
32026 sed 's/^/| /' conftest.$ac_ext >&5
32027
32028
32029 echo "$as_me:$LINENO: result: no" >&5
32030 echo "${ECHO_T}no" >&6
32031 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32032 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32033 LDFLAGS="$saveLdflags -Wl,-R,/"
32034 cat >conftest.$ac_ext <<_ACEOF
32035 /* confdefs.h. */
32036 _ACEOF
32037 cat confdefs.h >>conftest.$ac_ext
32038 cat >>conftest.$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32040
32041 int
32042 main ()
32043 {
32044
32045 ;
32046 return 0;
32047 }
32048 _ACEOF
32049 rm -f conftest.$ac_objext conftest$ac_exeext
32050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32051 (eval $ac_link) 2>conftest.er1
32052 ac_status=$?
32053 grep -v '^ *+' conftest.er1 >conftest.err
32054 rm -f conftest.er1
32055 cat conftest.err >&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); } &&
32058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32061 ac_status=$?
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try='test -s conftest$ac_exeext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32067 ac_status=$?
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32070
32071 echo "$as_me:$LINENO: result: yes" >&5
32072 echo "${ECHO_T}yes" >&6
32073 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
32074 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32075
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080
32081 echo "$as_me:$LINENO: result: no" >&5
32082 echo "${ECHO_T}no" >&6
32083
32084 fi
32085 rm -f conftest.err conftest.$ac_objext \
32086 conftest$ac_exeext conftest.$ac_ext
32087
32088 fi
32089 rm -f conftest.err conftest.$ac_objext \
32090 conftest$ac_exeext conftest.$ac_ext
32091 LDFLAGS="$saveLdflags"
32092 else
32093 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
32094 WXCONFIG_RPATH="-R\$libdir"
32095 fi
32096 ;;
32097
32098 *-*-darwin* )
32099 install_name_tool=`which install_name_tool`
32100 if test "$install_name_tool" -a -x "$install_name_tool"; then
32101 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32102 cat <<EOF >change-install-names
32103 #!/bin/sh
32104 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32105 inst_cmd="install_name_tool "
32106 for i in \${libnames} ; do
32107 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32108 done
32109 \${inst_cmd} \${3}
32110 EOF
32111 chmod +x change-install-names
32112 fi
32113 ;;
32114
32115 *-*-cygwin* | *-*-mingw32* )
32116 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32117 ;;
32118
32119 *-*-hpux* )
32120 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
32121 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32122 ;;
32123
32124 esac
32125
32126 if test $wxUSE_RPATH = "no"; then
32127 SAMPLES_RPATH_FLAG=''
32128 SAMPLES_RPATH_POSTLINK=''
32129 WXCONFIG_RPATH=''
32130 fi
32131
32132 SHARED=1
32133
32134 else
32135
32136 config_linkage_component="-static"
32137 SHARED=0
32138
32139 fi
32140
32141
32142 UNICODE=0
32143 lib_unicode_suffix=
32144 WX_CHARTYPE="ansi"
32145 if test "$wxUSE_UNICODE" = "yes"; then
32146 lib_unicode_suffix=u
32147 WX_CHARTYPE="unicode"
32148 UNICODE=1
32149 fi
32150
32151 lib_debug_suffix=
32152 WX_DEBUGTYPE="release"
32153 DEBUG_FLAG=0
32154 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32155 lib_debug_suffix=d
32156 WX_DEBUGTYPE="debug"
32157 DEBUG_FLAG=1
32158 fi
32159
32160 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32161 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32162
32163 DEBUG_INFO=0
32164 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32165 DEBUG_INFO=1
32166 fi
32167
32168 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32169
32170 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32171
32172 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32173
32174 if test "$cross_compiling" = "yes"; then
32175 HOST_SUFFIX="-$host_alias"
32176 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32177 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32178 fi
32179
32180 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32181 if test "${TOOLKIT_DIR}" = "os2"; then
32182 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32183 else
32184 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32185 fi
32186
32187
32188
32189 if test "$wxUSE_COCOA" = 1; then
32190
32191
32192 ac_ext=c
32193 ac_cpp='$CPP $CPPFLAGS'
32194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32197
32198 ac_ext=m
32199
32200 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32201 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32202 cat >conftest.$ac_ext <<_ACEOF
32203 /* confdefs.h. */
32204 _ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208 #include <AppKit/NSEvent.h>
32209 #include <CoreFoundation/CoreFoundation.h>
32210
32211 int
32212 main ()
32213 {
32214
32215 ;
32216 return 0;
32217 }
32218 _ACEOF
32219 rm -f conftest.$ac_objext
32220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32221 (eval $ac_compile) 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } &&
32228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32234 { ac_try='test -s conftest.$ac_objext'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32237 ac_status=$?
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; }; then
32240 echo "$as_me:$LINENO: result: no" >&5
32241 echo "${ECHO_T}no" >&6
32242 else
32243 echo "$as_me: failed program was:" >&5
32244 sed 's/^/| /' conftest.$ac_ext >&5
32245
32246 echo "$as_me:$LINENO: result: yes" >&5
32247 echo "${ECHO_T}yes" >&6
32248 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32249 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32250 cat >conftest.$ac_ext <<_ACEOF
32251 /* confdefs.h. */
32252 _ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #define __Point__ 1
32257 #include <AppKit/NSEvent.h>
32258 #include <CoreFoundation/CoreFoundation.h>
32259
32260 int
32261 main ()
32262 {
32263
32264 ;
32265 return 0;
32266 }
32267 _ACEOF
32268 rm -f conftest.$ac_objext
32269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32270 (eval $ac_compile) 2>conftest.er1
32271 ac_status=$?
32272 grep -v '^ *+' conftest.er1 >conftest.err
32273 rm -f conftest.er1
32274 cat conftest.err >&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); } &&
32277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; } &&
32283 { ac_try='test -s conftest.$ac_objext'
32284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32285 (eval $ac_try) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; }; then
32289 echo "$as_me:$LINENO: result: yes" >&5
32290 echo "${ECHO_T}yes" >&6
32291 cat >>confdefs.h <<\_ACEOF
32292 #define __Point__ 1
32293 _ACEOF
32294
32295
32296 else
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.$ac_ext >&5
32299
32300 { { echo "$as_me:$LINENO: error: no
32301 See \`config.log' for more details." >&5
32302 echo "$as_me: error: no
32303 See \`config.log' for more details." >&2;}
32304 { (exit 1); exit 1; }; }
32305
32306 fi
32307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32308
32309 fi
32310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=cc
32312 ac_cpp='$CXXCPP $CPPFLAGS'
32313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316
32317 fi
32318
32319 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32320 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32321 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32322
32323 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32324
32325 # Extract the first word of "Rez", so it can be a program name with args.
32326 set dummy Rez; ac_word=$2
32327 echo "$as_me:$LINENO: checking for $ac_word" >&5
32328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32329 if test "${ac_cv_prog_REZ+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 else
32332 if test -n "$REZ"; then
32333 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32334 else
32335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32336 for as_dir in $PATH
32337 do
32338 IFS=$as_save_IFS
32339 test -z "$as_dir" && as_dir=.
32340 for ac_exec_ext in '' $ac_executable_extensions; do
32341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32342 ac_cv_prog_REZ="Rez"
32343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32344 break 2
32345 fi
32346 done
32347 done
32348
32349 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32350 fi
32351 fi
32352 REZ=$ac_cv_prog_REZ
32353 if test -n "$REZ"; then
32354 echo "$as_me:$LINENO: result: $REZ" >&5
32355 echo "${ECHO_T}$REZ" >&6
32356 else
32357 echo "$as_me:$LINENO: result: no" >&5
32358 echo "${ECHO_T}no" >&6
32359 fi
32360
32361 # Extract the first word of "DeRez", so it can be a program name with args.
32362 set dummy DeRez; ac_word=$2
32363 echo "$as_me:$LINENO: checking for $ac_word" >&5
32364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32365 if test "${ac_cv_prog_DEREZ+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368 if test -n "$DEREZ"; then
32369 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32370 else
32371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32372 for as_dir in $PATH
32373 do
32374 IFS=$as_save_IFS
32375 test -z "$as_dir" && as_dir=.
32376 for ac_exec_ext in '' $ac_executable_extensions; do
32377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32378 ac_cv_prog_DEREZ="DeRez"
32379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32380 break 2
32381 fi
32382 done
32383 done
32384
32385 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32386 fi
32387 fi
32388 DEREZ=$ac_cv_prog_DEREZ
32389 if test -n "$DEREZ"; then
32390 echo "$as_me:$LINENO: result: $DEREZ" >&5
32391 echo "${ECHO_T}$DEREZ" >&6
32392 else
32393 echo "$as_me:$LINENO: result: no" >&5
32394 echo "${ECHO_T}no" >&6
32395 fi
32396
32397 # Extract the first word of "SetFile", so it can be a program name with args.
32398 set dummy SetFile; ac_word=$2
32399 echo "$as_me:$LINENO: checking for $ac_word" >&5
32400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32401 if test "${ac_cv_prog_SETFILE+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32403 else
32404 if test -n "$SETFILE"; then
32405 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32406 else
32407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32408 for as_dir in $PATH
32409 do
32410 IFS=$as_save_IFS
32411 test -z "$as_dir" && as_dir=.
32412 for ac_exec_ext in '' $ac_executable_extensions; do
32413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32414 ac_cv_prog_SETFILE="SetFile"
32415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32416 break 2
32417 fi
32418 done
32419 done
32420
32421 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32422 fi
32423 fi
32424 SETFILE=$ac_cv_prog_SETFILE
32425 if test -n "$SETFILE"; then
32426 echo "$as_me:$LINENO: result: $SETFILE" >&5
32427 echo "${ECHO_T}$SETFILE" >&6
32428 else
32429 echo "$as_me:$LINENO: result: no" >&5
32430 echo "${ECHO_T}no" >&6
32431 fi
32432
32433
32434 MACSETFILE="\$(SETFILE)"
32435
32436 if test "$wxUSE_MAC" = 1; then
32437 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32438 RESCOMP="$REZ"
32439 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32440 else
32441 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32442 RESCOMP="echo -n \| $REZ"
32443 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32444 fi
32445
32446 else
32447 MACSETFILE="@true"
32448
32449 if test "$wxUSE_PM" = 1; then
32450 RESCOMP="emxbind"
32451 WXCONFIG_RESFLAGS="-ep"
32452
32453 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32454 else
32455 POSTLINK_COMMAND="@true"
32456 fi
32457
32458 fi
32459
32460
32461
32462 echo "$as_me:$LINENO: checking for mode_t" >&5
32463 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32464 if test "${ac_cv_type_mode_t+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 else
32467 cat >conftest.$ac_ext <<_ACEOF
32468 /* confdefs.h. */
32469 _ACEOF
32470 cat confdefs.h >>conftest.$ac_ext
32471 cat >>conftest.$ac_ext <<_ACEOF
32472 /* end confdefs.h. */
32473 $ac_includes_default
32474 int
32475 main ()
32476 {
32477 if ((mode_t *) 0)
32478 return 0;
32479 if (sizeof (mode_t))
32480 return 0;
32481 ;
32482 return 0;
32483 }
32484 _ACEOF
32485 rm -f conftest.$ac_objext
32486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32487 (eval $ac_compile) 2>conftest.er1
32488 ac_status=$?
32489 grep -v '^ *+' conftest.er1 >conftest.err
32490 rm -f conftest.er1
32491 cat conftest.err >&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); } &&
32494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32496 (eval $ac_try) 2>&5
32497 ac_status=$?
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); }; } &&
32500 { ac_try='test -s conftest.$ac_objext'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32503 ac_status=$?
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; }; then
32506 ac_cv_type_mode_t=yes
32507 else
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32510
32511 ac_cv_type_mode_t=no
32512 fi
32513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32514 fi
32515 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32516 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32517 if test $ac_cv_type_mode_t = yes; then
32518 :
32519 else
32520
32521 cat >>confdefs.h <<_ACEOF
32522 #define mode_t int
32523 _ACEOF
32524
32525 fi
32526
32527 echo "$as_me:$LINENO: checking for off_t" >&5
32528 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32529 if test "${ac_cv_type_off_t+set}" = set; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 else
32532 cat >conftest.$ac_ext <<_ACEOF
32533 /* confdefs.h. */
32534 _ACEOF
32535 cat confdefs.h >>conftest.$ac_ext
32536 cat >>conftest.$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 $ac_includes_default
32539 int
32540 main ()
32541 {
32542 if ((off_t *) 0)
32543 return 0;
32544 if (sizeof (off_t))
32545 return 0;
32546 ;
32547 return 0;
32548 }
32549 _ACEOF
32550 rm -f conftest.$ac_objext
32551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32552 (eval $ac_compile) 2>conftest.er1
32553 ac_status=$?
32554 grep -v '^ *+' conftest.er1 >conftest.err
32555 rm -f conftest.er1
32556 cat conftest.err >&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } &&
32559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32562 ac_status=$?
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; } &&
32565 { ac_try='test -s conftest.$ac_objext'
32566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32567 (eval $ac_try) 2>&5
32568 ac_status=$?
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); }; }; then
32571 ac_cv_type_off_t=yes
32572 else
32573 echo "$as_me: failed program was:" >&5
32574 sed 's/^/| /' conftest.$ac_ext >&5
32575
32576 ac_cv_type_off_t=no
32577 fi
32578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32579 fi
32580 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32581 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32582 if test $ac_cv_type_off_t = yes; then
32583 :
32584 else
32585
32586 cat >>confdefs.h <<_ACEOF
32587 #define off_t long
32588 _ACEOF
32589
32590 fi
32591
32592 echo "$as_me:$LINENO: checking for pid_t" >&5
32593 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32594 if test "${ac_cv_type_pid_t+set}" = set; then
32595 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 else
32597 cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h. */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603 $ac_includes_default
32604 int
32605 main ()
32606 {
32607 if ((pid_t *) 0)
32608 return 0;
32609 if (sizeof (pid_t))
32610 return 0;
32611 ;
32612 return 0;
32613 }
32614 _ACEOF
32615 rm -f conftest.$ac_objext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32617 (eval $ac_compile) 2>conftest.er1
32618 ac_status=$?
32619 grep -v '^ *+' conftest.er1 >conftest.err
32620 rm -f conftest.er1
32621 cat conftest.err >&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } &&
32624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626 (eval $ac_try) 2>&5
32627 ac_status=$?
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); }; } &&
32630 { ac_try='test -s conftest.$ac_objext'
32631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32632 (eval $ac_try) 2>&5
32633 ac_status=$?
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); }; }; then
32636 ac_cv_type_pid_t=yes
32637 else
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.$ac_ext >&5
32640
32641 ac_cv_type_pid_t=no
32642 fi
32643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32644 fi
32645 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32646 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32647 if test $ac_cv_type_pid_t = yes; then
32648 :
32649 else
32650
32651 cat >>confdefs.h <<_ACEOF
32652 #define pid_t int
32653 _ACEOF
32654
32655 fi
32656
32657 echo "$as_me:$LINENO: checking for size_t" >&5
32658 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32659 if test "${ac_cv_type_size_t+set}" = set; then
32660 echo $ECHO_N "(cached) $ECHO_C" >&6
32661 else
32662 cat >conftest.$ac_ext <<_ACEOF
32663 /* confdefs.h. */
32664 _ACEOF
32665 cat confdefs.h >>conftest.$ac_ext
32666 cat >>conftest.$ac_ext <<_ACEOF
32667 /* end confdefs.h. */
32668 $ac_includes_default
32669 int
32670 main ()
32671 {
32672 if ((size_t *) 0)
32673 return 0;
32674 if (sizeof (size_t))
32675 return 0;
32676 ;
32677 return 0;
32678 }
32679 _ACEOF
32680 rm -f conftest.$ac_objext
32681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32682 (eval $ac_compile) 2>conftest.er1
32683 ac_status=$?
32684 grep -v '^ *+' conftest.er1 >conftest.err
32685 rm -f conftest.er1
32686 cat conftest.err >&5
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); } &&
32689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32691 (eval $ac_try) 2>&5
32692 ac_status=$?
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); }; } &&
32695 { ac_try='test -s conftest.$ac_objext'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32698 ac_status=$?
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; }; then
32701 ac_cv_type_size_t=yes
32702 else
32703 echo "$as_me: failed program was:" >&5
32704 sed 's/^/| /' conftest.$ac_ext >&5
32705
32706 ac_cv_type_size_t=no
32707 fi
32708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32709 fi
32710 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32711 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32712 if test $ac_cv_type_size_t = yes; then
32713 :
32714 else
32715
32716 cat >>confdefs.h <<_ACEOF
32717 #define size_t unsigned
32718 _ACEOF
32719
32720 fi
32721
32722 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32723 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32724 if test "${ac_cv_type_uid_t+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32726 else
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733 #include <sys/types.h>
32734
32735 _ACEOF
32736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32737 $EGREP "uid_t" >/dev/null 2>&1; then
32738 ac_cv_type_uid_t=yes
32739 else
32740 ac_cv_type_uid_t=no
32741 fi
32742 rm -f conftest*
32743
32744 fi
32745 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32746 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32747 if test $ac_cv_type_uid_t = no; then
32748
32749 cat >>confdefs.h <<\_ACEOF
32750 #define uid_t int
32751 _ACEOF
32752
32753
32754 cat >>confdefs.h <<\_ACEOF
32755 #define gid_t int
32756 _ACEOF
32757
32758 fi
32759
32760
32761 echo "$as_me:$LINENO: checking for ssize_t" >&5
32762 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32763 if test "${ac_cv_type_ssize_t+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 else
32766 cat >conftest.$ac_ext <<_ACEOF
32767 /* confdefs.h. */
32768 _ACEOF
32769 cat confdefs.h >>conftest.$ac_ext
32770 cat >>conftest.$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 $ac_includes_default
32773 int
32774 main ()
32775 {
32776 if ((ssize_t *) 0)
32777 return 0;
32778 if (sizeof (ssize_t))
32779 return 0;
32780 ;
32781 return 0;
32782 }
32783 _ACEOF
32784 rm -f conftest.$ac_objext
32785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32786 (eval $ac_compile) 2>conftest.er1
32787 ac_status=$?
32788 grep -v '^ *+' conftest.er1 >conftest.err
32789 rm -f conftest.er1
32790 cat conftest.err >&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); } &&
32793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; } &&
32799 { ac_try='test -s conftest.$ac_objext'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32802 ac_status=$?
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; }; then
32805 ac_cv_type_ssize_t=yes
32806 else
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.$ac_ext >&5
32809
32810 ac_cv_type_ssize_t=no
32811 fi
32812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32813 fi
32814 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32815 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32816 if test $ac_cv_type_ssize_t = yes; then
32817
32818 cat >>confdefs.h <<_ACEOF
32819 #define HAVE_SSIZE_T 1
32820 _ACEOF
32821
32822
32823 fi
32824
32825
32826 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32827 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32828 if test "${wx_cv_size_t_is_uint+set}" = set; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831
32832 cat >conftest.$ac_ext <<_ACEOF
32833 /* confdefs.h. */
32834 _ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838 #include <stddef.h>
32839 int
32840 main ()
32841 {
32842
32843 return 0; }
32844
32845 struct Foo { void foo(size_t); void foo(unsigned int); };
32846
32847 int bar() {
32848
32849 ;
32850 return 0;
32851 }
32852 _ACEOF
32853 rm -f conftest.$ac_objext
32854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32855 (eval $ac_compile) 2>conftest.er1
32856 ac_status=$?
32857 grep -v '^ *+' conftest.er1 >conftest.err
32858 rm -f conftest.er1
32859 cat conftest.err >&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } &&
32862 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32865 ac_status=$?
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try='test -s conftest.$ac_objext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32871 ac_status=$?
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 wx_cv_size_t_is_uint=no
32875 else
32876 echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.$ac_ext >&5
32878
32879 wx_cv_size_t_is_uint=yes
32880
32881 fi
32882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32883
32884
32885 fi
32886 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32887 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32888
32889 if test "$wx_cv_size_t_is_uint" = "yes"; then
32890 cat >>confdefs.h <<\_ACEOF
32891 #define wxSIZE_T_IS_UINT 1
32892 _ACEOF
32893
32894 else
32895 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32896 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32897 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32899 else
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906 #include <stddef.h>
32907 int
32908 main ()
32909 {
32910
32911 return 0; }
32912
32913 struct Foo { void foo(size_t); void foo(unsigned long); };
32914
32915 int bar() {
32916
32917 ;
32918 return 0;
32919 }
32920 _ACEOF
32921 rm -f conftest.$ac_objext
32922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32923 (eval $ac_compile) 2>conftest.er1
32924 ac_status=$?
32925 grep -v '^ *+' conftest.er1 >conftest.err
32926 rm -f conftest.er1
32927 cat conftest.err >&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } &&
32930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try='test -s conftest.$ac_objext'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; }; then
32942 wx_cv_size_t_is_ulong=no
32943 else
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 wx_cv_size_t_is_ulong=yes
32948
32949 fi
32950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32951
32952 fi
32953 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32954 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32955
32956 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958 #define wxSIZE_T_IS_ULONG 1
32959 _ACEOF
32960
32961 fi
32962 fi
32963
32964
32965 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32966 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32967 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32970
32971 cat >conftest.$ac_ext <<_ACEOF
32972 /* confdefs.h. */
32973 _ACEOF
32974 cat confdefs.h >>conftest.$ac_ext
32975 cat >>conftest.$ac_ext <<_ACEOF
32976 /* end confdefs.h. */
32977 #include <pwd.h>
32978 int
32979 main ()
32980 {
32981
32982 char *p;
32983 struct passwd *pw;
32984 p = pw->pw_gecos;
32985
32986 ;
32987 return 0;
32988 }
32989 _ACEOF
32990 rm -f conftest.$ac_objext
32991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32992 (eval $ac_compile) 2>conftest.er1
32993 ac_status=$?
32994 grep -v '^ *+' conftest.er1 >conftest.err
32995 rm -f conftest.er1
32996 cat conftest.err >&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); } &&
32999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33002 ac_status=$?
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; } &&
33005 { ac_try='test -s conftest.$ac_objext'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33008 ac_status=$?
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; }; then
33011
33012 wx_cv_struct_pw_gecos=yes
33013
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018
33019 wx_cv_struct_pw_gecos=no
33020
33021
33022 fi
33023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33024
33025
33026 fi
33027 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33028 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33029
33030 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define HAVE_PW_GECOS 1
33033 _ACEOF
33034
33035 fi
33036
33037
33038 if test "$wxUSE_WCHAR_T" = "yes"; then
33039 cat >>confdefs.h <<\_ACEOF
33040 #define wxUSE_WCHAR_T 1
33041 _ACEOF
33042
33043
33044 WCSLEN_FOUND=0
33045 WCHAR_LINK=
33046
33047 for ac_func in wcslen
33048 do
33049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33050 echo "$as_me:$LINENO: checking for $ac_func" >&5
33051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33052 if eval "test \"\${$as_ac_var+set}\" = set"; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 else
33055 cat >conftest.$ac_ext <<_ACEOF
33056 /* confdefs.h. */
33057 _ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33063 #define $ac_func innocuous_$ac_func
33064
33065 /* System header to define __stub macros and hopefully few prototypes,
33066 which can conflict with char $ac_func (); below.
33067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33068 <limits.h> exists even on freestanding compilers. */
33069
33070 #ifdef __STDC__
33071 # include <limits.h>
33072 #else
33073 # include <assert.h>
33074 #endif
33075
33076 #undef $ac_func
33077
33078 /* Override any gcc2 internal prototype to avoid an error. */
33079 #ifdef __cplusplus
33080 extern "C"
33081 {
33082 #endif
33083 /* We use char because int might match the return type of a gcc2
33084 builtin and then its argument prototype would still apply. */
33085 char $ac_func ();
33086 /* The GNU C library defines this for functions which it implements
33087 to always fail with ENOSYS. Some functions are actually named
33088 something starting with __ and the normal name is an alias. */
33089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33090 choke me
33091 #else
33092 char (*f) () = $ac_func;
33093 #endif
33094 #ifdef __cplusplus
33095 }
33096 #endif
33097
33098 int
33099 main ()
33100 {
33101 return f != $ac_func;
33102 ;
33103 return 0;
33104 }
33105 _ACEOF
33106 rm -f conftest.$ac_objext conftest$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108 (eval $ac_link) 2>conftest.er1
33109 ac_status=$?
33110 grep -v '^ *+' conftest.er1 >conftest.err
33111 rm -f conftest.er1
33112 cat conftest.err >&5
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); } &&
33115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; } &&
33121 { ac_try='test -s conftest$ac_exeext'
33122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123 (eval $ac_try) 2>&5
33124 ac_status=$?
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }; then
33127 eval "$as_ac_var=yes"
33128 else
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 eval "$as_ac_var=no"
33133 fi
33134 rm -f conftest.err conftest.$ac_objext \
33135 conftest$ac_exeext conftest.$ac_ext
33136 fi
33137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33139 if test `eval echo '${'$as_ac_var'}'` = yes; then
33140 cat >>confdefs.h <<_ACEOF
33141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33142 _ACEOF
33143 WCSLEN_FOUND=1
33144 fi
33145 done
33146
33147
33148 if test "$WCSLEN_FOUND" = 0; then
33149 if test "$TOOLKIT" = "MSW"; then
33150 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33151 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33152 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33154 else
33155 ac_check_lib_save_LIBS=$LIBS
33156 LIBS="-lmsvcrt $LIBS"
33157 cat >conftest.$ac_ext <<_ACEOF
33158 /* confdefs.h. */
33159 _ACEOF
33160 cat confdefs.h >>conftest.$ac_ext
33161 cat >>conftest.$ac_ext <<_ACEOF
33162 /* end confdefs.h. */
33163
33164 /* Override any gcc2 internal prototype to avoid an error. */
33165 #ifdef __cplusplus
33166 extern "C"
33167 #endif
33168 /* We use char because int might match the return type of a gcc2
33169 builtin and then its argument prototype would still apply. */
33170 char wcslen ();
33171 int
33172 main ()
33173 {
33174 wcslen ();
33175 ;
33176 return 0;
33177 }
33178 _ACEOF
33179 rm -f conftest.$ac_objext conftest$ac_exeext
33180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33181 (eval $ac_link) 2>conftest.er1
33182 ac_status=$?
33183 grep -v '^ *+' conftest.er1 >conftest.err
33184 rm -f conftest.er1
33185 cat conftest.err >&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33191 ac_status=$?
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try='test -s conftest$ac_exeext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200 ac_cv_lib_msvcrt_wcslen=yes
33201 else
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.$ac_ext >&5
33204
33205 ac_cv_lib_msvcrt_wcslen=no
33206 fi
33207 rm -f conftest.err conftest.$ac_objext \
33208 conftest$ac_exeext conftest.$ac_ext
33209 LIBS=$ac_check_lib_save_LIBS
33210 fi
33211 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33212 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33213 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33214 WCHAR_OK=1
33215 fi
33216
33217 else
33218 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33219 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33220 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33222 else
33223 ac_check_lib_save_LIBS=$LIBS
33224 LIBS="-lw $LIBS"
33225 cat >conftest.$ac_ext <<_ACEOF
33226 /* confdefs.h. */
33227 _ACEOF
33228 cat confdefs.h >>conftest.$ac_ext
33229 cat >>conftest.$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33231
33232 /* Override any gcc2 internal prototype to avoid an error. */
33233 #ifdef __cplusplus
33234 extern "C"
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char wcslen ();
33239 int
33240 main ()
33241 {
33242 wcslen ();
33243 ;
33244 return 0;
33245 }
33246 _ACEOF
33247 rm -f conftest.$ac_objext conftest$ac_exeext
33248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33249 (eval $ac_link) 2>conftest.er1
33250 ac_status=$?
33251 grep -v '^ *+' conftest.er1 >conftest.err
33252 rm -f conftest.er1
33253 cat conftest.err >&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); } &&
33256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33258 (eval $ac_try) 2>&5
33259 ac_status=$?
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); }; } &&
33262 { ac_try='test -s conftest$ac_exeext'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 ac_cv_lib_w_wcslen=yes
33269 else
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33272
33273 ac_cv_lib_w_wcslen=no
33274 fi
33275 rm -f conftest.err conftest.$ac_objext \
33276 conftest$ac_exeext conftest.$ac_ext
33277 LIBS=$ac_check_lib_save_LIBS
33278 fi
33279 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33280 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33281 if test $ac_cv_lib_w_wcslen = yes; then
33282
33283 WCHAR_LINK=" -lw"
33284 WCSLEN_FOUND=1
33285
33286 fi
33287
33288 fi
33289 fi
33290
33291 if test "$WCSLEN_FOUND" = 1; then
33292 cat >>confdefs.h <<\_ACEOF
33293 #define HAVE_WCSLEN 1
33294 _ACEOF
33295
33296 fi
33297
33298 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33299 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33300 fi
33301
33302 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33303 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33304 if test "${ac_cv_type_mbstate_t+set}" = set; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33306 else
33307 cat >conftest.$ac_ext <<_ACEOF
33308 /* confdefs.h. */
33309 _ACEOF
33310 cat confdefs.h >>conftest.$ac_ext
33311 cat >>conftest.$ac_ext <<_ACEOF
33312 /* end confdefs.h. */
33313 #include <wchar.h>
33314
33315 int
33316 main ()
33317 {
33318 if ((mbstate_t *) 0)
33319 return 0;
33320 if (sizeof (mbstate_t))
33321 return 0;
33322 ;
33323 return 0;
33324 }
33325 _ACEOF
33326 rm -f conftest.$ac_objext
33327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33328 (eval $ac_compile) 2>conftest.er1
33329 ac_status=$?
33330 grep -v '^ *+' conftest.er1 >conftest.err
33331 rm -f conftest.er1
33332 cat conftest.err >&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); } &&
33335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33338 ac_status=$?
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33341 { ac_try='test -s conftest.$ac_objext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33344 ac_status=$?
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 ac_cv_type_mbstate_t=yes
33348 else
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33351
33352 ac_cv_type_mbstate_t=no
33353 fi
33354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33355 fi
33356 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33357 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33358 if test $ac_cv_type_mbstate_t = yes; then
33359
33360 cat >>confdefs.h <<_ACEOF
33361 #define HAVE_MBSTATE_T 1
33362 _ACEOF
33363
33364
33365 for ac_func in wcsrtombs
33366 do
33367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33368 echo "$as_me:$LINENO: checking for $ac_func" >&5
33369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33370 if eval "test \"\${$as_ac_var+set}\" = set"; then
33371 echo $ECHO_N "(cached) $ECHO_C" >&6
33372 else
33373 cat >conftest.$ac_ext <<_ACEOF
33374 /* confdefs.h. */
33375 _ACEOF
33376 cat confdefs.h >>conftest.$ac_ext
33377 cat >>conftest.$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33381 #define $ac_func innocuous_$ac_func
33382
33383 /* System header to define __stub macros and hopefully few prototypes,
33384 which can conflict with char $ac_func (); below.
33385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33386 <limits.h> exists even on freestanding compilers. */
33387
33388 #ifdef __STDC__
33389 # include <limits.h>
33390 #else
33391 # include <assert.h>
33392 #endif
33393
33394 #undef $ac_func
33395
33396 /* Override any gcc2 internal prototype to avoid an error. */
33397 #ifdef __cplusplus
33398 extern "C"
33399 {
33400 #endif
33401 /* We use char because int might match the return type of a gcc2
33402 builtin and then its argument prototype would still apply. */
33403 char $ac_func ();
33404 /* The GNU C library defines this for functions which it implements
33405 to always fail with ENOSYS. Some functions are actually named
33406 something starting with __ and the normal name is an alias. */
33407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33408 choke me
33409 #else
33410 char (*f) () = $ac_func;
33411 #endif
33412 #ifdef __cplusplus
33413 }
33414 #endif
33415
33416 int
33417 main ()
33418 {
33419 return f != $ac_func;
33420 ;
33421 return 0;
33422 }
33423 _ACEOF
33424 rm -f conftest.$ac_objext conftest$ac_exeext
33425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33426 (eval $ac_link) 2>conftest.er1
33427 ac_status=$?
33428 grep -v '^ *+' conftest.er1 >conftest.err
33429 rm -f conftest.er1
33430 cat conftest.err >&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } &&
33433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33436 ac_status=$?
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; } &&
33439 { ac_try='test -s conftest$ac_exeext'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; }; then
33445 eval "$as_ac_var=yes"
33446 else
33447 echo "$as_me: failed program was:" >&5
33448 sed 's/^/| /' conftest.$ac_ext >&5
33449
33450 eval "$as_ac_var=no"
33451 fi
33452 rm -f conftest.err conftest.$ac_objext \
33453 conftest$ac_exeext conftest.$ac_ext
33454 fi
33455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33457 if test `eval echo '${'$as_ac_var'}'` = yes; then
33458 cat >>confdefs.h <<_ACEOF
33459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33460 _ACEOF
33461
33462 fi
33463 done
33464
33465 fi
33466
33467 else
33468 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33469 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33470 fi
33471
33472
33473
33474 for ac_func in snprintf vsnprintf
33475 do
33476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33477 echo "$as_me:$LINENO: checking for $ac_func" >&5
33478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33479 if eval "test \"\${$as_ac_var+set}\" = set"; then
33480 echo $ECHO_N "(cached) $ECHO_C" >&6
33481 else
33482 cat >conftest.$ac_ext <<_ACEOF
33483 /* confdefs.h. */
33484 _ACEOF
33485 cat confdefs.h >>conftest.$ac_ext
33486 cat >>conftest.$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33490 #define $ac_func innocuous_$ac_func
33491
33492 /* System header to define __stub macros and hopefully few prototypes,
33493 which can conflict with char $ac_func (); below.
33494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33495 <limits.h> exists even on freestanding compilers. */
33496
33497 #ifdef __STDC__
33498 # include <limits.h>
33499 #else
33500 # include <assert.h>
33501 #endif
33502
33503 #undef $ac_func
33504
33505 /* Override any gcc2 internal prototype to avoid an error. */
33506 #ifdef __cplusplus
33507 extern "C"
33508 {
33509 #endif
33510 /* We use char because int might match the return type of a gcc2
33511 builtin and then its argument prototype would still apply. */
33512 char $ac_func ();
33513 /* The GNU C library defines this for functions which it implements
33514 to always fail with ENOSYS. Some functions are actually named
33515 something starting with __ and the normal name is an alias. */
33516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33517 choke me
33518 #else
33519 char (*f) () = $ac_func;
33520 #endif
33521 #ifdef __cplusplus
33522 }
33523 #endif
33524
33525 int
33526 main ()
33527 {
33528 return f != $ac_func;
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 rm -f conftest.$ac_objext conftest$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33544 (eval $ac_try) 2>&5
33545 ac_status=$?
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); }; } &&
33548 { ac_try='test -s conftest$ac_exeext'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33551 ac_status=$?
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; }; then
33554 eval "$as_ac_var=yes"
33555 else
33556 echo "$as_me: failed program was:" >&5
33557 sed 's/^/| /' conftest.$ac_ext >&5
33558
33559 eval "$as_ac_var=no"
33560 fi
33561 rm -f conftest.err conftest.$ac_objext \
33562 conftest$ac_exeext conftest.$ac_ext
33563 fi
33564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33566 if test `eval echo '${'$as_ac_var'}'` = yes; then
33567 cat >>confdefs.h <<_ACEOF
33568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33569 _ACEOF
33570
33571 fi
33572 done
33573
33574
33575 if test "$ac_cv_func_vsnprintf" = "yes"; then
33576 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33577 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33578 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581
33582 cat >conftest.$ac_ext <<_ACEOF
33583 /* confdefs.h. */
33584 _ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588
33589 #include <stdio.h>
33590 #include <stdarg.h>
33591 #ifdef __MSL__
33592 #if __MSL__ >= 0x6000
33593 namespace std {}
33594 using namespace std;
33595 #endif
33596 #endif
33597
33598 int
33599 main ()
33600 {
33601
33602 char *buf;
33603 va_list ap;
33604 vsnprintf(buf, 10u, "%s", ap);
33605
33606 ;
33607 return 0;
33608 }
33609 _ACEOF
33610 rm -f conftest.$ac_objext
33611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33612 (eval $ac_compile) 2>conftest.er1
33613 ac_status=$?
33614 grep -v '^ *+' conftest.er1 >conftest.err
33615 rm -f conftest.er1
33616 cat conftest.err >&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } &&
33619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33621 (eval $ac_try) 2>&5
33622 ac_status=$?
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); }; } &&
33625 { ac_try='test -s conftest.$ac_objext'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33628 ac_status=$?
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; }; then
33631 wx_cv_func_vsnprintf_decl=yes
33632 else
33633 echo "$as_me: failed program was:" >&5
33634 sed 's/^/| /' conftest.$ac_ext >&5
33635
33636 wx_cv_func_vsnprintf_decl=no
33637
33638 fi
33639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33640
33641
33642 fi
33643 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33644 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33645
33646 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33647 cat >>confdefs.h <<\_ACEOF
33648 #define HAVE_VSNPRINTF_DECL 1
33649 _ACEOF
33650
33651
33652 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33653 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33654 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33655 echo $ECHO_N "(cached) $ECHO_C" >&6
33656 else
33657
33658 cat >conftest.$ac_ext <<_ACEOF
33659 /* confdefs.h. */
33660 _ACEOF
33661 cat confdefs.h >>conftest.$ac_ext
33662 cat >>conftest.$ac_ext <<_ACEOF
33663 /* end confdefs.h. */
33664
33665 #include <stdio.h>
33666 #include <stdarg.h>
33667 #ifdef __MSL__
33668 #if __MSL__ >= 0x6000
33669 namespace std {}
33670 using namespace std;
33671 #endif
33672 #endif
33673
33674 int
33675 main ()
33676 {
33677
33678 char *buf;
33679 va_list ap;
33680 const char *fmt = "%s";
33681 vsnprintf(buf, 10u, fmt, ap);
33682
33683 ;
33684 return 0;
33685 }
33686 _ACEOF
33687 rm -f conftest.$ac_objext
33688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33689 (eval $ac_compile) 2>conftest.er1
33690 ac_status=$?
33691 grep -v '^ *+' conftest.er1 >conftest.err
33692 rm -f conftest.er1
33693 cat conftest.err >&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } &&
33696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698 (eval $ac_try) 2>&5
33699 ac_status=$?
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); }; } &&
33702 { ac_try='test -s conftest.$ac_objext'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33705 ac_status=$?
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; }; then
33708 wx_cv_func_broken_vsnprintf_decl=no
33709 else
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33712
33713 wx_cv_func_broken_vsnprintf_decl=yes
33714
33715 fi
33716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33717
33718
33719 fi
33720 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33721 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33722
33723 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33724 cat >>confdefs.h <<\_ACEOF
33725 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33726 _ACEOF
33727
33728 fi
33729 fi
33730 fi
33731
33732 if test "$ac_cv_func_snprintf" = "yes"; then
33733 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33734 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33735 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 else
33738
33739 cat >conftest.$ac_ext <<_ACEOF
33740 /* confdefs.h. */
33741 _ACEOF
33742 cat confdefs.h >>conftest.$ac_ext
33743 cat >>conftest.$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33745
33746 #include <stdio.h>
33747 #include <stdarg.h>
33748 #ifdef __MSL__
33749 #if __MSL__ >= 0x6000
33750 namespace std {}
33751 using namespace std;
33752 #endif
33753 #endif
33754
33755 int
33756 main ()
33757 {
33758
33759 char *buf;
33760 snprintf(buf, 10u, "%s", "wx");
33761
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 rm -f conftest.$ac_objext
33767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33768 (eval $ac_compile) 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } &&
33775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; } &&
33781 { ac_try='test -s conftest.$ac_objext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33784 ac_status=$?
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 wx_cv_func_snprintf_decl=yes
33788 else
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33791
33792 wx_cv_func_snprintf_decl=no
33793
33794 fi
33795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33796
33797
33798 fi
33799 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33800 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33801
33802 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33803 cat >>confdefs.h <<\_ACEOF
33804 #define HAVE_SNPRINTF_DECL 1
33805 _ACEOF
33806
33807
33808 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33809 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33810 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33811 echo $ECHO_N "(cached) $ECHO_C" >&6
33812 else
33813
33814 cat >conftest.$ac_ext <<_ACEOF
33815 /* confdefs.h. */
33816 _ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820
33821 #include <stdio.h>
33822 #include <stdarg.h>
33823 #ifdef __MSL__
33824 #if __MSL__ >= 0x6000
33825 namespace std {}
33826 using namespace std;
33827 #endif
33828 #endif
33829
33830 int
33831 main ()
33832 {
33833
33834 char *buf;
33835 const char *fmt = "%s";
33836 snprintf(buf, 10u, fmt, "wx");
33837
33838 ;
33839 return 0;
33840 }
33841 _ACEOF
33842 rm -f conftest.$ac_objext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33844 (eval $ac_compile) 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33854 ac_status=$?
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; } &&
33857 { ac_try='test -s conftest.$ac_objext'
33858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33859 (eval $ac_try) 2>&5
33860 ac_status=$?
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; }; then
33863 wx_cv_func_broken_snprintf_decl=no
33864 else
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.$ac_ext >&5
33867
33868 wx_cv_func_broken_snprintf_decl=yes
33869
33870 fi
33871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33872
33873
33874 fi
33875 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33876 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33877
33878 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33879 cat >>confdefs.h <<\_ACEOF
33880 #define HAVE_BROKEN_SNPRINTF_DECL 1
33881 _ACEOF
33882
33883 fi
33884 fi
33885 fi
33886
33887 if test "$wxUSE_UNICODE" = yes; then
33888
33889
33890
33891
33892
33893
33894 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33895 do
33896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33897 echo "$as_me:$LINENO: checking for $ac_func" >&5
33898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33899 if eval "test \"\${$as_ac_var+set}\" = set"; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 else
33902 cat >conftest.$ac_ext <<_ACEOF
33903 /* confdefs.h. */
33904 _ACEOF
33905 cat confdefs.h >>conftest.$ac_ext
33906 cat >>conftest.$ac_ext <<_ACEOF
33907 /* end confdefs.h. */
33908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33910 #define $ac_func innocuous_$ac_func
33911
33912 /* System header to define __stub macros and hopefully few prototypes,
33913 which can conflict with char $ac_func (); below.
33914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33915 <limits.h> exists even on freestanding compilers. */
33916
33917 #ifdef __STDC__
33918 # include <limits.h>
33919 #else
33920 # include <assert.h>
33921 #endif
33922
33923 #undef $ac_func
33924
33925 /* Override any gcc2 internal prototype to avoid an error. */
33926 #ifdef __cplusplus
33927 extern "C"
33928 {
33929 #endif
33930 /* We use char because int might match the return type of a gcc2
33931 builtin and then its argument prototype would still apply. */
33932 char $ac_func ();
33933 /* The GNU C library defines this for functions which it implements
33934 to always fail with ENOSYS. Some functions are actually named
33935 something starting with __ and the normal name is an alias. */
33936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33937 choke me
33938 #else
33939 char (*f) () = $ac_func;
33940 #endif
33941 #ifdef __cplusplus
33942 }
33943 #endif
33944
33945 int
33946 main ()
33947 {
33948 return f != $ac_func;
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext conftest$ac_exeext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33955 (eval $ac_link) 2>conftest.er1
33956 ac_status=$?
33957 grep -v '^ *+' conftest.er1 >conftest.err
33958 rm -f conftest.er1
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; } &&
33968 { ac_try='test -s conftest$ac_exeext'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; }; then
33974 eval "$as_ac_var=yes"
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33978
33979 eval "$as_ac_var=no"
33980 fi
33981 rm -f conftest.err conftest.$ac_objext \
33982 conftest$ac_exeext conftest.$ac_ext
33983 fi
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33986 if test `eval echo '${'$as_ac_var'}'` = yes; then
33987 cat >>confdefs.h <<_ACEOF
33988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33989 _ACEOF
33990
33991 fi
33992 done
33993
33994
33995 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33996 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33997 cat >conftest.$ac_ext <<_ACEOF
33998 /* confdefs.h. */
33999 _ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <wchar.h>
34004 int
34005 main ()
34006 {
34007 &_vsnwprintf;
34008 ;
34009 return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>conftest.er1
34015 ac_status=$?
34016 grep -v '^ *+' conftest.er1 >conftest.err
34017 rm -f conftest.er1
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34024 ac_status=$?
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34030 ac_status=$?
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 echo "$as_me:$LINENO: result: yes" >&5
34034 echo "${ECHO_T}yes" >&6
34035 cat >>confdefs.h <<\_ACEOF
34036 #define HAVE__VSNWPRINTF 1
34037 _ACEOF
34038
34039 else
34040 echo "$as_me: failed program was:" >&5
34041 sed 's/^/| /' conftest.$ac_ext >&5
34042
34043 echo "$as_me:$LINENO: result: no" >&5
34044 echo "${ECHO_T}no" >&6
34045 fi
34046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34047 fi
34048
34049 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34050
34051 for ac_func in fnmatch
34052 do
34053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34054 echo "$as_me:$LINENO: checking for $ac_func" >&5
34055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34056 if eval "test \"\${$as_ac_var+set}\" = set"; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 else
34059 cat >conftest.$ac_ext <<_ACEOF
34060 /* confdefs.h. */
34061 _ACEOF
34062 cat confdefs.h >>conftest.$ac_ext
34063 cat >>conftest.$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34067 #define $ac_func innocuous_$ac_func
34068
34069 /* System header to define __stub macros and hopefully few prototypes,
34070 which can conflict with char $ac_func (); below.
34071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34072 <limits.h> exists even on freestanding compilers. */
34073
34074 #ifdef __STDC__
34075 # include <limits.h>
34076 #else
34077 # include <assert.h>
34078 #endif
34079
34080 #undef $ac_func
34081
34082 /* Override any gcc2 internal prototype to avoid an error. */
34083 #ifdef __cplusplus
34084 extern "C"
34085 {
34086 #endif
34087 /* We use char because int might match the return type of a gcc2
34088 builtin and then its argument prototype would still apply. */
34089 char $ac_func ();
34090 /* The GNU C library defines this for functions which it implements
34091 to always fail with ENOSYS. Some functions are actually named
34092 something starting with __ and the normal name is an alias. */
34093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34094 choke me
34095 #else
34096 char (*f) () = $ac_func;
34097 #endif
34098 #ifdef __cplusplus
34099 }
34100 #endif
34101
34102 int
34103 main ()
34104 {
34105 return f != $ac_func;
34106 ;
34107 return 0;
34108 }
34109 _ACEOF
34110 rm -f conftest.$ac_objext conftest$ac_exeext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34112 (eval $ac_link) 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try='test -s conftest$ac_exeext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131 eval "$as_ac_var=yes"
34132 else
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.$ac_ext >&5
34135
34136 eval "$as_ac_var=no"
34137 fi
34138 rm -f conftest.err conftest.$ac_objext \
34139 conftest$ac_exeext conftest.$ac_ext
34140 fi
34141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34143 if test `eval echo '${'$as_ac_var'}'` = yes; then
34144 cat >>confdefs.h <<_ACEOF
34145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34146 _ACEOF
34147
34148 fi
34149 done
34150
34151 fi
34152
34153 if test "$wxUSE_FILE" = "yes"; then
34154
34155 for ac_func in fsync
34156 do
34157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34158 echo "$as_me:$LINENO: checking for $ac_func" >&5
34159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34160 if eval "test \"\${$as_ac_var+set}\" = set"; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 else
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34171 #define $ac_func innocuous_$ac_func
34172
34173 /* System header to define __stub macros and hopefully few prototypes,
34174 which can conflict with char $ac_func (); below.
34175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34176 <limits.h> exists even on freestanding compilers. */
34177
34178 #ifdef __STDC__
34179 # include <limits.h>
34180 #else
34181 # include <assert.h>
34182 #endif
34183
34184 #undef $ac_func
34185
34186 /* Override any gcc2 internal prototype to avoid an error. */
34187 #ifdef __cplusplus
34188 extern "C"
34189 {
34190 #endif
34191 /* We use char because int might match the return type of a gcc2
34192 builtin and then its argument prototype would still apply. */
34193 char $ac_func ();
34194 /* The GNU C library defines this for functions which it implements
34195 to always fail with ENOSYS. Some functions are actually named
34196 something starting with __ and the normal name is an alias. */
34197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34198 choke me
34199 #else
34200 char (*f) () = $ac_func;
34201 #endif
34202 #ifdef __cplusplus
34203 }
34204 #endif
34205
34206 int
34207 main ()
34208 {
34209 return f != $ac_func;
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext conftest$ac_exeext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34216 (eval $ac_link) 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try='test -s conftest$ac_exeext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34232 ac_status=$?
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 eval "$as_ac_var=yes"
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 eval "$as_ac_var=no"
34241 fi
34242 rm -f conftest.err conftest.$ac_objext \
34243 conftest$ac_exeext conftest.$ac_ext
34244 fi
34245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34247 if test `eval echo '${'$as_ac_var'}'` = yes; then
34248 cat >>confdefs.h <<_ACEOF
34249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34250 _ACEOF
34251
34252 fi
34253 done
34254
34255 fi
34256
34257
34258 if test "$TOOLKIT" != "MSW"; then
34259
34260
34261
34262
34263
34264 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34265 if test "${with_libiconv_prefix+set}" = set; then
34266 withval="$with_libiconv_prefix"
34267
34268 for dir in `echo "$withval" | tr : ' '`; do
34269 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34270 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34271 done
34272
34273 fi;
34274
34275 echo "$as_me:$LINENO: checking for iconv" >&5
34276 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34277 if test "${am_cv_func_iconv+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 else
34280
34281 am_cv_func_iconv="no, consider installing GNU libiconv"
34282 am_cv_lib_iconv=no
34283 cat >conftest.$ac_ext <<_ACEOF
34284 /* confdefs.h. */
34285 _ACEOF
34286 cat confdefs.h >>conftest.$ac_ext
34287 cat >>conftest.$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 #include <stdlib.h>
34290 #include <iconv.h>
34291 int
34292 main ()
34293 {
34294 iconv_t cd = iconv_open("","");
34295 iconv(cd,NULL,NULL,NULL,NULL);
34296 iconv_close(cd);
34297 ;
34298 return 0;
34299 }
34300 _ACEOF
34301 rm -f conftest.$ac_objext conftest$ac_exeext
34302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34303 (eval $ac_link) 2>conftest.er1
34304 ac_status=$?
34305 grep -v '^ *+' conftest.er1 >conftest.err
34306 rm -f conftest.er1
34307 cat conftest.err >&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } &&
34310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; } &&
34316 { ac_try='test -s conftest$ac_exeext'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34319 ac_status=$?
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; }; then
34322 am_cv_func_iconv=yes
34323 else
34324 echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.$ac_ext >&5
34326
34327 fi
34328 rm -f conftest.err conftest.$ac_objext \
34329 conftest$ac_exeext conftest.$ac_ext
34330 if test "$am_cv_func_iconv" != yes; then
34331 am_save_LIBS="$LIBS"
34332 LIBS="$LIBS -liconv"
34333 cat >conftest.$ac_ext <<_ACEOF
34334 /* confdefs.h. */
34335 _ACEOF
34336 cat confdefs.h >>conftest.$ac_ext
34337 cat >>conftest.$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34339 #include <stdlib.h>
34340 #include <iconv.h>
34341 int
34342 main ()
34343 {
34344 iconv_t cd = iconv_open("","");
34345 iconv(cd,NULL,NULL,NULL,NULL);
34346 iconv_close(cd);
34347 ;
34348 return 0;
34349 }
34350 _ACEOF
34351 rm -f conftest.$ac_objext conftest$ac_exeext
34352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34353 (eval $ac_link) 2>conftest.er1
34354 ac_status=$?
34355 grep -v '^ *+' conftest.er1 >conftest.err
34356 rm -f conftest.er1
34357 cat conftest.err >&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); } &&
34360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34363 ac_status=$?
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; } &&
34366 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34372 am_cv_lib_iconv=yes
34373 am_cv_func_iconv=yes
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 fi
34379 rm -f conftest.err conftest.$ac_objext \
34380 conftest$ac_exeext conftest.$ac_ext
34381 LIBS="$am_save_LIBS"
34382 fi
34383
34384 fi
34385 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34386 echo "${ECHO_T}$am_cv_func_iconv" >&6
34387 if test "$am_cv_func_iconv" = yes; then
34388
34389 cat >>confdefs.h <<\_ACEOF
34390 #define HAVE_ICONV 1
34391 _ACEOF
34392
34393 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34394 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34395 if test "${wx_cv_func_iconv_const+set}" = set; then
34396 echo $ECHO_N "(cached) $ECHO_C" >&6
34397 else
34398 cat >conftest.$ac_ext <<_ACEOF
34399 /* confdefs.h. */
34400 _ACEOF
34401 cat confdefs.h >>conftest.$ac_ext
34402 cat >>conftest.$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34404
34405 #include <stdlib.h>
34406 #include <iconv.h>
34407 extern
34408 #ifdef __cplusplus
34409 "C"
34410 #endif
34411 #if defined(__STDC__) || defined(__cplusplus)
34412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34413 #else
34414 size_t iconv();
34415 #endif
34416
34417 int
34418 main ()
34419 {
34420
34421 ;
34422 return 0;
34423 }
34424 _ACEOF
34425 rm -f conftest.$ac_objext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34427 (eval $ac_compile) 2>conftest.er1
34428 ac_status=$?
34429 grep -v '^ *+' conftest.er1 >conftest.err
34430 rm -f conftest.er1
34431 cat conftest.err >&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } &&
34434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34437 ac_status=$?
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try='test -s conftest.$ac_objext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34443 ac_status=$?
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 wx_cv_func_iconv_const="no"
34447 else
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34450
34451 wx_cv_func_iconv_const="yes"
34452
34453 fi
34454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34455
34456 fi
34457 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34459
34460 iconv_const=
34461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34462 iconv_const="const"
34463 fi
34464
34465
34466 cat >>confdefs.h <<_ACEOF
34467 #define ICONV_CONST $iconv_const
34468 _ACEOF
34469
34470 fi
34471 LIBICONV=
34472 if test "$am_cv_lib_iconv" = yes; then
34473 LIBICONV="-liconv"
34474 fi
34475
34476
34477 LIBS="$LIBICONV $LIBS"
34478
34479 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34480
34481 for ac_func in sigaction
34482 do
34483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 echo "$as_me:$LINENO: checking for $ac_func" >&5
34485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34486 if eval "test \"\${$as_ac_var+set}\" = set"; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 else
34489 cat >conftest.$ac_ext <<_ACEOF
34490 /* confdefs.h. */
34491 _ACEOF
34492 cat confdefs.h >>conftest.$ac_ext
34493 cat >>conftest.$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34497 #define $ac_func innocuous_$ac_func
34498
34499 /* System header to define __stub macros and hopefully few prototypes,
34500 which can conflict with char $ac_func (); below.
34501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34502 <limits.h> exists even on freestanding compilers. */
34503
34504 #ifdef __STDC__
34505 # include <limits.h>
34506 #else
34507 # include <assert.h>
34508 #endif
34509
34510 #undef $ac_func
34511
34512 /* Override any gcc2 internal prototype to avoid an error. */
34513 #ifdef __cplusplus
34514 extern "C"
34515 {
34516 #endif
34517 /* We use char because int might match the return type of a gcc2
34518 builtin and then its argument prototype would still apply. */
34519 char $ac_func ();
34520 /* The GNU C library defines this for functions which it implements
34521 to always fail with ENOSYS. Some functions are actually named
34522 something starting with __ and the normal name is an alias. */
34523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34524 choke me
34525 #else
34526 char (*f) () = $ac_func;
34527 #endif
34528 #ifdef __cplusplus
34529 }
34530 #endif
34531
34532 int
34533 main ()
34534 {
34535 return f != $ac_func;
34536 ;
34537 return 0;
34538 }
34539 _ACEOF
34540 rm -f conftest.$ac_objext conftest$ac_exeext
34541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34542 (eval $ac_link) 2>conftest.er1
34543 ac_status=$?
34544 grep -v '^ *+' conftest.er1 >conftest.err
34545 rm -f conftest.er1
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } &&
34549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34552 ac_status=$?
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; } &&
34555 { ac_try='test -s conftest$ac_exeext'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34558 ac_status=$?
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; }; then
34561 eval "$as_ac_var=yes"
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566 eval "$as_ac_var=no"
34567 fi
34568 rm -f conftest.err conftest.$ac_objext \
34569 conftest$ac_exeext conftest.$ac_ext
34570 fi
34571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34573 if test `eval echo '${'$as_ac_var'}'` = yes; then
34574 cat >>confdefs.h <<_ACEOF
34575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34576 _ACEOF
34577
34578 fi
34579 done
34580
34581
34582 if test "$ac_cv_func_sigaction" = "no"; then
34583 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34584 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34585 wxUSE_ON_FATAL_EXCEPTION=no
34586 fi
34587
34588 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34589 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34590 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34591 if test "${wx_cv_type_sa_handler+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34593 else
34594
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 #include <signal.h>
34602 int
34603 main ()
34604 {
34605
34606 extern void testSigHandler(int);
34607
34608 struct sigaction sa;
34609 sa.sa_handler = testSigHandler;
34610
34611 ;
34612 return 0;
34613 }
34614 _ACEOF
34615 rm -f conftest.$ac_objext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34617 (eval $ac_compile) 2>conftest.er1
34618 ac_status=$?
34619 grep -v '^ *+' conftest.er1 >conftest.err
34620 rm -f conftest.er1
34621 cat conftest.err >&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34627 ac_status=$?
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; } &&
34630 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34636
34637 wx_cv_type_sa_handler=int
34638
34639 else
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34642
34643
34644 wx_cv_type_sa_handler=void
34645
34646 fi
34647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34648
34649 fi
34650 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34651 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34652
34653 cat >>confdefs.h <<_ACEOF
34654 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34655 _ACEOF
34656
34657 fi
34658 fi
34659
34660 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34661 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34662 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34663 if test "${wx_cv_func_backtrace+set}" = set; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34665 else
34666
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 #include <execinfo.h>
34674 int
34675 main ()
34676 {
34677
34678 void *trace[1];
34679 char **messages;
34680
34681 backtrace(trace, 1);
34682 messages = backtrace_symbols(trace, 1);
34683
34684 ;
34685 return 0;
34686 }
34687 _ACEOF
34688 rm -f conftest.$ac_objext
34689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34690 (eval $ac_compile) 2>conftest.er1
34691 ac_status=$?
34692 grep -v '^ *+' conftest.er1 >conftest.err
34693 rm -f conftest.er1
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } &&
34697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699 (eval $ac_try) 2>&5
34700 ac_status=$?
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); }; } &&
34703 { ac_try='test -s conftest.$ac_objext'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34706 ac_status=$?
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; }; then
34709 wx_cv_func_backtrace=yes
34710 else
34711 echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.$ac_ext >&5
34713
34714 wx_cv_func_backtrace=no
34715
34716 fi
34717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34718
34719
34720 fi
34721 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34722 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34723
34724
34725 if test "$wx_cv_func_backtrace" = "no"; then
34726 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34727 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34728 wxUSE_STACKWALKER=no
34729 else
34730 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34731 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34732 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 else
34735
34736 cat >conftest.$ac_ext <<_ACEOF
34737 /* confdefs.h. */
34738 _ACEOF
34739 cat confdefs.h >>conftest.$ac_ext
34740 cat >>conftest.$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34742 #include <cxxabi.h>
34743 int
34744 main ()
34745 {
34746
34747 int rc;
34748 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34749
34750 ;
34751 return 0;
34752 }
34753 _ACEOF
34754 rm -f conftest.$ac_objext conftest$ac_exeext
34755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34756 (eval $ac_link) 2>conftest.er1
34757 ac_status=$?
34758 grep -v '^ *+' conftest.er1 >conftest.err
34759 rm -f conftest.er1
34760 cat conftest.err >&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } &&
34763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34765 (eval $ac_try) 2>&5
34766 ac_status=$?
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); }; } &&
34769 { ac_try='test -s conftest$ac_exeext'
34770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34771 (eval $ac_try) 2>&5
34772 ac_status=$?
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); }; }; then
34775 wx_cv_func_cxa_demangle=yes
34776 else
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.$ac_ext >&5
34779
34780 wx_cv_func_cxa_demangle=no
34781
34782 fi
34783 rm -f conftest.err conftest.$ac_objext \
34784 conftest$ac_exeext conftest.$ac_ext
34785
34786
34787 fi
34788 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34789 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34790
34791 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define HAVE_CXA_DEMANGLE 1
34794 _ACEOF
34795
34796 fi
34797 fi
34798 fi
34799
34800 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34801 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34802 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34803 wxUSE_STACKWALKER=no
34804 fi
34805
34806
34807
34808
34809 for ac_func in mkstemp mktemp
34810 do
34811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34812 echo "$as_me:$LINENO: checking for $ac_func" >&5
34813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34814 if eval "test \"\${$as_ac_var+set}\" = set"; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34816 else
34817 cat >conftest.$ac_ext <<_ACEOF
34818 /* confdefs.h. */
34819 _ACEOF
34820 cat confdefs.h >>conftest.$ac_ext
34821 cat >>conftest.$ac_ext <<_ACEOF
34822 /* end confdefs.h. */
34823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34825 #define $ac_func innocuous_$ac_func
34826
34827 /* System header to define __stub macros and hopefully few prototypes,
34828 which can conflict with char $ac_func (); below.
34829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34830 <limits.h> exists even on freestanding compilers. */
34831
34832 #ifdef __STDC__
34833 # include <limits.h>
34834 #else
34835 # include <assert.h>
34836 #endif
34837
34838 #undef $ac_func
34839
34840 /* Override any gcc2 internal prototype to avoid an error. */
34841 #ifdef __cplusplus
34842 extern "C"
34843 {
34844 #endif
34845 /* We use char because int might match the return type of a gcc2
34846 builtin and then its argument prototype would still apply. */
34847 char $ac_func ();
34848 /* The GNU C library defines this for functions which it implements
34849 to always fail with ENOSYS. Some functions are actually named
34850 something starting with __ and the normal name is an alias. */
34851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34852 choke me
34853 #else
34854 char (*f) () = $ac_func;
34855 #endif
34856 #ifdef __cplusplus
34857 }
34858 #endif
34859
34860 int
34861 main ()
34862 {
34863 return f != $ac_func;
34864 ;
34865 return 0;
34866 }
34867 _ACEOF
34868 rm -f conftest.$ac_objext conftest$ac_exeext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34870 (eval $ac_link) 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34880 ac_status=$?
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try='test -s conftest$ac_exeext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34886 ac_status=$?
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34889 eval "$as_ac_var=yes"
34890 else
34891 echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.$ac_ext >&5
34893
34894 eval "$as_ac_var=no"
34895 fi
34896 rm -f conftest.err conftest.$ac_objext \
34897 conftest$ac_exeext conftest.$ac_ext
34898 fi
34899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34901 if test `eval echo '${'$as_ac_var'}'` = yes; then
34902 cat >>confdefs.h <<_ACEOF
34903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34904 _ACEOF
34905 break
34906 fi
34907 done
34908
34909
34910 echo "$as_me:$LINENO: checking for statfs" >&5
34911 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34912 if test "${wx_cv_func_statfs+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 else
34915 cat >conftest.$ac_ext <<_ACEOF
34916 /* confdefs.h. */
34917 _ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34921
34922 #if defined(__BSD__)
34923 #include <sys/param.h>
34924 #include <sys/mount.h>
34925 #else
34926 #include <sys/vfs.h>
34927 #endif
34928
34929 int
34930 main ()
34931 {
34932
34933 long l;
34934 struct statfs fs;
34935 statfs("/", &fs);
34936 l = fs.f_bsize;
34937 l += fs.f_blocks;
34938 l += fs.f_bavail;
34939
34940 ;
34941 return 0;
34942 }
34943 _ACEOF
34944 rm -f conftest.$ac_objext
34945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34946 (eval $ac_compile) 2>conftest.er1
34947 ac_status=$?
34948 grep -v '^ *+' conftest.er1 >conftest.err
34949 rm -f conftest.er1
34950 cat conftest.err >&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } &&
34953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34956 ac_status=$?
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try='test -s conftest.$ac_objext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34962 ac_status=$?
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 wx_cv_func_statfs=yes
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34969
34970 wx_cv_func_statfs=no
34971
34972 fi
34973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34974
34975 fi
34976 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34977 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34978
34979 if test "$wx_cv_func_statfs" = "yes"; then
34980 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34981 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34982 if test "${wx_cv_func_statfs_decl+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 else
34985 cat >conftest.$ac_ext <<_ACEOF
34986 /* confdefs.h. */
34987 _ACEOF
34988 cat confdefs.h >>conftest.$ac_ext
34989 cat >>conftest.$ac_ext <<_ACEOF
34990 /* end confdefs.h. */
34991
34992 #if defined(__BSD__)
34993 #include <sys/param.h>
34994 #include <sys/mount.h>
34995 #else
34996 #include <sys/vfs.h>
34997 #endif
34998
34999 int
35000 main ()
35001 {
35002
35003 struct statfs fs;
35004 statfs("", &fs);
35005
35006 ;
35007 return 0;
35008 }
35009 _ACEOF
35010 rm -f conftest.$ac_objext
35011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35012 (eval $ac_compile) 2>conftest.er1
35013 ac_status=$?
35014 grep -v '^ *+' conftest.er1 >conftest.err
35015 rm -f conftest.er1
35016 cat conftest.err >&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); } &&
35019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35021 (eval $ac_try) 2>&5
35022 ac_status=$?
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); }; } &&
35025 { ac_try='test -s conftest.$ac_objext'
35026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35027 (eval $ac_try) 2>&5
35028 ac_status=$?
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); }; }; then
35031 wx_cv_func_statfs_decl=yes
35032 else
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.$ac_ext >&5
35035
35036 wx_cv_func_statfs_decl=no
35037
35038 fi
35039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35040
35041 fi
35042 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35043 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35044
35045 if test "$wx_cv_func_statfs_decl" = "yes"; then
35046 cat >>confdefs.h <<\_ACEOF
35047 #define HAVE_STATFS_DECL 1
35048 _ACEOF
35049
35050 fi
35051
35052 wx_cv_type_statvfs_t="struct statfs"
35053 cat >>confdefs.h <<\_ACEOF
35054 #define HAVE_STATFS 1
35055 _ACEOF
35056
35057 else
35058 echo "$as_me:$LINENO: checking for statvfs" >&5
35059 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35060 if test "${wx_cv_func_statvfs+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35063 cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h. */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069
35070 #include <stddef.h>
35071 #include <sys/statvfs.h>
35072
35073 int
35074 main ()
35075 {
35076
35077 statvfs("/", NULL);
35078
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 rm -f conftest.$ac_objext
35084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35085 (eval $ac_compile) 2>conftest.er1
35086 ac_status=$?
35087 grep -v '^ *+' conftest.er1 >conftest.err
35088 rm -f conftest.er1
35089 cat conftest.err >&5
35090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091 (exit $ac_status); } &&
35092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; } &&
35098 { ac_try='test -s conftest.$ac_objext'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35101 ac_status=$?
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; }; then
35104 wx_cv_func_statvfs=yes
35105 else
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35108
35109 wx_cv_func_statvfs=no
35110
35111 fi
35112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35113
35114 fi
35115 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35116 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35117
35118 if test "$wx_cv_func_statvfs" = "yes"; then
35119 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35120 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35121 if test "${wx_cv_type_statvfs_t+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35124 cat >conftest.$ac_ext <<_ACEOF
35125 /* confdefs.h. */
35126 _ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130
35131 #include <sys/statvfs.h>
35132
35133 int
35134 main ()
35135 {
35136
35137 long l;
35138 statvfs_t fs;
35139 statvfs("/", &fs);
35140 l = fs.f_bsize;
35141 l += fs.f_blocks;
35142 l += fs.f_bavail;
35143
35144 ;
35145 return 0;
35146 }
35147 _ACEOF
35148 rm -f conftest.$ac_objext
35149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35150 (eval $ac_compile) 2>conftest.er1
35151 ac_status=$?
35152 grep -v '^ *+' conftest.er1 >conftest.err
35153 rm -f conftest.er1
35154 cat conftest.err >&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); } &&
35157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35160 ac_status=$?
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; } &&
35163 { ac_try='test -s conftest.$ac_objext'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35166 ac_status=$?
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 wx_cv_type_statvfs_t=statvfs_t
35170 else
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.$ac_ext >&5
35173
35174
35175 cat >conftest.$ac_ext <<_ACEOF
35176 /* confdefs.h. */
35177 _ACEOF
35178 cat confdefs.h >>conftest.$ac_ext
35179 cat >>conftest.$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35181
35182 #include <sys/statvfs.h>
35183
35184 int
35185 main ()
35186 {
35187
35188 long l;
35189 struct statvfs fs;
35190 statvfs("/", &fs);
35191 l = fs.f_bsize;
35192 l += fs.f_blocks;
35193 l += fs.f_bavail;
35194
35195 ;
35196 return 0;
35197 }
35198 _ACEOF
35199 rm -f conftest.$ac_objext
35200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35201 (eval $ac_compile) 2>conftest.er1
35202 ac_status=$?
35203 grep -v '^ *+' conftest.er1 >conftest.err
35204 rm -f conftest.er1
35205 cat conftest.err >&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); } &&
35208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35211 ac_status=$?
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; } &&
35214 { ac_try='test -s conftest.$ac_objext'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35217 ac_status=$?
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; }; then
35220 wx_cv_type_statvfs_t="struct statvfs"
35221 else
35222 echo "$as_me: failed program was:" >&5
35223 sed 's/^/| /' conftest.$ac_ext >&5
35224
35225 wx_cv_type_statvfs_t="unknown"
35226
35227 fi
35228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35229
35230
35231 fi
35232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35233
35234 fi
35235 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35236 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35237
35238 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define HAVE_STATVFS 1
35241 _ACEOF
35242
35243 fi
35244 else
35245 wx_cv_type_statvfs_t="unknown"
35246 fi
35247 fi
35248
35249 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define WX_STATFS_T $wx_cv_type_statvfs_t
35252 _ACEOF
35253
35254 else
35255 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35256 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35257 fi
35258
35259 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35260
35261
35262 for ac_func in fcntl flock
35263 do
35264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35265 echo "$as_me:$LINENO: checking for $ac_func" >&5
35266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35267 if eval "test \"\${$as_ac_var+set}\" = set"; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 else
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35278 #define $ac_func innocuous_$ac_func
35279
35280 /* System header to define __stub macros and hopefully few prototypes,
35281 which can conflict with char $ac_func (); below.
35282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35283 <limits.h> exists even on freestanding compilers. */
35284
35285 #ifdef __STDC__
35286 # include <limits.h>
35287 #else
35288 # include <assert.h>
35289 #endif
35290
35291 #undef $ac_func
35292
35293 /* Override any gcc2 internal prototype to avoid an error. */
35294 #ifdef __cplusplus
35295 extern "C"
35296 {
35297 #endif
35298 /* We use char because int might match the return type of a gcc2
35299 builtin and then its argument prototype would still apply. */
35300 char $ac_func ();
35301 /* The GNU C library defines this for functions which it implements
35302 to always fail with ENOSYS. Some functions are actually named
35303 something starting with __ and the normal name is an alias. */
35304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35305 choke me
35306 #else
35307 char (*f) () = $ac_func;
35308 #endif
35309 #ifdef __cplusplus
35310 }
35311 #endif
35312
35313 int
35314 main ()
35315 {
35316 return f != $ac_func;
35317 ;
35318 return 0;
35319 }
35320 _ACEOF
35321 rm -f conftest.$ac_objext conftest$ac_exeext
35322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35323 (eval $ac_link) 2>conftest.er1
35324 ac_status=$?
35325 grep -v '^ *+' conftest.er1 >conftest.err
35326 rm -f conftest.er1
35327 cat conftest.err >&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); } &&
35330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35332 (eval $ac_try) 2>&5
35333 ac_status=$?
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); }; } &&
35336 { ac_try='test -s conftest$ac_exeext'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35339 ac_status=$?
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; }; then
35342 eval "$as_ac_var=yes"
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35346
35347 eval "$as_ac_var=no"
35348 fi
35349 rm -f conftest.err conftest.$ac_objext \
35350 conftest$ac_exeext conftest.$ac_ext
35351 fi
35352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35354 if test `eval echo '${'$as_ac_var'}'` = yes; then
35355 cat >>confdefs.h <<_ACEOF
35356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35357 _ACEOF
35358 break
35359 fi
35360 done
35361
35362
35363 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35364 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35365 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35366 wxUSE_SNGLINST_CHECKER=no
35367 fi
35368 fi
35369
35370
35371 for ac_func in timegm
35372 do
35373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35374 echo "$as_me:$LINENO: checking for $ac_func" >&5
35375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35376 if eval "test \"\${$as_ac_var+set}\" = set"; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 else
35379 cat >conftest.$ac_ext <<_ACEOF
35380 /* confdefs.h. */
35381 _ACEOF
35382 cat confdefs.h >>conftest.$ac_ext
35383 cat >>conftest.$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35387 #define $ac_func innocuous_$ac_func
35388
35389 /* System header to define __stub macros and hopefully few prototypes,
35390 which can conflict with char $ac_func (); below.
35391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35392 <limits.h> exists even on freestanding compilers. */
35393
35394 #ifdef __STDC__
35395 # include <limits.h>
35396 #else
35397 # include <assert.h>
35398 #endif
35399
35400 #undef $ac_func
35401
35402 /* Override any gcc2 internal prototype to avoid an error. */
35403 #ifdef __cplusplus
35404 extern "C"
35405 {
35406 #endif
35407 /* We use char because int might match the return type of a gcc2
35408 builtin and then its argument prototype would still apply. */
35409 char $ac_func ();
35410 /* The GNU C library defines this for functions which it implements
35411 to always fail with ENOSYS. Some functions are actually named
35412 something starting with __ and the normal name is an alias. */
35413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35414 choke me
35415 #else
35416 char (*f) () = $ac_func;
35417 #endif
35418 #ifdef __cplusplus
35419 }
35420 #endif
35421
35422 int
35423 main ()
35424 {
35425 return f != $ac_func;
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 rm -f conftest.$ac_objext conftest$ac_exeext
35431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35432 (eval $ac_link) 2>conftest.er1
35433 ac_status=$?
35434 grep -v '^ *+' conftest.er1 >conftest.err
35435 rm -f conftest.er1
35436 cat conftest.err >&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); } &&
35439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try='test -s conftest$ac_exeext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35448 ac_status=$?
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 eval "$as_ac_var=yes"
35452 else
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35455
35456 eval "$as_ac_var=no"
35457 fi
35458 rm -f conftest.err conftest.$ac_objext \
35459 conftest$ac_exeext conftest.$ac_ext
35460 fi
35461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35463 if test `eval echo '${'$as_ac_var'}'` = yes; then
35464 cat >>confdefs.h <<_ACEOF
35465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35466 _ACEOF
35467
35468 fi
35469 done
35470
35471
35472
35473
35474 for ac_func in putenv setenv
35475 do
35476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35477 echo "$as_me:$LINENO: checking for $ac_func" >&5
35478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35479 if eval "test \"\${$as_ac_var+set}\" = set"; then
35480 echo $ECHO_N "(cached) $ECHO_C" >&6
35481 else
35482 cat >conftest.$ac_ext <<_ACEOF
35483 /* confdefs.h. */
35484 _ACEOF
35485 cat confdefs.h >>conftest.$ac_ext
35486 cat >>conftest.$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35490 #define $ac_func innocuous_$ac_func
35491
35492 /* System header to define __stub macros and hopefully few prototypes,
35493 which can conflict with char $ac_func (); below.
35494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35495 <limits.h> exists even on freestanding compilers. */
35496
35497 #ifdef __STDC__
35498 # include <limits.h>
35499 #else
35500 # include <assert.h>
35501 #endif
35502
35503 #undef $ac_func
35504
35505 /* Override any gcc2 internal prototype to avoid an error. */
35506 #ifdef __cplusplus
35507 extern "C"
35508 {
35509 #endif
35510 /* We use char because int might match the return type of a gcc2
35511 builtin and then its argument prototype would still apply. */
35512 char $ac_func ();
35513 /* The GNU C library defines this for functions which it implements
35514 to always fail with ENOSYS. Some functions are actually named
35515 something starting with __ and the normal name is an alias. */
35516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35517 choke me
35518 #else
35519 char (*f) () = $ac_func;
35520 #endif
35521 #ifdef __cplusplus
35522 }
35523 #endif
35524
35525 int
35526 main ()
35527 {
35528 return f != $ac_func;
35529 ;
35530 return 0;
35531 }
35532 _ACEOF
35533 rm -f conftest.$ac_objext conftest$ac_exeext
35534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35535 (eval $ac_link) 2>conftest.er1
35536 ac_status=$?
35537 grep -v '^ *+' conftest.er1 >conftest.err
35538 rm -f conftest.er1
35539 cat conftest.err >&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } &&
35542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35545 ac_status=$?
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; } &&
35548 { ac_try='test -s conftest$ac_exeext'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35551 ac_status=$?
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; }; then
35554 eval "$as_ac_var=yes"
35555 else
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35558
35559 eval "$as_ac_var=no"
35560 fi
35561 rm -f conftest.err conftest.$ac_objext \
35562 conftest$ac_exeext conftest.$ac_ext
35563 fi
35564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35566 if test `eval echo '${'$as_ac_var'}'` = yes; then
35567 cat >>confdefs.h <<_ACEOF
35568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35569 _ACEOF
35570 break
35571 fi
35572 done
35573
35574
35575 HAVE_SOME_SLEEP_FUNC=0
35576 if test "$USE_BEOS" = 1; then
35577 cat >>confdefs.h <<\_ACEOF
35578 #define HAVE_SLEEP 1
35579 _ACEOF
35580
35581 HAVE_SOME_SLEEP_FUNC=1
35582 fi
35583
35584 if test "$USE_DARWIN" = 1; then
35585 cat >>confdefs.h <<\_ACEOF
35586 #define HAVE_USLEEP 1
35587 _ACEOF
35588
35589 HAVE_SOME_SLEEP_FUNC=1
35590 fi
35591
35592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35593 POSIX4_LINK=
35594
35595 for ac_func in nanosleep
35596 do
35597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35598 echo "$as_me:$LINENO: checking for $ac_func" >&5
35599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35600 if eval "test \"\${$as_ac_var+set}\" = set"; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35603 cat >conftest.$ac_ext <<_ACEOF
35604 /* confdefs.h. */
35605 _ACEOF
35606 cat confdefs.h >>conftest.$ac_ext
35607 cat >>conftest.$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35611 #define $ac_func innocuous_$ac_func
35612
35613 /* System header to define __stub macros and hopefully few prototypes,
35614 which can conflict with char $ac_func (); below.
35615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35616 <limits.h> exists even on freestanding compilers. */
35617
35618 #ifdef __STDC__
35619 # include <limits.h>
35620 #else
35621 # include <assert.h>
35622 #endif
35623
35624 #undef $ac_func
35625
35626 /* Override any gcc2 internal prototype to avoid an error. */
35627 #ifdef __cplusplus
35628 extern "C"
35629 {
35630 #endif
35631 /* We use char because int might match the return type of a gcc2
35632 builtin and then its argument prototype would still apply. */
35633 char $ac_func ();
35634 /* The GNU C library defines this for functions which it implements
35635 to always fail with ENOSYS. Some functions are actually named
35636 something starting with __ and the normal name is an alias. */
35637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35638 choke me
35639 #else
35640 char (*f) () = $ac_func;
35641 #endif
35642 #ifdef __cplusplus
35643 }
35644 #endif
35645
35646 int
35647 main ()
35648 {
35649 return f != $ac_func;
35650 ;
35651 return 0;
35652 }
35653 _ACEOF
35654 rm -f conftest.$ac_objext conftest$ac_exeext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35656 (eval $ac_link) 2>conftest.er1
35657 ac_status=$?
35658 grep -v '^ *+' conftest.er1 >conftest.err
35659 rm -f conftest.er1
35660 cat conftest.err >&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35666 ac_status=$?
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try='test -s conftest$ac_exeext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35672 ac_status=$?
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 eval "$as_ac_var=yes"
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 eval "$as_ac_var=no"
35681 fi
35682 rm -f conftest.err conftest.$ac_objext \
35683 conftest$ac_exeext conftest.$ac_ext
35684 fi
35685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35687 if test `eval echo '${'$as_ac_var'}'` = yes; then
35688 cat >>confdefs.h <<_ACEOF
35689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35690 _ACEOF
35691 cat >>confdefs.h <<\_ACEOF
35692 #define HAVE_NANOSLEEP 1
35693 _ACEOF
35694
35695 else
35696
35697 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35698 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35699 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35700 echo $ECHO_N "(cached) $ECHO_C" >&6
35701 else
35702 ac_check_lib_save_LIBS=$LIBS
35703 LIBS="-lposix4 $LIBS"
35704 cat >conftest.$ac_ext <<_ACEOF
35705 /* confdefs.h. */
35706 _ACEOF
35707 cat confdefs.h >>conftest.$ac_ext
35708 cat >>conftest.$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35710
35711 /* Override any gcc2 internal prototype to avoid an error. */
35712 #ifdef __cplusplus
35713 extern "C"
35714 #endif
35715 /* We use char because int might match the return type of a gcc2
35716 builtin and then its argument prototype would still apply. */
35717 char nanosleep ();
35718 int
35719 main ()
35720 {
35721 nanosleep ();
35722 ;
35723 return 0;
35724 }
35725 _ACEOF
35726 rm -f conftest.$ac_objext conftest$ac_exeext
35727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35728 (eval $ac_link) 2>conftest.er1
35729 ac_status=$?
35730 grep -v '^ *+' conftest.er1 >conftest.err
35731 rm -f conftest.er1
35732 cat conftest.err >&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); } &&
35735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35738 ac_status=$?
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35744 ac_status=$?
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 ac_cv_lib_posix4_nanosleep=yes
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35751
35752 ac_cv_lib_posix4_nanosleep=no
35753 fi
35754 rm -f conftest.err conftest.$ac_objext \
35755 conftest$ac_exeext conftest.$ac_ext
35756 LIBS=$ac_check_lib_save_LIBS
35757 fi
35758 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35759 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35760 if test $ac_cv_lib_posix4_nanosleep = yes; then
35761
35762 cat >>confdefs.h <<\_ACEOF
35763 #define HAVE_NANOSLEEP 1
35764 _ACEOF
35765
35766 POSIX4_LINK=" -lposix4"
35767
35768 else
35769
35770
35771 for ac_func in usleep
35772 do
35773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35774 echo "$as_me:$LINENO: checking for $ac_func" >&5
35775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35776 if eval "test \"\${$as_ac_var+set}\" = set"; then
35777 echo $ECHO_N "(cached) $ECHO_C" >&6
35778 else
35779 cat >conftest.$ac_ext <<_ACEOF
35780 /* confdefs.h. */
35781 _ACEOF
35782 cat confdefs.h >>conftest.$ac_ext
35783 cat >>conftest.$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35787 #define $ac_func innocuous_$ac_func
35788
35789 /* System header to define __stub macros and hopefully few prototypes,
35790 which can conflict with char $ac_func (); below.
35791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35792 <limits.h> exists even on freestanding compilers. */
35793
35794 #ifdef __STDC__
35795 # include <limits.h>
35796 #else
35797 # include <assert.h>
35798 #endif
35799
35800 #undef $ac_func
35801
35802 /* Override any gcc2 internal prototype to avoid an error. */
35803 #ifdef __cplusplus
35804 extern "C"
35805 {
35806 #endif
35807 /* We use char because int might match the return type of a gcc2
35808 builtin and then its argument prototype would still apply. */
35809 char $ac_func ();
35810 /* The GNU C library defines this for functions which it implements
35811 to always fail with ENOSYS. Some functions are actually named
35812 something starting with __ and the normal name is an alias. */
35813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35814 choke me
35815 #else
35816 char (*f) () = $ac_func;
35817 #endif
35818 #ifdef __cplusplus
35819 }
35820 #endif
35821
35822 int
35823 main ()
35824 {
35825 return f != $ac_func;
35826 ;
35827 return 0;
35828 }
35829 _ACEOF
35830 rm -f conftest.$ac_objext conftest$ac_exeext
35831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35832 (eval $ac_link) 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } &&
35839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35841 (eval $ac_try) 2>&5
35842 ac_status=$?
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); }; } &&
35845 { ac_try='test -s conftest$ac_exeext'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35848 ac_status=$?
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; }; then
35851 eval "$as_ac_var=yes"
35852 else
35853 echo "$as_me: failed program was:" >&5
35854 sed 's/^/| /' conftest.$ac_ext >&5
35855
35856 eval "$as_ac_var=no"
35857 fi
35858 rm -f conftest.err conftest.$ac_objext \
35859 conftest$ac_exeext conftest.$ac_ext
35860 fi
35861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35863 if test `eval echo '${'$as_ac_var'}'` = yes; then
35864 cat >>confdefs.h <<_ACEOF
35865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35866 _ACEOF
35867 cat >>confdefs.h <<\_ACEOF
35868 #define HAVE_USLEEP 1
35869 _ACEOF
35870
35871 else
35872 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35873 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35874
35875 fi
35876 done
35877
35878
35879
35880 fi
35881
35882
35883
35884 fi
35885 done
35886
35887 fi
35888
35889
35890
35891 for ac_func in uname gethostname
35892 do
35893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35894 echo "$as_me:$LINENO: checking for $ac_func" >&5
35895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35896 if eval "test \"\${$as_ac_var+set}\" = set"; then
35897 echo $ECHO_N "(cached) $ECHO_C" >&6
35898 else
35899 cat >conftest.$ac_ext <<_ACEOF
35900 /* confdefs.h. */
35901 _ACEOF
35902 cat confdefs.h >>conftest.$ac_ext
35903 cat >>conftest.$ac_ext <<_ACEOF
35904 /* end confdefs.h. */
35905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35907 #define $ac_func innocuous_$ac_func
35908
35909 /* System header to define __stub macros and hopefully few prototypes,
35910 which can conflict with char $ac_func (); below.
35911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35912 <limits.h> exists even on freestanding compilers. */
35913
35914 #ifdef __STDC__
35915 # include <limits.h>
35916 #else
35917 # include <assert.h>
35918 #endif
35919
35920 #undef $ac_func
35921
35922 /* Override any gcc2 internal prototype to avoid an error. */
35923 #ifdef __cplusplus
35924 extern "C"
35925 {
35926 #endif
35927 /* We use char because int might match the return type of a gcc2
35928 builtin and then its argument prototype would still apply. */
35929 char $ac_func ();
35930 /* The GNU C library defines this for functions which it implements
35931 to always fail with ENOSYS. Some functions are actually named
35932 something starting with __ and the normal name is an alias. */
35933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35934 choke me
35935 #else
35936 char (*f) () = $ac_func;
35937 #endif
35938 #ifdef __cplusplus
35939 }
35940 #endif
35941
35942 int
35943 main ()
35944 {
35945 return f != $ac_func;
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext conftest$ac_exeext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35952 (eval $ac_link) 2>conftest.er1
35953 ac_status=$?
35954 grep -v '^ *+' conftest.er1 >conftest.err
35955 rm -f conftest.er1
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } &&
35959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35962 ac_status=$?
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; } &&
35965 { ac_try='test -s conftest$ac_exeext'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35968 ac_status=$?
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; }; then
35971 eval "$as_ac_var=yes"
35972 else
35973 echo "$as_me: failed program was:" >&5
35974 sed 's/^/| /' conftest.$ac_ext >&5
35975
35976 eval "$as_ac_var=no"
35977 fi
35978 rm -f conftest.err conftest.$ac_objext \
35979 conftest$ac_exeext conftest.$ac_ext
35980 fi
35981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35983 if test `eval echo '${'$as_ac_var'}'` = yes; then
35984 cat >>confdefs.h <<_ACEOF
35985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35986 _ACEOF
35987 break
35988 fi
35989 done
35990
35991
35992
35993 for ac_func in strtok_r
35994 do
35995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36001 cat >conftest.$ac_ext <<_ACEOF
36002 /* confdefs.h. */
36003 _ACEOF
36004 cat confdefs.h >>conftest.$ac_ext
36005 cat >>conftest.$ac_ext <<_ACEOF
36006 /* end confdefs.h. */
36007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36009 #define $ac_func innocuous_$ac_func
36010
36011 /* System header to define __stub macros and hopefully few prototypes,
36012 which can conflict with char $ac_func (); below.
36013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36014 <limits.h> exists even on freestanding compilers. */
36015
36016 #ifdef __STDC__
36017 # include <limits.h>
36018 #else
36019 # include <assert.h>
36020 #endif
36021
36022 #undef $ac_func
36023
36024 /* Override any gcc2 internal prototype to avoid an error. */
36025 #ifdef __cplusplus
36026 extern "C"
36027 {
36028 #endif
36029 /* We use char because int might match the return type of a gcc2
36030 builtin and then its argument prototype would still apply. */
36031 char $ac_func ();
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36036 choke me
36037 #else
36038 char (*f) () = $ac_func;
36039 #endif
36040 #ifdef __cplusplus
36041 }
36042 #endif
36043
36044 int
36045 main ()
36046 {
36047 return f != $ac_func;
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 rm -f conftest.$ac_objext conftest$ac_exeext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36054 (eval $ac_link) 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try='test -s conftest$ac_exeext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 eval "$as_ac_var=yes"
36074 else
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36077
36078 eval "$as_ac_var=no"
36079 fi
36080 rm -f conftest.err conftest.$ac_objext \
36081 conftest$ac_exeext conftest.$ac_ext
36082 fi
36083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36085 if test `eval echo '${'$as_ac_var'}'` = yes; then
36086 cat >>confdefs.h <<_ACEOF
36087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36088 _ACEOF
36089
36090 fi
36091 done
36092
36093
36094 INET_LINK=
36095
36096 for ac_func in inet_addr
36097 do
36098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36099 echo "$as_me:$LINENO: checking for $ac_func" >&5
36100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36101 if eval "test \"\${$as_ac_var+set}\" = set"; then
36102 echo $ECHO_N "(cached) $ECHO_C" >&6
36103 else
36104 cat >conftest.$ac_ext <<_ACEOF
36105 /* confdefs.h. */
36106 _ACEOF
36107 cat confdefs.h >>conftest.$ac_ext
36108 cat >>conftest.$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36112 #define $ac_func innocuous_$ac_func
36113
36114 /* System header to define __stub macros and hopefully few prototypes,
36115 which can conflict with char $ac_func (); below.
36116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36117 <limits.h> exists even on freestanding compilers. */
36118
36119 #ifdef __STDC__
36120 # include <limits.h>
36121 #else
36122 # include <assert.h>
36123 #endif
36124
36125 #undef $ac_func
36126
36127 /* Override any gcc2 internal prototype to avoid an error. */
36128 #ifdef __cplusplus
36129 extern "C"
36130 {
36131 #endif
36132 /* We use char because int might match the return type of a gcc2
36133 builtin and then its argument prototype would still apply. */
36134 char $ac_func ();
36135 /* The GNU C library defines this for functions which it implements
36136 to always fail with ENOSYS. Some functions are actually named
36137 something starting with __ and the normal name is an alias. */
36138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36139 choke me
36140 #else
36141 char (*f) () = $ac_func;
36142 #endif
36143 #ifdef __cplusplus
36144 }
36145 #endif
36146
36147 int
36148 main ()
36149 {
36150 return f != $ac_func;
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 rm -f conftest.$ac_objext conftest$ac_exeext
36156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36157 (eval $ac_link) 2>conftest.er1
36158 ac_status=$?
36159 grep -v '^ *+' conftest.er1 >conftest.err
36160 rm -f conftest.er1
36161 cat conftest.err >&5
36162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36163 (exit $ac_status); } &&
36164 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest$ac_exeext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 eval "$as_ac_var=yes"
36177 else
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36180
36181 eval "$as_ac_var=no"
36182 fi
36183 rm -f conftest.err conftest.$ac_objext \
36184 conftest$ac_exeext conftest.$ac_ext
36185 fi
36186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36188 if test `eval echo '${'$as_ac_var'}'` = yes; then
36189 cat >>confdefs.h <<_ACEOF
36190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36191 _ACEOF
36192 cat >>confdefs.h <<\_ACEOF
36193 #define HAVE_INET_ADDR 1
36194 _ACEOF
36195
36196 else
36197
36198 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36199 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36200 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36201 echo $ECHO_N "(cached) $ECHO_C" >&6
36202 else
36203 ac_check_lib_save_LIBS=$LIBS
36204 LIBS="-lnsl $LIBS"
36205 cat >conftest.$ac_ext <<_ACEOF
36206 /* confdefs.h. */
36207 _ACEOF
36208 cat confdefs.h >>conftest.$ac_ext
36209 cat >>conftest.$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36211
36212 /* Override any gcc2 internal prototype to avoid an error. */
36213 #ifdef __cplusplus
36214 extern "C"
36215 #endif
36216 /* We use char because int might match the return type of a gcc2
36217 builtin and then its argument prototype would still apply. */
36218 char inet_addr ();
36219 int
36220 main ()
36221 {
36222 inet_addr ();
36223 ;
36224 return 0;
36225 }
36226 _ACEOF
36227 rm -f conftest.$ac_objext conftest$ac_exeext
36228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36229 (eval $ac_link) 2>conftest.er1
36230 ac_status=$?
36231 grep -v '^ *+' conftest.er1 >conftest.err
36232 rm -f conftest.er1
36233 cat conftest.err >&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } &&
36236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36238 (eval $ac_try) 2>&5
36239 ac_status=$?
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); }; } &&
36242 { ac_try='test -s conftest$ac_exeext'
36243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36244 (eval $ac_try) 2>&5
36245 ac_status=$?
36246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36247 (exit $ac_status); }; }; then
36248 ac_cv_lib_nsl_inet_addr=yes
36249 else
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.$ac_ext >&5
36252
36253 ac_cv_lib_nsl_inet_addr=no
36254 fi
36255 rm -f conftest.err conftest.$ac_objext \
36256 conftest$ac_exeext conftest.$ac_ext
36257 LIBS=$ac_check_lib_save_LIBS
36258 fi
36259 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36260 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36261 if test $ac_cv_lib_nsl_inet_addr = yes; then
36262 INET_LINK="nsl"
36263 else
36264
36265 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36266 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36267 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270 ac_check_lib_save_LIBS=$LIBS
36271 LIBS="-lresolv $LIBS"
36272 cat >conftest.$ac_ext <<_ACEOF
36273 /* confdefs.h. */
36274 _ACEOF
36275 cat confdefs.h >>conftest.$ac_ext
36276 cat >>conftest.$ac_ext <<_ACEOF
36277 /* end confdefs.h. */
36278
36279 /* Override any gcc2 internal prototype to avoid an error. */
36280 #ifdef __cplusplus
36281 extern "C"
36282 #endif
36283 /* We use char because int might match the return type of a gcc2
36284 builtin and then its argument prototype would still apply. */
36285 char inet_addr ();
36286 int
36287 main ()
36288 {
36289 inet_addr ();
36290 ;
36291 return 0;
36292 }
36293 _ACEOF
36294 rm -f conftest.$ac_objext conftest$ac_exeext
36295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36296 (eval $ac_link) 2>conftest.er1
36297 ac_status=$?
36298 grep -v '^ *+' conftest.er1 >conftest.err
36299 rm -f conftest.er1
36300 cat conftest.err >&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } &&
36303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305 (eval $ac_try) 2>&5
36306 ac_status=$?
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; } &&
36309 { ac_try='test -s conftest$ac_exeext'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36312 ac_status=$?
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; }; then
36315 ac_cv_lib_resolv_inet_addr=yes
36316 else
36317 echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.$ac_ext >&5
36319
36320 ac_cv_lib_resolv_inet_addr=no
36321 fi
36322 rm -f conftest.err conftest.$ac_objext \
36323 conftest$ac_exeext conftest.$ac_ext
36324 LIBS=$ac_check_lib_save_LIBS
36325 fi
36326 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36327 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36328 if test $ac_cv_lib_resolv_inet_addr = yes; then
36329 INET_LINK="resolv"
36330 else
36331
36332 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36333 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36334 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36335 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 else
36337 ac_check_lib_save_LIBS=$LIBS
36338 LIBS="-lsocket $LIBS"
36339 cat >conftest.$ac_ext <<_ACEOF
36340 /* confdefs.h. */
36341 _ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36345
36346 /* Override any gcc2 internal prototype to avoid an error. */
36347 #ifdef __cplusplus
36348 extern "C"
36349 #endif
36350 /* We use char because int might match the return type of a gcc2
36351 builtin and then its argument prototype would still apply. */
36352 char inet_addr ();
36353 int
36354 main ()
36355 {
36356 inet_addr ();
36357 ;
36358 return 0;
36359 }
36360 _ACEOF
36361 rm -f conftest.$ac_objext conftest$ac_exeext
36362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36363 (eval $ac_link) 2>conftest.er1
36364 ac_status=$?
36365 grep -v '^ *+' conftest.er1 >conftest.err
36366 rm -f conftest.er1
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } &&
36370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36373 ac_status=$?
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; } &&
36376 { ac_try='test -s conftest$ac_exeext'
36377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36378 (eval $ac_try) 2>&5
36379 ac_status=$?
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); }; }; then
36382 ac_cv_lib_socket_inet_addr=yes
36383 else
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.$ac_ext >&5
36386
36387 ac_cv_lib_socket_inet_addr=no
36388 fi
36389 rm -f conftest.err conftest.$ac_objext \
36390 conftest$ac_exeext conftest.$ac_ext
36391 LIBS=$ac_check_lib_save_LIBS
36392 fi
36393 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36394 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36395 if test $ac_cv_lib_socket_inet_addr = yes; then
36396 INET_LINK="socket"
36397
36398 fi
36399
36400
36401
36402 fi
36403
36404
36405
36406 fi
36407
36408
36409
36410 fi
36411 done
36412
36413
36414
36415 for ac_func in inet_aton
36416 do
36417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36418 echo "$as_me:$LINENO: checking for $ac_func" >&5
36419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36420 if eval "test \"\${$as_ac_var+set}\" = set"; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36422 else
36423 cat >conftest.$ac_ext <<_ACEOF
36424 /* confdefs.h. */
36425 _ACEOF
36426 cat confdefs.h >>conftest.$ac_ext
36427 cat >>conftest.$ac_ext <<_ACEOF
36428 /* end confdefs.h. */
36429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36431 #define $ac_func innocuous_$ac_func
36432
36433 /* System header to define __stub macros and hopefully few prototypes,
36434 which can conflict with char $ac_func (); below.
36435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36436 <limits.h> exists even on freestanding compilers. */
36437
36438 #ifdef __STDC__
36439 # include <limits.h>
36440 #else
36441 # include <assert.h>
36442 #endif
36443
36444 #undef $ac_func
36445
36446 /* Override any gcc2 internal prototype to avoid an error. */
36447 #ifdef __cplusplus
36448 extern "C"
36449 {
36450 #endif
36451 /* We use char because int might match the return type of a gcc2
36452 builtin and then its argument prototype would still apply. */
36453 char $ac_func ();
36454 /* The GNU C library defines this for functions which it implements
36455 to always fail with ENOSYS. Some functions are actually named
36456 something starting with __ and the normal name is an alias. */
36457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36458 choke me
36459 #else
36460 char (*f) () = $ac_func;
36461 #endif
36462 #ifdef __cplusplus
36463 }
36464 #endif
36465
36466 int
36467 main ()
36468 {
36469 return f != $ac_func;
36470 ;
36471 return 0;
36472 }
36473 _ACEOF
36474 rm -f conftest.$ac_objext conftest$ac_exeext
36475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36476 (eval $ac_link) 2>conftest.er1
36477 ac_status=$?
36478 grep -v '^ *+' conftest.er1 >conftest.err
36479 rm -f conftest.er1
36480 cat conftest.err >&5
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); } &&
36483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest$ac_exeext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 eval "$as_ac_var=yes"
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36499
36500 eval "$as_ac_var=no"
36501 fi
36502 rm -f conftest.err conftest.$ac_objext \
36503 conftest$ac_exeext conftest.$ac_ext
36504 fi
36505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36507 if test `eval echo '${'$as_ac_var'}'` = yes; then
36508 cat >>confdefs.h <<_ACEOF
36509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36510 _ACEOF
36511 cat >>confdefs.h <<\_ACEOF
36512 #define HAVE_INET_ATON 1
36513 _ACEOF
36514
36515 else
36516
36517 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36518 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36519 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36520 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36522 else
36523 ac_check_lib_save_LIBS=$LIBS
36524 LIBS="-l$INET_LINK $LIBS"
36525 cat >conftest.$ac_ext <<_ACEOF
36526 /* confdefs.h. */
36527 _ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36531
36532 /* Override any gcc2 internal prototype to avoid an error. */
36533 #ifdef __cplusplus
36534 extern "C"
36535 #endif
36536 /* We use char because int might match the return type of a gcc2
36537 builtin and then its argument prototype would still apply. */
36538 char inet_aton ();
36539 int
36540 main ()
36541 {
36542 inet_aton ();
36543 ;
36544 return 0;
36545 }
36546 _ACEOF
36547 rm -f conftest.$ac_objext conftest$ac_exeext
36548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36549 (eval $ac_link) 2>conftest.er1
36550 ac_status=$?
36551 grep -v '^ *+' conftest.er1 >conftest.err
36552 rm -f conftest.er1
36553 cat conftest.err >&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); } &&
36556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558 (eval $ac_try) 2>&5
36559 ac_status=$?
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); }; } &&
36562 { ac_try='test -s conftest$ac_exeext'
36563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36564 (eval $ac_try) 2>&5
36565 ac_status=$?
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); }; }; then
36568 eval "$as_ac_Lib=yes"
36569 else
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.$ac_ext >&5
36572
36573 eval "$as_ac_Lib=no"
36574 fi
36575 rm -f conftest.err conftest.$ac_objext \
36576 conftest$ac_exeext conftest.$ac_ext
36577 LIBS=$ac_check_lib_save_LIBS
36578 fi
36579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36580 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36581 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36582 cat >>confdefs.h <<\_ACEOF
36583 #define HAVE_INET_ATON 1
36584 _ACEOF
36585
36586 fi
36587
36588
36589 fi
36590 done
36591
36592
36593 if test "x$INET_LINK" != "x"; then
36594 cat >>confdefs.h <<\_ACEOF
36595 #define HAVE_INET_ADDR 1
36596 _ACEOF
36597
36598 INET_LINK=" -l$INET_LINK"
36599 fi
36600
36601 fi
36602
36603
36604
36605 EXTRALIBS_ESD=
36606 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36607 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36608 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 else
36611 ac_check_lib_save_LIBS=$LIBS
36612 LIBS="-lesd $LIBS"
36613 cat >conftest.$ac_ext <<_ACEOF
36614 /* confdefs.h. */
36615 _ACEOF
36616 cat confdefs.h >>conftest.$ac_ext
36617 cat >>conftest.$ac_ext <<_ACEOF
36618 /* end confdefs.h. */
36619
36620 /* Override any gcc2 internal prototype to avoid an error. */
36621 #ifdef __cplusplus
36622 extern "C"
36623 #endif
36624 /* We use char because int might match the return type of a gcc2
36625 builtin and then its argument prototype would still apply. */
36626 char esd_close ();
36627 int
36628 main ()
36629 {
36630 esd_close ();
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 rm -f conftest.$ac_objext conftest$ac_exeext
36636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36637 (eval $ac_link) 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } &&
36644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36646 (eval $ac_try) 2>&5
36647 ac_status=$?
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); }; } &&
36650 { ac_try='test -s conftest$ac_exeext'
36651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36652 (eval $ac_try) 2>&5
36653 ac_status=$?
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); }; }; then
36656 ac_cv_lib_esd_esd_close=yes
36657 else
36658 echo "$as_me: failed program was:" >&5
36659 sed 's/^/| /' conftest.$ac_ext >&5
36660
36661 ac_cv_lib_esd_esd_close=no
36662 fi
36663 rm -f conftest.err conftest.$ac_objext \
36664 conftest$ac_exeext conftest.$ac_ext
36665 LIBS=$ac_check_lib_save_LIBS
36666 fi
36667 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36668 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36669 if test $ac_cv_lib_esd_esd_close = yes; then
36670
36671
36672 for ac_header in esd.h
36673 do
36674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36676 echo "$as_me:$LINENO: checking for $ac_header" >&5
36677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36679 echo $ECHO_N "(cached) $ECHO_C" >&6
36680 fi
36681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36683 else
36684 # Is the header compilable?
36685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36687 cat >conftest.$ac_ext <<_ACEOF
36688 /* confdefs.h. */
36689 _ACEOF
36690 cat confdefs.h >>conftest.$ac_ext
36691 cat >>conftest.$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36693 $ac_includes_default
36694 #include <$ac_header>
36695 _ACEOF
36696 rm -f conftest.$ac_objext
36697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36698 (eval $ac_compile) 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36707 (eval $ac_try) 2>&5
36708 ac_status=$?
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); }; } &&
36711 { ac_try='test -s conftest.$ac_objext'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36714 ac_status=$?
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; }; then
36717 ac_header_compiler=yes
36718 else
36719 echo "$as_me: failed program was:" >&5
36720 sed 's/^/| /' conftest.$ac_ext >&5
36721
36722 ac_header_compiler=no
36723 fi
36724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36726 echo "${ECHO_T}$ac_header_compiler" >&6
36727
36728 # Is the header present?
36729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737 #include <$ac_header>
36738 _ACEOF
36739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36741 ac_status=$?
36742 grep -v '^ *+' conftest.er1 >conftest.err
36743 rm -f conftest.er1
36744 cat conftest.err >&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } >/dev/null; then
36747 if test -s conftest.err; then
36748 ac_cpp_err=$ac_cxx_preproc_warn_flag
36749 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
36750 else
36751 ac_cpp_err=
36752 fi
36753 else
36754 ac_cpp_err=yes
36755 fi
36756 if test -z "$ac_cpp_err"; then
36757 ac_header_preproc=yes
36758 else
36759 echo "$as_me: failed program was:" >&5
36760 sed 's/^/| /' conftest.$ac_ext >&5
36761
36762 ac_header_preproc=no
36763 fi
36764 rm -f conftest.err conftest.$ac_ext
36765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36766 echo "${ECHO_T}$ac_header_preproc" >&6
36767
36768 # So? What about this header?
36769 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36770 yes:no: )
36771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36775 ac_header_preproc=yes
36776 ;;
36777 no:yes:* )
36778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36790 (
36791 cat <<\_ASBOX
36792 ## ----------------------------------------- ##
36793 ## Report this to wx-dev@lists.wxwidgets.org ##
36794 ## ----------------------------------------- ##
36795 _ASBOX
36796 ) |
36797 sed "s/^/$as_me: WARNING: /" >&2
36798 ;;
36799 esac
36800 echo "$as_me:$LINENO: checking for $ac_header" >&5
36801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805 eval "$as_ac_Header=\$ac_header_preproc"
36806 fi
36807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36809
36810 fi
36811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36812 cat >>confdefs.h <<_ACEOF
36813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36814 _ACEOF
36815
36816 EXTRALIBS_ESD="-lesd"
36817
36818 fi
36819
36820 done
36821
36822
36823 fi
36824
36825
36826
36827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36829 cat >conftest.$ac_ext <<_ACEOF
36830 /* confdefs.h. */
36831 _ACEOF
36832 cat confdefs.h >>conftest.$ac_ext
36833 cat >>conftest.$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36835 #ifdef __linux__
36836 #include <linux/cdrom.h>
36837 #else
36838 /* For Solaris */
36839 #include <sys/cdio.h>
36840 #endif
36841
36842 int
36843 main ()
36844 {
36845 struct cdrom_tocentry entry, old_entry;
36846 ;
36847 return 0;
36848 }
36849 _ACEOF
36850 rm -f conftest.$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852 (eval $ac_compile) 2>conftest.er1
36853 ac_status=$?
36854 grep -v '^ *+' conftest.er1 >conftest.err
36855 rm -f conftest.er1
36856 cat conftest.err >&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } &&
36859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36862 ac_status=$?
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; } &&
36865 { ac_try='test -s conftest.$ac_objext'
36866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36867 (eval $ac_try) 2>&5
36868 ac_status=$?
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); }; }; then
36871 echo "$as_me:$LINENO: result: yes" >&5
36872 echo "${ECHO_T}yes" >&6
36873 cat >>confdefs.h <<\_ACEOF
36874 #define HAVE_KNOWN_CDROM_INTERFACE 1
36875 _ACEOF
36876
36877 else
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36880
36881 echo "$as_me:$LINENO: result: no" >&5
36882 echo "${ECHO_T}no" >&6
36883 fi
36884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36885
36886
36887 cat >confcache <<\_ACEOF
36888 # This file is a shell script that caches the results of configure
36889 # tests run on this system so they can be shared between configure
36890 # scripts and configure runs, see configure's option --config-cache.
36891 # It is not useful on other systems. If it contains results you don't
36892 # want to keep, you may remove or edit it.
36893 #
36894 # config.status only pays attention to the cache file if you give it
36895 # the --recheck option to rerun configure.
36896 #
36897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36899 # following values.
36900
36901 _ACEOF
36902
36903 # The following way of writing the cache mishandles newlines in values,
36904 # but we know of no workaround that is simple, portable, and efficient.
36905 # So, don't put newlines in cache variables' values.
36906 # Ultrix sh set writes to stderr and can't be redirected directly,
36907 # and sets the high bit in the cache file unless we assign to the vars.
36908 {
36909 (set) 2>&1 |
36910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36911 *ac_space=\ *)
36912 # `set' does not quote correctly, so add quotes (double-quote
36913 # substitution turns \\\\ into \\, and sed turns \\ into \).
36914 sed -n \
36915 "s/'/'\\\\''/g;
36916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36917 ;;
36918 *)
36919 # `set' quotes correctly as required by POSIX, so do not add quotes.
36920 sed -n \
36921 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36922 ;;
36923 esac;
36924 } |
36925 sed '
36926 t clear
36927 : clear
36928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36929 t end
36930 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36931 : end' >>confcache
36932 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36933 if test -w $cache_file; then
36934 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36935 cat confcache >$cache_file
36936 else
36937 echo "not updating unwritable cache $cache_file"
36938 fi
36939 fi
36940 rm -f confcache
36941
36942
36943 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36944
36945
36946 THREADS_LINK=
36947 THREADS_CXXFLAGS=
36948
36949 if test "$wxUSE_THREADS" = "yes" ; then
36950 if test "$USE_BEOS" = 1; then
36951 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36952 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36953 wxUSE_THREADS="no"
36954 fi
36955 fi
36956
36957 if test "$wxUSE_THREADS" = "yes" ; then
36958
36959
36960 THREAD_OPTS="-pthread"
36961 case "${host}" in
36962 *-*-solaris2* | *-*-sunos4* )
36963 if test "x$GCC" = "xyes"; then
36964 THREAD_OPTS="-pthreads $THREAD_OPTS"
36965 else
36966 THREAD_OPTS="-mt $THREAD_OPTS"
36967 fi
36968 ;;
36969 *-*-freebsd*)
36970 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36971 ;;
36972 *-*-darwin* | *-*-cygwin* )
36973 THREAD_OPTS=""
36974 ;;
36975 *-*-aix*)
36976 THREAD_OPTS="pthreads"
36977 ;;
36978 *-hp-hpux* )
36979 if test "x$GCC" = "xyes"; then
36980 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36981 THREAD_OPTS=""
36982 else
36983 THREAD_OPTS="-mt"
36984 fi
36985 ;;
36986
36987 *-*-irix* )
36988 if test "x$GCC" = "xyes"; then
36989 THREAD_OPTS=""
36990 fi
36991 ;;
36992
36993 *-*-*UnixWare*)
36994 if test "x$GCC" != "xyes"; then
36995 THREAD_OPTS="-Ethread"
36996 fi
36997 ;;
36998 esac
36999
37000 THREAD_OPTS="$THREAD_OPTS pthread none"
37001
37002 THREADS_OK=no
37003 for flag in $THREAD_OPTS; do
37004 case $flag in
37005 none)
37006 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37007 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37008 ;;
37009
37010 -*)
37011 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37012 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37013 THREADS_CXXFLAGS="$flag"
37014 ;;
37015
37016 *)
37017 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37018 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37019 THREADS_LINK="-l$flag"
37020 ;;
37021 esac
37022
37023 save_LIBS="$LIBS"
37024 save_CXXFLAGS="$CXXFLAGS"
37025 LIBS="$THREADS_LINK $LIBS"
37026 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
37027
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 #include <pthread.h>
37035 int
37036 main ()
37037 {
37038 pthread_create(0,0,0,0);
37039 ;
37040 return 0;
37041 }
37042 _ACEOF
37043 rm -f conftest.$ac_objext conftest$ac_exeext
37044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37045 (eval $ac_link) 2>conftest.er1
37046 ac_status=$?
37047 grep -v '^ *+' conftest.er1 >conftest.err
37048 rm -f conftest.er1
37049 cat conftest.err >&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } &&
37052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37055 ac_status=$?
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; } &&
37058 { ac_try='test -s conftest$ac_exeext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37061 ac_status=$?
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37064 THREADS_OK=yes
37065 else
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37068
37069 fi
37070 rm -f conftest.err conftest.$ac_objext \
37071 conftest$ac_exeext conftest.$ac_ext
37072
37073 LIBS="$save_LIBS"
37074 CXXFLAGS="$save_CXXFLAGS"
37075
37076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37077 echo "${ECHO_T}$THREADS_OK" >&6
37078 if test "x$THREADS_OK" = "xyes"; then
37079 break;
37080 fi
37081
37082 THREADS_LINK=""
37083 THREADS_CXXFLAGS=""
37084 done
37085
37086 if test "x$THREADS_OK" != "xyes"; then
37087 wxUSE_THREADS=no
37088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37090 else
37091 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
37092 LIBS="$THREADS_LINK $LIBS"
37093
37094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37096 flag=no
37097 case "${host}" in
37098 *-aix*)
37099 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37100 flag="-D_THREAD_SAFE"
37101 ;;
37102 *-freebsd*)
37103 flag="-D_THREAD_SAFE"
37104 ;;
37105 *-hp-hpux* )
37106 flag="-D_REENTRANT"
37107 if test "x$GCC" != "xyes"; then
37108 flag="$flag -D_RWSTD_MULTI_THREAD"
37109 fi
37110 ;;
37111 *solaris* | alpha*-osf*)
37112 flag="-D_REENTRANT"
37113 ;;
37114 esac
37115 echo "$as_me:$LINENO: result: ${flag}" >&5
37116 echo "${ECHO_T}${flag}" >&6
37117 if test "x$flag" != xno; then
37118 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
37119 fi
37120
37121 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37122 fi
37123 fi
37124
37125 if test "$wxUSE_THREADS" = "yes" ; then
37126
37127 for ac_func in thr_setconcurrency
37128 do
37129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37130 echo "$as_me:$LINENO: checking for $ac_func" >&5
37131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37132 if eval "test \"\${$as_ac_var+set}\" = set"; then
37133 echo $ECHO_N "(cached) $ECHO_C" >&6
37134 else
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37143 #define $ac_func innocuous_$ac_func
37144
37145 /* System header to define __stub macros and hopefully few prototypes,
37146 which can conflict with char $ac_func (); below.
37147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37148 <limits.h> exists even on freestanding compilers. */
37149
37150 #ifdef __STDC__
37151 # include <limits.h>
37152 #else
37153 # include <assert.h>
37154 #endif
37155
37156 #undef $ac_func
37157
37158 /* Override any gcc2 internal prototype to avoid an error. */
37159 #ifdef __cplusplus
37160 extern "C"
37161 {
37162 #endif
37163 /* We use char because int might match the return type of a gcc2
37164 builtin and then its argument prototype would still apply. */
37165 char $ac_func ();
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37170 choke me
37171 #else
37172 char (*f) () = $ac_func;
37173 #endif
37174 #ifdef __cplusplus
37175 }
37176 #endif
37177
37178 int
37179 main ()
37180 {
37181 return f != $ac_func;
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 rm -f conftest.$ac_objext conftest$ac_exeext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37188 (eval $ac_link) 2>conftest.er1
37189 ac_status=$?
37190 grep -v '^ *+' conftest.er1 >conftest.err
37191 rm -f conftest.er1
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37198 ac_status=$?
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval "$as_ac_var=yes"
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 eval "$as_ac_var=no"
37213 fi
37214 rm -f conftest.err conftest.$ac_objext \
37215 conftest$ac_exeext conftest.$ac_ext
37216 fi
37217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37219 if test `eval echo '${'$as_ac_var'}'` = yes; then
37220 cat >>confdefs.h <<_ACEOF
37221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 _ACEOF
37223
37224 fi
37225 done
37226
37227
37228 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37229 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37230 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37231 echo $ECHO_N "(cached) $ECHO_C" >&6
37232 else
37233
37234 cat >conftest.$ac_ext <<_ACEOF
37235 /* confdefs.h. */
37236 _ACEOF
37237 cat confdefs.h >>conftest.$ac_ext
37238 cat >>conftest.$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240 #include <pthread.h>
37241 void ThreadCleanupFunc(void *p);
37242
37243 int
37244 main ()
37245 {
37246
37247 void *p;
37248 pthread_cleanup_push(ThreadCleanupFunc, p);
37249 pthread_cleanup_pop(0);
37250
37251 ;
37252 return 0;
37253 }
37254 _ACEOF
37255 rm -f conftest.$ac_objext
37256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37257 (eval $ac_compile) 2>conftest.er1
37258 ac_status=$?
37259 grep -v '^ *+' conftest.er1 >conftest.err
37260 rm -f conftest.er1
37261 cat conftest.err >&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } &&
37264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37267 ac_status=$?
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; } &&
37270 { ac_try='test -s conftest.$ac_objext'
37271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272 (eval $ac_try) 2>&5
37273 ac_status=$?
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); }; }; then
37276
37277 wx_cv_func_pthread_cleanup=yes
37278
37279 else
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.$ac_ext >&5
37282
37283
37284 wx_cv_func_pthread_cleanup=no
37285
37286
37287 fi
37288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37289
37290 fi
37291 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37292 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37293 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37294 cat >>confdefs.h <<\_ACEOF
37295 #define wxHAVE_PTHREAD_CLEANUP 1
37296 _ACEOF
37297
37298 fi
37299
37300
37301 for ac_header in sched.h
37302 do
37303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37305 echo "$as_me:$LINENO: checking for $ac_header" >&5
37306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 fi
37310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37312 else
37313 # Is the header compilable?
37314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322 $ac_includes_default
37323 #include <$ac_header>
37324 _ACEOF
37325 rm -f conftest.$ac_objext
37326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37327 (eval $ac_compile) 2>conftest.er1
37328 ac_status=$?
37329 grep -v '^ *+' conftest.er1 >conftest.err
37330 rm -f conftest.er1
37331 cat conftest.err >&5
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); } &&
37334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37337 ac_status=$?
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; } &&
37340 { ac_try='test -s conftest.$ac_objext'
37341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37342 (eval $ac_try) 2>&5
37343 ac_status=$?
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); }; }; then
37346 ac_header_compiler=yes
37347 else
37348 echo "$as_me: failed program was:" >&5
37349 sed 's/^/| /' conftest.$ac_ext >&5
37350
37351 ac_header_compiler=no
37352 fi
37353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37355 echo "${ECHO_T}$ac_header_compiler" >&6
37356
37357 # Is the header present?
37358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37360 cat >conftest.$ac_ext <<_ACEOF
37361 /* confdefs.h. */
37362 _ACEOF
37363 cat confdefs.h >>conftest.$ac_ext
37364 cat >>conftest.$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366 #include <$ac_header>
37367 _ACEOF
37368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37370 ac_status=$?
37371 grep -v '^ *+' conftest.er1 >conftest.err
37372 rm -f conftest.er1
37373 cat conftest.err >&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } >/dev/null; then
37376 if test -s conftest.err; then
37377 ac_cpp_err=$ac_cxx_preproc_warn_flag
37378 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37379 else
37380 ac_cpp_err=
37381 fi
37382 else
37383 ac_cpp_err=yes
37384 fi
37385 if test -z "$ac_cpp_err"; then
37386 ac_header_preproc=yes
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37390
37391 ac_header_preproc=no
37392 fi
37393 rm -f conftest.err conftest.$ac_ext
37394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37395 echo "${ECHO_T}$ac_header_preproc" >&6
37396
37397 # So? What about this header?
37398 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37399 yes:no: )
37400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37404 ac_header_preproc=yes
37405 ;;
37406 no:yes:* )
37407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37419 (
37420 cat <<\_ASBOX
37421 ## ----------------------------------------- ##
37422 ## Report this to wx-dev@lists.wxwidgets.org ##
37423 ## ----------------------------------------- ##
37424 _ASBOX
37425 ) |
37426 sed "s/^/$as_me: WARNING: /" >&2
37427 ;;
37428 esac
37429 echo "$as_me:$LINENO: checking for $ac_header" >&5
37430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 else
37434 eval "$as_ac_Header=\$ac_header_preproc"
37435 fi
37436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37438
37439 fi
37440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37441 cat >>confdefs.h <<_ACEOF
37442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37443 _ACEOF
37444
37445 fi
37446
37447 done
37448
37449 if test "$ac_cv_header_sched_h" = "yes"; then
37450 echo "$as_me:$LINENO: checking for sched_yield" >&5
37451 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37452 if test "${ac_cv_func_sched_yield+set}" = set; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 else
37455 cat >conftest.$ac_ext <<_ACEOF
37456 /* confdefs.h. */
37457 _ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37463 #define sched_yield innocuous_sched_yield
37464
37465 /* System header to define __stub macros and hopefully few prototypes,
37466 which can conflict with char sched_yield (); below.
37467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37468 <limits.h> exists even on freestanding compilers. */
37469
37470 #ifdef __STDC__
37471 # include <limits.h>
37472 #else
37473 # include <assert.h>
37474 #endif
37475
37476 #undef sched_yield
37477
37478 /* Override any gcc2 internal prototype to avoid an error. */
37479 #ifdef __cplusplus
37480 extern "C"
37481 {
37482 #endif
37483 /* We use char because int might match the return type of a gcc2
37484 builtin and then its argument prototype would still apply. */
37485 char sched_yield ();
37486 /* The GNU C library defines this for functions which it implements
37487 to always fail with ENOSYS. Some functions are actually named
37488 something starting with __ and the normal name is an alias. */
37489 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37490 choke me
37491 #else
37492 char (*f) () = sched_yield;
37493 #endif
37494 #ifdef __cplusplus
37495 }
37496 #endif
37497
37498 int
37499 main ()
37500 {
37501 return f != sched_yield;
37502 ;
37503 return 0;
37504 }
37505 _ACEOF
37506 rm -f conftest.$ac_objext conftest$ac_exeext
37507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37508 (eval $ac_link) 2>conftest.er1
37509 ac_status=$?
37510 grep -v '^ *+' conftest.er1 >conftest.err
37511 rm -f conftest.er1
37512 cat conftest.err >&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } &&
37515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37518 ac_status=$?
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; } &&
37521 { ac_try='test -s conftest$ac_exeext'
37522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37523 (eval $ac_try) 2>&5
37524 ac_status=$?
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); }; }; then
37527 ac_cv_func_sched_yield=yes
37528 else
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.$ac_ext >&5
37531
37532 ac_cv_func_sched_yield=no
37533 fi
37534 rm -f conftest.err conftest.$ac_objext \
37535 conftest$ac_exeext conftest.$ac_ext
37536 fi
37537 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37538 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37539 if test $ac_cv_func_sched_yield = yes; then
37540 cat >>confdefs.h <<\_ACEOF
37541 #define HAVE_SCHED_YIELD 1
37542 _ACEOF
37543
37544 else
37545
37546 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37547 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37548 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37550 else
37551 ac_check_lib_save_LIBS=$LIBS
37552 LIBS="-lposix4 $LIBS"
37553 cat >conftest.$ac_ext <<_ACEOF
37554 /* confdefs.h. */
37555 _ACEOF
37556 cat confdefs.h >>conftest.$ac_ext
37557 cat >>conftest.$ac_ext <<_ACEOF
37558 /* end confdefs.h. */
37559
37560 /* Override any gcc2 internal prototype to avoid an error. */
37561 #ifdef __cplusplus
37562 extern "C"
37563 #endif
37564 /* We use char because int might match the return type of a gcc2
37565 builtin and then its argument prototype would still apply. */
37566 char sched_yield ();
37567 int
37568 main ()
37569 {
37570 sched_yield ();
37571 ;
37572 return 0;
37573 }
37574 _ACEOF
37575 rm -f conftest.$ac_objext conftest$ac_exeext
37576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37577 (eval $ac_link) 2>conftest.er1
37578 ac_status=$?
37579 grep -v '^ *+' conftest.er1 >conftest.err
37580 rm -f conftest.er1
37581 cat conftest.err >&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); } &&
37584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37587 ac_status=$?
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; } &&
37590 { ac_try='test -s conftest$ac_exeext'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37593 ac_status=$?
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; }; then
37596 ac_cv_lib_posix4_sched_yield=yes
37597 else
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37600
37601 ac_cv_lib_posix4_sched_yield=no
37602 fi
37603 rm -f conftest.err conftest.$ac_objext \
37604 conftest$ac_exeext conftest.$ac_ext
37605 LIBS=$ac_check_lib_save_LIBS
37606 fi
37607 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37608 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37609 if test $ac_cv_lib_posix4_sched_yield = yes; then
37610 cat >>confdefs.h <<\_ACEOF
37611 #define HAVE_SCHED_YIELD 1
37612 _ACEOF
37613 POSIX4_LINK=" -lposix4"
37614 else
37615 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37616 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37617
37618 fi
37619
37620
37621
37622 fi
37623
37624 fi
37625
37626 HAVE_PRIOR_FUNCS=0
37627 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37628 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37629 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 else
37632 cat >conftest.$ac_ext <<_ACEOF
37633 /* confdefs.h. */
37634 _ACEOF
37635 cat confdefs.h >>conftest.$ac_ext
37636 cat >>conftest.$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37641
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char pthread_attr_getschedpolicy (); below.
37644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37645 <limits.h> exists even on freestanding compilers. */
37646
37647 #ifdef __STDC__
37648 # include <limits.h>
37649 #else
37650 # include <assert.h>
37651 #endif
37652
37653 #undef pthread_attr_getschedpolicy
37654
37655 /* Override any gcc2 internal prototype to avoid an error. */
37656 #ifdef __cplusplus
37657 extern "C"
37658 {
37659 #endif
37660 /* We use char because int might match the return type of a gcc2
37661 builtin and then its argument prototype would still apply. */
37662 char pthread_attr_getschedpolicy ();
37663 /* The GNU C library defines this for functions which it implements
37664 to always fail with ENOSYS. Some functions are actually named
37665 something starting with __ and the normal name is an alias. */
37666 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37667 choke me
37668 #else
37669 char (*f) () = pthread_attr_getschedpolicy;
37670 #endif
37671 #ifdef __cplusplus
37672 }
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 return f != pthread_attr_getschedpolicy;
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37695 ac_status=$?
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; } &&
37698 { ac_try='test -s conftest$ac_exeext'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37701 ac_status=$?
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; }; then
37704 ac_cv_func_pthread_attr_getschedpolicy=yes
37705 else
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37708
37709 ac_cv_func_pthread_attr_getschedpolicy=no
37710 fi
37711 rm -f conftest.err conftest.$ac_objext \
37712 conftest$ac_exeext conftest.$ac_ext
37713 fi
37714 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37715 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37716 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37717 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37718 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37719 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37722 cat >conftest.$ac_ext <<_ACEOF
37723 /* confdefs.h. */
37724 _ACEOF
37725 cat confdefs.h >>conftest.$ac_ext
37726 cat >>conftest.$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37731
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char pthread_attr_setschedparam (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37736
37737 #ifdef __STDC__
37738 # include <limits.h>
37739 #else
37740 # include <assert.h>
37741 #endif
37742
37743 #undef pthread_attr_setschedparam
37744
37745 /* Override any gcc2 internal prototype to avoid an error. */
37746 #ifdef __cplusplus
37747 extern "C"
37748 {
37749 #endif
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char pthread_attr_setschedparam ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37757 choke me
37758 #else
37759 char (*f) () = pthread_attr_setschedparam;
37760 #endif
37761 #ifdef __cplusplus
37762 }
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768 return f != pthread_attr_setschedparam;
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37785 ac_status=$?
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; } &&
37788 { ac_try='test -s conftest$ac_exeext'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37791 ac_status=$?
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; }; then
37794 ac_cv_func_pthread_attr_setschedparam=yes
37795 else
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37798
37799 ac_cv_func_pthread_attr_setschedparam=no
37800 fi
37801 rm -f conftest.err conftest.$ac_objext \
37802 conftest$ac_exeext conftest.$ac_ext
37803 fi
37804 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37805 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37806 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37807 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37808 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37809 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 else
37812 cat >conftest.$ac_ext <<_ACEOF
37813 /* confdefs.h. */
37814 _ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37818 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37820 #define sched_get_priority_max innocuous_sched_get_priority_max
37821
37822 /* System header to define __stub macros and hopefully few prototypes,
37823 which can conflict with char sched_get_priority_max (); below.
37824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37825 <limits.h> exists even on freestanding compilers. */
37826
37827 #ifdef __STDC__
37828 # include <limits.h>
37829 #else
37830 # include <assert.h>
37831 #endif
37832
37833 #undef sched_get_priority_max
37834
37835 /* Override any gcc2 internal prototype to avoid an error. */
37836 #ifdef __cplusplus
37837 extern "C"
37838 {
37839 #endif
37840 /* We use char because int might match the return type of a gcc2
37841 builtin and then its argument prototype would still apply. */
37842 char sched_get_priority_max ();
37843 /* The GNU C library defines this for functions which it implements
37844 to always fail with ENOSYS. Some functions are actually named
37845 something starting with __ and the normal name is an alias. */
37846 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37847 choke me
37848 #else
37849 char (*f) () = sched_get_priority_max;
37850 #endif
37851 #ifdef __cplusplus
37852 }
37853 #endif
37854
37855 int
37856 main ()
37857 {
37858 return f != sched_get_priority_max;
37859 ;
37860 return 0;
37861 }
37862 _ACEOF
37863 rm -f conftest.$ac_objext conftest$ac_exeext
37864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37865 (eval $ac_link) 2>conftest.er1
37866 ac_status=$?
37867 grep -v '^ *+' conftest.er1 >conftest.err
37868 rm -f conftest.er1
37869 cat conftest.err >&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } &&
37872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; } &&
37878 { ac_try='test -s conftest$ac_exeext'
37879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880 (eval $ac_try) 2>&5
37881 ac_status=$?
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); }; }; then
37884 ac_cv_func_sched_get_priority_max=yes
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 ac_cv_func_sched_get_priority_max=no
37890 fi
37891 rm -f conftest.err conftest.$ac_objext \
37892 conftest$ac_exeext conftest.$ac_ext
37893 fi
37894 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37895 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37896 if test $ac_cv_func_sched_get_priority_max = yes; then
37897 HAVE_PRIOR_FUNCS=1
37898 else
37899 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37900 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37901 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37904 ac_check_lib_save_LIBS=$LIBS
37905 LIBS="-lposix4 $LIBS"
37906 cat >conftest.$ac_ext <<_ACEOF
37907 /* confdefs.h. */
37908 _ACEOF
37909 cat confdefs.h >>conftest.$ac_ext
37910 cat >>conftest.$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37912
37913 /* Override any gcc2 internal prototype to avoid an error. */
37914 #ifdef __cplusplus
37915 extern "C"
37916 #endif
37917 /* We use char because int might match the return type of a gcc2
37918 builtin and then its argument prototype would still apply. */
37919 char sched_get_priority_max ();
37920 int
37921 main ()
37922 {
37923 sched_get_priority_max ();
37924 ;
37925 return 0;
37926 }
37927 _ACEOF
37928 rm -f conftest.$ac_objext conftest$ac_exeext
37929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37930 (eval $ac_link) 2>conftest.er1
37931 ac_status=$?
37932 grep -v '^ *+' conftest.er1 >conftest.err
37933 rm -f conftest.er1
37934 cat conftest.err >&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); } &&
37937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37939 (eval $ac_try) 2>&5
37940 ac_status=$?
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); }; } &&
37943 { ac_try='test -s conftest$ac_exeext'
37944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37945 (eval $ac_try) 2>&5
37946 ac_status=$?
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); }; }; then
37949 ac_cv_lib_posix4_sched_get_priority_max=yes
37950 else
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.$ac_ext >&5
37953
37954 ac_cv_lib_posix4_sched_get_priority_max=no
37955 fi
37956 rm -f conftest.err conftest.$ac_objext \
37957 conftest$ac_exeext conftest.$ac_ext
37958 LIBS=$ac_check_lib_save_LIBS
37959 fi
37960 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37961 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37962 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37963
37964 HAVE_PRIOR_FUNCS=1
37965 POSIX4_LINK=" -lposix4"
37966
37967 fi
37968
37969
37970 fi
37971
37972
37973 fi
37974
37975
37976 fi
37977
37978
37979 if test "$HAVE_PRIOR_FUNCS" = 1; then
37980 cat >>confdefs.h <<\_ACEOF
37981 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37982 _ACEOF
37983
37984 else
37985 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37986 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37987 fi
37988
37989 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37990 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37991 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 else
37994 cat >conftest.$ac_ext <<_ACEOF
37995 /* confdefs.h. */
37996 _ACEOF
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38002 #define pthread_cancel innocuous_pthread_cancel
38003
38004 /* System header to define __stub macros and hopefully few prototypes,
38005 which can conflict with char pthread_cancel (); below.
38006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38007 <limits.h> exists even on freestanding compilers. */
38008
38009 #ifdef __STDC__
38010 # include <limits.h>
38011 #else
38012 # include <assert.h>
38013 #endif
38014
38015 #undef pthread_cancel
38016
38017 /* Override any gcc2 internal prototype to avoid an error. */
38018 #ifdef __cplusplus
38019 extern "C"
38020 {
38021 #endif
38022 /* We use char because int might match the return type of a gcc2
38023 builtin and then its argument prototype would still apply. */
38024 char pthread_cancel ();
38025 /* The GNU C library defines this for functions which it implements
38026 to always fail with ENOSYS. Some functions are actually named
38027 something starting with __ and the normal name is an alias. */
38028 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38029 choke me
38030 #else
38031 char (*f) () = pthread_cancel;
38032 #endif
38033 #ifdef __cplusplus
38034 }
38035 #endif
38036
38037 int
38038 main ()
38039 {
38040 return f != pthread_cancel;
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext conftest$ac_exeext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38047 (eval $ac_link) 2>conftest.er1
38048 ac_status=$?
38049 grep -v '^ *+' conftest.er1 >conftest.err
38050 rm -f conftest.er1
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } &&
38054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try='test -s conftest$ac_exeext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 ac_cv_func_pthread_cancel=yes
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38070
38071 ac_cv_func_pthread_cancel=no
38072 fi
38073 rm -f conftest.err conftest.$ac_objext \
38074 conftest$ac_exeext conftest.$ac_ext
38075 fi
38076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38077 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38078 if test $ac_cv_func_pthread_cancel = yes; then
38079 cat >>confdefs.h <<\_ACEOF
38080 #define HAVE_PTHREAD_CANCEL 1
38081 _ACEOF
38082
38083 else
38084 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38085 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38086 fi
38087
38088
38089 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38090 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38091 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38093 else
38094 cat >conftest.$ac_ext <<_ACEOF
38095 /* confdefs.h. */
38096 _ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38102 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38103
38104 /* System header to define __stub macros and hopefully few prototypes,
38105 which can conflict with char pthread_attr_setstacksize (); below.
38106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38107 <limits.h> exists even on freestanding compilers. */
38108
38109 #ifdef __STDC__
38110 # include <limits.h>
38111 #else
38112 # include <assert.h>
38113 #endif
38114
38115 #undef pthread_attr_setstacksize
38116
38117 /* Override any gcc2 internal prototype to avoid an error. */
38118 #ifdef __cplusplus
38119 extern "C"
38120 {
38121 #endif
38122 /* We use char because int might match the return type of a gcc2
38123 builtin and then its argument prototype would still apply. */
38124 char pthread_attr_setstacksize ();
38125 /* The GNU C library defines this for functions which it implements
38126 to always fail with ENOSYS. Some functions are actually named
38127 something starting with __ and the normal name is an alias. */
38128 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38129 choke me
38130 #else
38131 char (*f) () = pthread_attr_setstacksize;
38132 #endif
38133 #ifdef __cplusplus
38134 }
38135 #endif
38136
38137 int
38138 main ()
38139 {
38140 return f != pthread_attr_setstacksize;
38141 ;
38142 return 0;
38143 }
38144 _ACEOF
38145 rm -f conftest.$ac_objext conftest$ac_exeext
38146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38147 (eval $ac_link) 2>conftest.er1
38148 ac_status=$?
38149 grep -v '^ *+' conftest.er1 >conftest.err
38150 rm -f conftest.er1
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } &&
38154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38157 ac_status=$?
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; } &&
38160 { ac_try='test -s conftest$ac_exeext'
38161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38162 (eval $ac_try) 2>&5
38163 ac_status=$?
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); }; }; then
38166 ac_cv_func_pthread_attr_setstacksize=yes
38167 else
38168 echo "$as_me: failed program was:" >&5
38169 sed 's/^/| /' conftest.$ac_ext >&5
38170
38171 ac_cv_func_pthread_attr_setstacksize=no
38172 fi
38173 rm -f conftest.err conftest.$ac_objext \
38174 conftest$ac_exeext conftest.$ac_ext
38175 fi
38176 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38177 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38178 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38179 cat >>confdefs.h <<\_ACEOF
38180 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38181 _ACEOF
38182
38183 fi
38184
38185
38186
38187 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38188 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38189 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192
38193 cat >conftest.$ac_ext <<_ACEOF
38194 /* confdefs.h. */
38195 _ACEOF
38196 cat confdefs.h >>conftest.$ac_ext
38197 cat >>conftest.$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38199 #include <pthread.h>
38200 int
38201 main ()
38202 {
38203
38204 pthread_mutexattr_t attr;
38205 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38206
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 rm -f conftest.$ac_objext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38213 (eval $ac_compile) 2>conftest.er1
38214 ac_status=$?
38215 grep -v '^ *+' conftest.er1 >conftest.err
38216 rm -f conftest.er1
38217 cat conftest.err >&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38223 ac_status=$?
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try='test -s conftest.$ac_objext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 wx_cv_type_pthread_mutexattr_t=yes
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 wx_cv_type_pthread_mutexattr_t=no
38238
38239 fi
38240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38241
38242 fi
38243 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38244 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38245
38246 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38247 cat >>confdefs.h <<\_ACEOF
38248 #define HAVE_PTHREAD_MUTEXATTR_T 1
38249 _ACEOF
38250
38251
38252 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38253 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38254 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38255 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 else
38257
38258 cat >conftest.$ac_ext <<_ACEOF
38259 /* confdefs.h. */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264 #include <pthread.h>
38265 int
38266 main ()
38267 {
38268
38269 pthread_mutexattr_t attr;
38270 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38271
38272 ;
38273 return 0;
38274 }
38275 _ACEOF
38276 rm -f conftest.$ac_objext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38278 (eval $ac_compile) 2>conftest.er1
38279 ac_status=$?
38280 grep -v '^ *+' conftest.er1 >conftest.err
38281 rm -f conftest.er1
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38288 ac_status=$?
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; } &&
38291 { ac_try='test -s conftest.$ac_objext'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38294 ac_status=$?
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; }; then
38297 wx_cv_func_pthread_mutexattr_settype_decl=yes
38298 else
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38301
38302 wx_cv_func_pthread_mutexattr_settype_decl=no
38303
38304 fi
38305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38306
38307 fi
38308 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38309 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38310 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38311 cat >>confdefs.h <<\_ACEOF
38312 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38313 _ACEOF
38314
38315 fi
38316 else
38317 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38318 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38319 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38320 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 else
38322
38323 cat >conftest.$ac_ext <<_ACEOF
38324 /* confdefs.h. */
38325 _ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38329 #include <pthread.h>
38330 int
38331 main ()
38332 {
38333
38334 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38335
38336 ;
38337 return 0;
38338 }
38339 _ACEOF
38340 rm -f conftest.$ac_objext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38342 (eval $ac_compile) 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38352 ac_status=$?
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; } &&
38355 { ac_try='test -s conftest.$ac_objext'
38356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38357 (eval $ac_try) 2>&5
38358 ac_status=$?
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); }; }; then
38361
38362 wx_cv_type_pthread_rec_mutex_init=yes
38363
38364 else
38365 echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.$ac_ext >&5
38367
38368
38369 wx_cv_type_pthread_rec_mutex_init=no
38370
38371
38372 fi
38373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38374
38375 fi
38376 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38377 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38378 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38379 cat >>confdefs.h <<\_ACEOF
38380 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38381 _ACEOF
38382
38383 else
38384 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38385 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38386 fi
38387 fi
38388 fi
38389
38390 else
38391 if test "$wxUSE_THREADS" = "yes" ; then
38392 case "${host}" in
38393 *-*-mingw32* )
38394 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38395 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38396 if test "${wx_cv_cflags_mthread+set}" = set; then
38397 echo $ECHO_N "(cached) $ECHO_C" >&6
38398 else
38399
38400 CXXFLAGS_OLD="$CXXFLAGS"
38401 CXXFLAGS="-mthreads $CXXFLAGS"
38402 cat >conftest.$ac_ext <<_ACEOF
38403 /* confdefs.h. */
38404 _ACEOF
38405 cat confdefs.h >>conftest.$ac_ext
38406 cat >>conftest.$ac_ext <<_ACEOF
38407 /* end confdefs.h. */
38408
38409 int
38410 main ()
38411 {
38412
38413 ;
38414 return 0;
38415 }
38416 _ACEOF
38417 rm -f conftest.$ac_objext
38418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38419 (eval $ac_compile) 2>conftest.er1
38420 ac_status=$?
38421 grep -v '^ *+' conftest.er1 >conftest.err
38422 rm -f conftest.er1
38423 cat conftest.err >&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); } &&
38426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38428 (eval $ac_try) 2>&5
38429 ac_status=$?
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); }; } &&
38432 { ac_try='test -s conftest.$ac_objext'
38433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38434 (eval $ac_try) 2>&5
38435 ac_status=$?
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 wx_cv_cflags_mthread=yes
38439 else
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38442
38443 wx_cv_cflags_mthread=no
38444
38445 fi
38446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38447
38448
38449 fi
38450 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38451 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38452
38453 if test "$wx_cv_cflags_mthread" = "yes"; then
38454 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
38455 LDFLAGS="$LDFLAGS -mthreads"
38456 else
38457 CXXFLAGS="$CXXFLAGS_OLD"
38458 fi
38459 ;;
38460 *-pc-os2*emx )
38461 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38462 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38463 LDFLAGS="$LDFLAGS -Zmt"
38464 ;;
38465 esac
38466 fi
38467 fi
38468
38469 echo "$as_me:$LINENO: checking for localtime_r" >&5
38470 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38471 if test "${ac_cv_func_localtime_r+set}" = set; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38473 else
38474 cat >conftest.$ac_ext <<_ACEOF
38475 /* confdefs.h. */
38476 _ACEOF
38477 cat confdefs.h >>conftest.$ac_ext
38478 cat >>conftest.$ac_ext <<_ACEOF
38479 /* end confdefs.h. */
38480 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38482 #define localtime_r innocuous_localtime_r
38483
38484 /* System header to define __stub macros and hopefully few prototypes,
38485 which can conflict with char localtime_r (); below.
38486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38487 <limits.h> exists even on freestanding compilers. */
38488
38489 #ifdef __STDC__
38490 # include <limits.h>
38491 #else
38492 # include <assert.h>
38493 #endif
38494
38495 #undef localtime_r
38496
38497 /* Override any gcc2 internal prototype to avoid an error. */
38498 #ifdef __cplusplus
38499 extern "C"
38500 {
38501 #endif
38502 /* We use char because int might match the return type of a gcc2
38503 builtin and then its argument prototype would still apply. */
38504 char localtime_r ();
38505 /* The GNU C library defines this for functions which it implements
38506 to always fail with ENOSYS. Some functions are actually named
38507 something starting with __ and the normal name is an alias. */
38508 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38509 choke me
38510 #else
38511 char (*f) () = localtime_r;
38512 #endif
38513 #ifdef __cplusplus
38514 }
38515 #endif
38516
38517 int
38518 main ()
38519 {
38520 return f != localtime_r;
38521 ;
38522 return 0;
38523 }
38524 _ACEOF
38525 rm -f conftest.$ac_objext conftest$ac_exeext
38526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38527 (eval $ac_link) 2>conftest.er1
38528 ac_status=$?
38529 grep -v '^ *+' conftest.er1 >conftest.err
38530 rm -f conftest.er1
38531 cat conftest.err >&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); } &&
38534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; } &&
38540 { ac_try='test -s conftest$ac_exeext'
38541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38542 (eval $ac_try) 2>&5
38543 ac_status=$?
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; }; then
38546 ac_cv_func_localtime_r=yes
38547 else
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38550
38551 ac_cv_func_localtime_r=no
38552 fi
38553 rm -f conftest.err conftest.$ac_objext \
38554 conftest$ac_exeext conftest.$ac_ext
38555 fi
38556 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38557 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38558 if test $ac_cv_func_localtime_r = yes; then
38559 cat >>confdefs.h <<\_ACEOF
38560 #define HAVE_LOCALTIME_R 1
38561 _ACEOF
38562
38563 fi
38564
38565 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38566 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38567 if test "${ac_cv_func_gmtime_r+set}" = set; then
38568 echo $ECHO_N "(cached) $ECHO_C" >&6
38569 else
38570 cat >conftest.$ac_ext <<_ACEOF
38571 /* confdefs.h. */
38572 _ACEOF
38573 cat confdefs.h >>conftest.$ac_ext
38574 cat >>conftest.$ac_ext <<_ACEOF
38575 /* end confdefs.h. */
38576 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38578 #define gmtime_r innocuous_gmtime_r
38579
38580 /* System header to define __stub macros and hopefully few prototypes,
38581 which can conflict with char gmtime_r (); below.
38582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38583 <limits.h> exists even on freestanding compilers. */
38584
38585 #ifdef __STDC__
38586 # include <limits.h>
38587 #else
38588 # include <assert.h>
38589 #endif
38590
38591 #undef gmtime_r
38592
38593 /* Override any gcc2 internal prototype to avoid an error. */
38594 #ifdef __cplusplus
38595 extern "C"
38596 {
38597 #endif
38598 /* We use char because int might match the return type of a gcc2
38599 builtin and then its argument prototype would still apply. */
38600 char gmtime_r ();
38601 /* The GNU C library defines this for functions which it implements
38602 to always fail with ENOSYS. Some functions are actually named
38603 something starting with __ and the normal name is an alias. */
38604 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38605 choke me
38606 #else
38607 char (*f) () = gmtime_r;
38608 #endif
38609 #ifdef __cplusplus
38610 }
38611 #endif
38612
38613 int
38614 main ()
38615 {
38616 return f != gmtime_r;
38617 ;
38618 return 0;
38619 }
38620 _ACEOF
38621 rm -f conftest.$ac_objext conftest$ac_exeext
38622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38623 (eval $ac_link) 2>conftest.er1
38624 ac_status=$?
38625 grep -v '^ *+' conftest.er1 >conftest.err
38626 rm -f conftest.er1
38627 cat conftest.err >&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } &&
38630 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38633 ac_status=$?
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try='test -s conftest$ac_exeext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38639 ac_status=$?
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 ac_cv_func_gmtime_r=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 ac_cv_func_gmtime_r=no
38648 fi
38649 rm -f conftest.err conftest.$ac_objext \
38650 conftest$ac_exeext conftest.$ac_ext
38651 fi
38652 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38653 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38654 if test $ac_cv_func_gmtime_r = yes; then
38655 cat >>confdefs.h <<\_ACEOF
38656 #define HAVE_GMTIME_R 1
38657 _ACEOF
38658
38659 fi
38660
38661 echo "$as_me:$LINENO: checking for readdir_r" >&5
38662 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38663 if test "${ac_cv_func_readdir_r+set}" = set; then
38664 echo $ECHO_N "(cached) $ECHO_C" >&6
38665 else
38666 cat >conftest.$ac_ext <<_ACEOF
38667 /* confdefs.h. */
38668 _ACEOF
38669 cat confdefs.h >>conftest.$ac_ext
38670 cat >>conftest.$ac_ext <<_ACEOF
38671 /* end confdefs.h. */
38672 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38674 #define readdir_r innocuous_readdir_r
38675
38676 /* System header to define __stub macros and hopefully few prototypes,
38677 which can conflict with char readdir_r (); below.
38678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38679 <limits.h> exists even on freestanding compilers. */
38680
38681 #ifdef __STDC__
38682 # include <limits.h>
38683 #else
38684 # include <assert.h>
38685 #endif
38686
38687 #undef readdir_r
38688
38689 /* Override any gcc2 internal prototype to avoid an error. */
38690 #ifdef __cplusplus
38691 extern "C"
38692 {
38693 #endif
38694 /* We use char because int might match the return type of a gcc2
38695 builtin and then its argument prototype would still apply. */
38696 char readdir_r ();
38697 /* The GNU C library defines this for functions which it implements
38698 to always fail with ENOSYS. Some functions are actually named
38699 something starting with __ and the normal name is an alias. */
38700 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38701 choke me
38702 #else
38703 char (*f) () = readdir_r;
38704 #endif
38705 #ifdef __cplusplus
38706 }
38707 #endif
38708
38709 int
38710 main ()
38711 {
38712 return f != readdir_r;
38713 ;
38714 return 0;
38715 }
38716 _ACEOF
38717 rm -f conftest.$ac_objext conftest$ac_exeext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38719 (eval $ac_link) 2>conftest.er1
38720 ac_status=$?
38721 grep -v '^ *+' conftest.er1 >conftest.err
38722 rm -f conftest.er1
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38729 ac_status=$?
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; } &&
38732 { ac_try='test -s conftest$ac_exeext'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38735 ac_status=$?
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; }; then
38738 ac_cv_func_readdir_r=yes
38739 else
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38742
38743 ac_cv_func_readdir_r=no
38744 fi
38745 rm -f conftest.err conftest.$ac_objext \
38746 conftest$ac_exeext conftest.$ac_ext
38747 fi
38748 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38749 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38750 if test $ac_cv_func_readdir_r = yes; then
38751 cat >>confdefs.h <<\_ACEOF
38752 #define HAVE_READDIR_R 1
38753 _ACEOF
38754
38755 fi
38756
38757
38758
38759
38760 ac_ext=c
38761 ac_cpp='$CPP $CPPFLAGS'
38762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38765
38766 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38767 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38768
38769 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38771 else
38772
38773
38774 ################################################################
38775
38776 ac_cv_func_which_gethostbyname_r=unknown
38777
38778 #
38779 # ONE ARGUMENT (sanity check)
38780 #
38781
38782 # This should fail, as there is no variant of gethostbyname_r() that takes
38783 # a single argument. If it actually compiles, then we can assume that
38784 # netdb.h is not declaring the function, and the compiler is thereby
38785 # assuming an implicit prototype. In which case, we're out of luck.
38786 #
38787 cat >conftest.$ac_ext <<_ACEOF
38788 /* confdefs.h. */
38789 _ACEOF
38790 cat confdefs.h >>conftest.$ac_ext
38791 cat >>conftest.$ac_ext <<_ACEOF
38792 /* end confdefs.h. */
38793 #include <netdb.h>
38794 int
38795 main ()
38796 {
38797
38798 char *name = "www.gnu.org";
38799 (void)gethostbyname_r(name) /* ; */
38800
38801 ;
38802 return 0;
38803 }
38804 _ACEOF
38805 rm -f conftest.$ac_objext
38806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38807 (eval $ac_compile) 2>conftest.er1
38808 ac_status=$?
38809 grep -v '^ *+' conftest.er1 >conftest.err
38810 rm -f conftest.er1
38811 cat conftest.err >&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } &&
38814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38816 (eval $ac_try) 2>&5
38817 ac_status=$?
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); }; } &&
38820 { ac_try='test -s conftest.$ac_objext'
38821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38822 (eval $ac_try) 2>&5
38823 ac_status=$?
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); }; }; then
38826 ac_cv_func_which_gethostbyname_r=no
38827 else
38828 echo "$as_me: failed program was:" >&5
38829 sed 's/^/| /' conftest.$ac_ext >&5
38830
38831 fi
38832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38833
38834 #
38835 # SIX ARGUMENTS
38836 # (e.g. Linux)
38837 #
38838
38839 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38840
38841 cat >conftest.$ac_ext <<_ACEOF
38842 /* confdefs.h. */
38843 _ACEOF
38844 cat confdefs.h >>conftest.$ac_ext
38845 cat >>conftest.$ac_ext <<_ACEOF
38846 /* end confdefs.h. */
38847 #include <netdb.h>
38848 int
38849 main ()
38850 {
38851
38852 char *name = "www.gnu.org";
38853 struct hostent ret, *retp;
38854 char buf[1024];
38855 int buflen = 1024;
38856 int my_h_errno;
38857 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38858
38859 ;
38860 return 0;
38861 }
38862 _ACEOF
38863 rm -f conftest.$ac_objext
38864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38865 (eval $ac_compile) 2>conftest.er1
38866 ac_status=$?
38867 grep -v '^ *+' conftest.er1 >conftest.err
38868 rm -f conftest.er1
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } &&
38872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38874 (eval $ac_try) 2>&5
38875 ac_status=$?
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); }; } &&
38878 { ac_try='test -s conftest.$ac_objext'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38881 ac_status=$?
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; }; then
38884 ac_cv_func_which_gethostbyname_r=six
38885 else
38886 echo "$as_me: failed program was:" >&5
38887 sed 's/^/| /' conftest.$ac_ext >&5
38888
38889 fi
38890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38891
38892 fi
38893
38894 #
38895 # FIVE ARGUMENTS
38896 # (e.g. Solaris)
38897 #
38898
38899 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38900
38901 cat >conftest.$ac_ext <<_ACEOF
38902 /* confdefs.h. */
38903 _ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907 #include <netdb.h>
38908 int
38909 main ()
38910 {
38911
38912 char *name = "www.gnu.org";
38913 struct hostent ret;
38914 char buf[1024];
38915 int buflen = 1024;
38916 int my_h_errno;
38917 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38918
38919 ;
38920 return 0;
38921 }
38922 _ACEOF
38923 rm -f conftest.$ac_objext
38924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38925 (eval $ac_compile) 2>conftest.er1
38926 ac_status=$?
38927 grep -v '^ *+' conftest.er1 >conftest.err
38928 rm -f conftest.er1
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } &&
38932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38934 (eval $ac_try) 2>&5
38935 ac_status=$?
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); }; } &&
38938 { ac_try='test -s conftest.$ac_objext'
38939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38940 (eval $ac_try) 2>&5
38941 ac_status=$?
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); }; }; then
38944 ac_cv_func_which_gethostbyname_r=five
38945 else
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.$ac_ext >&5
38948
38949 fi
38950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38951
38952 fi
38953
38954 #
38955 # THREE ARGUMENTS
38956 # (e.g. AIX, HP-UX, Tru64)
38957 #
38958
38959 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38960
38961 cat >conftest.$ac_ext <<_ACEOF
38962 /* confdefs.h. */
38963 _ACEOF
38964 cat confdefs.h >>conftest.$ac_ext
38965 cat >>conftest.$ac_ext <<_ACEOF
38966 /* end confdefs.h. */
38967 #include <netdb.h>
38968 int
38969 main ()
38970 {
38971
38972 char *name = "www.gnu.org";
38973 struct hostent ret;
38974 struct hostent_data data;
38975 (void)gethostbyname_r(name, &ret, &data) /* ; */
38976
38977 ;
38978 return 0;
38979 }
38980 _ACEOF
38981 rm -f conftest.$ac_objext
38982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38983 (eval $ac_compile) 2>conftest.er1
38984 ac_status=$?
38985 grep -v '^ *+' conftest.er1 >conftest.err
38986 rm -f conftest.er1
38987 cat conftest.err >&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); } &&
38990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38992 (eval $ac_try) 2>&5
38993 ac_status=$?
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); }; } &&
38996 { ac_try='test -s conftest.$ac_objext'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; }; then
39002 ac_cv_func_which_gethostbyname_r=three
39003 else
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.$ac_ext >&5
39006
39007 fi
39008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39009
39010 fi
39011
39012 ################################################################
39013
39014
39015 fi
39016
39017 case "$ac_cv_func_which_gethostbyname_r" in
39018 three)
39019 echo "$as_me:$LINENO: result: three" >&5
39020 echo "${ECHO_T}three" >&6
39021 cat >>confdefs.h <<\_ACEOF
39022 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39023 _ACEOF
39024
39025 ;;
39026
39027 five)
39028 echo "$as_me:$LINENO: result: five" >&5
39029 echo "${ECHO_T}five" >&6
39030 cat >>confdefs.h <<\_ACEOF
39031 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39032 _ACEOF
39033
39034 ;;
39035
39036 six)
39037 echo "$as_me:$LINENO: result: six" >&5
39038 echo "${ECHO_T}six" >&6
39039 cat >>confdefs.h <<\_ACEOF
39040 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39041 _ACEOF
39042
39043 ;;
39044
39045 no)
39046 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39047 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39048 ;;
39049
39050 unknown)
39051 echo "$as_me:$LINENO: result: can't tell" >&5
39052 echo "${ECHO_T}can't tell" >&6
39053 ;;
39054
39055 *)
39056 { { echo "$as_me:$LINENO: error: internal error" >&5
39057 echo "$as_me: error: internal error" >&2;}
39058 { (exit 1); exit 1; }; }
39059 ;;
39060 esac
39061
39062 ac_ext=cc
39063 ac_cpp='$CXXCPP $CPPFLAGS'
39064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39067
39068
39069
39070 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39071 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39072 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39073 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39074 if test "${ac_cv_func_gethostbyname+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 else
39077 cat >conftest.$ac_ext <<_ACEOF
39078 /* confdefs.h. */
39079 _ACEOF
39080 cat confdefs.h >>conftest.$ac_ext
39081 cat >>conftest.$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define gethostbyname innocuous_gethostbyname
39086
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char gethostbyname (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39091
39092 #ifdef __STDC__
39093 # include <limits.h>
39094 #else
39095 # include <assert.h>
39096 #endif
39097
39098 #undef gethostbyname
39099
39100 /* Override any gcc2 internal prototype to avoid an error. */
39101 #ifdef __cplusplus
39102 extern "C"
39103 {
39104 #endif
39105 /* We use char because int might match the return type of a gcc2
39106 builtin and then its argument prototype would still apply. */
39107 char gethostbyname ();
39108 /* The GNU C library defines this for functions which it implements
39109 to always fail with ENOSYS. Some functions are actually named
39110 something starting with __ and the normal name is an alias. */
39111 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39112 choke me
39113 #else
39114 char (*f) () = gethostbyname;
39115 #endif
39116 #ifdef __cplusplus
39117 }
39118 #endif
39119
39120 int
39121 main ()
39122 {
39123 return f != gethostbyname;
39124 ;
39125 return 0;
39126 }
39127 _ACEOF
39128 rm -f conftest.$ac_objext conftest$ac_exeext
39129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39130 (eval $ac_link) 2>conftest.er1
39131 ac_status=$?
39132 grep -v '^ *+' conftest.er1 >conftest.err
39133 rm -f conftest.er1
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } &&
39137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39140 ac_status=$?
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; } &&
39143 { ac_try='test -s conftest$ac_exeext'
39144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145 (eval $ac_try) 2>&5
39146 ac_status=$?
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); }; }; then
39149 ac_cv_func_gethostbyname=yes
39150 else
39151 echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39153
39154 ac_cv_func_gethostbyname=no
39155 fi
39156 rm -f conftest.err conftest.$ac_objext \
39157 conftest$ac_exeext conftest.$ac_ext
39158 fi
39159 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39160 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39161 if test $ac_cv_func_gethostbyname = yes; then
39162 cat >>confdefs.h <<\_ACEOF
39163 #define HAVE_GETHOSTBYNAME 1
39164 _ACEOF
39165
39166 fi
39167
39168 fi
39169 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39170 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39171 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39174 cat >conftest.$ac_ext <<_ACEOF
39175 /* confdefs.h. */
39176 _ACEOF
39177 cat confdefs.h >>conftest.$ac_ext
39178 cat >>conftest.$ac_ext <<_ACEOF
39179 /* end confdefs.h. */
39180 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39182 #define getservbyname_r innocuous_getservbyname_r
39183
39184 /* System header to define __stub macros and hopefully few prototypes,
39185 which can conflict with char getservbyname_r (); below.
39186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39187 <limits.h> exists even on freestanding compilers. */
39188
39189 #ifdef __STDC__
39190 # include <limits.h>
39191 #else
39192 # include <assert.h>
39193 #endif
39194
39195 #undef getservbyname_r
39196
39197 /* Override any gcc2 internal prototype to avoid an error. */
39198 #ifdef __cplusplus
39199 extern "C"
39200 {
39201 #endif
39202 /* We use char because int might match the return type of a gcc2
39203 builtin and then its argument prototype would still apply. */
39204 char getservbyname_r ();
39205 /* The GNU C library defines this for functions which it implements
39206 to always fail with ENOSYS. Some functions are actually named
39207 something starting with __ and the normal name is an alias. */
39208 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39209 choke me
39210 #else
39211 char (*f) () = getservbyname_r;
39212 #endif
39213 #ifdef __cplusplus
39214 }
39215 #endif
39216
39217 int
39218 main ()
39219 {
39220 return f != getservbyname_r;
39221 ;
39222 return 0;
39223 }
39224 _ACEOF
39225 rm -f conftest.$ac_objext conftest$ac_exeext
39226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39227 (eval $ac_link) 2>conftest.er1
39228 ac_status=$?
39229 grep -v '^ *+' conftest.er1 >conftest.err
39230 rm -f conftest.er1
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } &&
39234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest$ac_exeext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246 ac_cv_func_getservbyname_r=yes
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251 ac_cv_func_getservbyname_r=no
39252 fi
39253 rm -f conftest.err conftest.$ac_objext \
39254 conftest$ac_exeext conftest.$ac_ext
39255 fi
39256 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39257 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39258 if test $ac_cv_func_getservbyname_r = yes; then
39259 cat >conftest.$ac_ext <<_ACEOF
39260 /* confdefs.h. */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h. */
39265 #include <netdb.h>
39266 int
39267 main ()
39268 {
39269
39270 char *name;
39271 char *proto;
39272 struct servent *se;
39273 struct servent_data data;
39274 (void) getservbyname_r(name, proto, se, &data);
39275
39276 ;
39277 return 0;
39278 }
39279 _ACEOF
39280 rm -f conftest.$ac_objext
39281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39282 (eval $ac_compile) 2>conftest.er1
39283 ac_status=$?
39284 grep -v '^ *+' conftest.er1 >conftest.err
39285 rm -f conftest.er1
39286 cat conftest.err >&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); } &&
39289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39291 (eval $ac_try) 2>&5
39292 ac_status=$?
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); }; } &&
39295 { ac_try='test -s conftest.$ac_objext'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39298 ac_status=$?
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; }; then
39301 ac_cv_func_which_getservbyname_r=four
39302 else
39303 echo "$as_me: failed program was:" >&5
39304 sed 's/^/| /' conftest.$ac_ext >&5
39305
39306 cat >conftest.$ac_ext <<_ACEOF
39307 /* confdefs.h. */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 #include <netdb.h>
39313 int
39314 main ()
39315 {
39316
39317 char *name;
39318 char *proto;
39319 struct servent *se, *res;
39320 char buffer[2048];
39321 int buflen = 2048;
39322 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39323
39324 ;
39325 return 0;
39326 }
39327 _ACEOF
39328 rm -f conftest.$ac_objext
39329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39330 (eval $ac_compile) 2>conftest.er1
39331 ac_status=$?
39332 grep -v '^ *+' conftest.er1 >conftest.err
39333 rm -f conftest.er1
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } &&
39337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39340 ac_status=$?
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try='test -s conftest.$ac_objext'
39344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345 (eval $ac_try) 2>&5
39346 ac_status=$?
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); }; }; then
39349 ac_cv_func_which_getservbyname_r=six
39350 else
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 cat >conftest.$ac_ext <<_ACEOF
39355 /* confdefs.h. */
39356 _ACEOF
39357 cat confdefs.h >>conftest.$ac_ext
39358 cat >>conftest.$ac_ext <<_ACEOF
39359 /* end confdefs.h. */
39360 #include <netdb.h>
39361 int
39362 main ()
39363 {
39364
39365 char *name;
39366 char *proto;
39367 struct servent *se;
39368 char buffer[2048];
39369 int buflen = 2048;
39370 (void) getservbyname_r(name, proto, se, buffer, buflen)
39371
39372 ;
39373 return 0;
39374 }
39375 _ACEOF
39376 rm -f conftest.$ac_objext
39377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39378 (eval $ac_compile) 2>conftest.er1
39379 ac_status=$?
39380 grep -v '^ *+' conftest.er1 >conftest.err
39381 rm -f conftest.er1
39382 cat conftest.err >&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } &&
39385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39387 (eval $ac_try) 2>&5
39388 ac_status=$?
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); }; } &&
39391 { ac_try='test -s conftest.$ac_objext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 ac_cv_func_which_getservbyname_r=five
39398 else
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39401
39402 ac_cv_func_which_getservbyname_r=no
39403
39404 fi
39405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39406
39407 fi
39408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39409
39410 fi
39411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39412 else
39413 ac_cv_func_which_getservbyname_r=no
39414 fi
39415
39416
39417 if test $ac_cv_func_which_getservbyname_r = six; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39420 _ACEOF
39421
39422 elif test $ac_cv_func_which_getservbyname_r = five; then
39423 cat >>confdefs.h <<\_ACEOF
39424 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39425 _ACEOF
39426
39427 elif test $ac_cv_func_which_getservbyname_r = four; then
39428 cat >>confdefs.h <<\_ACEOF
39429 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39430 _ACEOF
39431
39432 fi
39433
39434
39435 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39436 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39437
39438 for ac_func in getservbyname
39439 do
39440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39441 echo "$as_me:$LINENO: checking for $ac_func" >&5
39442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39443 if eval "test \"\${$as_ac_var+set}\" = set"; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 else
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h. */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39454 #define $ac_func innocuous_$ac_func
39455
39456 /* System header to define __stub macros and hopefully few prototypes,
39457 which can conflict with char $ac_func (); below.
39458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39459 <limits.h> exists even on freestanding compilers. */
39460
39461 #ifdef __STDC__
39462 # include <limits.h>
39463 #else
39464 # include <assert.h>
39465 #endif
39466
39467 #undef $ac_func
39468
39469 /* Override any gcc2 internal prototype to avoid an error. */
39470 #ifdef __cplusplus
39471 extern "C"
39472 {
39473 #endif
39474 /* We use char because int might match the return type of a gcc2
39475 builtin and then its argument prototype would still apply. */
39476 char $ac_func ();
39477 /* The GNU C library defines this for functions which it implements
39478 to always fail with ENOSYS. Some functions are actually named
39479 something starting with __ and the normal name is an alias. */
39480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39481 choke me
39482 #else
39483 char (*f) () = $ac_func;
39484 #endif
39485 #ifdef __cplusplus
39486 }
39487 #endif
39488
39489 int
39490 main ()
39491 {
39492 return f != $ac_func;
39493 ;
39494 return 0;
39495 }
39496 _ACEOF
39497 rm -f conftest.$ac_objext conftest$ac_exeext
39498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39499 (eval $ac_link) 2>conftest.er1
39500 ac_status=$?
39501 grep -v '^ *+' conftest.er1 >conftest.err
39502 rm -f conftest.er1
39503 cat conftest.err >&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } &&
39506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508 (eval $ac_try) 2>&5
39509 ac_status=$?
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); }; } &&
39512 { ac_try='test -s conftest$ac_exeext'
39513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514 (eval $ac_try) 2>&5
39515 ac_status=$?
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); }; }; then
39518 eval "$as_ac_var=yes"
39519 else
39520 echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.$ac_ext >&5
39522
39523 eval "$as_ac_var=no"
39524 fi
39525 rm -f conftest.err conftest.$ac_objext \
39526 conftest$ac_exeext conftest.$ac_ext
39527 fi
39528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39530 if test `eval echo '${'$as_ac_var'}'` = yes; then
39531 cat >>confdefs.h <<_ACEOF
39532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39533 _ACEOF
39534 cat >>confdefs.h <<\_ACEOF
39535 #define HAVE_GETSERVBYNAME 1
39536 _ACEOF
39537
39538 fi
39539 done
39540
39541 fi
39542
39543 if test "$wxUSE_THREADS" = "yes"; then
39544 cat >>confdefs.h <<\_ACEOF
39545 #define wxUSE_THREADS 1
39546 _ACEOF
39547
39548
39549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39550 else
39551 if test "$ac_cv_func_strtok_r" = "yes"; then
39552 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39553 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39554 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39555 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39556 echo "$as_me:$LINENO: result: yes" >&5
39557 echo "${ECHO_T}yes" >&6
39558 else
39559 echo "$as_me:$LINENO: result: no" >&5
39560 echo "${ECHO_T}no" >&6
39561 fi
39562 fi
39563 fi
39564
39565 if test "$WXGTK20" = 1 ; then
39566 cat >>confdefs.h <<_ACEOF
39567 #define __WXGTK20__ $WXGTK20
39568 _ACEOF
39569
39570 WXGTK12=1
39571 fi
39572
39573 if test "$WXGTK12" = 1 ; then
39574 cat >>confdefs.h <<_ACEOF
39575 #define __WXGTK12__ $WXGTK12
39576 _ACEOF
39577
39578 fi
39579
39580 if test "$WXGTK127" = 1 ; then
39581 cat >>confdefs.h <<_ACEOF
39582 #define __WXGTK127__ $WXGTK127
39583 _ACEOF
39584
39585 fi
39586
39587 if test "$WXGPE" = 1 ; then
39588 cat >>confdefs.h <<_ACEOF
39589 #define __WXGPE__ $WXGPE
39590 _ACEOF
39591
39592 fi
39593
39594 DEBUG_CFLAGS=
39595 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39596 DEBUG_CFLAGS="-g"
39597 wxUSE_OPTIMISE=no
39598 fi
39599
39600 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39601 wxUSE_DEBUG_INFO=yes
39602 if test "$GCC" = yes; then
39603 DEBUG_CFLAGS="-ggdb"
39604 fi
39605 fi
39606
39607 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39608 cat >>confdefs.h <<\_ACEOF
39609 #define WXDEBUG 1
39610 _ACEOF
39611
39612 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39613 else
39614 if test "$wxUSE_GTK" = 1 ; then
39615 if test "x$wxGTK_VERSION" = "x1" ; then
39616 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39617 fi
39618 fi
39619 fi
39620
39621 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39622 cat >>confdefs.h <<\_ACEOF
39623 #define wxUSE_MEMORY_TRACING 1
39624 _ACEOF
39625
39626 cat >>confdefs.h <<\_ACEOF
39627 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39628 _ACEOF
39629
39630 cat >>confdefs.h <<\_ACEOF
39631 #define wxUSE_DEBUG_NEW_ALWAYS 1
39632 _ACEOF
39633
39634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
39635 fi
39636
39637 if test "$wxUSE_DMALLOC" = "yes" ; then
39638 DMALLOC_LIBS="-ldmallocthcxx"
39639 fi
39640
39641 PROFILE_FLAGS=
39642 if test "$wxUSE_PROFILE" = "yes" ; then
39643 PROFILE_FLAGS=" -pg"
39644 fi
39645
39646 if test "$GCC" = "yes" ; then
39647 if test "$wxUSE_NO_RTTI" = "yes" ; then
39648 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
39649 fi
39650 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39651 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
39652 fi
39653 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
39655 fi
39656
39657 case "${host}" in
39658 powerpc*-*-aix* )
39659 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
39660 ;;
39661 *-hppa* )
39662 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
39663 ;;
39664 esac
39665 fi
39666
39667 OPTIMISE_CFLAGS=
39668 if test "$wxUSE_OPTIMISE" = "no" ; then
39669 if test "$GCC" = yes ; then
39670 OPTIMISE_CFLAGS="-O0"
39671 fi
39672 else
39673 if test "$GCC" = yes ; then
39674 case "${host}" in
39675 *-pc-os2_emx | *-pc-os2-emx )
39676 OPTIMISE_CFLAGS="-O2"
39677 ;;
39678 *)
39679 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
39680 ;;
39681 esac
39682 else
39683 OPTIMISE_CFLAGS="-O"
39684 fi
39685 fi
39686
39687
39688 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39689 cat >>confdefs.h <<\_ACEOF
39690 #define WXWIN_COMPATIBILITY_2_4 1
39691 _ACEOF
39692
39693
39694 WXWIN_COMPATIBILITY_2_6="yes"
39695 fi
39696
39697 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39698 cat >>confdefs.h <<\_ACEOF
39699 #define WXWIN_COMPATIBILITY_2_6 1
39700 _ACEOF
39701
39702 fi
39703
39704
39705 if test "$wxUSE_GUI" = "yes"; then
39706 cat >>confdefs.h <<\_ACEOF
39707 #define wxUSE_GUI 1
39708 _ACEOF
39709
39710
39711 fi
39712
39713
39714 if test "$wxUSE_UNIX" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define wxUSE_UNIX 1
39717 _ACEOF
39718
39719 fi
39720
39721
39722 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39723
39724 HAVE_DL_FUNCS=0
39725 HAVE_SHL_FUNCS=0
39726 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39727 if test "$USE_DARWIN" = 1; then
39728 HAVE_DL_FUNCS=1
39729 elif test "$USE_DOS" = 1; then
39730 HAVE_DL_FUNCS=0
39731 else
39732
39733 for ac_func in dlopen
39734 do
39735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39736 echo "$as_me:$LINENO: checking for $ac_func" >&5
39737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39738 if eval "test \"\${$as_ac_var+set}\" = set"; then
39739 echo $ECHO_N "(cached) $ECHO_C" >&6
39740 else
39741 cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h. */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39749 #define $ac_func innocuous_$ac_func
39750
39751 /* System header to define __stub macros and hopefully few prototypes,
39752 which can conflict with char $ac_func (); below.
39753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39754 <limits.h> exists even on freestanding compilers. */
39755
39756 #ifdef __STDC__
39757 # include <limits.h>
39758 #else
39759 # include <assert.h>
39760 #endif
39761
39762 #undef $ac_func
39763
39764 /* Override any gcc2 internal prototype to avoid an error. */
39765 #ifdef __cplusplus
39766 extern "C"
39767 {
39768 #endif
39769 /* We use char because int might match the return type of a gcc2
39770 builtin and then its argument prototype would still apply. */
39771 char $ac_func ();
39772 /* The GNU C library defines this for functions which it implements
39773 to always fail with ENOSYS. Some functions are actually named
39774 something starting with __ and the normal name is an alias. */
39775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39776 choke me
39777 #else
39778 char (*f) () = $ac_func;
39779 #endif
39780 #ifdef __cplusplus
39781 }
39782 #endif
39783
39784 int
39785 main ()
39786 {
39787 return f != $ac_func;
39788 ;
39789 return 0;
39790 }
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39795 ac_status=$?
39796 grep -v '^ *+' conftest.er1 >conftest.err
39797 rm -f conftest.er1
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; } &&
39807 { ac_try='test -s conftest$ac_exeext'
39808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809 (eval $ac_try) 2>&5
39810 ac_status=$?
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); }; }; then
39813 eval "$as_ac_var=yes"
39814 else
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39817
39818 eval "$as_ac_var=no"
39819 fi
39820 rm -f conftest.err conftest.$ac_objext \
39821 conftest$ac_exeext conftest.$ac_ext
39822 fi
39823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h <<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39828 _ACEOF
39829
39830 cat >>confdefs.h <<\_ACEOF
39831 #define HAVE_DLOPEN 1
39832 _ACEOF
39833
39834 HAVE_DL_FUNCS=1
39835
39836 else
39837
39838 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39839 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39840 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 else
39843 ac_check_lib_save_LIBS=$LIBS
39844 LIBS="-ldl $LIBS"
39845 cat >conftest.$ac_ext <<_ACEOF
39846 /* confdefs.h. */
39847 _ACEOF
39848 cat confdefs.h >>conftest.$ac_ext
39849 cat >>conftest.$ac_ext <<_ACEOF
39850 /* end confdefs.h. */
39851
39852 /* Override any gcc2 internal prototype to avoid an error. */
39853 #ifdef __cplusplus
39854 extern "C"
39855 #endif
39856 /* We use char because int might match the return type of a gcc2
39857 builtin and then its argument prototype would still apply. */
39858 char dlopen ();
39859 int
39860 main ()
39861 {
39862 dlopen ();
39863 ;
39864 return 0;
39865 }
39866 _ACEOF
39867 rm -f conftest.$ac_objext conftest$ac_exeext
39868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39869 (eval $ac_link) 2>conftest.er1
39870 ac_status=$?
39871 grep -v '^ *+' conftest.er1 >conftest.err
39872 rm -f conftest.er1
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } &&
39876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39879 ac_status=$?
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try='test -s conftest$ac_exeext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 ac_cv_lib_dl_dlopen=yes
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39892
39893 ac_cv_lib_dl_dlopen=no
39894 fi
39895 rm -f conftest.err conftest.$ac_objext \
39896 conftest$ac_exeext conftest.$ac_ext
39897 LIBS=$ac_check_lib_save_LIBS
39898 fi
39899 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39900 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39901 if test $ac_cv_lib_dl_dlopen = yes; then
39902
39903 cat >>confdefs.h <<\_ACEOF
39904 #define HAVE_DLOPEN 1
39905 _ACEOF
39906
39907 HAVE_DL_FUNCS=1
39908 DL_LINK=" -ldl$DL_LINK"
39909
39910 else
39911
39912
39913 for ac_func in shl_load
39914 do
39915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39916 echo "$as_me:$LINENO: checking for $ac_func" >&5
39917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39918 if eval "test \"\${$as_ac_var+set}\" = set"; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39920 else
39921 cat >conftest.$ac_ext <<_ACEOF
39922 /* confdefs.h. */
39923 _ACEOF
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39929 #define $ac_func innocuous_$ac_func
39930
39931 /* System header to define __stub macros and hopefully few prototypes,
39932 which can conflict with char $ac_func (); below.
39933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39934 <limits.h> exists even on freestanding compilers. */
39935
39936 #ifdef __STDC__
39937 # include <limits.h>
39938 #else
39939 # include <assert.h>
39940 #endif
39941
39942 #undef $ac_func
39943
39944 /* Override any gcc2 internal prototype to avoid an error. */
39945 #ifdef __cplusplus
39946 extern "C"
39947 {
39948 #endif
39949 /* We use char because int might match the return type of a gcc2
39950 builtin and then its argument prototype would still apply. */
39951 char $ac_func ();
39952 /* The GNU C library defines this for functions which it implements
39953 to always fail with ENOSYS. Some functions are actually named
39954 something starting with __ and the normal name is an alias. */
39955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39956 choke me
39957 #else
39958 char (*f) () = $ac_func;
39959 #endif
39960 #ifdef __cplusplus
39961 }
39962 #endif
39963
39964 int
39965 main ()
39966 {
39967 return f != $ac_func;
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 rm -f conftest.$ac_objext conftest$ac_exeext
39973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39974 (eval $ac_link) 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } &&
39981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39984 ac_status=$?
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 eval "$as_ac_var=yes"
39994 else
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.$ac_ext >&5
39997
39998 eval "$as_ac_var=no"
39999 fi
40000 rm -f conftest.err conftest.$ac_objext \
40001 conftest$ac_exeext conftest.$ac_ext
40002 fi
40003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40008 _ACEOF
40009
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_SHL_LOAD 1
40012 _ACEOF
40013
40014 HAVE_SHL_FUNCS=1
40015
40016 else
40017
40018 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40019 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40020 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40021 echo $ECHO_N "(cached) $ECHO_C" >&6
40022 else
40023 ac_check_lib_save_LIBS=$LIBS
40024 LIBS="-lshl_load $LIBS"
40025 cat >conftest.$ac_ext <<_ACEOF
40026 /* confdefs.h. */
40027 _ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40031
40032 /* Override any gcc2 internal prototype to avoid an error. */
40033 #ifdef __cplusplus
40034 extern "C"
40035 #endif
40036 /* We use char because int might match the return type of a gcc2
40037 builtin and then its argument prototype would still apply. */
40038 char dld ();
40039 int
40040 main ()
40041 {
40042 dld ();
40043 ;
40044 return 0;
40045 }
40046 _ACEOF
40047 rm -f conftest.$ac_objext conftest$ac_exeext
40048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40049 (eval $ac_link) 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } &&
40056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40058 (eval $ac_try) 2>&5
40059 ac_status=$?
40060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40061 (exit $ac_status); }; } &&
40062 { ac_try='test -s conftest$ac_exeext'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40065 ac_status=$?
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; }; then
40068 ac_cv_lib_shl_load_dld=yes
40069 else
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.$ac_ext >&5
40072
40073 ac_cv_lib_shl_load_dld=no
40074 fi
40075 rm -f conftest.err conftest.$ac_objext \
40076 conftest$ac_exeext conftest.$ac_ext
40077 LIBS=$ac_check_lib_save_LIBS
40078 fi
40079 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40080 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40081 if test $ac_cv_lib_shl_load_dld = yes; then
40082
40083 HAVE_SHL_FUNCS=1
40084 DL_LINK=" -ldld$DL_LINK"
40085
40086 fi
40087
40088
40089 fi
40090 done
40091
40092
40093 fi
40094
40095
40096 fi
40097 done
40098
40099
40100 if test "$HAVE_DL_FUNCS" = 1; then
40101
40102 for ac_func in dlerror
40103 do
40104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40105 echo "$as_me:$LINENO: checking for $ac_func" >&5
40106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40107 if eval "test \"\${$as_ac_var+set}\" = set"; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40109 else
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40118 #define $ac_func innocuous_$ac_func
40119
40120 /* System header to define __stub macros and hopefully few prototypes,
40121 which can conflict with char $ac_func (); below.
40122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40123 <limits.h> exists even on freestanding compilers. */
40124
40125 #ifdef __STDC__
40126 # include <limits.h>
40127 #else
40128 # include <assert.h>
40129 #endif
40130
40131 #undef $ac_func
40132
40133 /* Override any gcc2 internal prototype to avoid an error. */
40134 #ifdef __cplusplus
40135 extern "C"
40136 {
40137 #endif
40138 /* We use char because int might match the return type of a gcc2
40139 builtin and then its argument prototype would still apply. */
40140 char $ac_func ();
40141 /* The GNU C library defines this for functions which it implements
40142 to always fail with ENOSYS. Some functions are actually named
40143 something starting with __ and the normal name is an alias. */
40144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40145 choke me
40146 #else
40147 char (*f) () = $ac_func;
40148 #endif
40149 #ifdef __cplusplus
40150 }
40151 #endif
40152
40153 int
40154 main ()
40155 {
40156 return f != $ac_func;
40157 ;
40158 return 0;
40159 }
40160 _ACEOF
40161 rm -f conftest.$ac_objext conftest$ac_exeext
40162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40163 (eval $ac_link) 2>conftest.er1
40164 ac_status=$?
40165 grep -v '^ *+' conftest.er1 >conftest.err
40166 rm -f conftest.er1
40167 cat conftest.err >&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } &&
40170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40172 (eval $ac_try) 2>&5
40173 ac_status=$?
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); }; } &&
40176 { ac_try='test -s conftest$ac_exeext'
40177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40178 (eval $ac_try) 2>&5
40179 ac_status=$?
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); }; }; then
40182 eval "$as_ac_var=yes"
40183 else
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40186
40187 eval "$as_ac_var=no"
40188 fi
40189 rm -f conftest.err conftest.$ac_objext \
40190 conftest$ac_exeext conftest.$ac_ext
40191 fi
40192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40194 if test `eval echo '${'$as_ac_var'}'` = yes; then
40195 cat >>confdefs.h <<_ACEOF
40196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40197 _ACEOF
40198 cat >>confdefs.h <<\_ACEOF
40199 #define HAVE_DLERROR 1
40200 _ACEOF
40201
40202 else
40203
40204 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40205 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40206 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 else
40209 ac_check_lib_save_LIBS=$LIBS
40210 LIBS="-ldl $LIBS"
40211 cat >conftest.$ac_ext <<_ACEOF
40212 /* confdefs.h. */
40213 _ACEOF
40214 cat confdefs.h >>conftest.$ac_ext
40215 cat >>conftest.$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217
40218 /* Override any gcc2 internal prototype to avoid an error. */
40219 #ifdef __cplusplus
40220 extern "C"
40221 #endif
40222 /* We use char because int might match the return type of a gcc2
40223 builtin and then its argument prototype would still apply. */
40224 char dlerror ();
40225 int
40226 main ()
40227 {
40228 dlerror ();
40229 ;
40230 return 0;
40231 }
40232 _ACEOF
40233 rm -f conftest.$ac_objext conftest$ac_exeext
40234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40235 (eval $ac_link) 2>conftest.er1
40236 ac_status=$?
40237 grep -v '^ *+' conftest.er1 >conftest.err
40238 rm -f conftest.er1
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } &&
40242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40245 ac_status=$?
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; } &&
40248 { ac_try='test -s conftest$ac_exeext'
40249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40250 (eval $ac_try) 2>&5
40251 ac_status=$?
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); }; }; then
40254 ac_cv_lib_dl_dlerror=yes
40255 else
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40258
40259 ac_cv_lib_dl_dlerror=no
40260 fi
40261 rm -f conftest.err conftest.$ac_objext \
40262 conftest$ac_exeext conftest.$ac_ext
40263 LIBS=$ac_check_lib_save_LIBS
40264 fi
40265 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40266 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40267 if test $ac_cv_lib_dl_dlerror = yes; then
40268 cat >>confdefs.h <<\_ACEOF
40269 #define HAVE_DLERROR 1
40270 _ACEOF
40271
40272 fi
40273
40274
40275
40276 fi
40277 done
40278
40279 fi
40280 fi
40281
40282 if test "$HAVE_DL_FUNCS" = 0; then
40283 if test "$HAVE_SHL_FUNCS" = 0; then
40284 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40285 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40286 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40287 wxUSE_DYNAMIC_LOADER=no
40288 wxUSE_DYNLIB_CLASS=no
40289 else
40290 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40291 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40292 fi
40293 fi
40294 fi
40295 fi
40296 fi
40297
40298 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40299 cat >>confdefs.h <<\_ACEOF
40300 #define wxUSE_DYNAMIC_LOADER 1
40301 _ACEOF
40302
40303 fi
40304 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40305 cat >>confdefs.h <<\_ACEOF
40306 #define wxUSE_DYNLIB_CLASS 1
40307 _ACEOF
40308
40309 fi
40310
40311
40312
40313 if test "$wxUSE_PLUGINS" = "yes" ; then
40314 if test "$wxUSE_SHARED" = "no" ; then
40315 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40316 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40317 wxUSE_PLUGINS=no
40318 fi
40319 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40320 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40321 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40322 wxUSE_PLUGINS=no
40323 fi
40324 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40325 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40326 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40327 wxUSE_PLUGINS=no
40328 fi
40329 if test "$wxUSE_PLUGINS" = "yes" ; then
40330 cat >>confdefs.h <<\_ACEOF
40331 #define wxUSE_PLUGINS 1
40332 _ACEOF
40333
40334 fi
40335 fi
40336
40337
40338 if test "$wxUSE_STL" = "yes"; then
40339 cat >>confdefs.h <<\_ACEOF
40340 #define wxUSE_STL 1
40341 _ACEOF
40342
40343 fi
40344
40345 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40346 cat >>confdefs.h <<\_ACEOF
40347 #define wxUSE_APPLE_IEEE 1
40348 _ACEOF
40349
40350 fi
40351
40352 if test "$wxUSE_TIMER" = "yes"; then
40353 cat >>confdefs.h <<\_ACEOF
40354 #define wxUSE_TIMER 1
40355 _ACEOF
40356
40357 fi
40358
40359 if test "$USE_UNIX" = "1" ; then
40360 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40361 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40362 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365
40366 cat >conftest.$ac_ext <<_ACEOF
40367 /* confdefs.h. */
40368 _ACEOF
40369 cat confdefs.h >>conftest.$ac_ext
40370 cat >>conftest.$ac_ext <<_ACEOF
40371 /* end confdefs.h. */
40372
40373 #include <sys/soundcard.h>
40374
40375 int
40376 main ()
40377 {
40378
40379 ioctl(0, SNDCTL_DSP_SYNC, 0);
40380
40381 ;
40382 return 0;
40383 }
40384 _ACEOF
40385 rm -f conftest.$ac_objext conftest$ac_exeext
40386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40387 (eval $ac_link) 2>conftest.er1
40388 ac_status=$?
40389 grep -v '^ *+' conftest.er1 >conftest.err
40390 rm -f conftest.er1
40391 cat conftest.err >&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); } &&
40394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40397 ac_status=$?
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; } &&
40400 { ac_try='test -s conftest$ac_exeext'
40401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402 (eval $ac_try) 2>&5
40403 ac_status=$?
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); }; }; then
40406 ac_cv_header_sys_soundcard=yes
40407 else
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40410
40411
40412 saveLibs="$LIBS"
40413 LIBS="$saveLibs -lossaudio"
40414 cat >conftest.$ac_ext <<_ACEOF
40415 /* confdefs.h. */
40416 _ACEOF
40417 cat confdefs.h >>conftest.$ac_ext
40418 cat >>conftest.$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40420
40421 #include <sys/soundcard.h>
40422
40423 int
40424 main ()
40425 {
40426
40427 ioctl(0, SNDCTL_DSP_SYNC, 0);
40428
40429 ;
40430 return 0;
40431 }
40432 _ACEOF
40433 rm -f conftest.$ac_objext conftest$ac_exeext
40434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40435 (eval $ac_link) 2>conftest.er1
40436 ac_status=$?
40437 grep -v '^ *+' conftest.er1 >conftest.err
40438 rm -f conftest.er1
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } &&
40442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40445 ac_status=$?
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; } &&
40448 { ac_try='test -s conftest$ac_exeext'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40451 ac_status=$?
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 ac_cv_header_sys_soundcard=yes
40455 else
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40458
40459
40460 LIBS="$saveLibs"
40461 ac_cv_header_sys_soundcard=no
40462
40463
40464 fi
40465 rm -f conftest.err conftest.$ac_objext \
40466 conftest$ac_exeext conftest.$ac_ext
40467
40468
40469 fi
40470 rm -f conftest.err conftest.$ac_objext \
40471 conftest$ac_exeext conftest.$ac_ext
40472
40473 fi
40474 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40475 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40476
40477 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40478 cat >>confdefs.h <<\_ACEOF
40479 #define HAVE_SYS_SOUNDCARD_H 1
40480 _ACEOF
40481
40482 else
40483 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
40484 fi
40485 fi
40486 WITH_PLUGIN_SDL=0
40487 if test "$wxUSE_SOUND" = "yes"; then
40488 if test "$USE_UNIX" = "1" ; then
40489 if test "$wxUSE_LIBSDL" != "no"; then
40490
40491 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40492 if test "${with_sdl_prefix+set}" = set; then
40493 withval="$with_sdl_prefix"
40494 sdl_prefix="$withval"
40495 else
40496 sdl_prefix=""
40497 fi;
40498
40499 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40500 if test "${with_sdl_exec_prefix+set}" = set; then
40501 withval="$with_sdl_exec_prefix"
40502 sdl_exec_prefix="$withval"
40503 else
40504 sdl_exec_prefix=""
40505 fi;
40506 # Check whether --enable-sdltest or --disable-sdltest was given.
40507 if test "${enable_sdltest+set}" = set; then
40508 enableval="$enable_sdltest"
40509
40510 else
40511 enable_sdltest=yes
40512 fi;
40513
40514 if test x$sdl_exec_prefix != x ; then
40515 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40516 if test x${SDL_CONFIG+set} != xset ; then
40517 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40518 fi
40519 fi
40520 if test x$sdl_prefix != x ; then
40521 sdl_args="$sdl_args --prefix=$sdl_prefix"
40522 if test x${SDL_CONFIG+set} != xset ; then
40523 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40524 fi
40525 fi
40526
40527
40528 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40529 # Extract the first word of "sdl-config", so it can be a program name with args.
40530 set dummy sdl-config; ac_word=$2
40531 echo "$as_me:$LINENO: checking for $ac_word" >&5
40532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40533 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 else
40536 case $SDL_CONFIG in
40537 [\\/]* | ?:[\\/]*)
40538 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40539 ;;
40540 *)
40541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40542 for as_dir in $PATH
40543 do
40544 IFS=$as_save_IFS
40545 test -z "$as_dir" && as_dir=.
40546 for ac_exec_ext in '' $ac_executable_extensions; do
40547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40548 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40550 break 2
40551 fi
40552 done
40553 done
40554
40555 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40556 ;;
40557 esac
40558 fi
40559 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40560
40561 if test -n "$SDL_CONFIG"; then
40562 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40563 echo "${ECHO_T}$SDL_CONFIG" >&6
40564 else
40565 echo "$as_me:$LINENO: result: no" >&5
40566 echo "${ECHO_T}no" >&6
40567 fi
40568
40569 min_sdl_version=1.2.0
40570 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40571 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40572 no_sdl=""
40573 if test "$SDL_CONFIG" = "no" ; then
40574 no_sdl=yes
40575 else
40576 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40577 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40578
40579 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40581 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40583 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40585 if test "x$enable_sdltest" = "xyes" ; then
40586 ac_save_CFLAGS="$CFLAGS"
40587 ac_save_CXXFLAGS="$CXXFLAGS"
40588 ac_save_LIBS="$LIBS"
40589 CFLAGS="$CFLAGS $SDL_CFLAGS"
40590 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40591 LIBS="$LIBS $SDL_LIBS"
40592 rm -f conf.sdltest
40593 if test "$cross_compiling" = yes; then
40594 echo $ac_n "cross compiling; assumed OK... $ac_c"
40595 else
40596 cat >conftest.$ac_ext <<_ACEOF
40597 /* confdefs.h. */
40598 _ACEOF
40599 cat confdefs.h >>conftest.$ac_ext
40600 cat >>conftest.$ac_ext <<_ACEOF
40601 /* end confdefs.h. */
40602
40603 #include <stdio.h>
40604 #include <stdlib.h>
40605 #include <string.h>
40606 #include "SDL.h"
40607
40608 char*
40609 my_strdup (char *str)
40610 {
40611 char *new_str;
40612
40613 if (str)
40614 {
40615 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40616 strcpy (new_str, str);
40617 }
40618 else
40619 new_str = NULL;
40620
40621 return new_str;
40622 }
40623
40624 int main (int argc, char *argv[])
40625 {
40626 int major, minor, micro;
40627 char *tmp_version;
40628
40629 /* This hangs on some systems (?)
40630 system ("touch conf.sdltest");
40631 */
40632 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40633
40634 /* HP/UX 9 (%@#!) writes to sscanf strings */
40635 tmp_version = my_strdup("$min_sdl_version");
40636 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40637 printf("%s, bad version string\n", "$min_sdl_version");
40638 exit(1);
40639 }
40640
40641 if (($sdl_major_version > major) ||
40642 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40643 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40644 {
40645 return 0;
40646 }
40647 else
40648 {
40649 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40650 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40651 printf("*** best to upgrade to the required version.\n");
40652 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40653 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40654 printf("*** config.cache before re-running configure\n");
40655 return 1;
40656 }
40657 }
40658
40659
40660 _ACEOF
40661 rm -f conftest$ac_exeext
40662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40663 (eval $ac_link) 2>&5
40664 ac_status=$?
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40669 ac_status=$?
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; }; then
40672 :
40673 else
40674 echo "$as_me: program exited with status $ac_status" >&5
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40677
40678 ( exit $ac_status )
40679 no_sdl=yes
40680 fi
40681 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40682 fi
40683 CFLAGS="$ac_save_CFLAGS"
40684 CXXFLAGS="$ac_save_CXXFLAGS"
40685 LIBS="$ac_save_LIBS"
40686 fi
40687 fi
40688 if test "x$no_sdl" = x ; then
40689 echo "$as_me:$LINENO: result: yes" >&5
40690 echo "${ECHO_T}yes" >&6
40691
40692 EXTRALIBS_SDL="$SDL_LIBS"
40693 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
40694 cat >>confdefs.h <<\_ACEOF
40695 #define wxUSE_LIBSDL 1
40696 _ACEOF
40697
40698
40699 else
40700 echo "$as_me:$LINENO: result: no" >&5
40701 echo "${ECHO_T}no" >&6
40702 if test "$SDL_CONFIG" = "no" ; then
40703 echo "*** The sdl-config script installed by SDL could not be found"
40704 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40705 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40706 echo "*** full path to sdl-config."
40707 else
40708 if test -f conf.sdltest ; then
40709 :
40710 else
40711 echo "*** Could not run SDL test program, checking why..."
40712 CFLAGS="$CFLAGS $SDL_CFLAGS"
40713 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40714 LIBS="$LIBS $SDL_LIBS"
40715 cat >conftest.$ac_ext <<_ACEOF
40716 /* confdefs.h. */
40717 _ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721
40722 #include <stdio.h>
40723 #include "SDL.h"
40724
40725 int main(int argc, char *argv[])
40726 { return 0; }
40727 #undef main
40728 #define main K_and_R_C_main
40729
40730 int
40731 main ()
40732 {
40733 return 0;
40734 ;
40735 return 0;
40736 }
40737 _ACEOF
40738 rm -f conftest.$ac_objext conftest$ac_exeext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40740 (eval $ac_link) 2>conftest.er1
40741 ac_status=$?
40742 grep -v '^ *+' conftest.er1 >conftest.err
40743 rm -f conftest.er1
40744 cat conftest.err >&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40750 ac_status=$?
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try='test -s conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 echo "*** The test program compiled, but did not run. This usually means"
40760 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40761 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40762 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40763 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40764 echo "*** is required on your system"
40765 echo "***"
40766 echo "*** If you have an old version installed, it is best to remove it, although"
40767 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40768 else
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.$ac_ext >&5
40771
40772 echo "*** The test program failed to compile or link. See the file config.log for the"
40773 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40774 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40775 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40776 fi
40777 rm -f conftest.err conftest.$ac_objext \
40778 conftest$ac_exeext conftest.$ac_ext
40779 CFLAGS="$ac_save_CFLAGS"
40780 CXXFLAGS="$ac_save_CXXFLAGS"
40781 LIBS="$ac_save_LIBS"
40782 fi
40783 fi
40784 SDL_CFLAGS=""
40785 SDL_LIBS=""
40786 wxUSE_LIBSDL="no"
40787 fi
40788
40789
40790 rm -f conf.sdltest
40791
40792 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40793 WITH_PLUGIN_SDL=1
40794 fi
40795 fi
40796 fi
40797
40798 cat >>confdefs.h <<\_ACEOF
40799 #define wxUSE_SOUND 1
40800 _ACEOF
40801
40802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
40803 fi
40804
40805 if test "$WXGTK20" = 1; then
40806 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40807 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40808
40809
40810 succeeded=no
40811
40812 if test -z "$PKG_CONFIG"; then
40813 # Extract the first word of "pkg-config", so it can be a program name with args.
40814 set dummy pkg-config; ac_word=$2
40815 echo "$as_me:$LINENO: checking for $ac_word" >&5
40816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40817 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40818 echo $ECHO_N "(cached) $ECHO_C" >&6
40819 else
40820 case $PKG_CONFIG in
40821 [\\/]* | ?:[\\/]*)
40822 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40823 ;;
40824 *)
40825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40826 for as_dir in $PATH
40827 do
40828 IFS=$as_save_IFS
40829 test -z "$as_dir" && as_dir=.
40830 for ac_exec_ext in '' $ac_executable_extensions; do
40831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40832 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40834 break 2
40835 fi
40836 done
40837 done
40838
40839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40840 ;;
40841 esac
40842 fi
40843 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40844
40845 if test -n "$PKG_CONFIG"; then
40846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40847 echo "${ECHO_T}$PKG_CONFIG" >&6
40848 else
40849 echo "$as_me:$LINENO: result: no" >&5
40850 echo "${ECHO_T}no" >&6
40851 fi
40852
40853 fi
40854
40855 if test "$PKG_CONFIG" = "no" ; then
40856 echo "*** The pkg-config script could not be found. Make sure it is"
40857 echo "*** in your path, or set the PKG_CONFIG environment variable"
40858 echo "*** to the full path to pkg-config."
40859 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40860 else
40861 PKG_CONFIG_MIN_VERSION=0.9.0
40862 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40863 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40864 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40865
40866 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40867 echo "$as_me:$LINENO: result: yes" >&5
40868 echo "${ECHO_T}yes" >&6
40869 succeeded=yes
40870
40871 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40872 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40873 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40874 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40875 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40876
40877 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40878 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40879 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40880 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40881 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40882 else
40883 LIBGNOMEPRINTUI_CFLAGS=""
40884 LIBGNOMEPRINTUI_LIBS=""
40885 ## If we have a custom action on failure, don't print errors, but
40886 ## do set a variable so people can do so.
40887 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40888
40889 fi
40890
40891
40892
40893 else
40894 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40895 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40896 fi
40897 fi
40898
40899 if test $succeeded = yes; then
40900
40901 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40902 cat >>confdefs.h <<\_ACEOF
40903 #define wxUSE_LIBGNOMEPRINT 1
40904 _ACEOF
40905
40906
40907 else
40908
40909 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40910 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40911 wxUSE_LIBGNOMEPRINT="no"
40912
40913
40914 fi
40915
40916 fi
40917 fi
40918 fi
40919
40920 if test "$WXGTK20" = 1; then
40921 if test "$wxUSE_MIMETYPE" = "yes" ; then
40922 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
40923
40924
40925 succeeded=no
40926
40927 if test -z "$PKG_CONFIG"; then
40928 # Extract the first word of "pkg-config", so it can be a program name with args.
40929 set dummy pkg-config; ac_word=$2
40930 echo "$as_me:$LINENO: checking for $ac_word" >&5
40931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935 case $PKG_CONFIG in
40936 [\\/]* | ?:[\\/]*)
40937 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40938 ;;
40939 *)
40940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40941 for as_dir in $PATH
40942 do
40943 IFS=$as_save_IFS
40944 test -z "$as_dir" && as_dir=.
40945 for ac_exec_ext in '' $ac_executable_extensions; do
40946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40947 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40949 break 2
40950 fi
40951 done
40952 done
40953
40954 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40955 ;;
40956 esac
40957 fi
40958 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40959
40960 if test -n "$PKG_CONFIG"; then
40961 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40962 echo "${ECHO_T}$PKG_CONFIG" >&6
40963 else
40964 echo "$as_me:$LINENO: result: no" >&5
40965 echo "${ECHO_T}no" >&6
40966 fi
40967
40968 fi
40969
40970 if test "$PKG_CONFIG" = "no" ; then
40971 echo "*** The pkg-config script could not be found. Make sure it is"
40972 echo "*** in your path, or set the PKG_CONFIG environment variable"
40973 echo "*** to the full path to pkg-config."
40974 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40975 else
40976 PKG_CONFIG_MIN_VERSION=0.9.0
40977 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40978 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
40979 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
40980
40981 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
40982 echo "$as_me:$LINENO: result: yes" >&5
40983 echo "${ECHO_T}yes" >&6
40984 succeeded=yes
40985
40986 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
40987 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
40988 GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
40989 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
40990 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
40991
40992 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
40993 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
40994 GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
40995 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
40996 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
40997 else
40998 GNOMEVFS_CFLAGS=""
40999 GNOMEVFS_LIBS=""
41000 ## If we have a custom action on failure, don't print errors, but
41001 ## do set a variable so people can do so.
41002 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41003
41004 fi
41005
41006
41007
41008 else
41009 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41010 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41011 fi
41012 fi
41013
41014 if test $succeeded = yes; then
41015
41016 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41017 cat >>confdefs.h <<\_ACEOF
41018 #define wxUSE_LIBGNOMEVFS 1
41019 _ACEOF
41020
41021
41022 else
41023
41024 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41025 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41026 wxUSE_LIBGNOMEVFS="no"
41027
41028
41029 fi
41030
41031 fi
41032 fi
41033 fi
41034
41035 if test "$WXGTK20" = 1; then
41036 if test "$wxUSE_LIBHILDON" = "yes" ; then
41037
41038 succeeded=no
41039
41040 if test -z "$PKG_CONFIG"; then
41041 # Extract the first word of "pkg-config", so it can be a program name with args.
41042 set dummy pkg-config; ac_word=$2
41043 echo "$as_me:$LINENO: checking for $ac_word" >&5
41044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41045 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41046 echo $ECHO_N "(cached) $ECHO_C" >&6
41047 else
41048 case $PKG_CONFIG in
41049 [\\/]* | ?:[\\/]*)
41050 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41051 ;;
41052 *)
41053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41054 for as_dir in $PATH
41055 do
41056 IFS=$as_save_IFS
41057 test -z "$as_dir" && as_dir=.
41058 for ac_exec_ext in '' $ac_executable_extensions; do
41059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41060 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41062 break 2
41063 fi
41064 done
41065 done
41066
41067 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41068 ;;
41069 esac
41070 fi
41071 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41072
41073 if test -n "$PKG_CONFIG"; then
41074 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41075 echo "${ECHO_T}$PKG_CONFIG" >&6
41076 else
41077 echo "$as_me:$LINENO: result: no" >&5
41078 echo "${ECHO_T}no" >&6
41079 fi
41080
41081 fi
41082
41083 if test "$PKG_CONFIG" = "no" ; then
41084 echo "*** The pkg-config script could not be found. Make sure it is"
41085 echo "*** in your path, or set the PKG_CONFIG environment variable"
41086 echo "*** to the full path to pkg-config."
41087 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41088 else
41089 PKG_CONFIG_MIN_VERSION=0.9.0
41090 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41091 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41092 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41093
41094 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41095 echo "$as_me:$LINENO: result: yes" >&5
41096 echo "${ECHO_T}yes" >&6
41097 succeeded=yes
41098
41099 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41100 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41101 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41102 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41103 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41104
41105 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41106 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41107 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41108 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41109 echo "${ECHO_T}$HILDON_LIBS" >&6
41110 else
41111 HILDON_CFLAGS=""
41112 HILDON_LIBS=""
41113 ## If we have a custom action on failure, don't print errors, but
41114 ## do set a variable so people can do so.
41115 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41116
41117 fi
41118
41119
41120
41121 else
41122 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41123 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41124 fi
41125 fi
41126
41127 if test $succeeded = yes; then
41128
41129 EXTRALIBS_HILDON="$HILDON_LIBS"
41130 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41131 cat >>confdefs.h <<\_ACEOF
41132 #define wxUSE_LIBHILDON 1
41133 _ACEOF
41134
41135
41136 else
41137
41138 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41139 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41140 wxUSE_LIBHILDON="no"
41141
41142
41143 fi
41144
41145 fi
41146 fi
41147
41148 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41149 cat >>confdefs.h <<\_ACEOF
41150 #define wxUSE_CMDLINE_PARSER 1
41151 _ACEOF
41152
41153 fi
41154
41155 if test "$wxUSE_STOPWATCH" = "yes"; then
41156 cat >>confdefs.h <<\_ACEOF
41157 #define wxUSE_STOPWATCH 1
41158 _ACEOF
41159
41160 fi
41161
41162 if test "$wxUSE_DATETIME" = "yes"; then
41163 cat >>confdefs.h <<\_ACEOF
41164 #define wxUSE_DATETIME 1
41165 _ACEOF
41166
41167 fi
41168
41169 if test "$wxUSE_FILE" = "yes"; then
41170 cat >>confdefs.h <<\_ACEOF
41171 #define wxUSE_FILE 1
41172 _ACEOF
41173
41174 fi
41175
41176 if test "$wxUSE_FFILE" = "yes"; then
41177 cat >>confdefs.h <<\_ACEOF
41178 #define wxUSE_FFILE 1
41179 _ACEOF
41180
41181 fi
41182
41183 if test "$wxUSE_FILESYSTEM" = "yes"; then
41184 cat >>confdefs.h <<\_ACEOF
41185 #define wxUSE_FILESYSTEM 1
41186 _ACEOF
41187
41188 fi
41189
41190 if test "$wxUSE_FS_ZIP" = "yes"; then
41191 cat >>confdefs.h <<\_ACEOF
41192 #define wxUSE_FS_ZIP 1
41193 _ACEOF
41194
41195 fi
41196
41197 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41198 cat >>confdefs.h <<\_ACEOF
41199 #define wxUSE_ARCHIVE_STREAMS 1
41200 _ACEOF
41201
41202 fi
41203
41204 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41205 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41206 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41207 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41208 elif test "$wxUSE_ZLIB" = "no"; then
41209 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41210 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41211 else
41212 cat >>confdefs.h <<\_ACEOF
41213 #define wxUSE_ZIPSTREAM 1
41214 _ACEOF
41215
41216 fi
41217 fi
41218
41219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41220 if test "$USE_UNIX" != 1; then
41221 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41222 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41223 wxUSE_ON_FATAL_EXCEPTION=no
41224 else
41225 cat >>confdefs.h <<\_ACEOF
41226 #define wxUSE_ON_FATAL_EXCEPTION 1
41227 _ACEOF
41228
41229 fi
41230 fi
41231
41232 if test "$wxUSE_STACKWALKER" = "yes"; then
41233 cat >>confdefs.h <<\_ACEOF
41234 #define wxUSE_STACKWALKER 1
41235 _ACEOF
41236
41237 fi
41238
41239 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41240 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41241 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41242 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41243 wxUSE_DEBUGREPORT=no
41244 else
41245 cat >>confdefs.h <<\_ACEOF
41246 #define wxUSE_DEBUGREPORT 1
41247 _ACEOF
41248
41249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41251 fi
41252 fi
41253 fi
41254
41255 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41256 cat >>confdefs.h <<\_ACEOF
41257 #define wxUSE_SNGLINST_CHECKER 1
41258 _ACEOF
41259
41260 fi
41261
41262 if test "$wxUSE_BUSYINFO" = "yes"; then
41263 cat >>confdefs.h <<\_ACEOF
41264 #define wxUSE_BUSYINFO 1
41265 _ACEOF
41266
41267 fi
41268
41269 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41270 cat >>confdefs.h <<\_ACEOF
41271 #define wxUSE_STD_IOSTREAM 1
41272 _ACEOF
41273
41274 fi
41275
41276 if test "$wxUSE_STD_STRING" = "yes"; then
41277 cat >>confdefs.h <<\_ACEOF
41278 #define wxUSE_STD_STRING 1
41279 _ACEOF
41280
41281 fi
41282
41283 if test "$wxUSE_STDPATHS" = "yes"; then
41284 cat >>confdefs.h <<\_ACEOF
41285 #define wxUSE_STDPATHS 1
41286 _ACEOF
41287
41288 fi
41289
41290 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define wxUSE_TEXTBUFFER 1
41293 _ACEOF
41294
41295 fi
41296
41297 if test "$wxUSE_TEXTFILE" = "yes"; then
41298 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41299 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41300 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41301 else
41302 cat >>confdefs.h <<\_ACEOF
41303 #define wxUSE_TEXTFILE 1
41304 _ACEOF
41305
41306 fi
41307 fi
41308
41309 if test "$wxUSE_CONFIG" = "yes" ; then
41310 if test "$wxUSE_TEXTFILE" != "yes"; then
41311 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41312 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41313 else
41314 cat >>confdefs.h <<\_ACEOF
41315 #define wxUSE_CONFIG 1
41316 _ACEOF
41317
41318 cat >>confdefs.h <<\_ACEOF
41319 #define wxUSE_CONFIG_NATIVE 1
41320 _ACEOF
41321
41322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41323 fi
41324 fi
41325
41326 if test "$wxUSE_INTL" = "yes" ; then
41327 if test "$wxUSE_FILE" != "yes"; then
41328 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41329 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41330 else
41331 cat >>confdefs.h <<\_ACEOF
41332 #define wxUSE_INTL 1
41333 _ACEOF
41334
41335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41336 GUIDIST="$GUIDIST INTL_DIST"
41337 fi
41338 fi
41339
41340 if test "$wxUSE_LOG" = "yes"; then
41341 cat >>confdefs.h <<\_ACEOF
41342 #define wxUSE_LOG 1
41343 _ACEOF
41344
41345
41346 if test "$wxUSE_LOGGUI" = "yes"; then
41347 cat >>confdefs.h <<\_ACEOF
41348 #define wxUSE_LOGGUI 1
41349 _ACEOF
41350
41351 fi
41352
41353 if test "$wxUSE_LOGWINDOW" = "yes"; then
41354 cat >>confdefs.h <<\_ACEOF
41355 #define wxUSE_LOGWINDOW 1
41356 _ACEOF
41357
41358 fi
41359
41360 if test "$wxUSE_LOGDIALOG" = "yes"; then
41361 cat >>confdefs.h <<\_ACEOF
41362 #define wxUSE_LOG_DIALOG 1
41363 _ACEOF
41364
41365 fi
41366
41367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41368 fi
41369
41370 if test "$wxUSE_LONGLONG" = "yes"; then
41371 cat >>confdefs.h <<\_ACEOF
41372 #define wxUSE_LONGLONG 1
41373 _ACEOF
41374
41375 fi
41376
41377 if test "$wxUSE_GEOMETRY" = "yes"; then
41378 cat >>confdefs.h <<\_ACEOF
41379 #define wxUSE_GEOMETRY 1
41380 _ACEOF
41381
41382 fi
41383
41384 if test "$wxUSE_STREAMS" = "yes" ; then
41385 cat >>confdefs.h <<\_ACEOF
41386 #define wxUSE_STREAMS 1
41387 _ACEOF
41388
41389 fi
41390
41391
41392 if test "$wxUSE_DATETIME" = "yes"; then
41393
41394 for ac_func in strptime
41395 do
41396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41397 echo "$as_me:$LINENO: checking for $ac_func" >&5
41398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41399 if eval "test \"\${$as_ac_var+set}\" = set"; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 else
41402 cat >conftest.$ac_ext <<_ACEOF
41403 /* confdefs.h. */
41404 _ACEOF
41405 cat confdefs.h >>conftest.$ac_ext
41406 cat >>conftest.$ac_ext <<_ACEOF
41407 /* end confdefs.h. */
41408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41410 #define $ac_func innocuous_$ac_func
41411
41412 /* System header to define __stub macros and hopefully few prototypes,
41413 which can conflict with char $ac_func (); below.
41414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41415 <limits.h> exists even on freestanding compilers. */
41416
41417 #ifdef __STDC__
41418 # include <limits.h>
41419 #else
41420 # include <assert.h>
41421 #endif
41422
41423 #undef $ac_func
41424
41425 /* Override any gcc2 internal prototype to avoid an error. */
41426 #ifdef __cplusplus
41427 extern "C"
41428 {
41429 #endif
41430 /* We use char because int might match the return type of a gcc2
41431 builtin and then its argument prototype would still apply. */
41432 char $ac_func ();
41433 /* The GNU C library defines this for functions which it implements
41434 to always fail with ENOSYS. Some functions are actually named
41435 something starting with __ and the normal name is an alias. */
41436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41437 choke me
41438 #else
41439 char (*f) () = $ac_func;
41440 #endif
41441 #ifdef __cplusplus
41442 }
41443 #endif
41444
41445 int
41446 main ()
41447 {
41448 return f != $ac_func;
41449 ;
41450 return 0;
41451 }
41452 _ACEOF
41453 rm -f conftest.$ac_objext conftest$ac_exeext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41455 (eval $ac_link) 2>conftest.er1
41456 ac_status=$?
41457 grep -v '^ *+' conftest.er1 >conftest.err
41458 rm -f conftest.er1
41459 cat conftest.err >&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41471 ac_status=$?
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41478
41479 eval "$as_ac_var=no"
41480 fi
41481 rm -f conftest.err conftest.$ac_objext \
41482 conftest$ac_exeext conftest.$ac_ext
41483 fi
41484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41486 if test `eval echo '${'$as_ac_var'}'` = yes; then
41487 cat >>confdefs.h <<_ACEOF
41488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41489 _ACEOF
41490
41491 fi
41492 done
41493
41494 if test "$ac_cv_func_strptime" = "yes"; then
41495 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41496 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41497 if test "${wx_cv_func_strptime_decl+set}" = set; then
41498 echo $ECHO_N "(cached) $ECHO_C" >&6
41499 else
41500
41501 cat >conftest.$ac_ext <<_ACEOF
41502 /* confdefs.h. */
41503 _ACEOF
41504 cat confdefs.h >>conftest.$ac_ext
41505 cat >>conftest.$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41507
41508 #include <time.h>
41509
41510 int
41511 main ()
41512 {
41513
41514 struct tm t;
41515 strptime("foo", "bar", &t);
41516
41517 ;
41518 return 0;
41519 }
41520 _ACEOF
41521 rm -f conftest.$ac_objext
41522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41523 (eval $ac_compile) 2>conftest.er1
41524 ac_status=$?
41525 grep -v '^ *+' conftest.er1 >conftest.err
41526 rm -f conftest.er1
41527 cat conftest.err >&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); } &&
41530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 wx_cv_func_strptime_decl=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41546
41547 wx_cv_func_strptime_decl=no
41548
41549 fi
41550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41551
41552
41553 fi
41554 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41555 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41556 fi
41557 if test "$wx_cv_func_strptime_decl" = "yes"; then
41558 cat >>confdefs.h <<\_ACEOF
41559 #define HAVE_STRPTIME_DECL 1
41560 _ACEOF
41561
41562 fi
41563
41564 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41565 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41566 if test "${wx_cv_var_timezone+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41568 else
41569
41570 cat >conftest.$ac_ext <<_ACEOF
41571 /* confdefs.h. */
41572 _ACEOF
41573 cat confdefs.h >>conftest.$ac_ext
41574 cat >>conftest.$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41576
41577 #include <time.h>
41578
41579 int
41580 main ()
41581 {
41582
41583 int tz;
41584 tz = timezone;
41585
41586 ;
41587 return 0;
41588 }
41589 _ACEOF
41590 rm -f conftest.$ac_objext
41591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41592 (eval $ac_compile) 2>conftest.er1
41593 ac_status=$?
41594 grep -v '^ *+' conftest.er1 >conftest.err
41595 rm -f conftest.er1
41596 cat conftest.err >&5
41597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41598 (exit $ac_status); } &&
41599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41602 ac_status=$?
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; } &&
41605 { ac_try='test -s conftest.$ac_objext'
41606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41607 (eval $ac_try) 2>&5
41608 ac_status=$?
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41611
41612 wx_cv_var_timezone=timezone
41613
41614 else
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41617
41618
41619 cat >conftest.$ac_ext <<_ACEOF
41620 /* confdefs.h. */
41621 _ACEOF
41622 cat confdefs.h >>conftest.$ac_ext
41623 cat >>conftest.$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41625
41626 #include <time.h>
41627
41628 int
41629 main ()
41630 {
41631
41632 int tz;
41633 tz = _timezone;
41634
41635 ;
41636 return 0;
41637 }
41638 _ACEOF
41639 rm -f conftest.$ac_objext
41640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41641 (eval $ac_compile) 2>conftest.er1
41642 ac_status=$?
41643 grep -v '^ *+' conftest.er1 >conftest.err
41644 rm -f conftest.er1
41645 cat conftest.err >&5
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); } &&
41648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41650 (eval $ac_try) 2>&5
41651 ac_status=$?
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); }; } &&
41654 { ac_try='test -s conftest.$ac_objext'
41655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41656 (eval $ac_try) 2>&5
41657 ac_status=$?
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; }; then
41660
41661 wx_cv_var_timezone=_timezone
41662
41663 else
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41666
41667
41668 cat >conftest.$ac_ext <<_ACEOF
41669 /* confdefs.h. */
41670 _ACEOF
41671 cat confdefs.h >>conftest.$ac_ext
41672 cat >>conftest.$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674
41675 #include <time.h>
41676
41677 int
41678 main ()
41679 {
41680
41681 int tz;
41682 tz = __timezone;
41683
41684 ;
41685 return 0;
41686 }
41687 _ACEOF
41688 rm -f conftest.$ac_objext
41689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41690 (eval $ac_compile) 2>conftest.er1
41691 ac_status=$?
41692 grep -v '^ *+' conftest.er1 >conftest.err
41693 rm -f conftest.er1
41694 cat conftest.err >&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } &&
41697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41700 ac_status=$?
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; } &&
41703 { ac_try='test -s conftest.$ac_objext'
41704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41705 (eval $ac_try) 2>&5
41706 ac_status=$?
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; }; then
41709
41710 wx_cv_var_timezone=__timezone
41711
41712 else
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41715
41716
41717 if test "$USE_DOS" = 0 ; then
41718 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41719 echo "$as_me: WARNING: no timezone variable" >&2;}
41720 fi
41721
41722
41723 fi
41724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41725
41726
41727 fi
41728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41729
41730
41731 fi
41732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41733
41734
41735 fi
41736 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41737 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41738
41739 if test "x$wx_cv_var_timezone" != x ; then
41740 cat >>confdefs.h <<_ACEOF
41741 #define WX_TIMEZONE $wx_cv_var_timezone
41742 _ACEOF
41743
41744 fi
41745
41746
41747 for ac_func in localtime
41748 do
41749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41750 echo "$as_me:$LINENO: checking for $ac_func" >&5
41751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41752 if eval "test \"\${$as_ac_var+set}\" = set"; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41754 else
41755 cat >conftest.$ac_ext <<_ACEOF
41756 /* confdefs.h. */
41757 _ACEOF
41758 cat confdefs.h >>conftest.$ac_ext
41759 cat >>conftest.$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41763 #define $ac_func innocuous_$ac_func
41764
41765 /* System header to define __stub macros and hopefully few prototypes,
41766 which can conflict with char $ac_func (); below.
41767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41768 <limits.h> exists even on freestanding compilers. */
41769
41770 #ifdef __STDC__
41771 # include <limits.h>
41772 #else
41773 # include <assert.h>
41774 #endif
41775
41776 #undef $ac_func
41777
41778 /* Override any gcc2 internal prototype to avoid an error. */
41779 #ifdef __cplusplus
41780 extern "C"
41781 {
41782 #endif
41783 /* We use char because int might match the return type of a gcc2
41784 builtin and then its argument prototype would still apply. */
41785 char $ac_func ();
41786 /* The GNU C library defines this for functions which it implements
41787 to always fail with ENOSYS. Some functions are actually named
41788 something starting with __ and the normal name is an alias. */
41789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41790 choke me
41791 #else
41792 char (*f) () = $ac_func;
41793 #endif
41794 #ifdef __cplusplus
41795 }
41796 #endif
41797
41798 int
41799 main ()
41800 {
41801 return f != $ac_func;
41802 ;
41803 return 0;
41804 }
41805 _ACEOF
41806 rm -f conftest.$ac_objext conftest$ac_exeext
41807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41808 (eval $ac_link) 2>conftest.er1
41809 ac_status=$?
41810 grep -v '^ *+' conftest.er1 >conftest.err
41811 rm -f conftest.er1
41812 cat conftest.err >&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); } &&
41815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41817 (eval $ac_try) 2>&5
41818 ac_status=$?
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; } &&
41821 { ac_try='test -s conftest$ac_exeext'
41822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41823 (eval $ac_try) 2>&5
41824 ac_status=$?
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); }; }; then
41827 eval "$as_ac_var=yes"
41828 else
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41831
41832 eval "$as_ac_var=no"
41833 fi
41834 rm -f conftest.err conftest.$ac_objext \
41835 conftest$ac_exeext conftest.$ac_ext
41836 fi
41837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41839 if test `eval echo '${'$as_ac_var'}'` = yes; then
41840 cat >>confdefs.h <<_ACEOF
41841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41842 _ACEOF
41843
41844 fi
41845 done
41846
41847
41848 if test "$ac_cv_func_localtime" = "yes"; then
41849 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41850 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41851 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41852 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 else
41854
41855 cat >conftest.$ac_ext <<_ACEOF
41856 /* confdefs.h. */
41857 _ACEOF
41858 cat confdefs.h >>conftest.$ac_ext
41859 cat >>conftest.$ac_ext <<_ACEOF
41860 /* end confdefs.h. */
41861
41862 #include <time.h>
41863
41864 int
41865 main ()
41866 {
41867
41868 struct tm tm;
41869 tm.tm_gmtoff++;
41870
41871 ;
41872 return 0;
41873 }
41874 _ACEOF
41875 rm -f conftest.$ac_objext
41876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41877 (eval $ac_compile) 2>conftest.er1
41878 ac_status=$?
41879 grep -v '^ *+' conftest.er1 >conftest.err
41880 rm -f conftest.er1
41881 cat conftest.err >&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } &&
41884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41886 (eval $ac_try) 2>&5
41887 ac_status=$?
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); }; } &&
41890 { ac_try='test -s conftest.$ac_objext'
41891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41892 (eval $ac_try) 2>&5
41893 ac_status=$?
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); }; }; then
41896
41897 wx_cv_struct_tm_has_gmtoff=yes
41898
41899 else
41900 echo "$as_me: failed program was:" >&5
41901 sed 's/^/| /' conftest.$ac_ext >&5
41902
41903 wx_cv_struct_tm_has_gmtoff=no
41904
41905 fi
41906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41907
41908 fi
41909 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41910 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41911 fi
41912
41913 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41914 cat >>confdefs.h <<\_ACEOF
41915 #define WX_GMTOFF_IN_TM 1
41916 _ACEOF
41917
41918 fi
41919
41920
41921
41922 for ac_func in gettimeofday ftime
41923 do
41924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41925 echo "$as_me:$LINENO: checking for $ac_func" >&5
41926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41927 if eval "test \"\${$as_ac_var+set}\" = set"; then
41928 echo $ECHO_N "(cached) $ECHO_C" >&6
41929 else
41930 cat >conftest.$ac_ext <<_ACEOF
41931 /* confdefs.h. */
41932 _ACEOF
41933 cat confdefs.h >>conftest.$ac_ext
41934 cat >>conftest.$ac_ext <<_ACEOF
41935 /* end confdefs.h. */
41936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41938 #define $ac_func innocuous_$ac_func
41939
41940 /* System header to define __stub macros and hopefully few prototypes,
41941 which can conflict with char $ac_func (); below.
41942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41943 <limits.h> exists even on freestanding compilers. */
41944
41945 #ifdef __STDC__
41946 # include <limits.h>
41947 #else
41948 # include <assert.h>
41949 #endif
41950
41951 #undef $ac_func
41952
41953 /* Override any gcc2 internal prototype to avoid an error. */
41954 #ifdef __cplusplus
41955 extern "C"
41956 {
41957 #endif
41958 /* We use char because int might match the return type of a gcc2
41959 builtin and then its argument prototype would still apply. */
41960 char $ac_func ();
41961 /* The GNU C library defines this for functions which it implements
41962 to always fail with ENOSYS. Some functions are actually named
41963 something starting with __ and the normal name is an alias. */
41964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41965 choke me
41966 #else
41967 char (*f) () = $ac_func;
41968 #endif
41969 #ifdef __cplusplus
41970 }
41971 #endif
41972
41973 int
41974 main ()
41975 {
41976 return f != $ac_func;
41977 ;
41978 return 0;
41979 }
41980 _ACEOF
41981 rm -f conftest.$ac_objext conftest$ac_exeext
41982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41983 (eval $ac_link) 2>conftest.er1
41984 ac_status=$?
41985 grep -v '^ *+' conftest.er1 >conftest.err
41986 rm -f conftest.er1
41987 cat conftest.err >&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); } &&
41990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41992 (eval $ac_try) 2>&5
41993 ac_status=$?
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); }; } &&
41996 { ac_try='test -s conftest$ac_exeext'
41997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41998 (eval $ac_try) 2>&5
41999 ac_status=$?
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); }; }; then
42002 eval "$as_ac_var=yes"
42003 else
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.$ac_ext >&5
42006
42007 eval "$as_ac_var=no"
42008 fi
42009 rm -f conftest.err conftest.$ac_objext \
42010 conftest$ac_exeext conftest.$ac_ext
42011 fi
42012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42014 if test `eval echo '${'$as_ac_var'}'` = yes; then
42015 cat >>confdefs.h <<_ACEOF
42016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42017 _ACEOF
42018 break
42019 fi
42020 done
42021
42022
42023 if test "$ac_cv_func_gettimeofday" = "yes"; then
42024 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42025 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42026 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42027 echo $ECHO_N "(cached) $ECHO_C" >&6
42028 else
42029
42030 cat >conftest.$ac_ext <<_ACEOF
42031 /* confdefs.h. */
42032 _ACEOF
42033 cat confdefs.h >>conftest.$ac_ext
42034 cat >>conftest.$ac_ext <<_ACEOF
42035 /* end confdefs.h. */
42036
42037 #include <sys/time.h>
42038 #include <unistd.h>
42039
42040 int
42041 main ()
42042 {
42043
42044 struct timeval tv;
42045 gettimeofday(&tv, NULL);
42046
42047 ;
42048 return 0;
42049 }
42050 _ACEOF
42051 rm -f conftest.$ac_objext
42052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42053 (eval $ac_compile) 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } &&
42060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42063 ac_status=$?
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; } &&
42066 { ac_try='test -s conftest.$ac_objext'
42067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068 (eval $ac_try) 2>&5
42069 ac_status=$?
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; }; then
42072 wx_cv_func_gettimeofday_has_2_args=yes
42073 else
42074 echo "$as_me: failed program was:" >&5
42075 sed 's/^/| /' conftest.$ac_ext >&5
42076
42077 cat >conftest.$ac_ext <<_ACEOF
42078 /* confdefs.h. */
42079 _ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083
42084 #include <sys/time.h>
42085 #include <unistd.h>
42086
42087 int
42088 main ()
42089 {
42090
42091 struct timeval tv;
42092 gettimeofday(&tv);
42093
42094 ;
42095 return 0;
42096 }
42097 _ACEOF
42098 rm -f conftest.$ac_objext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42100 (eval $ac_compile) 2>conftest.er1
42101 ac_status=$?
42102 grep -v '^ *+' conftest.er1 >conftest.err
42103 rm -f conftest.er1
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42109 (eval $ac_try) 2>&5
42110 ac_status=$?
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); }; } &&
42113 { ac_try='test -s conftest.$ac_objext'
42114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42115 (eval $ac_try) 2>&5
42116 ac_status=$?
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; }; then
42119 wx_cv_func_gettimeofday_has_2_args=no
42120 else
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.$ac_ext >&5
42123
42124
42125 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42126 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42127 wx_cv_func_gettimeofday_has_2_args=unknown
42128
42129
42130 fi
42131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42132
42133 fi
42134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42135
42136 fi
42137 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42138 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42139
42140 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42141 cat >>confdefs.h <<\_ACEOF
42142 #define WX_GETTIMEOFDAY_NO_TZ 1
42143 _ACEOF
42144
42145 fi
42146 fi
42147
42148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42149 fi
42150
42151
42152 if test "$wxUSE_SOCKETS" = "yes"; then
42153 if test "$wxUSE_MGL" = "1"; then
42154 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42155 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42156 wxUSE_SOCKETS="no"
42157 fi
42158 fi
42159
42160 if test "$wxUSE_SOCKETS" = "yes"; then
42161 if test "$TOOLKIT" != "MSW"; then
42162 echo "$as_me:$LINENO: checking for socket" >&5
42163 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42164 if test "${ac_cv_func_socket+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167 cat >conftest.$ac_ext <<_ACEOF
42168 /* confdefs.h. */
42169 _ACEOF
42170 cat confdefs.h >>conftest.$ac_ext
42171 cat >>conftest.$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42175 #define socket innocuous_socket
42176
42177 /* System header to define __stub macros and hopefully few prototypes,
42178 which can conflict with char socket (); below.
42179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42180 <limits.h> exists even on freestanding compilers. */
42181
42182 #ifdef __STDC__
42183 # include <limits.h>
42184 #else
42185 # include <assert.h>
42186 #endif
42187
42188 #undef socket
42189
42190 /* Override any gcc2 internal prototype to avoid an error. */
42191 #ifdef __cplusplus
42192 extern "C"
42193 {
42194 #endif
42195 /* We use char because int might match the return type of a gcc2
42196 builtin and then its argument prototype would still apply. */
42197 char socket ();
42198 /* The GNU C library defines this for functions which it implements
42199 to always fail with ENOSYS. Some functions are actually named
42200 something starting with __ and the normal name is an alias. */
42201 #if defined (__stub_socket) || defined (__stub___socket)
42202 choke me
42203 #else
42204 char (*f) () = socket;
42205 #endif
42206 #ifdef __cplusplus
42207 }
42208 #endif
42209
42210 int
42211 main ()
42212 {
42213 return f != socket;
42214 ;
42215 return 0;
42216 }
42217 _ACEOF
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42220 (eval $ac_link) 2>conftest.er1
42221 ac_status=$?
42222 grep -v '^ *+' conftest.er1 >conftest.err
42223 rm -f conftest.er1
42224 cat conftest.err >&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } &&
42227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42230 ac_status=$?
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; } &&
42233 { ac_try='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 ac_cv_func_socket=yes
42240 else
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.$ac_ext >&5
42243
42244 ac_cv_func_socket=no
42245 fi
42246 rm -f conftest.err conftest.$ac_objext \
42247 conftest$ac_exeext conftest.$ac_ext
42248 fi
42249 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42250 echo "${ECHO_T}$ac_cv_func_socket" >&6
42251 if test $ac_cv_func_socket = yes; then
42252 :
42253 else
42254
42255 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42256 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42257 if test "${ac_cv_lib_socket_socket+set}" = set; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 else
42260 ac_check_lib_save_LIBS=$LIBS
42261 LIBS="-lsocket $LIBS"
42262 cat >conftest.$ac_ext <<_ACEOF
42263 /* confdefs.h. */
42264 _ACEOF
42265 cat confdefs.h >>conftest.$ac_ext
42266 cat >>conftest.$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42268
42269 /* Override any gcc2 internal prototype to avoid an error. */
42270 #ifdef __cplusplus
42271 extern "C"
42272 #endif
42273 /* We use char because int might match the return type of a gcc2
42274 builtin and then its argument prototype would still apply. */
42275 char socket ();
42276 int
42277 main ()
42278 {
42279 socket ();
42280 ;
42281 return 0;
42282 }
42283 _ACEOF
42284 rm -f conftest.$ac_objext conftest$ac_exeext
42285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42286 (eval $ac_link) 2>conftest.er1
42287 ac_status=$?
42288 grep -v '^ *+' conftest.er1 >conftest.err
42289 rm -f conftest.er1
42290 cat conftest.err >&5
42291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42292 (exit $ac_status); } &&
42293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42295 (eval $ac_try) 2>&5
42296 ac_status=$?
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); }; } &&
42299 { ac_try='test -s conftest$ac_exeext'
42300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42301 (eval $ac_try) 2>&5
42302 ac_status=$?
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); }; }; then
42305 ac_cv_lib_socket_socket=yes
42306 else
42307 echo "$as_me: failed program was:" >&5
42308 sed 's/^/| /' conftest.$ac_ext >&5
42309
42310 ac_cv_lib_socket_socket=no
42311 fi
42312 rm -f conftest.err conftest.$ac_objext \
42313 conftest$ac_exeext conftest.$ac_ext
42314 LIBS=$ac_check_lib_save_LIBS
42315 fi
42316 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42318 if test $ac_cv_lib_socket_socket = yes; then
42319 if test "$INET_LINK" != " -lsocket"; then
42320 INET_LINK="$INET_LINK -lsocket"
42321 fi
42322 else
42323
42324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42326 wxUSE_SOCKETS=no
42327
42328
42329 fi
42330
42331
42332
42333 fi
42334
42335 fi
42336 fi
42337
42338 if test "$wxUSE_SOCKETS" = "yes" ; then
42339 if test "$TOOLKIT" != "MSW"; then
42340 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42341 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42342 if test "${wx_cv_type_getsockname3+set}" = set; then
42343 echo $ECHO_N "(cached) $ECHO_C" >&6
42344 else
42345
42346 cat >conftest.$ac_ext <<_ACEOF
42347 /* confdefs.h. */
42348 _ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352
42353 #include <sys/types.h>
42354 #include <sys/socket.h>
42355
42356 int
42357 main ()
42358 {
42359
42360 socklen_t len;
42361 getsockname(0, 0, &len);
42362
42363 ;
42364 return 0;
42365 }
42366 _ACEOF
42367 rm -f conftest.$ac_objext
42368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42369 (eval $ac_compile) 2>conftest.er1
42370 ac_status=$?
42371 grep -v '^ *+' conftest.er1 >conftest.err
42372 rm -f conftest.er1
42373 cat conftest.err >&5
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); } &&
42376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42378 (eval $ac_try) 2>&5
42379 ac_status=$?
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); }; } &&
42382 { ac_try='test -s conftest.$ac_objext'
42383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42384 (eval $ac_try) 2>&5
42385 ac_status=$?
42386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387 (exit $ac_status); }; }; then
42388 wx_cv_type_getsockname3=socklen_t
42389 else
42390 echo "$as_me: failed program was:" >&5
42391 sed 's/^/| /' conftest.$ac_ext >&5
42392
42393
42394 CXXFLAGS_OLD="$CXXFLAGS"
42395 if test "$GCC" = yes ; then
42396 CXXFLAGS="-Werror $CXXFLAGS"
42397 fi
42398
42399 cat >conftest.$ac_ext <<_ACEOF
42400 /* confdefs.h. */
42401 _ACEOF
42402 cat confdefs.h >>conftest.$ac_ext
42403 cat >>conftest.$ac_ext <<_ACEOF
42404 /* end confdefs.h. */
42405
42406 #include <sys/types.h>
42407 #include <sys/socket.h>
42408
42409 int
42410 main ()
42411 {
42412
42413 size_t len;
42414 getsockname(0, 0, &len);
42415
42416 ;
42417 return 0;
42418 }
42419 _ACEOF
42420 rm -f conftest.$ac_objext
42421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42422 (eval $ac_compile) 2>conftest.er1
42423 ac_status=$?
42424 grep -v '^ *+' conftest.er1 >conftest.err
42425 rm -f conftest.er1
42426 cat conftest.err >&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } &&
42429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42431 (eval $ac_try) 2>&5
42432 ac_status=$?
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); }; } &&
42435 { ac_try='test -s conftest.$ac_objext'
42436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42437 (eval $ac_try) 2>&5
42438 ac_status=$?
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); }; }; then
42441 wx_cv_type_getsockname3=size_t
42442 else
42443 echo "$as_me: failed program was:" >&5
42444 sed 's/^/| /' conftest.$ac_ext >&5
42445
42446 cat >conftest.$ac_ext <<_ACEOF
42447 /* confdefs.h. */
42448 _ACEOF
42449 cat confdefs.h >>conftest.$ac_ext
42450 cat >>conftest.$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42452
42453 #include <sys/types.h>
42454 #include <sys/socket.h>
42455
42456 int
42457 main ()
42458 {
42459
42460 int len;
42461 getsockname(0, 0, &len);
42462
42463 ;
42464 return 0;
42465 }
42466 _ACEOF
42467 rm -f conftest.$ac_objext
42468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42469 (eval $ac_compile) 2>conftest.er1
42470 ac_status=$?
42471 grep -v '^ *+' conftest.er1 >conftest.err
42472 rm -f conftest.er1
42473 cat conftest.err >&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } &&
42476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42478 (eval $ac_try) 2>&5
42479 ac_status=$?
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; } &&
42482 { ac_try='test -s conftest.$ac_objext'
42483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42484 (eval $ac_try) 2>&5
42485 ac_status=$?
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; }; then
42488 wx_cv_type_getsockname3=int
42489 else
42490 echo "$as_me: failed program was:" >&5
42491 sed 's/^/| /' conftest.$ac_ext >&5
42492
42493 wx_cv_type_getsockname3=unknown
42494
42495 fi
42496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42497
42498 fi
42499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42500
42501 CXXFLAGS="$CXXFLAGS_OLD"
42502
42503
42504 fi
42505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42506
42507 fi
42508 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42509 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42510
42511 if test "$wx_cv_type_getsockname3" = "unknown"; then
42512 wxUSE_SOCKETS=no
42513 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42514 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42515 else
42516 cat >>confdefs.h <<_ACEOF
42517 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42518 _ACEOF
42519
42520 fi
42521 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42522 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42523 if test "${wx_cv_type_getsockopt5+set}" = set; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42525 else
42526
42527 cat >conftest.$ac_ext <<_ACEOF
42528 /* confdefs.h. */
42529 _ACEOF
42530 cat confdefs.h >>conftest.$ac_ext
42531 cat >>conftest.$ac_ext <<_ACEOF
42532 /* end confdefs.h. */
42533
42534 #include <sys/types.h>
42535 #include <sys/socket.h>
42536
42537 int
42538 main ()
42539 {
42540
42541 socklen_t len;
42542 getsockopt(0, 0, 0, 0, &len);
42543
42544 ;
42545 return 0;
42546 }
42547 _ACEOF
42548 rm -f conftest.$ac_objext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42550 (eval $ac_compile) 2>conftest.er1
42551 ac_status=$?
42552 grep -v '^ *+' conftest.er1 >conftest.err
42553 rm -f conftest.er1
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } &&
42557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42559 (eval $ac_try) 2>&5
42560 ac_status=$?
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); }; } &&
42563 { ac_try='test -s conftest.$ac_objext'
42564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42565 (eval $ac_try) 2>&5
42566 ac_status=$?
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); }; }; then
42569 wx_cv_type_getsockopt5=socklen_t
42570 else
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.$ac_ext >&5
42573
42574
42575 CXXFLAGS_OLD="$CXXFLAGS"
42576 if test "$GCC" = yes ; then
42577 CXXFLAGS="-Werror $CXXFLAGS"
42578 fi
42579
42580 cat >conftest.$ac_ext <<_ACEOF
42581 /* confdefs.h. */
42582 _ACEOF
42583 cat confdefs.h >>conftest.$ac_ext
42584 cat >>conftest.$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42586
42587 #include <sys/types.h>
42588 #include <sys/socket.h>
42589
42590 int
42591 main ()
42592 {
42593
42594 size_t len;
42595 getsockopt(0, 0, 0, 0, &len);
42596
42597 ;
42598 return 0;
42599 }
42600 _ACEOF
42601 rm -f conftest.$ac_objext
42602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42603 (eval $ac_compile) 2>conftest.er1
42604 ac_status=$?
42605 grep -v '^ *+' conftest.er1 >conftest.err
42606 rm -f conftest.er1
42607 cat conftest.err >&5
42608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609 (exit $ac_status); } &&
42610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42612 (eval $ac_try) 2>&5
42613 ac_status=$?
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); }; } &&
42616 { ac_try='test -s conftest.$ac_objext'
42617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42618 (eval $ac_try) 2>&5
42619 ac_status=$?
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); }; }; then
42622 wx_cv_type_getsockopt5=size_t
42623 else
42624 echo "$as_me: failed program was:" >&5
42625 sed 's/^/| /' conftest.$ac_ext >&5
42626
42627 cat >conftest.$ac_ext <<_ACEOF
42628 /* confdefs.h. */
42629 _ACEOF
42630 cat confdefs.h >>conftest.$ac_ext
42631 cat >>conftest.$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42633
42634 #include <sys/types.h>
42635 #include <sys/socket.h>
42636
42637 int
42638 main ()
42639 {
42640
42641 int len;
42642 getsockopt(0, 0, 0, 0, &len);
42643
42644 ;
42645 return 0;
42646 }
42647 _ACEOF
42648 rm -f conftest.$ac_objext
42649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42650 (eval $ac_compile) 2>conftest.er1
42651 ac_status=$?
42652 grep -v '^ *+' conftest.er1 >conftest.err
42653 rm -f conftest.er1
42654 cat conftest.err >&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } &&
42657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42660 ac_status=$?
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; } &&
42663 { ac_try='test -s conftest.$ac_objext'
42664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42665 (eval $ac_try) 2>&5
42666 ac_status=$?
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; }; then
42669 wx_cv_type_getsockopt5=int
42670 else
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.$ac_ext >&5
42673
42674 wx_cv_type_getsockopt5=unknown
42675
42676 fi
42677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42678
42679 fi
42680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42681
42682 CXXFLAGS="$CXXFLAGS_OLD"
42683
42684
42685 fi
42686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42687
42688 fi
42689 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42690 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42691
42692 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42693 wxUSE_SOCKETS=no
42694 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42695 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42696 else
42697 cat >>confdefs.h <<_ACEOF
42698 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42699 _ACEOF
42700
42701 fi
42702 fi
42703 fi
42704
42705 if test "$wxUSE_SOCKETS" = "yes" ; then
42706 cat >>confdefs.h <<\_ACEOF
42707 #define wxUSE_SOCKETS 1
42708 _ACEOF
42709
42710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
42711 fi
42712
42713 if test "$wxUSE_PROTOCOL" = "yes"; then
42714 if test "$wxUSE_SOCKETS" != "yes"; then
42715 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42716 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42717 wxUSE_PROTOCOL=no
42718 fi
42719 fi
42720
42721 if test "$wxUSE_PROTOCOL" = "yes"; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define wxUSE_PROTOCOL 1
42724 _ACEOF
42725
42726
42727 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42728 cat >>confdefs.h <<\_ACEOF
42729 #define wxUSE_PROTOCOL_HTTP 1
42730 _ACEOF
42731
42732 fi
42733 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42734 cat >>confdefs.h <<\_ACEOF
42735 #define wxUSE_PROTOCOL_FTP 1
42736 _ACEOF
42737
42738 fi
42739 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define wxUSE_PROTOCOL_FILE 1
42742 _ACEOF
42743
42744 fi
42745 else
42746 if test "$wxUSE_FS_INET" = "yes"; then
42747 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42748 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42749 wxUSE_FS_INET="no"
42750 fi
42751 fi
42752
42753 if test "$wxUSE_URL" = "yes"; then
42754 if test "$wxUSE_PROTOCOL" != "yes"; then
42755 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42756 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42757 wxUSE_URL=no
42758 fi
42759 if test "$wxUSE_URL" = "yes"; then
42760 cat >>confdefs.h <<\_ACEOF
42761 #define wxUSE_URL 1
42762 _ACEOF
42763
42764 fi
42765 fi
42766
42767 if test "$wxUSE_FS_INET" = "yes"; then
42768 cat >>confdefs.h <<\_ACEOF
42769 #define wxUSE_FS_INET 1
42770 _ACEOF
42771
42772 fi
42773
42774
42775 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42776 wxUSE_JOYSTICK=no
42777
42778 if test "$TOOLKIT" = "MSW"; then
42779 wxUSE_JOYSTICK=yes
42780
42781 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42782 if test "$USE_DARWIN" = 1; then
42783 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42784 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42785 cat >conftest.$ac_ext <<_ACEOF
42786 /* confdefs.h. */
42787 _ACEOF
42788 cat confdefs.h >>conftest.$ac_ext
42789 cat >>conftest.$ac_ext <<_ACEOF
42790 /* end confdefs.h. */
42791 #include <IOKit/hid/IOHIDLib.h>
42792 int
42793 main ()
42794 {
42795 IOHIDQueueInterface *qi = NULL;
42796 IOHIDCallbackFunction cb = NULL;
42797 qi->setEventCallout(NULL, cb, NULL, NULL);
42798 ;
42799 return 0;
42800 }
42801 _ACEOF
42802 rm -f conftest.$ac_objext
42803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42804 (eval $ac_compile) 2>conftest.er1
42805 ac_status=$?
42806 grep -v '^ *+' conftest.er1 >conftest.err
42807 rm -f conftest.er1
42808 cat conftest.err >&5
42809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810 (exit $ac_status); } &&
42811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42813 (eval $ac_try) 2>&5
42814 ac_status=$?
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; } &&
42817 { ac_try='test -s conftest.$ac_objext'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; }; then
42823 wxUSE_JOYSTICK=yes
42824
42825 else
42826 echo "$as_me: failed program was:" >&5
42827 sed 's/^/| /' conftest.$ac_ext >&5
42828
42829 fi
42830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42831 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42832 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42833 fi
42834
42835 else
42836
42837 for ac_header in linux/joystick.h
42838 do
42839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42841 echo "$as_me:$LINENO: checking for $ac_header" >&5
42842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42844 echo $ECHO_N "(cached) $ECHO_C" >&6
42845 fi
42846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42848 else
42849 # Is the header compilable?
42850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42852 cat >conftest.$ac_ext <<_ACEOF
42853 /* confdefs.h. */
42854 _ACEOF
42855 cat confdefs.h >>conftest.$ac_ext
42856 cat >>conftest.$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 $ac_includes_default
42859 #include <$ac_header>
42860 _ACEOF
42861 rm -f conftest.$ac_objext
42862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42863 (eval $ac_compile) 2>conftest.er1
42864 ac_status=$?
42865 grep -v '^ *+' conftest.er1 >conftest.err
42866 rm -f conftest.er1
42867 cat conftest.err >&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } &&
42870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42872 (eval $ac_try) 2>&5
42873 ac_status=$?
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); }; } &&
42876 { ac_try='test -s conftest.$ac_objext'
42877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878 (eval $ac_try) 2>&5
42879 ac_status=$?
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; }; then
42882 ac_header_compiler=yes
42883 else
42884 echo "$as_me: failed program was:" >&5
42885 sed 's/^/| /' conftest.$ac_ext >&5
42886
42887 ac_header_compiler=no
42888 fi
42889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42891 echo "${ECHO_T}$ac_header_compiler" >&6
42892
42893 # Is the header present?
42894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42896 cat >conftest.$ac_ext <<_ACEOF
42897 /* confdefs.h. */
42898 _ACEOF
42899 cat confdefs.h >>conftest.$ac_ext
42900 cat >>conftest.$ac_ext <<_ACEOF
42901 /* end confdefs.h. */
42902 #include <$ac_header>
42903 _ACEOF
42904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42906 ac_status=$?
42907 grep -v '^ *+' conftest.er1 >conftest.err
42908 rm -f conftest.er1
42909 cat conftest.err >&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); } >/dev/null; then
42912 if test -s conftest.err; then
42913 ac_cpp_err=$ac_cxx_preproc_warn_flag
42914 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
42915 else
42916 ac_cpp_err=
42917 fi
42918 else
42919 ac_cpp_err=yes
42920 fi
42921 if test -z "$ac_cpp_err"; then
42922 ac_header_preproc=yes
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42926
42927 ac_header_preproc=no
42928 fi
42929 rm -f conftest.err conftest.$ac_ext
42930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42931 echo "${ECHO_T}$ac_header_preproc" >&6
42932
42933 # So? What about this header?
42934 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
42935 yes:no: )
42936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42940 ac_header_preproc=yes
42941 ;;
42942 no:yes:* )
42943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42955 (
42956 cat <<\_ASBOX
42957 ## ----------------------------------------- ##
42958 ## Report this to wx-dev@lists.wxwidgets.org ##
42959 ## ----------------------------------------- ##
42960 _ASBOX
42961 ) |
42962 sed "s/^/$as_me: WARNING: /" >&2
42963 ;;
42964 esac
42965 echo "$as_me:$LINENO: checking for $ac_header" >&5
42966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42968 echo $ECHO_N "(cached) $ECHO_C" >&6
42969 else
42970 eval "$as_ac_Header=\$ac_header_preproc"
42971 fi
42972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42974
42975 fi
42976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42977 cat >>confdefs.h <<_ACEOF
42978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42979 _ACEOF
42980 wxUSE_JOYSTICK=yes
42981 fi
42982
42983 done
42984
42985 fi
42986
42987 if test "$wxUSE_JOYSTICK" = "yes"; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define wxUSE_JOYSTICK 1
42990 _ACEOF
42991
42992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
42993 else
42994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42996 fi
42997 fi
42998
42999
43000
43001 if test "$wxUSE_FONTMAP" = "yes" ; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_FONTMAP 1
43004 _ACEOF
43005
43006 fi
43007
43008 if test "$wxUSE_UNICODE" = "yes" ; then
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_UNICODE 1
43011 _ACEOF
43012
43013
43014 if test "$USE_WIN32" != 1; then
43015 wxUSE_UNICODE_MSLU=no
43016 fi
43017
43018 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43019 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43020 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43021 if test "${ac_cv_lib_unicows_main+set}" = set; then
43022 echo $ECHO_N "(cached) $ECHO_C" >&6
43023 else
43024 ac_check_lib_save_LIBS=$LIBS
43025 LIBS="-lunicows $LIBS"
43026 cat >conftest.$ac_ext <<_ACEOF
43027 /* confdefs.h. */
43028 _ACEOF
43029 cat confdefs.h >>conftest.$ac_ext
43030 cat >>conftest.$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43032
43033
43034 int
43035 main ()
43036 {
43037 main ();
43038 ;
43039 return 0;
43040 }
43041 _ACEOF
43042 rm -f conftest.$ac_objext conftest$ac_exeext
43043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43044 (eval $ac_link) 2>conftest.er1
43045 ac_status=$?
43046 grep -v '^ *+' conftest.er1 >conftest.err
43047 rm -f conftest.er1
43048 cat conftest.err >&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); } &&
43051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43053 (eval $ac_try) 2>&5
43054 ac_status=$?
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); }; } &&
43057 { ac_try='test -s conftest$ac_exeext'
43058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43059 (eval $ac_try) 2>&5
43060 ac_status=$?
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); }; }; then
43063 ac_cv_lib_unicows_main=yes
43064 else
43065 echo "$as_me: failed program was:" >&5
43066 sed 's/^/| /' conftest.$ac_ext >&5
43067
43068 ac_cv_lib_unicows_main=no
43069 fi
43070 rm -f conftest.err conftest.$ac_objext \
43071 conftest$ac_exeext conftest.$ac_ext
43072 LIBS=$ac_check_lib_save_LIBS
43073 fi
43074 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43075 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43076 if test $ac_cv_lib_unicows_main = yes; then
43077
43078 cat >>confdefs.h <<\_ACEOF
43079 #define wxUSE_UNICODE_MSLU 1
43080 _ACEOF
43081
43082
43083 else
43084
43085 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43086 Applications will only run on Windows NT/2000/XP!" >&5
43087 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43088 Applications will only run on Windows NT/2000/XP!" >&2;}
43089 wxUSE_UNICODE_MSLU=no
43090
43091 fi
43092
43093 fi
43094 fi
43095
43096 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_EXPERIMENTAL_PRINTF 1
43099 _ACEOF
43100
43101 fi
43102
43103
43104 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43105 cat >>confdefs.h <<\_ACEOF
43106 #define wxUSE_POSTSCRIPT 1
43107 _ACEOF
43108
43109 fi
43110
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43113 _ACEOF
43114
43115
43116 cat >>confdefs.h <<\_ACEOF
43117 #define wxUSE_NORMALIZED_PS_FONTS 1
43118 _ACEOF
43119
43120
43121
43122 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43123 cat >>confdefs.h <<\_ACEOF
43124 #define wxUSE_CONSTRAINTS 1
43125 _ACEOF
43126
43127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43128 fi
43129
43130 if test "$wxUSE_MDI" = "yes"; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_MDI 1
43133 _ACEOF
43134
43135
43136 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43137 cat >>confdefs.h <<\_ACEOF
43138 #define wxUSE_MDI_ARCHITECTURE 1
43139 _ACEOF
43140
43141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43142 fi
43143 fi
43144
43145 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43148 _ACEOF
43149
43150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43151 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43153 fi
43154 fi
43155
43156 if test "$wxUSE_HELP" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_HELP 1
43159 _ACEOF
43160
43161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43162
43163 if test "$wxUSE_MSW" = 1; then
43164 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43165 cat >>confdefs.h <<\_ACEOF
43166 #define wxUSE_MS_HTML_HELP 1
43167 _ACEOF
43168
43169 fi
43170 fi
43171
43172 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43173 if test "$wxUSE_HTML" = "yes"; then
43174 cat >>confdefs.h <<\_ACEOF
43175 #define wxUSE_WXHTML_HELP 1
43176 _ACEOF
43177
43178 else
43179 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43180 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43181 wxUSE_WXHTML_HELP=no
43182 fi
43183 fi
43184 fi
43185
43186 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43187 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43188 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43189 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43190 else
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_PRINTING_ARCHITECTURE 1
43193 _ACEOF
43194
43195 fi
43196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43197 fi
43198
43199 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43200 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43201 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43202 { (exit 1); exit 1; }; }
43203 fi
43204
43205
43206 if test "$wxUSE_METAFILE" = "yes"; then
43207 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43208 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43209 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43210 wxUSE_METAFILE=no
43211 fi
43212 fi
43213
43214
43215 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43216 -o "$wxUSE_CLIPBOARD" = "yes" \
43217 -o "$wxUSE_OLE" = "yes" \
43218 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43219
43220 for ac_header in ole2.h
43221 do
43222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43224 echo "$as_me:$LINENO: checking for $ac_header" >&5
43225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43227 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 fi
43229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43231 else
43232 # Is the header compilable?
43233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43235 cat >conftest.$ac_ext <<_ACEOF
43236 /* confdefs.h. */
43237 _ACEOF
43238 cat confdefs.h >>conftest.$ac_ext
43239 cat >>conftest.$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43241 $ac_includes_default
43242 #include <$ac_header>
43243 _ACEOF
43244 rm -f conftest.$ac_objext
43245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43246 (eval $ac_compile) 2>conftest.er1
43247 ac_status=$?
43248 grep -v '^ *+' conftest.er1 >conftest.err
43249 rm -f conftest.er1
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } &&
43253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43255 (eval $ac_try) 2>&5
43256 ac_status=$?
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; } &&
43259 { ac_try='test -s conftest.$ac_objext'
43260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43261 (eval $ac_try) 2>&5
43262 ac_status=$?
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; }; then
43265 ac_header_compiler=yes
43266 else
43267 echo "$as_me: failed program was:" >&5
43268 sed 's/^/| /' conftest.$ac_ext >&5
43269
43270 ac_header_compiler=no
43271 fi
43272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43274 echo "${ECHO_T}$ac_header_compiler" >&6
43275
43276 # Is the header present?
43277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43279 cat >conftest.$ac_ext <<_ACEOF
43280 /* confdefs.h. */
43281 _ACEOF
43282 cat confdefs.h >>conftest.$ac_ext
43283 cat >>conftest.$ac_ext <<_ACEOF
43284 /* end confdefs.h. */
43285 #include <$ac_header>
43286 _ACEOF
43287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43289 ac_status=$?
43290 grep -v '^ *+' conftest.er1 >conftest.err
43291 rm -f conftest.er1
43292 cat conftest.err >&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } >/dev/null; then
43295 if test -s conftest.err; then
43296 ac_cpp_err=$ac_cxx_preproc_warn_flag
43297 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43298 else
43299 ac_cpp_err=
43300 fi
43301 else
43302 ac_cpp_err=yes
43303 fi
43304 if test -z "$ac_cpp_err"; then
43305 ac_header_preproc=yes
43306 else
43307 echo "$as_me: failed program was:" >&5
43308 sed 's/^/| /' conftest.$ac_ext >&5
43309
43310 ac_header_preproc=no
43311 fi
43312 rm -f conftest.err conftest.$ac_ext
43313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43314 echo "${ECHO_T}$ac_header_preproc" >&6
43315
43316 # So? What about this header?
43317 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43318 yes:no: )
43319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43322 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43323 ac_header_preproc=yes
43324 ;;
43325 no:yes:* )
43326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43330 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43331 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43332 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43333 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43335 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43336 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43337 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43338 (
43339 cat <<\_ASBOX
43340 ## ----------------------------------------- ##
43341 ## Report this to wx-dev@lists.wxwidgets.org ##
43342 ## ----------------------------------------- ##
43343 _ASBOX
43344 ) |
43345 sed "s/^/$as_me: WARNING: /" >&2
43346 ;;
43347 esac
43348 echo "$as_me:$LINENO: checking for $ac_header" >&5
43349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43352 else
43353 eval "$as_ac_Header=\$ac_header_preproc"
43354 fi
43355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43357
43358 fi
43359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43360 cat >>confdefs.h <<_ACEOF
43361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43362 _ACEOF
43363
43364 fi
43365
43366 done
43367
43368
43369 if test "$ac_cv_header_ole2_h" = "yes" ; then
43370 if test "$GCC" = yes ; then
43371 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43372 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43373 cat >conftest.$ac_ext <<_ACEOF
43374 /* confdefs.h. */
43375 _ACEOF
43376 cat confdefs.h >>conftest.$ac_ext
43377 cat >>conftest.$ac_ext <<_ACEOF
43378 /* end confdefs.h. */
43379 #include <windows.h>
43380 #include <ole2.h>
43381 int
43382 main ()
43383 {
43384
43385 ;
43386 return 0;
43387 }
43388 _ACEOF
43389 rm -f conftest.$ac_objext
43390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43391 (eval $ac_compile) 2>conftest.er1
43392 ac_status=$?
43393 grep -v '^ *+' conftest.er1 >conftest.err
43394 rm -f conftest.er1
43395 cat conftest.err >&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } &&
43398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43400 (eval $ac_try) 2>&5
43401 ac_status=$?
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); }; } &&
43404 { ac_try='test -s conftest.$ac_objext'
43405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43406 (eval $ac_try) 2>&5
43407 ac_status=$?
43408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43409 (exit $ac_status); }; }; then
43410 echo "$as_me:$LINENO: result: no" >&5
43411 echo "${ECHO_T}no" >&6
43412 else
43413 echo "$as_me: failed program was:" >&5
43414 sed 's/^/| /' conftest.$ac_ext >&5
43415
43416 echo "$as_me:$LINENO: result: yes" >&5
43417 echo "${ECHO_T}yes" >&6
43418 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43419 fi
43420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43421 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43422 if test "$wxUSE_OLE" = "yes" ; then
43423 cat >>confdefs.h <<\_ACEOF
43424 #define wxUSE_OLE 1
43425 _ACEOF
43426
43427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43428 fi
43429 fi
43430
43431 if test "$wxUSE_DATAOBJ" = "yes" ; then
43432 cat >>confdefs.h <<\_ACEOF
43433 #define wxUSE_DATAOBJ 1
43434 _ACEOF
43435
43436 fi
43437 else
43438 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43439 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43440
43441 wxUSE_CLIPBOARD=no
43442 wxUSE_DRAG_AND_DROP=no
43443 wxUSE_DATAOBJ=no
43444 wxUSE_OLE=no
43445 fi
43446
43447 if test "$wxUSE_METAFILE" = "yes"; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define wxUSE_METAFILE 1
43450 _ACEOF
43451
43452
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxUSE_ENH_METAFILE 1
43455 _ACEOF
43456
43457 fi
43458 fi
43459
43460 if test "$wxUSE_IPC" = "yes"; then
43461 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43462 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43463 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43464 wxUSE_IPC=no
43465 fi
43466
43467 if test "$wxUSE_IPC" = "yes"; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define wxUSE_IPC 1
43470 _ACEOF
43471
43472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43473 fi
43474 fi
43475
43476 if test "$wxUSE_DATAOBJ" = "yes"; then
43477 if test "$wxUSE_MGL" = 1; then
43478 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43479 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43480 wxUSE_DATAOBJ=no
43481 else
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_DATAOBJ 1
43484 _ACEOF
43485
43486 fi
43487 else
43488 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43489 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43490 wxUSE_CLIPBOARD=no
43491 wxUSE_DRAG_AND_DROP=no
43492 fi
43493
43494 if test "$wxUSE_CLIPBOARD" = "yes"; then
43495 if test "$wxUSE_MGL" = 1; then
43496 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43497 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43498 wxUSE_CLIPBOARD=no
43499 fi
43500
43501 if test "$wxUSE_CLIPBOARD" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_CLIPBOARD 1
43504 _ACEOF
43505
43506 fi
43507 fi
43508
43509 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43510 if test "$wxUSE_GTK" = 1; then
43511 if test "$WXGTK12" != 1; then
43512 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43513 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43514 wxUSE_DRAG_AND_DROP=no
43515 fi
43516 fi
43517
43518 if test "$wxUSE_MOTIF" = 1; then
43519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43520 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43521 wxUSE_DRAG_AND_DROP=no
43522 fi
43523
43524 if test "$wxUSE_X11" = 1; then
43525 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43526 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43527 wxUSE_DRAG_AND_DROP=no
43528 fi
43529
43530 if test "$wxUSE_MGL" = 1; then
43531 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43532 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43533 wxUSE_DRAG_AND_DROP=no
43534 fi
43535
43536 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_DRAG_AND_DROP 1
43539 _ACEOF
43540
43541 fi
43542
43543 fi
43544
43545 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43547 fi
43548
43549 if test "$wxUSE_SPLINES" = "yes" ; then
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_SPLINES 1
43552 _ACEOF
43553
43554 fi
43555
43556 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_MOUSEWHEEL 1
43559 _ACEOF
43560
43561 fi
43562
43563
43564 USES_CONTROLS=0
43565 if test "$wxUSE_CONTROLS" = "yes"; then
43566 USES_CONTROLS=1
43567 fi
43568
43569 if test "$wxUSE_ACCEL" = "yes"; then
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_ACCEL 1
43572 _ACEOF
43573
43574 USES_CONTROLS=1
43575 fi
43576
43577 if test "$wxUSE_BUTTON" = "yes"; then
43578 cat >>confdefs.h <<\_ACEOF
43579 #define wxUSE_BUTTON 1
43580 _ACEOF
43581
43582 USES_CONTROLS=1
43583 fi
43584
43585 if test "$wxUSE_BMPBUTTON" = "yes"; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_BMPBUTTON 1
43588 _ACEOF
43589
43590 USES_CONTROLS=1
43591 fi
43592
43593 if test "$wxUSE_CALCTRL" = "yes"; then
43594 cat >>confdefs.h <<\_ACEOF
43595 #define wxUSE_CALENDARCTRL 1
43596 _ACEOF
43597
43598 USES_CONTROLS=1
43599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43600 fi
43601
43602 if test "$wxUSE_CARET" = "yes"; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define wxUSE_CARET 1
43605 _ACEOF
43606
43607 USES_CONTROLS=1
43608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43609 fi
43610
43611 if test "$wxUSE_COMBOBOX" = "yes"; then
43612 cat >>confdefs.h <<\_ACEOF
43613 #define wxUSE_COMBOBOX 1
43614 _ACEOF
43615
43616 USES_CONTROLS=1
43617 fi
43618
43619 if test "$wxUSE_CHOICE" = "yes"; then
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_CHOICE 1
43622 _ACEOF
43623
43624 USES_CONTROLS=1
43625 fi
43626
43627 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43628 cat >>confdefs.h <<\_ACEOF
43629 #define wxUSE_CHOICEBOOK 1
43630 _ACEOF
43631
43632 USES_CONTROLS=1
43633 fi
43634
43635 if test "$wxUSE_CHECKBOX" = "yes"; then
43636 cat >>confdefs.h <<\_ACEOF
43637 #define wxUSE_CHECKBOX 1
43638 _ACEOF
43639
43640 USES_CONTROLS=1
43641 fi
43642
43643 if test "$wxUSE_CHECKLST" = "yes"; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define wxUSE_CHECKLISTBOX 1
43646 _ACEOF
43647
43648 USES_CONTROLS=1
43649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43650 fi
43651
43652 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43653 cat >>confdefs.h <<\_ACEOF
43654 #define wxUSE_DATEPICKCTRL 1
43655 _ACEOF
43656
43657 USES_CONTROLS=1
43658 fi
43659
43660 if test "$wxUSE_DISPLAY" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_DISPLAY 1
43663 _ACEOF
43664
43665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43666 fi
43667
43668 if test "$wxUSE_GAUGE" = "yes"; then
43669 cat >>confdefs.h <<\_ACEOF
43670 #define wxUSE_GAUGE 1
43671 _ACEOF
43672
43673 USES_CONTROLS=1
43674 fi
43675
43676 if test "$wxUSE_GRID" = "yes"; then
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_GRID 1
43679 _ACEOF
43680
43681 USES_CONTROLS=1
43682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
43683 fi
43684
43685 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43686 cat >>confdefs.h <<\_ACEOF
43687 #define wxUSE_DATAVIEWCTRL 1
43688 _ACEOF
43689
43690 USES_CONTROLS=1
43691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
43692 fi
43693
43694 if test "$wxUSE_IMAGLIST" = "yes"; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_IMAGLIST 1
43697 _ACEOF
43698
43699 fi
43700
43701 if test "$wxUSE_LISTBOOK" = "yes"; then
43702 cat >>confdefs.h <<\_ACEOF
43703 #define wxUSE_LISTBOOK 1
43704 _ACEOF
43705
43706 USES_CONTROLS=1
43707 fi
43708
43709 if test "$wxUSE_LISTBOX" = "yes"; then
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_LISTBOX 1
43712 _ACEOF
43713
43714 USES_CONTROLS=1
43715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
43716 fi
43717
43718 if test "$wxUSE_LISTCTRL" = "yes"; then
43719 if test "$wxUSE_IMAGLIST" = "yes"; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define wxUSE_LISTCTRL 1
43722 _ACEOF
43723
43724 USES_CONTROLS=1
43725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
43726 else
43727 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43728 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43729 fi
43730 fi
43731
43732 if test "$wxUSE_NOTEBOOK" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_NOTEBOOK 1
43735 _ACEOF
43736
43737 USES_CONTROLS=1
43738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
43739 fi
43740
43741
43742 if test "$wxUSE_RADIOBOX" = "yes"; then
43743 cat >>confdefs.h <<\_ACEOF
43744 #define wxUSE_RADIOBOX 1
43745 _ACEOF
43746
43747 USES_CONTROLS=1
43748 fi
43749
43750 if test "$wxUSE_RADIOBTN" = "yes"; then
43751 cat >>confdefs.h <<\_ACEOF
43752 #define wxUSE_RADIOBTN 1
43753 _ACEOF
43754
43755 USES_CONTROLS=1
43756 fi
43757
43758 if test "$wxUSE_SASH" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_SASH 1
43761 _ACEOF
43762
43763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
43764 fi
43765
43766 if test "$wxUSE_SCROLLBAR" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_SCROLLBAR 1
43769 _ACEOF
43770
43771 USES_CONTROLS=1
43772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
43773 fi
43774
43775 if test "$wxUSE_SLIDER" = "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define wxUSE_SLIDER 1
43778 _ACEOF
43779
43780 USES_CONTROLS=1
43781 fi
43782
43783 if test "$wxUSE_SPINBTN" = "yes"; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define wxUSE_SPINBTN 1
43786 _ACEOF
43787
43788 USES_CONTROLS=1
43789 fi
43790
43791 if test "$wxUSE_SPINCTRL" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_SPINCTRL 1
43794 _ACEOF
43795
43796 USES_CONTROLS=1
43797 fi
43798
43799 if test "$wxUSE_SPLITTER" = "yes"; then
43800 cat >>confdefs.h <<\_ACEOF
43801 #define wxUSE_SPLITTER 1
43802 _ACEOF
43803
43804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
43805 fi
43806
43807 if test "$wxUSE_STATBMP" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_STATBMP 1
43810 _ACEOF
43811
43812 USES_CONTROLS=1
43813 fi
43814
43815 if test "$wxUSE_STATBOX" = "yes"; then
43816 cat >>confdefs.h <<\_ACEOF
43817 #define wxUSE_STATBOX 1
43818 _ACEOF
43819
43820 USES_CONTROLS=1
43821 fi
43822
43823 if test "$wxUSE_STATTEXT" = "yes"; then
43824 cat >>confdefs.h <<\_ACEOF
43825 #define wxUSE_STATTEXT 1
43826 _ACEOF
43827
43828 USES_CONTROLS=1
43829 fi
43830
43831 if test "$wxUSE_STATLINE" = "yes"; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define wxUSE_STATLINE 1
43834 _ACEOF
43835
43836 USES_CONTROLS=1
43837 fi
43838
43839 if test "$wxUSE_STATUSBAR" = "yes"; then
43840 cat >>confdefs.h <<\_ACEOF
43841 #define wxUSE_NATIVE_STATUSBAR 1
43842 _ACEOF
43843
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxUSE_STATUSBAR 1
43846 _ACEOF
43847
43848 USES_CONTROLS=1
43849
43850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
43851 fi
43852
43853 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43854 cat >>confdefs.h <<\_ACEOF
43855 #define wxUSE_TAB_DIALOG 1
43856 _ACEOF
43857
43858 fi
43859
43860 if test "$wxUSE_TEXTCTRL" = "yes"; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define wxUSE_TEXTCTRL 1
43863 _ACEOF
43864
43865 USES_CONTROLS=1
43866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
43867 fi
43868
43869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43870 if test "$wxUSE_COCOA" = 1 ; then
43871 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43872 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43873 wxUSE_TOGGLEBTN=no
43874 fi
43875 if test "$wxUSE_UNIVERSAL" = "yes"; then
43876 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43877 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43878 wxUSE_TOGGLEBTN=no
43879 fi
43880
43881 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_TOGGLEBTN 1
43884 _ACEOF
43885
43886 USES_CONTROLS=1
43887 fi
43888 fi
43889
43890 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_TOOLBAR_SIMPLE 1
43893 _ACEOF
43894
43895 wxUSE_TOOLBAR="yes"
43896 USES_CONTROLS=1
43897 fi
43898
43899 if test "$wxUSE_TOOLBAR" = "yes"; then
43900 cat >>confdefs.h <<\_ACEOF
43901 #define wxUSE_TOOLBAR 1
43902 _ACEOF
43903
43904 USES_CONTROLS=1
43905
43906 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43907 wxUSE_TOOLBAR_NATIVE="yes"
43908 fi
43909
43910 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_TOOLBAR_NATIVE 1
43913 _ACEOF
43914
43915 USES_CONTROLS=1
43916 fi
43917
43918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
43919 fi
43920
43921 if test "$wxUSE_TOOLTIPS" = "yes"; then
43922 if test "$wxUSE_MOTIF" = 1; then
43923 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43924 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43925 else
43926 if test "$wxUSE_UNIVERSAL" = "yes"; then
43927 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43928 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43929 else
43930 cat >>confdefs.h <<\_ACEOF
43931 #define wxUSE_TOOLTIPS 1
43932 _ACEOF
43933
43934 fi
43935 fi
43936 fi
43937
43938 if test "$wxUSE_TREEBOOK" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_TREEBOOK 1
43941 _ACEOF
43942
43943 USES_CONTROLS=1
43944 fi
43945
43946 if test "$wxUSE_TOOLBOOK" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_TOOLBOOK 1
43949 _ACEOF
43950
43951 USES_CONTROLS=1
43952 fi
43953
43954 if test "$wxUSE_TREECTRL" = "yes"; then
43955 if test "$wxUSE_IMAGLIST" = "yes"; then
43956 cat >>confdefs.h <<\_ACEOF
43957 #define wxUSE_TREECTRL 1
43958 _ACEOF
43959
43960 USES_CONTROLS=1
43961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
43962 else
43963 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43964 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43965 fi
43966 fi
43967
43968 if test "$wxUSE_POPUPWIN" = "yes"; then
43969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43970 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43971 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43972 else
43973 if test "$wxUSE_PM" = 1; then
43974 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43975 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43976 else
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_POPUPWIN 1
43979 _ACEOF
43980
43981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
43982
43983 USES_CONTROLS=1
43984 fi
43985 fi
43986 fi
43987
43988 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43990 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43991 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43992 else
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_DIALUP_MANAGER 1
43995 _ACEOF
43996
43997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
43998 fi
43999 fi
44000
44001 if test "$wxUSE_TIPWINDOW" = "yes"; then
44002 if test "$wxUSE_PM" = 1; then
44003 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44004 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44005 else
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_TIPWINDOW 1
44008 _ACEOF
44009
44010 fi
44011 fi
44012
44013 if test "$USES_CONTROLS" = 1; then
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_CONTROLS 1
44016 _ACEOF
44017
44018 fi
44019
44020
44021 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define wxUSE_ACCESSIBILITY 1
44024 _ACEOF
44025
44026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44027 fi
44028
44029 if test "$wxUSE_DC_CACHEING" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_DC_CACHEING 1
44032 _ACEOF
44033
44034 fi
44035
44036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44037 cat >>confdefs.h <<\_ACEOF
44038 #define wxUSE_DRAGIMAGE 1
44039 _ACEOF
44040
44041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44042 fi
44043
44044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44045 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44046 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44047 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44048 else
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_EXCEPTIONS 1
44051 _ACEOF
44052
44053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44054 fi
44055 fi
44056
44057 USE_HTML=0
44058 if test "$wxUSE_HTML" = "yes"; then
44059 cat >>confdefs.h <<\_ACEOF
44060 #define wxUSE_HTML 1
44061 _ACEOF
44062
44063 USE_HTML=1
44064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44065 if test "$wxUSE_MAC" = 1; then
44066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44067 fi
44068 fi
44069 if test "$wxUSE_WEBKIT" = "yes"; then
44070 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44071 old_CPPFLAGS="$CPPFLAGS"
44072 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44073 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44074 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44075 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44077 else
44078 cat >conftest.$ac_ext <<_ACEOF
44079 /* confdefs.h. */
44080 _ACEOF
44081 cat confdefs.h >>conftest.$ac_ext
44082 cat >>conftest.$ac_ext <<_ACEOF
44083 /* end confdefs.h. */
44084 #include <Carbon/Carbon.h>
44085
44086 #include <WebKit/HIWebView.h>
44087 _ACEOF
44088 rm -f conftest.$ac_objext
44089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44090 (eval $ac_compile) 2>conftest.er1
44091 ac_status=$?
44092 grep -v '^ *+' conftest.er1 >conftest.err
44093 rm -f conftest.er1
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } &&
44097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44100 ac_status=$?
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; } &&
44103 { ac_try='test -s conftest.$ac_objext'
44104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44105 (eval $ac_try) 2>&5
44106 ac_status=$?
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); }; }; then
44109 ac_cv_header_WebKit_HIWebView_h=yes
44110 else
44111 echo "$as_me: failed program was:" >&5
44112 sed 's/^/| /' conftest.$ac_ext >&5
44113
44114 ac_cv_header_WebKit_HIWebView_h=no
44115 fi
44116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44117 fi
44118 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44119 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44120 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44121
44122 cat >>confdefs.h <<\_ACEOF
44123 #define wxUSE_WEBKIT 1
44124 _ACEOF
44125
44126 WEBKIT_LINK="-framework WebKit"
44127
44128 else
44129
44130 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44131 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44132 wxUSE_WEBKIT=no
44133
44134 fi
44135
44136
44137 CPPFLAGS="$old_CPPFLAGS"
44138 elif test "$wxUSE_COCOA" = 1; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_WEBKIT 1
44141 _ACEOF
44142
44143 else
44144 wxUSE_WEBKIT=no
44145 fi
44146 fi
44147
44148 USE_XRC=0
44149 if test "$wxUSE_XRC" = "yes"; then
44150 if test "$wxUSE_XML" != "yes"; then
44151 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44152 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44153 wxUSE_XRC=no
44154 else
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_XRC 1
44157 _ACEOF
44158
44159 USE_XRC=1
44160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44161 fi
44162 fi
44163
44164 if test "$wxUSE_MENUS" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_MENUS 1
44167 _ACEOF
44168
44169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44170 fi
44171
44172 if test "$wxUSE_METAFILE" = "yes"; then
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_METAFILE 1
44175 _ACEOF
44176
44177 fi
44178
44179 if test "$wxUSE_MIMETYPE" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_MIMETYPE 1
44182 _ACEOF
44183
44184 fi
44185
44186 if test "$wxUSE_MINIFRAME" = "yes"; then
44187 cat >>confdefs.h <<\_ACEOF
44188 #define wxUSE_MINIFRAME 1
44189 _ACEOF
44190
44191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44192 fi
44193
44194 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define wxUSE_SYSTEM_OPTIONS 1
44197 _ACEOF
44198
44199 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44200 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44202 fi
44203 fi
44204
44205
44206 if test "$wxUSE_VALIDATORS" = "yes"; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_VALIDATORS 1
44209 _ACEOF
44210
44211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44212 fi
44213
44214 if test "$wxUSE_PALETTE" = "yes" ; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_PALETTE 1
44217 _ACEOF
44218
44219 fi
44220
44221 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44222 LIBS=" -lunicows $LIBS"
44223 fi
44224
44225 USE_RICHTEXT=0
44226 if test "$wxUSE_RICHTEXT" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_RICHTEXT 1
44229 _ACEOF
44230
44231 USE_RICHTEXT=1
44232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44233 fi
44234
44235
44236 if test "$wxUSE_IMAGE" = "yes" ; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_IMAGE 1
44239 _ACEOF
44240
44241
44242 if test "$wxUSE_GIF" = "yes" ; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_GIF 1
44245 _ACEOF
44246
44247 fi
44248
44249 if test "$wxUSE_PCX" = "yes" ; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_PCX 1
44252 _ACEOF
44253
44254 fi
44255
44256 if test "$wxUSE_IFF" = "yes" ; then
44257 cat >>confdefs.h <<\_ACEOF
44258 #define wxUSE_IFF 1
44259 _ACEOF
44260
44261 fi
44262
44263 if test "$wxUSE_PNM" = "yes" ; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_PNM 1
44266 _ACEOF
44267
44268 fi
44269
44270 if test "$wxUSE_XPM" = "yes" ; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_XPM 1
44273 _ACEOF
44274
44275 fi
44276
44277 if test "$wxUSE_ICO_CUR" = "yes" ; then
44278 cat >>confdefs.h <<\_ACEOF
44279 #define wxUSE_ICO_CUR 1
44280 _ACEOF
44281
44282 fi
44283 fi
44284
44285
44286 if test "$wxUSE_CHOICEDLG" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_CHOICEDLG 1
44289 _ACEOF
44290
44291 fi
44292
44293 if test "$wxUSE_COLOURDLG" = "yes"; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_COLOURDLG 1
44296 _ACEOF
44297
44298 fi
44299
44300 if test "$wxUSE_FILEDLG" = "yes"; then
44301 cat >>confdefs.h <<\_ACEOF
44302 #define wxUSE_FILEDLG 1
44303 _ACEOF
44304
44305 fi
44306
44307 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_FINDREPLDLG 1
44310 _ACEOF
44311
44312 fi
44313
44314 if test "$wxUSE_FONTDLG" = "yes"; then
44315 cat >>confdefs.h <<\_ACEOF
44316 #define wxUSE_FONTDLG 1
44317 _ACEOF
44318
44319 fi
44320
44321 if test "$wxUSE_DIRDLG" = "yes"; then
44322 if test "$wxUSE_TREECTRL" != "yes"; then
44323 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44324 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44325 else
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_DIRDLG 1
44328 _ACEOF
44329
44330 fi
44331 fi
44332
44333 if test "$wxUSE_MSGDLG" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_MSGDLG 1
44336 _ACEOF
44337
44338 fi
44339
44340 if test "$wxUSE_NUMBERDLG" = "yes"; then
44341 cat >>confdefs.h <<\_ACEOF
44342 #define wxUSE_NUMBERDLG 1
44343 _ACEOF
44344
44345 fi
44346
44347 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44348 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44349 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44350 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44351 else
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_PROGRESSDLG 1
44354 _ACEOF
44355
44356 fi
44357 fi
44358
44359 if test "$wxUSE_SPLASH" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_SPLASH 1
44362 _ACEOF
44363
44364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44365 fi
44366
44367 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44368 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44369 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44370 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44371 else
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_STARTUP_TIPS 1
44374 _ACEOF
44375
44376 fi
44377 fi
44378
44379 if test "$wxUSE_TEXTDLG" = "yes"; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_TEXTDLG 1
44382 _ACEOF
44383
44384 fi
44385
44386 if test "$wxUSE_WIZARDDLG" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_WIZARDDLG 1
44389 _ACEOF
44390
44391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44392 fi
44393
44394
44395 USE_MEDIA=0
44396
44397 if test "$wxUSE_MEDIACTRL" = "yes"; then
44398 if test "$wxUSE_GTK" = 1; then
44399 wxUSE_GSTREAMER="yes"
44400
44401 GST_VERSION_MAJOR=0
44402 GST_VERSION_MINOR=10
44403 GST_VERSION_RELEASE=0
44404 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
44405 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44406
44407 if test "$wxUSE_GSTREAMER8" = "no"; then
44408
44409 succeeded=no
44410
44411 if test -z "$PKG_CONFIG"; then
44412 # Extract the first word of "pkg-config", so it can be a program name with args.
44413 set dummy pkg-config; ac_word=$2
44414 echo "$as_me:$LINENO: checking for $ac_word" >&5
44415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44417 echo $ECHO_N "(cached) $ECHO_C" >&6
44418 else
44419 case $PKG_CONFIG in
44420 [\\/]* | ?:[\\/]*)
44421 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44422 ;;
44423 *)
44424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44425 for as_dir in $PATH
44426 do
44427 IFS=$as_save_IFS
44428 test -z "$as_dir" && as_dir=.
44429 for ac_exec_ext in '' $ac_executable_extensions; do
44430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44431 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44433 break 2
44434 fi
44435 done
44436 done
44437
44438 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44439 ;;
44440 esac
44441 fi
44442 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44443
44444 if test -n "$PKG_CONFIG"; then
44445 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44446 echo "${ECHO_T}$PKG_CONFIG" >&6
44447 else
44448 echo "$as_me:$LINENO: result: no" >&5
44449 echo "${ECHO_T}no" >&6
44450 fi
44451
44452 fi
44453
44454 if test "$PKG_CONFIG" = "no" ; then
44455 echo "*** The pkg-config script could not be found. Make sure it is"
44456 echo "*** in your path, or set the PKG_CONFIG environment variable"
44457 echo "*** to the full path to pkg-config."
44458 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44459 else
44460 PKG_CONFIG_MIN_VERSION=0.9.0
44461 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44462 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44463 gstreamer-plugins-base-$GST_MAJORMINOR
44464 gconf-2.0" >&5
44465 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44466 gstreamer-plugins-base-$GST_MAJORMINOR
44467 gconf-2.0... $ECHO_C" >&6
44468
44469 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44470 gstreamer-plugins-base-$GST_MAJORMINOR
44471 gconf-2.0" ; then
44472 echo "$as_me:$LINENO: result: yes" >&5
44473 echo "${ECHO_T}yes" >&6
44474 succeeded=yes
44475
44476 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44477 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44478 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44479 gstreamer-plugins-base-$GST_MAJORMINOR
44480 gconf-2.0"`
44481 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44482 echo "${ECHO_T}$GST_CFLAGS" >&6
44483
44484 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44485 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44486 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44487 gstreamer-plugins-base-$GST_MAJORMINOR
44488 gconf-2.0"`
44489 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44490 echo "${ECHO_T}$GST_LIBS" >&6
44491 else
44492 GST_CFLAGS=""
44493 GST_LIBS=""
44494 ## If we have a custom action on failure, don't print errors, but
44495 ## do set a variable so people can do so.
44496 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44497 gstreamer-plugins-base-$GST_MAJORMINOR
44498 gconf-2.0"`
44499
44500 fi
44501
44502
44503
44504 else
44505 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44506 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44507 fi
44508 fi
44509
44510 if test $succeeded = yes; then
44511
44512 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
44513 LIBS="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44514
44515 else
44516
44517 GST_VERSION_MINOR=8
44518
44519 fi
44520
44521 else
44522 GST_VERSION_MINOR=8
44523 fi
44524
44525 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
44526 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44527
44528 if test x$GST_VERSION_MINOR = x8; then
44529
44530 succeeded=no
44531
44532 if test -z "$PKG_CONFIG"; then
44533 # Extract the first word of "pkg-config", so it can be a program name with args.
44534 set dummy pkg-config; ac_word=$2
44535 echo "$as_me:$LINENO: checking for $ac_word" >&5
44536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44538 echo $ECHO_N "(cached) $ECHO_C" >&6
44539 else
44540 case $PKG_CONFIG in
44541 [\\/]* | ?:[\\/]*)
44542 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44543 ;;
44544 *)
44545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44546 for as_dir in $PATH
44547 do
44548 IFS=$as_save_IFS
44549 test -z "$as_dir" && as_dir=.
44550 for ac_exec_ext in '' $ac_executable_extensions; do
44551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44552 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44554 break 2
44555 fi
44556 done
44557 done
44558
44559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44560 ;;
44561 esac
44562 fi
44563 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44564
44565 if test -n "$PKG_CONFIG"; then
44566 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44567 echo "${ECHO_T}$PKG_CONFIG" >&6
44568 else
44569 echo "$as_me:$LINENO: result: no" >&5
44570 echo "${ECHO_T}no" >&6
44571 fi
44572
44573 fi
44574
44575 if test "$PKG_CONFIG" = "no" ; then
44576 echo "*** The pkg-config script could not be found. Make sure it is"
44577 echo "*** in your path, or set the PKG_CONFIG environment variable"
44578 echo "*** to the full path to pkg-config."
44579 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44580 else
44581 PKG_CONFIG_MIN_VERSION=0.9.0
44582 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44583 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44584 gstreamer-interfaces-$GST_MAJORMINOR
44585 gstreamer-gconf-$GST_MAJORMINOR" >&5
44586 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44587 gstreamer-interfaces-$GST_MAJORMINOR
44588 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44589
44590 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44591 gstreamer-interfaces-$GST_MAJORMINOR
44592 gstreamer-gconf-$GST_MAJORMINOR" ; then
44593 echo "$as_me:$LINENO: result: yes" >&5
44594 echo "${ECHO_T}yes" >&6
44595 succeeded=yes
44596
44597 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44598 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44599 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44600 gstreamer-interfaces-$GST_MAJORMINOR
44601 gstreamer-gconf-$GST_MAJORMINOR"`
44602 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44603 echo "${ECHO_T}$GST_CFLAGS" >&6
44604
44605 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44606 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44607 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44608 gstreamer-interfaces-$GST_MAJORMINOR
44609 gstreamer-gconf-$GST_MAJORMINOR"`
44610 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44611 echo "${ECHO_T}$GST_LIBS" >&6
44612 else
44613 GST_CFLAGS=""
44614 GST_LIBS=""
44615 ## If we have a custom action on failure, don't print errors, but
44616 ## do set a variable so people can do so.
44617 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44618 gstreamer-interfaces-$GST_MAJORMINOR
44619 gstreamer-gconf-$GST_MAJORMINOR"`
44620
44621 fi
44622
44623
44624
44625 else
44626 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44627 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44628 fi
44629 fi
44630
44631 if test $succeeded = yes; then
44632
44633 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
44634 LIBS="$LIBS $GST_LIBS"
44635
44636 else
44637
44638 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44639 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44640 wxUSE_GSTREAMER="no"
44641
44642 fi
44643
44644 fi
44645
44646
44647 if test "$wxUSE_GSTREAMER" = "yes"; then
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_GSTREAMER 1
44650 _ACEOF
44651
44652 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44653 echo "${ECHO_T}GStreamer detection successful" >&6
44654 fi
44655 fi
44656 USE_MEDIA=1
44657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_MEDIACTRL 1
44660 _ACEOF
44661
44662 fi
44663
44664
44665 if test "$cross_compiling" = "yes"; then
44666 OSINFO="\"$host\""
44667 else
44668 OSINFO=`uname -s -r -m`
44669 OSINFO="\"$OSINFO\""
44670 fi
44671
44672 cat >>confdefs.h <<_ACEOF
44673 #define WXWIN_OS_DESCRIPTION $OSINFO
44674 _ACEOF
44675
44676
44677
44678 if test "x$prefix" != "xNONE"; then
44679 wxPREFIX=$prefix
44680 else
44681 wxPREFIX=$ac_default_prefix
44682 fi
44683
44684 cat >>confdefs.h <<_ACEOF
44685 #define wxINSTALL_PREFIX "$wxPREFIX"
44686 _ACEOF
44687
44688
44689
44690
44691 CORE_BASE_LIBS="net base"
44692 CORE_GUI_LIBS="adv core"
44693
44694 if test "$wxUSE_XML" = "yes" ; then
44695 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
44696 fi
44697 if test "$wxUSE_ODBC" != "no" ; then
44698 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
44699 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
44700 fi
44701 if test "$wxUSE_HTML" = "yes" ; then
44702 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
44703 fi
44704 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44705 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
44706 fi
44707 if test "$wxUSE_XRC" = "yes" ; then
44708 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
44709 fi
44710
44711 if test "$wxUSE_GUI" != "yes"; then
44712 CORE_GUI_LIBS=""
44713 fi
44714
44715
44716
44717
44718
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44724
44725
44726
44727 if test "$wxUSE_MAC" = 1 ; then
44728 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44729 if test "$USE_DARWIN" = 1; then
44730 LDFLAGS="$LDFLAGS -framework QuickTime"
44731 else
44732 LDFLAGS="$LDFLAGS -lQuickTimeLib"
44733 fi
44734 fi
44735 if test "$USE_DARWIN" = 1; then
44736 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44737 else
44738 LDFLAGS="$LDFLAGS -lCarbonLib"
44739 fi
44740 fi
44741 if test "$wxUSE_COCOA" = 1 ; then
44742 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
44743 if test "$wxUSE_MEDIACTRL" = "yes"; then
44744 LDFLAGS="$LDFLAGS -framework QuickTime"
44745 fi
44746 fi
44747 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44748 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44749 fi
44750
44751 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44752
44753 if test "$wxUSE_GUI" = "yes"; then
44754
44755
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
44757 dynamic erase event exec font image minimal mobile \
44758 mobile/wxedit mobile/styles propsize render \
44759 rotate shaped vscroll widgets"
44760
44761 if test "$wxUSE_MONOLITHIC" != "yes"; then
44762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
44763 fi
44764 if test "$TOOLKIT" = "MSW"; then
44765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
44766 if test "$wxUSE_UNIVERSAL" != "yes"; then
44767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
44768 fi
44769 fi
44770 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
44771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
44772 fi
44773 else
44774 SAMPLES_SUBDIRS="console"
44775 fi
44776
44777
44778 if test "x$INTELCC" = "xyes" ; then
44779 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
44780 elif test "$GCC" = yes ; then
44781 CWARNINGS="-Wall -Wundef"
44782 fi
44783
44784 if test "x$INTELCXX" = "xyes" ; then
44785 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
44786 elif test "$GXX" = yes ; then
44787 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
44788 fi
44789
44790
44791 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
44792 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
44793
44794
44795 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
44796 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
44797 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
44798 $CPPFLAGS `
44799
44800 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
44801 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
44802 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
44803
44804 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
44805
44806
44807 if test "x$MWCC" = "xyes"; then
44808
44809 CC="$CC -cwd source -I-"
44810 CXX="$CXX -cwd source -I-"
44811 fi
44812
44813
44814 LIBS=`echo $LIBS`
44815 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
44816 EXTRALIBS_XML="$EXPAT_LINK"
44817 EXTRALIBS_HTML="$MSPACK_LINK"
44818 EXTRALIBS_ODBC="$ODBC_LINK"
44819 if test "$wxUSE_GUI" = "yes"; then
44820 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
44821 fi
44822 if test "$wxUSE_OPENGL" = "yes"; then
44823 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
44824 fi
44825
44826 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
44827
44828 WXCONFIG_LIBS="$LIBS"
44829
44830 if test "$wxUSE_REGEX" = "builtin" ; then
44831 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
44832 fi
44833 if test "$wxUSE_EXPAT" = "builtin" ; then
44834 wxconfig_3rdparty="expat $wxconfig_3rdparty"
44835 fi
44836 if test "$wxUSE_ODBC" = "builtin" ; then
44837 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
44838 fi
44839 if test "$wxUSE_LIBTIFF" = "builtin" ; then
44840 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
44841 fi
44842 if test "$wxUSE_LIBJPEG" = "builtin" ; then
44843 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
44844 fi
44845 if test "$wxUSE_LIBPNG" = "builtin" ; then
44846 wxconfig_3rdparty="png $wxconfig_3rdparty"
44847 fi
44848 if test "$wxUSE_ZLIB" = "builtin" ; then
44849 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
44850 fi
44851
44852 for i in $wxconfig_3rdparty ; do
44853 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
44854 done
44855
44856
44857 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
44858 WXUNIV=1
44859 else
44860 WXUNIV=0
44861 fi
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871 if test $wxUSE_MONOLITHIC = "yes" ; then
44872 MONOLITHIC=1
44873 else
44874 MONOLITHIC=0
44875 fi
44876
44877 if test $wxUSE_PLUGINS = "yes" ; then
44878 USE_PLUGINS=1
44879 else
44880 USE_PLUGINS=0
44881 fi
44882
44883 if test $wxUSE_ODBC != "no" ; then
44884 USE_ODBC=1
44885 else
44886 USE_ODBC=0
44887 fi
44888
44889 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44890 USE_QA=1
44891 else
44892 USE_QA=0
44893 fi
44894
44895 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
44896 OFFICIAL_BUILD=1
44897 else
44898 OFFICIAL_BUILD=0
44899 fi
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
44926
44927
44928
44929
44930
44931
44932
44933
44934 case "$TOOLKIT" in
44935 GTK)
44936 TOOLKIT_USER="GTK+"
44937 if test "$WXGTK20" = 1; then
44938 TOOLKIT_USER="$TOOLKIT_USER 2"
44939 fi
44940 ;;
44941
44942 *)
44943 TOOLKIT_USER=$TOOLKIT_LOWERCASE
44944 ;;
44945 esac
44946
44947 if test "$wxUSE_WINE" = "yes"; then
44948 BAKEFILE_FORCE_PLATFORM=win32
44949 fi
44950
44951 if test "$wxUSE_MAC" = 1 ; then
44952 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
44953 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
44954 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
44955 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
44956 bk_use_pch=no
44957 fi
44958 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
44959 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
44960 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
44961 fi
44962
44963
44964
44965
44966 if test "x$BAKEFILE_HOST" = "x"; then
44967 if test "x${host}" = "x" ; then
44968 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
44969 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
44970 { (exit 1); exit 1; }; }
44971 fi
44972
44973 BAKEFILE_HOST="${host}"
44974 fi
44975
44976 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
44977
44978 if test -n "$ac_tool_prefix"; then
44979 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
44980 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
44981 echo "$as_me:$LINENO: checking for $ac_word" >&5
44982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44983 if test "${ac_cv_prog_RANLIB+set}" = set; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44985 else
44986 if test -n "$RANLIB"; then
44987 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
44988 else
44989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44990 for as_dir in $PATH
44991 do
44992 IFS=$as_save_IFS
44993 test -z "$as_dir" && as_dir=.
44994 for ac_exec_ext in '' $ac_executable_extensions; do
44995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44996 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
44997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44998 break 2
44999 fi
45000 done
45001 done
45002
45003 fi
45004 fi
45005 RANLIB=$ac_cv_prog_RANLIB
45006 if test -n "$RANLIB"; then
45007 echo "$as_me:$LINENO: result: $RANLIB" >&5
45008 echo "${ECHO_T}$RANLIB" >&6
45009 else
45010 echo "$as_me:$LINENO: result: no" >&5
45011 echo "${ECHO_T}no" >&6
45012 fi
45013
45014 fi
45015 if test -z "$ac_cv_prog_RANLIB"; then
45016 ac_ct_RANLIB=$RANLIB
45017 # Extract the first word of "ranlib", so it can be a program name with args.
45018 set dummy ranlib; ac_word=$2
45019 echo "$as_me:$LINENO: checking for $ac_word" >&5
45020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45021 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45022 echo $ECHO_N "(cached) $ECHO_C" >&6
45023 else
45024 if test -n "$ac_ct_RANLIB"; then
45025 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45026 else
45027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45028 for as_dir in $PATH
45029 do
45030 IFS=$as_save_IFS
45031 test -z "$as_dir" && as_dir=.
45032 for ac_exec_ext in '' $ac_executable_extensions; do
45033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45034 ac_cv_prog_ac_ct_RANLIB="ranlib"
45035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45036 break 2
45037 fi
45038 done
45039 done
45040
45041 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45042 fi
45043 fi
45044 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45045 if test -n "$ac_ct_RANLIB"; then
45046 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45047 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45048 else
45049 echo "$as_me:$LINENO: result: no" >&5
45050 echo "${ECHO_T}no" >&6
45051 fi
45052
45053 RANLIB=$ac_ct_RANLIB
45054 else
45055 RANLIB="$ac_cv_prog_RANLIB"
45056 fi
45057
45058 # Find a good install program. We prefer a C program (faster),
45059 # so one script is as good as another. But avoid the broken or
45060 # incompatible versions:
45061 # SysV /etc/install, /usr/sbin/install
45062 # SunOS /usr/etc/install
45063 # IRIX /sbin/install
45064 # AIX /bin/install
45065 # AmigaOS /C/install, which installs bootblocks on floppy discs
45066 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45069 # OS/2's system install, which has a completely different semantic
45070 # ./install, which can be erroneously created by make from ./install.sh.
45071 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45072 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45073 if test -z "$INSTALL"; then
45074 if test "${ac_cv_path_install+set}" = set; then
45075 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 else
45077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45078 for as_dir in $PATH
45079 do
45080 IFS=$as_save_IFS
45081 test -z "$as_dir" && as_dir=.
45082 # Account for people who put trailing slashes in PATH elements.
45083 case $as_dir/ in
45084 ./ | .// | /cC/* | \
45085 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45086 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45087 /usr/ucb/* ) ;;
45088 *)
45089 # OSF1 and SCO ODT 3.0 have their own names for install.
45090 # Don't use installbsd from OSF since it installs stuff as root
45091 # by default.
45092 for ac_prog in ginstall scoinst install; do
45093 for ac_exec_ext in '' $ac_executable_extensions; do
45094 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45095 if test $ac_prog = install &&
45096 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45097 # AIX install. It has an incompatible calling convention.
45098 :
45099 elif test $ac_prog = install &&
45100 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45101 # program-specific install script used by HP pwplus--don't use.
45102 :
45103 else
45104 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45105 break 3
45106 fi
45107 fi
45108 done
45109 done
45110 ;;
45111 esac
45112 done
45113
45114
45115 fi
45116 if test "${ac_cv_path_install+set}" = set; then
45117 INSTALL=$ac_cv_path_install
45118 else
45119 # As a last resort, use the slow shell script. We don't cache a
45120 # path for INSTALL within a source directory, because that will
45121 # break other packages using the cache if that directory is
45122 # removed, or if the path is relative.
45123 INSTALL=$ac_install_sh
45124 fi
45125 fi
45126 echo "$as_me:$LINENO: result: $INSTALL" >&5
45127 echo "${ECHO_T}$INSTALL" >&6
45128
45129 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45130 # It thinks the first close brace ends the variable substitution.
45131 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45132
45133 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45134
45135 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45136
45137 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45138 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45139 LN_S=$as_ln_s
45140 if test "$LN_S" = "ln -s"; then
45141 echo "$as_me:$LINENO: result: yes" >&5
45142 echo "${ECHO_T}yes" >&6
45143 else
45144 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45145 echo "${ECHO_T}no, using $LN_S" >&6
45146 fi
45147
45148
45149 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45150 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45151 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45152 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 else
45155 cat >conftest.make <<\_ACEOF
45156 all:
45157 @echo 'ac_maketemp="$(MAKE)"'
45158 _ACEOF
45159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45160 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45161 if test -n "$ac_maketemp"; then
45162 eval ac_cv_prog_make_${ac_make}_set=yes
45163 else
45164 eval ac_cv_prog_make_${ac_make}_set=no
45165 fi
45166 rm -f conftest.make
45167 fi
45168 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45169 echo "$as_me:$LINENO: result: yes" >&5
45170 echo "${ECHO_T}yes" >&6
45171 SET_MAKE=
45172 else
45173 echo "$as_me:$LINENO: result: no" >&5
45174 echo "${ECHO_T}no" >&6
45175 SET_MAKE="MAKE=${MAKE-make}"
45176 fi
45177
45178
45179
45180 if test -n "$ac_tool_prefix"; then
45181 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45182 set dummy ${ac_tool_prefix}ar; ac_word=$2
45183 echo "$as_me:$LINENO: checking for $ac_word" >&5
45184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45185 if test "${ac_cv_prog_AR+set}" = set; then
45186 echo $ECHO_N "(cached) $ECHO_C" >&6
45187 else
45188 if test -n "$AR"; then
45189 ac_cv_prog_AR="$AR" # Let the user override the test.
45190 else
45191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45192 for as_dir in $PATH
45193 do
45194 IFS=$as_save_IFS
45195 test -z "$as_dir" && as_dir=.
45196 for ac_exec_ext in '' $ac_executable_extensions; do
45197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45198 ac_cv_prog_AR="${ac_tool_prefix}ar"
45199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45200 break 2
45201 fi
45202 done
45203 done
45204
45205 fi
45206 fi
45207 AR=$ac_cv_prog_AR
45208 if test -n "$AR"; then
45209 echo "$as_me:$LINENO: result: $AR" >&5
45210 echo "${ECHO_T}$AR" >&6
45211 else
45212 echo "$as_me:$LINENO: result: no" >&5
45213 echo "${ECHO_T}no" >&6
45214 fi
45215
45216 fi
45217 if test -z "$ac_cv_prog_AR"; then
45218 ac_ct_AR=$AR
45219 # Extract the first word of "ar", so it can be a program name with args.
45220 set dummy ar; ac_word=$2
45221 echo "$as_me:$LINENO: checking for $ac_word" >&5
45222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45223 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45224 echo $ECHO_N "(cached) $ECHO_C" >&6
45225 else
45226 if test -n "$ac_ct_AR"; then
45227 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45228 else
45229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45230 for as_dir in $PATH
45231 do
45232 IFS=$as_save_IFS
45233 test -z "$as_dir" && as_dir=.
45234 for ac_exec_ext in '' $ac_executable_extensions; do
45235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45236 ac_cv_prog_ac_ct_AR="ar"
45237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45238 break 2
45239 fi
45240 done
45241 done
45242
45243 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45244 fi
45245 fi
45246 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45247 if test -n "$ac_ct_AR"; then
45248 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45249 echo "${ECHO_T}$ac_ct_AR" >&6
45250 else
45251 echo "$as_me:$LINENO: result: no" >&5
45252 echo "${ECHO_T}no" >&6
45253 fi
45254
45255 AR=$ac_ct_AR
45256 else
45257 AR="$ac_cv_prog_AR"
45258 fi
45259
45260 if test -n "$ac_tool_prefix"; then
45261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45262 set dummy ${ac_tool_prefix}strip; ac_word=$2
45263 echo "$as_me:$LINENO: checking for $ac_word" >&5
45264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45265 if test "${ac_cv_prog_STRIP+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45267 else
45268 if test -n "$STRIP"; then
45269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45270 else
45271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45272 for as_dir in $PATH
45273 do
45274 IFS=$as_save_IFS
45275 test -z "$as_dir" && as_dir=.
45276 for ac_exec_ext in '' $ac_executable_extensions; do
45277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45280 break 2
45281 fi
45282 done
45283 done
45284
45285 fi
45286 fi
45287 STRIP=$ac_cv_prog_STRIP
45288 if test -n "$STRIP"; then
45289 echo "$as_me:$LINENO: result: $STRIP" >&5
45290 echo "${ECHO_T}$STRIP" >&6
45291 else
45292 echo "$as_me:$LINENO: result: no" >&5
45293 echo "${ECHO_T}no" >&6
45294 fi
45295
45296 fi
45297 if test -z "$ac_cv_prog_STRIP"; then
45298 ac_ct_STRIP=$STRIP
45299 # Extract the first word of "strip", so it can be a program name with args.
45300 set dummy strip; ac_word=$2
45301 echo "$as_me:$LINENO: checking for $ac_word" >&5
45302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45304 echo $ECHO_N "(cached) $ECHO_C" >&6
45305 else
45306 if test -n "$ac_ct_STRIP"; then
45307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45308 else
45309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45310 for as_dir in $PATH
45311 do
45312 IFS=$as_save_IFS
45313 test -z "$as_dir" && as_dir=.
45314 for ac_exec_ext in '' $ac_executable_extensions; do
45315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45316 ac_cv_prog_ac_ct_STRIP="strip"
45317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45318 break 2
45319 fi
45320 done
45321 done
45322
45323 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45324 fi
45325 fi
45326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45327 if test -n "$ac_ct_STRIP"; then
45328 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45329 echo "${ECHO_T}$ac_ct_STRIP" >&6
45330 else
45331 echo "$as_me:$LINENO: result: no" >&5
45332 echo "${ECHO_T}no" >&6
45333 fi
45334
45335 STRIP=$ac_ct_STRIP
45336 else
45337 STRIP="$ac_cv_prog_STRIP"
45338 fi
45339
45340 if test -n "$ac_tool_prefix"; then
45341 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45342 set dummy ${ac_tool_prefix}nm; ac_word=$2
45343 echo "$as_me:$LINENO: checking for $ac_word" >&5
45344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45345 if test "${ac_cv_prog_NM+set}" = set; then
45346 echo $ECHO_N "(cached) $ECHO_C" >&6
45347 else
45348 if test -n "$NM"; then
45349 ac_cv_prog_NM="$NM" # Let the user override the test.
45350 else
45351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45352 for as_dir in $PATH
45353 do
45354 IFS=$as_save_IFS
45355 test -z "$as_dir" && as_dir=.
45356 for ac_exec_ext in '' $ac_executable_extensions; do
45357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45358 ac_cv_prog_NM="${ac_tool_prefix}nm"
45359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45360 break 2
45361 fi
45362 done
45363 done
45364
45365 fi
45366 fi
45367 NM=$ac_cv_prog_NM
45368 if test -n "$NM"; then
45369 echo "$as_me:$LINENO: result: $NM" >&5
45370 echo "${ECHO_T}$NM" >&6
45371 else
45372 echo "$as_me:$LINENO: result: no" >&5
45373 echo "${ECHO_T}no" >&6
45374 fi
45375
45376 fi
45377 if test -z "$ac_cv_prog_NM"; then
45378 ac_ct_NM=$NM
45379 # Extract the first word of "nm", so it can be a program name with args.
45380 set dummy nm; ac_word=$2
45381 echo "$as_me:$LINENO: checking for $ac_word" >&5
45382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45383 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45384 echo $ECHO_N "(cached) $ECHO_C" >&6
45385 else
45386 if test -n "$ac_ct_NM"; then
45387 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45388 else
45389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45390 for as_dir in $PATH
45391 do
45392 IFS=$as_save_IFS
45393 test -z "$as_dir" && as_dir=.
45394 for ac_exec_ext in '' $ac_executable_extensions; do
45395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45396 ac_cv_prog_ac_ct_NM="nm"
45397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45398 break 2
45399 fi
45400 done
45401 done
45402
45403 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45404 fi
45405 fi
45406 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45407 if test -n "$ac_ct_NM"; then
45408 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45409 echo "${ECHO_T}$ac_ct_NM" >&6
45410 else
45411 echo "$as_me:$LINENO: result: no" >&5
45412 echo "${ECHO_T}no" >&6
45413 fi
45414
45415 NM=$ac_ct_NM
45416 else
45417 NM="$ac_cv_prog_NM"
45418 fi
45419
45420
45421 case ${BAKEFILE_HOST} in
45422 *-hp-hpux* )
45423 INSTALL_DIR="mkdir -p"
45424 ;;
45425 *) INSTALL_DIR="$INSTALL -d"
45426 ;;
45427 esac
45428
45429
45430 LDFLAGS_GUI=
45431 case ${BAKEFILE_HOST} in
45432 *-*-cygwin* | *-*-mingw32* )
45433 LDFLAGS_GUI="-mwindows"
45434 esac
45435
45436
45437 fi
45438
45439 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45440 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45441 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 else
45444
45445 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
45446 egrep -s GNU > /dev/null); then
45447 bakefile_cv_prog_makeisgnu="yes"
45448 else
45449 bakefile_cv_prog_makeisgnu="no"
45450 fi
45451
45452 fi
45453 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45454 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45455
45456 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45457 IF_GNU_MAKE=""
45458 else
45459 IF_GNU_MAKE="#"
45460 fi
45461
45462
45463
45464 PLATFORM_UNIX=0
45465 PLATFORM_WIN32=0
45466 PLATFORM_MSDOS=0
45467 PLATFORM_MAC=0
45468 PLATFORM_MACOS=0
45469 PLATFORM_MACOSX=0
45470 PLATFORM_OS2=0
45471 PLATFORM_BEOS=0
45472
45473 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45474 case "${BAKEFILE_HOST}" in
45475 *-*-mingw32* )
45476 PLATFORM_WIN32=1
45477 ;;
45478 *-pc-msdosdjgpp )
45479 PLATFORM_MSDOS=1
45480 ;;
45481 *-pc-os2_emx | *-pc-os2-emx )
45482 PLATFORM_OS2=1
45483 ;;
45484 *-*-darwin* )
45485 PLATFORM_MAC=1
45486 PLATFORM_MACOSX=1
45487 ;;
45488 *-*-beos* )
45489 PLATFORM_BEOS=1
45490 ;;
45491 powerpc-apple-macos* )
45492 PLATFORM_MAC=1
45493 PLATFORM_MACOS=1
45494 ;;
45495 * )
45496 PLATFORM_UNIX=1
45497 ;;
45498 esac
45499 else
45500 case "$BAKEFILE_FORCE_PLATFORM" in
45501 win32 )
45502 PLATFORM_WIN32=1
45503 ;;
45504 msdos )
45505 PLATFORM_MSDOS=1
45506 ;;
45507 os2 )
45508 PLATFORM_OS2=1
45509 ;;
45510 darwin )
45511 PLATFORM_MAC=1
45512 PLATFORM_MACOSX=1
45513 ;;
45514 unix )
45515 PLATFORM_UNIX=1
45516 ;;
45517 beos )
45518 PLATFORM_BEOS=1
45519 ;;
45520 * )
45521 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45522 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45523 { (exit 1); exit 1; }; }
45524 ;;
45525 esac
45526 fi
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538 # Check whether --enable-omf or --disable-omf was given.
45539 if test "${enable_omf+set}" = set; then
45540 enableval="$enable_omf"
45541 bk_os2_use_omf="$enableval"
45542 fi;
45543
45544 case "${BAKEFILE_HOST}" in
45545 *-*-darwin* )
45546 if test "x$GCC" = "xyes"; then
45547 CFLAGS="$CFLAGS -fno-common"
45548 CXXFLAGS="$CXXFLAGS -fno-common"
45549 fi
45550 if test "x$XLCC" = "xyes"; then
45551 CFLAGS="$CFLAGS -qnocommon"
45552 CXXFLAGS="$CXXFLAGS -qnocommon"
45553 fi
45554 ;;
45555
45556 *-pc-os2_emx | *-pc-os2-emx )
45557 if test "x$bk_os2_use_omf" = "xyes" ; then
45558 AR=emxomfar
45559 RANLIB=:
45560 LDFLAGS="-Zomf $LDFLAGS"
45561 CFLAGS="-Zomf $CFLAGS"
45562 CXXFLAGS="-Zomf $CXXFLAGS"
45563 OS2_LIBEXT="lib"
45564 else
45565 OS2_LIBEXT="a"
45566 fi
45567 ;;
45568
45569 i*86-*-beos* )
45570 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
45571 ;;
45572 esac
45573
45574
45575 SO_SUFFIX="so"
45576 SO_SUFFIX_MODULE="so"
45577 EXEEXT=""
45578 LIBPREFIX="lib"
45579 LIBEXT=".a"
45580 DLLPREFIX="lib"
45581 DLLPREFIX_MODULE=""
45582 DLLIMP_SUFFIX=""
45583 dlldir="$libdir"
45584
45585 case "${BAKEFILE_HOST}" in
45586 *-hp-hpux* )
45587 SO_SUFFIX="sl"
45588 SO_SUFFIX_MODULE="sl"
45589 ;;
45590 *-*-aix* )
45591 SO_SUFFIX="a"
45592 SO_SUFFIX_MODULE="a"
45593 ;;
45594 *-*-cygwin* )
45595 SO_SUFFIX="dll"
45596 SO_SUFFIX_MODULE="dll"
45597 DLLIMP_SUFFIX="dll.a"
45598 EXEEXT=".exe"
45599 DLLPREFIX="cyg"
45600 dlldir="$bindir"
45601 ;;
45602 *-*-mingw32* )
45603 SO_SUFFIX="dll"
45604 SO_SUFFIX_MODULE="dll"
45605 DLLIMP_SUFFIX="dll.a"
45606 EXEEXT=".exe"
45607 DLLPREFIX=""
45608 dlldir="$bindir"
45609 ;;
45610 *-pc-msdosdjgpp )
45611 EXEEXT=".exe"
45612 DLLPREFIX=""
45613 dlldir="$bindir"
45614 ;;
45615 *-pc-os2_emx | *-pc-os2-emx )
45616 SO_SUFFIX="dll"
45617 SO_SUFFIX_MODULE="dll"
45618 DLLIMP_SUFFIX=$OS2_LIBEXT
45619 EXEEXT=".exe"
45620 DLLPREFIX=""
45621 LIBPREFIX=""
45622 LIBEXT=".$OS2_LIBEXT"
45623 dlldir="$bindir"
45624 ;;
45625 *-*-darwin* )
45626 SO_SUFFIX="dylib"
45627 SO_SUFFIX_MODULE="bundle"
45628 ;;
45629 esac
45630
45631 if test "x$DLLIMP_SUFFIX" = "x" ; then
45632 DLLIMP_SUFFIX="$SO_SUFFIX"
45633 fi
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646 PIC_FLAG=""
45647 if test "x$GCC" = "xyes"; then
45648 PIC_FLAG="-fPIC"
45649 fi
45650
45651 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
45652 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
45653 WINDOWS_IMPLIB=0
45654
45655 case "${BAKEFILE_HOST}" in
45656 *-hp-hpux* )
45657 if test "x$GCC" != "xyes"; then
45658 LDFLAGS="$LDFLAGS -L/usr/lib"
45659
45660 SHARED_LD_CC="${CC} -b -o"
45661 SHARED_LD_CXX="${CXX} -b -o"
45662 PIC_FLAG="+Z"
45663 fi
45664 ;;
45665
45666 *-*-linux* )
45667 if test "x$GCC" != "xyes"; then
45668 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45669 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45670 if test "${bakefile_cv_prog_icc+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45673
45674 cat >conftest.$ac_ext <<_ACEOF
45675 /* confdefs.h. */
45676 _ACEOF
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45680
45681 int
45682 main ()
45683 {
45684
45685 #ifndef __INTEL_COMPILER
45686 This is not ICC
45687 #endif
45688
45689 ;
45690 return 0;
45691 }
45692 _ACEOF
45693 rm -f conftest.$ac_objext
45694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45695 (eval $ac_compile) 2>conftest.er1
45696 ac_status=$?
45697 grep -v '^ *+' conftest.er1 >conftest.err
45698 rm -f conftest.er1
45699 cat conftest.err >&5
45700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701 (exit $ac_status); } &&
45702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45704 (eval $ac_try) 2>&5
45705 ac_status=$?
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); }; } &&
45708 { ac_try='test -s conftest.$ac_objext'
45709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45710 (eval $ac_try) 2>&5
45711 ac_status=$?
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); }; }; then
45714 bakefile_cv_prog_icc=yes
45715 else
45716 echo "$as_me: failed program was:" >&5
45717 sed 's/^/| /' conftest.$ac_ext >&5
45718
45719 bakefile_cv_prog_icc=no
45720
45721 fi
45722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45723
45724 fi
45725 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
45726 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
45727 if test "$bakefile_cv_prog_icc" = "yes"; then
45728 PIC_FLAG="-KPIC"
45729 fi
45730 fi
45731 ;;
45732
45733 *-*-solaris2* )
45734 if test "x$GCC" != xyes ; then
45735 SHARED_LD_CC="${CC} -G -o"
45736 SHARED_LD_CXX="${CXX} -G -o"
45737 PIC_FLAG="-KPIC"
45738 fi
45739 ;;
45740
45741 *-*-darwin* )
45742
45743 D='$'
45744 cat <<EOF >shared-ld-sh
45745 #!/bin/sh
45746 #-----------------------------------------------------------------------------
45747 #-- Name: distrib/mac/shared-ld-sh
45748 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
45749 #-- Author: Gilles Depeyrot
45750 #-- Copyright: (c) 2002 Gilles Depeyrot
45751 #-- Licence: any use permitted
45752 #-----------------------------------------------------------------------------
45753
45754 verbose=0
45755 args=""
45756 objects=""
45757 linking_flag="-dynamiclib"
45758 ldargs="-r -keep_private_externs -nostdlib"
45759
45760 while test ${D}# -gt 0; do
45761 case ${D}1 in
45762
45763 -v)
45764 verbose=1
45765 ;;
45766
45767 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
45768 # collect these options and values
45769 args="${D}{args} ${D}1 ${D}2"
45770 shift
45771 ;;
45772
45773 -s|-Wl,*)
45774 # collect these load args
45775 ldargs="${D}{ldargs} ${D}1"
45776 ;;
45777
45778 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
45779 # collect these options
45780 args="${D}{args} ${D}1"
45781 ;;
45782
45783 -dynamiclib|-bundle)
45784 linking_flag="${D}1"
45785 ;;
45786
45787 -*)
45788 echo "shared-ld: unhandled option '${D}1'"
45789 exit 1
45790 ;;
45791
45792 *.o | *.a | *.dylib)
45793 # collect object files
45794 objects="${D}{objects} ${D}1"
45795 ;;
45796
45797 *)
45798 echo "shared-ld: unhandled argument '${D}1'"
45799 exit 1
45800 ;;
45801
45802 esac
45803 shift
45804 done
45805
45806 status=0
45807
45808 #
45809 # Link one module containing all the others
45810 #
45811 if test ${D}{verbose} = 1; then
45812 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
45813 fi
45814 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
45815 status=${D}?
45816
45817 #
45818 # Link the shared library from the single module created, but only if the
45819 # previous command didn't fail:
45820 #
45821 if test ${D}{status} = 0; then
45822 if test ${D}{verbose} = 1; then
45823 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
45824 fi
45825 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
45826 status=${D}?
45827 fi
45828
45829 #
45830 # Remove intermediate module
45831 #
45832 rm -f master.${D}${D}.o
45833
45834 exit ${D}status
45835 EOF
45836
45837 chmod +x shared-ld-sh
45838
45839 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
45840 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
45841
45842
45843 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
45844 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
45845 if test "${bakefile_cv_gcc31+set}" = set; then
45846 echo $ECHO_N "(cached) $ECHO_C" >&6
45847 else
45848
45849 cat >conftest.$ac_ext <<_ACEOF
45850 /* confdefs.h. */
45851 _ACEOF
45852 cat confdefs.h >>conftest.$ac_ext
45853 cat >>conftest.$ac_ext <<_ACEOF
45854 /* end confdefs.h. */
45855
45856 int
45857 main ()
45858 {
45859
45860 #if (__GNUC__ < 3) || \
45861 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
45862 This is old gcc
45863 #endif
45864
45865 ;
45866 return 0;
45867 }
45868 _ACEOF
45869 rm -f conftest.$ac_objext
45870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45871 (eval $ac_compile) 2>conftest.er1
45872 ac_status=$?
45873 grep -v '^ *+' conftest.er1 >conftest.err
45874 rm -f conftest.er1
45875 cat conftest.err >&5
45876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45877 (exit $ac_status); } &&
45878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45880 (eval $ac_try) 2>&5
45881 ac_status=$?
45882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45883 (exit $ac_status); }; } &&
45884 { ac_try='test -s conftest.$ac_objext'
45885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45886 (eval $ac_try) 2>&5
45887 ac_status=$?
45888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45889 (exit $ac_status); }; }; then
45890
45891 bakefile_cv_gcc31=yes
45892
45893 else
45894 echo "$as_me: failed program was:" >&5
45895 sed 's/^/| /' conftest.$ac_ext >&5
45896
45897
45898 bakefile_cv_gcc31=no
45899
45900
45901 fi
45902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45903
45904 fi
45905 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
45906 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
45907 if test "$bakefile_cv_gcc31" = "no"; then
45908 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
45909 SHARED_LD_CXX="$SHARED_LD_CC"
45910 else
45911 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
45912 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
45913 fi
45914
45915 if test "x$GCC" == "xyes"; then
45916 PIC_FLAG="-dynamic -fPIC"
45917 fi
45918 if test "x$XLCC" = "xyes"; then
45919 PIC_FLAG="-dynamic -DPIC"
45920 fi
45921 ;;
45922
45923 *-*-aix* )
45924 if test "x$GCC" = "xyes"; then
45925 PIC_FLAG=""
45926
45927 case "${BAKEFILE_HOST}" in
45928 *-*-aix5* )
45929 LD_EXPFULL="-Wl,-bexpfull"
45930 ;;
45931 esac
45932
45933 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
45934 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
45935 else
45936 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
45937 set dummy makeC++SharedLib; ac_word=$2
45938 echo "$as_me:$LINENO: checking for $ac_word" >&5
45939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45940 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
45941 echo $ECHO_N "(cached) $ECHO_C" >&6
45942 else
45943 if test -n "$AIX_CXX_LD"; then
45944 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
45945 else
45946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45947 for as_dir in $PATH
45948 do
45949 IFS=$as_save_IFS
45950 test -z "$as_dir" && as_dir=.
45951 for ac_exec_ext in '' $ac_executable_extensions; do
45952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45953 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
45954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45955 break 2
45956 fi
45957 done
45958 done
45959
45960 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
45961 fi
45962 fi
45963 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
45964 if test -n "$AIX_CXX_LD"; then
45965 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
45966 echo "${ECHO_T}$AIX_CXX_LD" >&6
45967 else
45968 echo "$as_me:$LINENO: result: no" >&5
45969 echo "${ECHO_T}no" >&6
45970 fi
45971
45972 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
45973 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
45974 fi
45975 ;;
45976
45977 *-*-beos* )
45978 SHARED_LD_CC="${LD} -nostart -o"
45979 SHARED_LD_CXX="${LD} -nostart -o"
45980 ;;
45981
45982 *-*-irix* )
45983 if test "x$GCC" != "xyes"; then
45984 PIC_FLAG="-KPIC"
45985 fi
45986 ;;
45987
45988 *-*-cygwin* | *-*-mingw32* )
45989 PIC_FLAG=""
45990 SHARED_LD_CC="\$(CC) -shared -o"
45991 SHARED_LD_CXX="\$(CXX) -shared -o"
45992 WINDOWS_IMPLIB=1
45993 ;;
45994
45995 *-pc-os2_emx | *-pc-os2-emx )
45996 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45997 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45998 PIC_FLAG=""
45999
46000 D='$'
46001 cat <<EOF >dllar.sh
46002 #!/bin/sh
46003 #
46004 # dllar - a tool to build both a .dll and an .a file
46005 # from a set of object (.o) files for EMX/OS2.
46006 #
46007 # Written by Andrew Zabolotny, bit@freya.etu.ru
46008 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46009 #
46010 # This script will accept a set of files on the command line.
46011 # All the public symbols from the .o files will be exported into
46012 # a .DEF file, then linker will be run (through gcc) against them to
46013 # build a shared library consisting of all given .o files. All libraries
46014 # (.a) will be first decompressed into component .o files then act as
46015 # described above. You can optionally give a description (-d "description")
46016 # which will be put into .DLL. To see the list of accepted options (as well
46017 # as command-line format) simply run this program without options. The .DLL
46018 # is built to be imported by name (there is no guarantee that new versions
46019 # of the library you build will have same ordinals for same symbols).
46020 #
46021 # dllar is free software; you can redistribute it and/or modify
46022 # it under the terms of the GNU General Public License as published by
46023 # the Free Software Foundation; either version 2, or (at your option)
46024 # any later version.
46025 #
46026 # dllar is distributed in the hope that it will be useful,
46027 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46028 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46029 # GNU General Public License for more details.
46030 #
46031 # You should have received a copy of the GNU General Public License
46032 # along with dllar; see the file COPYING. If not, write to the Free
46033 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46034 # 02111-1307, USA.
46035
46036 # To successfuly run this program you will need:
46037 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46038 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46039 # - gcc
46040 # (used to build the .dll)
46041 # - emxexp
46042 # (used to create .def file from .o files)
46043 # - emximp
46044 # (used to create .a file from .def file)
46045 # - GNU text utilites (cat, sort, uniq)
46046 # used to process emxexp output
46047 # - GNU file utilities (mv, rm)
46048 # - GNU sed
46049 # - lxlite (optional, see flag below)
46050 # (used for general .dll cleanup)
46051 #
46052
46053 flag_USE_LXLITE=1;
46054
46055 #
46056 # helper functions
46057 # basnam, variant of basename, which does _not_ remove the path, _iff_
46058 # second argument (suffix to remove) is given
46059 basnam(){
46060 case ${D}# in
46061 1)
46062 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46063 ;;
46064 2)
46065 echo ${D}1 | sed 's/'${D}2'${D}//'
46066 ;;
46067 *)
46068 echo "error in basnam ${D}*"
46069 exit 8
46070 ;;
46071 esac
46072 }
46073
46074 # Cleanup temporary files and output
46075 CleanUp() {
46076 cd ${D}curDir
46077 for i in ${D}inputFiles ; do
46078 case ${D}i in
46079 *!)
46080 rm -rf \`basnam ${D}i !\`
46081 ;;
46082 *)
46083 ;;
46084 esac
46085 done
46086
46087 # Kill result in case of failure as there is just to many stupid make/nmake
46088 # things out there which doesn't do this.
46089 if [ ${D}# -eq 0 ]; then
46090 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46091 fi
46092 }
46093
46094 # Print usage and exit script with rc=1.
46095 PrintHelp() {
46096 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46097 echo ' [-name-mangler-script script.sh]'
46098 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46099 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46100 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46101 echo ' [*.o] [*.a]'
46102 echo '*> "output_file" should have no extension.'
46103 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46104 echo ' The import library name is derived from this and is set to "name".a,'
46105 echo ' unless overridden by -import'
46106 echo '*> "importlib_name" should have no extension.'
46107 echo ' If it has the .o, or .a extension, it is automatically removed.'
46108 echo ' This name is used as the import library name and may be longer and'
46109 echo ' more descriptive than the DLL name which has to follow the old '
46110 echo ' 8.3 convention of FAT.'
46111 echo '*> "script.sh may be given to override the output_file name by a'
46112 echo ' different name. It is mainly useful if the regular make process'
46113 echo ' of some package does not take into account OS/2 restriction of'
46114 echo ' DLL name lengths. It takes the importlib name as input and is'
46115 echo ' supposed to procude a shorter name as output. The script should'
46116 echo ' expect to get importlib_name without extension and should produce'
46117 echo ' a (max.) 8 letter name without extension.'
46118 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46119 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46120 echo ' These flags will be put at the start of GCC command line.'
46121 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46122 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46123 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46124 echo ' If the last character of a symbol is "*", all symbols beginning'
46125 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46126 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46127 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46128 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46129 echo ' C runtime DLLs.'
46130 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46131 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46132 echo ' unchanged to GCC at the end of command line.'
46133 echo '*> If you create a DLL from a library and you do not specify -o,'
46134 echo ' the basename for DLL and import library will be set to library name,'
46135 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46136 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46137 echo ' library will be renamed into gcc_s.a.'
46138 echo '--------'
46139 echo 'Example:'
46140 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46141 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46142 CleanUp
46143 exit 1
46144 }
46145
46146 # Execute a command.
46147 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46148 # @Uses Whatever CleanUp() uses.
46149 doCommand() {
46150 echo "${D}*"
46151 eval ${D}*
46152 rcCmd=${D}?
46153
46154 if [ ${D}rcCmd -ne 0 ]; then
46155 echo "command failed, exit code="${D}rcCmd
46156 CleanUp
46157 exit ${D}rcCmd
46158 fi
46159 }
46160
46161 # main routine
46162 # setup globals
46163 cmdLine=${D}*
46164 outFile=""
46165 outimpFile=""
46166 inputFiles=""
46167 renameScript=""
46168 description=""
46169 CC=gcc.exe
46170 CFLAGS="-s -Zcrtdll"
46171 EXTRA_CFLAGS=""
46172 EXPORT_BY_ORDINALS=0
46173 exclude_symbols=""
46174 library_flags=""
46175 curDir=\`pwd\`
46176 curDirS=curDir
46177 case ${D}curDirS in
46178 */)
46179 ;;
46180 *)
46181 curDirS=${D}{curDirS}"/"
46182 ;;
46183 esac
46184 # Parse commandline
46185 libsToLink=0
46186 omfLinking=0
46187 while [ ${D}1 ]; do
46188 case ${D}1 in
46189 -ord*)
46190 EXPORT_BY_ORDINALS=1;
46191 ;;
46192 -o*)
46193 shift
46194 outFile=${D}1
46195 ;;
46196 -i*)
46197 shift
46198 outimpFile=${D}1
46199 ;;
46200 -name-mangler-script)
46201 shift
46202 renameScript=${D}1
46203 ;;
46204 -d*)
46205 shift
46206 description=${D}1
46207 ;;
46208 -f*)
46209 shift
46210 CFLAGS=${D}1
46211 ;;
46212 -c*)
46213 shift
46214 CC=${D}1
46215 ;;
46216 -h*)
46217 PrintHelp
46218 ;;
46219 -ex*)
46220 shift
46221 exclude_symbols=${D}{exclude_symbols}${D}1" "
46222 ;;
46223 -libf*)
46224 shift
46225 library_flags=${D}{library_flags}${D}1" "
46226 ;;
46227 -nocrt*)
46228 CFLAGS="-s"
46229 ;;
46230 -nolxl*)
46231 flag_USE_LXLITE=0
46232 ;;
46233 -* | /*)
46234 case ${D}1 in
46235 -L* | -l*)
46236 libsToLink=1
46237 ;;
46238 -Zomf)
46239 omfLinking=1
46240 ;;
46241 *)
46242 ;;
46243 esac
46244 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46245 ;;
46246 *.dll)
46247 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46248 if [ ${D}omfLinking -eq 1 ]; then
46249 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46250 else
46251 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46252 fi
46253 ;;
46254 *)
46255 found=0;
46256 if [ ${D}libsToLink -ne 0 ]; then
46257 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46258 else
46259 for file in ${D}1 ; do
46260 if [ -f ${D}file ]; then
46261 inputFiles="${D}{inputFiles} ${D}file"
46262 found=1
46263 fi
46264 done
46265 if [ ${D}found -eq 0 ]; then
46266 echo "ERROR: No file(s) found: "${D}1
46267 exit 8
46268 fi
46269 fi
46270 ;;
46271 esac
46272 shift
46273 done # iterate cmdline words
46274
46275 #
46276 if [ -z "${D}inputFiles" ]; then
46277 echo "dllar: no input files"
46278 PrintHelp
46279 fi
46280
46281 # Now extract all .o files from .a files
46282 newInputFiles=""
46283 for file in ${D}inputFiles ; do
46284 case ${D}file in
46285 *.a | *.lib)
46286 case ${D}file in
46287 *.a)
46288 suffix=".a"
46289 AR="ar"
46290 ;;
46291 *.lib)
46292 suffix=".lib"
46293 AR="emxomfar"
46294 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46295 ;;
46296 *)
46297 ;;
46298 esac
46299 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46300 mkdir ${D}dirname
46301 if [ ${D}? -ne 0 ]; then
46302 echo "Failed to create subdirectory ./${D}dirname"
46303 CleanUp
46304 exit 8;
46305 fi
46306 # Append '!' to indicate archive
46307 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46308 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46309 cd ${D}curDir
46310 found=0;
46311 for subfile in ${D}dirname/*.o* ; do
46312 if [ -f ${D}subfile ]; then
46313 found=1
46314 if [ -s ${D}subfile ]; then
46315 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46316 newInputFiles="${D}newInputFiles ${D}subfile"
46317 fi
46318 fi
46319 done
46320 if [ ${D}found -eq 0 ]; then
46321 echo "WARNING: there are no files in archive \\'${D}file\\'"
46322 fi
46323 ;;
46324 *)
46325 newInputFiles="${D}{newInputFiles} ${D}file"
46326 ;;
46327 esac
46328 done
46329 inputFiles="${D}newInputFiles"
46330
46331 # Output filename(s).
46332 do_backup=0;
46333 if [ -z ${D}outFile ]; then
46334 do_backup=1;
46335 set outFile ${D}inputFiles; outFile=${D}2
46336 fi
46337
46338 # If it is an archive, remove the '!' and the '_%' suffixes
46339 case ${D}outFile in
46340 *_%!)
46341 outFile=\`basnam ${D}outFile _%!\`
46342 ;;
46343 *)
46344 ;;
46345 esac
46346 case ${D}outFile in
46347 *.dll)
46348 outFile=\`basnam ${D}outFile .dll\`
46349 ;;
46350 *.DLL)
46351 outFile=\`basnam ${D}outFile .DLL\`
46352 ;;
46353 *.o)
46354 outFile=\`basnam ${D}outFile .o\`
46355 ;;
46356 *.obj)
46357 outFile=\`basnam ${D}outFile .obj\`
46358 ;;
46359 *.a)
46360 outFile=\`basnam ${D}outFile .a\`
46361 ;;
46362 *.lib)
46363 outFile=\`basnam ${D}outFile .lib\`
46364 ;;
46365 *)
46366 ;;
46367 esac
46368 case ${D}outimpFile in
46369 *.a)
46370 outimpFile=\`basnam ${D}outimpFile .a\`
46371 ;;
46372 *.lib)
46373 outimpFile=\`basnam ${D}outimpFile .lib\`
46374 ;;
46375 *)
46376 ;;
46377 esac
46378 if [ -z ${D}outimpFile ]; then
46379 outimpFile=${D}outFile
46380 fi
46381 defFile="${D}{outFile}.def"
46382 arcFile="${D}{outimpFile}.a"
46383 arcFile2="${D}{outimpFile}.lib"
46384
46385 #create ${D}dllFile as something matching 8.3 restrictions,
46386 if [ -z ${D}renameScript ] ; then
46387 dllFile="${D}outFile"
46388 else
46389 dllFile=\`${D}renameScript ${D}outimpFile\`
46390 fi
46391
46392 if [ ${D}do_backup -ne 0 ] ; then
46393 if [ -f ${D}arcFile ] ; then
46394 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46395 fi
46396 if [ -f ${D}arcFile2 ] ; then
46397 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46398 fi
46399 fi
46400
46401 # Extract public symbols from all the object files.
46402 tmpdefFile=${D}{defFile}_%
46403 rm -f ${D}tmpdefFile
46404 for file in ${D}inputFiles ; do
46405 case ${D}file in
46406 *!)
46407 ;;
46408 *)
46409 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46410 ;;
46411 esac
46412 done
46413
46414 # Create the def file.
46415 rm -f ${D}defFile
46416 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46417 dllFile="${D}{dllFile}.dll"
46418 if [ ! -z ${D}description ]; then
46419 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46420 fi
46421 echo "EXPORTS" >> ${D}defFile
46422
46423 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46424 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46425
46426 # Checks if the export is ok or not.
46427 for word in ${D}exclude_symbols; do
46428 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46429 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46430 done
46431
46432
46433 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46434 sed "=" < ${D}tmpdefFile | \\
46435 sed '
46436 N
46437 : loop
46438 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46439 t loop
46440 ' > ${D}{tmpdefFile}%
46441 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46442 else
46443 rm -f ${D}{tmpdefFile}%
46444 fi
46445 cat ${D}tmpdefFile >> ${D}defFile
46446 rm -f ${D}tmpdefFile
46447
46448 # Do linking, create implib, and apply lxlite.
46449 gccCmdl="";
46450 for file in ${D}inputFiles ; do
46451 case ${D}file in
46452 *!)
46453 ;;
46454 *)
46455 gccCmdl="${D}gccCmdl ${D}file"
46456 ;;
46457 esac
46458 done
46459 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46460 touch "${D}{outFile}.dll"
46461
46462 doCommand "emximp -o ${D}arcFile ${D}defFile"
46463 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46464 add_flags="";
46465 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46466 add_flags="-ynd"
46467 fi
46468 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46469 fi
46470 doCommand "emxomf -s -l ${D}arcFile"
46471
46472 # Successful exit.
46473 CleanUp 1
46474 exit 0
46475 EOF
46476
46477 chmod +x dllar.sh
46478 ;;
46479
46480 powerpc-apple-macos* | \
46481 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
46482 *-*-sunos4* | \
46483 *-*-osf* | \
46484 *-*-dgux5* | \
46485 *-*-sysv5* | \
46486 *-pc-msdosdjgpp )
46487 ;;
46488
46489 *)
46490 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46491 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46492 { (exit 1); exit 1; }; }
46493 esac
46494
46495 if test "x$PIC_FLAG" != "x" ; then
46496 PIC_FLAG="$PIC_FLAG -DPIC"
46497 fi
46498
46499 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46500 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
46501 fi
46502 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46503 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
46504 fi
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514 USE_SOVERSION=0
46515 USE_SOVERLINUX=0
46516 USE_SOVERSOLARIS=0
46517 USE_SOVERCYGWIN=0
46518 USE_SOSYMLINKS=0
46519 USE_MACVERSION=0
46520 SONAME_FLAG=
46521
46522 case "${BAKEFILE_HOST}" in
46523 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
46524 SONAME_FLAG="-Wl,-soname,"
46525 USE_SOVERSION=1
46526 USE_SOVERLINUX=1
46527 USE_SOSYMLINKS=1
46528 ;;
46529
46530 *-*-solaris2* )
46531 SONAME_FLAG="-h "
46532 USE_SOVERSION=1
46533 USE_SOVERSOLARIS=1
46534 USE_SOSYMLINKS=1
46535 ;;
46536
46537 *-*-darwin* )
46538 USE_MACVERSION=1
46539 USE_SOVERSION=1
46540 USE_SOSYMLINKS=1
46541 ;;
46542
46543 *-*-cygwin* )
46544 USE_SOVERSION=1
46545 USE_SOVERCYGWIN=1
46546 ;;
46547 esac
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
46559 if test "${enable_dependency_tracking+set}" = set; then
46560 enableval="$enable_dependency_tracking"
46561 bk_use_trackdeps="$enableval"
46562 fi;
46563
46564 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46565 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46566
46567 if test "x$bk_use_trackdeps" = "xno" ; then
46568 DEPS_TRACKING=0
46569 echo "$as_me:$LINENO: result: disabled" >&5
46570 echo "${ECHO_T}disabled" >&6
46571 else
46572 DEPS_TRACKING=1
46573
46574 if test "x$GCC" = "xyes"; then
46575 DEPSMODE=gcc
46576 case "${BAKEFILE_HOST}" in
46577 *-*-darwin* )
46578 DEPSFLAG="-no-cpp-precomp -MMD"
46579 ;;
46580 * )
46581 DEPSFLAG="-MMD"
46582 ;;
46583 esac
46584 echo "$as_me:$LINENO: result: gcc" >&5
46585 echo "${ECHO_T}gcc" >&6
46586 elif test "x$MWCC" = "xyes"; then
46587 DEPSMODE=mwcc
46588 DEPSFLAG="-MM"
46589 echo "$as_me:$LINENO: result: mwcc" >&5
46590 echo "${ECHO_T}mwcc" >&6
46591 elif test "x$SUNCC" = "xyes"; then
46592 DEPSMODE=unixcc
46593 DEPSFLAG="-xM1"
46594 echo "$as_me:$LINENO: result: Sun cc" >&5
46595 echo "${ECHO_T}Sun cc" >&6
46596 elif test "x$SGICC" = "xyes"; then
46597 DEPSMODE=unixcc
46598 DEPSFLAG="-M"
46599 echo "$as_me:$LINENO: result: SGI cc" >&5
46600 echo "${ECHO_T}SGI cc" >&6
46601 elif test "x$HPCC" = "xyes"; then
46602 DEPSMODE=unixcc
46603 DEPSFLAG="+make"
46604 echo "$as_me:$LINENO: result: HP cc" >&5
46605 echo "${ECHO_T}HP cc" >&6
46606 elif test "x$COMPAQCC" = "xyes"; then
46607 DEPSMODE=gcc
46608 DEPSFLAG="-MD"
46609 echo "$as_me:$LINENO: result: Compaq cc" >&5
46610 echo "${ECHO_T}Compaq cc" >&6
46611 else
46612 DEPS_TRACKING=0
46613 echo "$as_me:$LINENO: result: none" >&5
46614 echo "${ECHO_T}none" >&6
46615 fi
46616
46617 if test $DEPS_TRACKING = 1 ; then
46618
46619 D='$'
46620 cat <<EOF >bk-deps
46621 #!/bin/sh
46622
46623 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46624 # script. It is used to track C/C++ files dependencies in portable way.
46625 #
46626 # Permission is given to use this file in any way.
46627
46628 DEPSMODE=${DEPSMODE}
46629 DEPSDIR=.deps
46630 DEPSFLAG="${DEPSFLAG}"
46631
46632 mkdir -p ${D}DEPSDIR
46633
46634 if test ${D}DEPSMODE = gcc ; then
46635 ${D}* ${D}{DEPSFLAG}
46636 status=${D}?
46637 if test ${D}{status} != 0 ; then
46638 exit ${D}{status}
46639 fi
46640 # move created file to the location we want it in:
46641 while test ${D}# -gt 0; do
46642 case "${D}1" in
46643 -o )
46644 shift
46645 objfile=${D}1
46646 ;;
46647 -* )
46648 ;;
46649 * )
46650 srcfile=${D}1
46651 ;;
46652 esac
46653 shift
46654 done
46655 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46656 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46657 if test -f ${D}depfile ; then
46658 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46659 rm -f ${D}depfile
46660 else
46661 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46662 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46663 if test ! -f ${D}depfile ; then
46664 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46665 depfile="${D}objfile.d"
46666 fi
46667 if test -f ${D}depfile ; then
46668 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46669 rm -f ${D}depfile
46670 fi
46671 fi
46672 exit 0
46673 elif test ${D}DEPSMODE = mwcc ; then
46674 ${D}* || exit ${D}?
46675 # Run mwcc again with -MM and redirect into the dep file we want
46676 # NOTE: We can't use shift here because we need ${D}* to be valid
46677 prevarg=
46678 for arg in ${D}* ; do
46679 if test "${D}prevarg" = "-o"; then
46680 objfile=${D}arg
46681 else
46682 case "${D}arg" in
46683 -* )
46684 ;;
46685 * )
46686 srcfile=${D}arg
46687 ;;
46688 esac
46689 fi
46690 prevarg="${D}arg"
46691 done
46692 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46693 exit 0
46694 elif test ${D}DEPSMODE = unixcc; then
46695 ${D}* || exit ${D}?
46696 # Run compiler again with deps flag and redirect into the dep file.
46697 # It doesn't work if the '-o FILE' option is used, but without it the
46698 # dependency file will contain the wrong name for the object. So it is
46699 # removed from the command line, and the dep file is fixed with sed.
46700 cmd=""
46701 while test ${D}# -gt 0; do
46702 case "${D}1" in
46703 -o )
46704 shift
46705 objfile=${D}1
46706 ;;
46707 * )
46708 eval arg${D}#=\\${D}1
46709 cmd="${D}cmd \\${D}arg${D}#"
46710 ;;
46711 esac
46712 shift
46713 done
46714 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
46715 exit 0
46716 else
46717 ${D}*
46718 exit ${D}?
46719 fi
46720 EOF
46721
46722 chmod +x bk-deps
46723 fi
46724 fi
46725
46726
46727
46728
46729 case ${BAKEFILE_HOST} in
46730 *-*-cygwin* | *-*-mingw32* )
46731 if test -n "$ac_tool_prefix"; then
46732 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
46733 set dummy ${ac_tool_prefix}windres; ac_word=$2
46734 echo "$as_me:$LINENO: checking for $ac_word" >&5
46735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46736 if test "${ac_cv_prog_WINDRES+set}" = set; then
46737 echo $ECHO_N "(cached) $ECHO_C" >&6
46738 else
46739 if test -n "$WINDRES"; then
46740 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
46741 else
46742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46743 for as_dir in $PATH
46744 do
46745 IFS=$as_save_IFS
46746 test -z "$as_dir" && as_dir=.
46747 for ac_exec_ext in '' $ac_executable_extensions; do
46748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46749 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
46750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46751 break 2
46752 fi
46753 done
46754 done
46755
46756 fi
46757 fi
46758 WINDRES=$ac_cv_prog_WINDRES
46759 if test -n "$WINDRES"; then
46760 echo "$as_me:$LINENO: result: $WINDRES" >&5
46761 echo "${ECHO_T}$WINDRES" >&6
46762 else
46763 echo "$as_me:$LINENO: result: no" >&5
46764 echo "${ECHO_T}no" >&6
46765 fi
46766
46767 fi
46768 if test -z "$ac_cv_prog_WINDRES"; then
46769 ac_ct_WINDRES=$WINDRES
46770 # Extract the first word of "windres", so it can be a program name with args.
46771 set dummy windres; ac_word=$2
46772 echo "$as_me:$LINENO: checking for $ac_word" >&5
46773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46774 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
46775 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777 if test -n "$ac_ct_WINDRES"; then
46778 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
46779 else
46780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46781 for as_dir in $PATH
46782 do
46783 IFS=$as_save_IFS
46784 test -z "$as_dir" && as_dir=.
46785 for ac_exec_ext in '' $ac_executable_extensions; do
46786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46787 ac_cv_prog_ac_ct_WINDRES="windres"
46788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46789 break 2
46790 fi
46791 done
46792 done
46793
46794 fi
46795 fi
46796 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
46797 if test -n "$ac_ct_WINDRES"; then
46798 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
46799 echo "${ECHO_T}$ac_ct_WINDRES" >&6
46800 else
46801 echo "$as_me:$LINENO: result: no" >&5
46802 echo "${ECHO_T}no" >&6
46803 fi
46804
46805 WINDRES=$ac_ct_WINDRES
46806 else
46807 WINDRES="$ac_cv_prog_WINDRES"
46808 fi
46809
46810 ;;
46811
46812 *-*-darwin* | powerpc-apple-macos* )
46813 # Extract the first word of "Rez", so it can be a program name with args.
46814 set dummy Rez; ac_word=$2
46815 echo "$as_me:$LINENO: checking for $ac_word" >&5
46816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46817 if test "${ac_cv_prog_REZ+set}" = set; then
46818 echo $ECHO_N "(cached) $ECHO_C" >&6
46819 else
46820 if test -n "$REZ"; then
46821 ac_cv_prog_REZ="$REZ" # Let the user override the test.
46822 else
46823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46824 for as_dir in $PATH
46825 do
46826 IFS=$as_save_IFS
46827 test -z "$as_dir" && as_dir=.
46828 for ac_exec_ext in '' $ac_executable_extensions; do
46829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46830 ac_cv_prog_REZ="Rez"
46831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46832 break 2
46833 fi
46834 done
46835 done
46836
46837 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
46838 fi
46839 fi
46840 REZ=$ac_cv_prog_REZ
46841 if test -n "$REZ"; then
46842 echo "$as_me:$LINENO: result: $REZ" >&5
46843 echo "${ECHO_T}$REZ" >&6
46844 else
46845 echo "$as_me:$LINENO: result: no" >&5
46846 echo "${ECHO_T}no" >&6
46847 fi
46848
46849 # Extract the first word of "SetFile", so it can be a program name with args.
46850 set dummy SetFile; ac_word=$2
46851 echo "$as_me:$LINENO: checking for $ac_word" >&5
46852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46853 if test "${ac_cv_prog_SETFILE+set}" = set; then
46854 echo $ECHO_N "(cached) $ECHO_C" >&6
46855 else
46856 if test -n "$SETFILE"; then
46857 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
46858 else
46859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46860 for as_dir in $PATH
46861 do
46862 IFS=$as_save_IFS
46863 test -z "$as_dir" && as_dir=.
46864 for ac_exec_ext in '' $ac_executable_extensions; do
46865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46866 ac_cv_prog_SETFILE="SetFile"
46867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46868 break 2
46869 fi
46870 done
46871 done
46872
46873 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
46874 fi
46875 fi
46876 SETFILE=$ac_cv_prog_SETFILE
46877 if test -n "$SETFILE"; then
46878 echo "$as_me:$LINENO: result: $SETFILE" >&5
46879 echo "${ECHO_T}$SETFILE" >&6
46880 else
46881 echo "$as_me:$LINENO: result: no" >&5
46882 echo "${ECHO_T}no" >&6
46883 fi
46884
46885 ;;
46886 esac
46887
46888
46889
46890
46891
46892
46893 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
46894
46895
46896 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
46897
46898
46899
46900 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
46901 if test "${enable_precomp_headers+set}" = set; then
46902 enableval="$enable_precomp_headers"
46903 bk_use_pch="$enableval"
46904 fi;
46905
46906 GCC_PCH=0
46907 ICC_PCH=0
46908 USE_PCH=0
46909
46910 case ${BAKEFILE_HOST} in
46911 *-*-cygwin* )
46912 bk_use_pch="no"
46913 ;;
46914 esac
46915
46916 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
46917 if test "x$GCC" = "xyes"; then
46918 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
46919 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
46920 cat >conftest.$ac_ext <<_ACEOF
46921 /* confdefs.h. */
46922 _ACEOF
46923 cat confdefs.h >>conftest.$ac_ext
46924 cat >>conftest.$ac_ext <<_ACEOF
46925 /* end confdefs.h. */
46926
46927 int
46928 main ()
46929 {
46930
46931 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
46932 There is no PCH support
46933 #endif
46934 #if (__GNUC__ < 3)
46935 There is no PCH support
46936 #endif
46937 #if (__GNUC__ == 3) && \
46938 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
46939 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
46940 ( defined(__INTEL_COMPILER) )
46941 There is no PCH support
46942 #endif
46943
46944 ;
46945 return 0;
46946 }
46947 _ACEOF
46948 rm -f conftest.$ac_objext
46949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46950 (eval $ac_compile) 2>conftest.er1
46951 ac_status=$?
46952 grep -v '^ *+' conftest.er1 >conftest.err
46953 rm -f conftest.er1
46954 cat conftest.err >&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } &&
46957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46959 (eval $ac_try) 2>&5
46960 ac_status=$?
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); }; } &&
46963 { ac_try='test -s conftest.$ac_objext'
46964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965 (eval $ac_try) 2>&5
46966 ac_status=$?
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; }; then
46969
46970 echo "$as_me:$LINENO: result: yes" >&5
46971 echo "${ECHO_T}yes" >&6
46972 GCC_PCH=1
46973
46974 else
46975 echo "$as_me: failed program was:" >&5
46976 sed 's/^/| /' conftest.$ac_ext >&5
46977
46978
46979 cat >conftest.$ac_ext <<_ACEOF
46980 /* confdefs.h. */
46981 _ACEOF
46982 cat confdefs.h >>conftest.$ac_ext
46983 cat >>conftest.$ac_ext <<_ACEOF
46984 /* end confdefs.h. */
46985
46986 int
46987 main ()
46988 {
46989
46990 #if !defined(__INTEL_COMPILER) || \
46991 (__INTEL_COMPILER < 800)
46992 There is no PCH support
46993 #endif
46994
46995 ;
46996 return 0;
46997 }
46998 _ACEOF
46999 rm -f conftest.$ac_objext
47000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47001 (eval $ac_compile) 2>conftest.er1
47002 ac_status=$?
47003 grep -v '^ *+' conftest.er1 >conftest.err
47004 rm -f conftest.er1
47005 cat conftest.err >&5
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); } &&
47008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try='test -s conftest.$ac_objext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47017 ac_status=$?
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47020
47021 echo "$as_me:$LINENO: result: yes" >&5
47022 echo "${ECHO_T}yes" >&6
47023 ICC_PCH=1
47024
47025 else
47026 echo "$as_me: failed program was:" >&5
47027 sed 's/^/| /' conftest.$ac_ext >&5
47028
47029
47030 echo "$as_me:$LINENO: result: no" >&5
47031 echo "${ECHO_T}no" >&6
47032
47033 fi
47034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47035
47036 fi
47037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47038 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47039 USE_PCH=1
47040
47041 D='$'
47042 cat <<EOF >bk-make-pch
47043 #!/bin/sh
47044
47045 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47046 # script. It is used to generated precompiled headers.
47047 #
47048 # Permission is given to use this file in any way.
47049
47050 outfile="${D}{1}"
47051 header="${D}{2}"
47052 shift
47053 shift
47054
47055 compiler=""
47056 headerfile=""
47057
47058 while test ${D}{#} -gt 0; do
47059 add_to_cmdline=1
47060 case "${D}{1}" in
47061 -I* )
47062 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47063 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47064 headerfile="${D}{incdir}/${D}{header}"
47065 fi
47066 ;;
47067 -use-pch|-use_pch )
47068 shift
47069 add_to_cmdline=0
47070 ;;
47071 esac
47072 if test ${D}add_to_cmdline = 1 ; then
47073 compiler="${D}{compiler} ${D}{1}"
47074 fi
47075 shift
47076 done
47077
47078 if test "x${D}{headerfile}" = "x" ; then
47079 echo "error: can't find header ${D}{header} in include paths" >&2
47080 else
47081 if test -f ${D}{outfile} ; then
47082 rm -f ${D}{outfile}
47083 else
47084 mkdir -p \`dirname ${D}{outfile}\`
47085 fi
47086 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47087 mkdir -p .deps
47088 if test "x${GCC_PCH}" = "x1" ; then
47089 # can do this because gcc is >= 3.4:
47090 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47091 elif test "x${ICC_PCH}" = "x1" ; then
47092 filename=pch_gen-${D}${D}
47093 file=${D}{filename}.c
47094 dfile=${D}{filename}.d
47095 cat > ${D}file <<EOT
47096 #include "${D}header"
47097 EOT
47098 # using -MF icc complains about differing command lines in creation/use
47099 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47100 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47101 rm -f ${D}file ${D}dfile ${D}{filename}.o
47102 fi
47103 exit ${D}{?}
47104 fi
47105 EOF
47106
47107 chmod +x bk-make-pch
47108 fi
47109 fi
47110 fi
47111
47112
47113
47114
47115 COND_BUILD_DEBUG="#"
47116 if test "x$BUILD" = "xdebug" ; then
47117 COND_BUILD_DEBUG=""
47118 fi
47119
47120 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47121 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47122 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47123 fi
47124
47125 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47126 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47127 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47128 fi
47129
47130 COND_BUILD_DEBUG_UNICODE_0="#"
47131 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47132 COND_BUILD_DEBUG_UNICODE_0=""
47133 fi
47134
47135 COND_BUILD_DEBUG_UNICODE_1="#"
47136 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47137 COND_BUILD_DEBUG_UNICODE_1=""
47138 fi
47139
47140 COND_BUILD_RELEASE="#"
47141 if test "x$BUILD" = "xrelease" ; then
47142 COND_BUILD_RELEASE=""
47143 fi
47144
47145 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47146 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47147 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47148 fi
47149
47150 COND_BUILD_RELEASE_UNICODE_0="#"
47151 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47152 COND_BUILD_RELEASE_UNICODE_0=""
47153 fi
47154
47155 COND_BUILD_RELEASE_UNICODE_1="#"
47156 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47157 COND_BUILD_RELEASE_UNICODE_1=""
47158 fi
47159
47160 COND_DEBUG_FLAG_1="#"
47161 if test "x$DEBUG_FLAG" = "x1" ; then
47162 COND_DEBUG_FLAG_1=""
47163 fi
47164
47165 COND_DEBUG_INFO_0="#"
47166 if test "x$DEBUG_INFO" = "x0" ; then
47167 COND_DEBUG_INFO_0=""
47168 fi
47169
47170 COND_DEBUG_INFO_1="#"
47171 if test "x$DEBUG_INFO" = "x1" ; then
47172 COND_DEBUG_INFO_1=""
47173 fi
47174
47175 COND_DEPS_TRACKING_0="#"
47176 if test "x$DEPS_TRACKING" = "x0" ; then
47177 COND_DEPS_TRACKING_0=""
47178 fi
47179
47180 COND_DEPS_TRACKING_1="#"
47181 if test "x$DEPS_TRACKING" = "x1" ; then
47182 COND_DEPS_TRACKING_1=""
47183 fi
47184
47185 COND_GCC_PCH_1="#"
47186 if test "x$GCC_PCH" = "x1" ; then
47187 COND_GCC_PCH_1=""
47188 fi
47189
47190 COND_ICC_PCH_1="#"
47191 if test "x$ICC_PCH" = "x1" ; then
47192 COND_ICC_PCH_1=""
47193 fi
47194
47195 COND_MONOLITHIC_0="#"
47196 if test "x$MONOLITHIC" = "x0" ; then
47197 COND_MONOLITHIC_0=""
47198 fi
47199
47200 COND_MONOLITHIC_0_SHARED_0="#"
47201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47202 COND_MONOLITHIC_0_SHARED_0=""
47203 fi
47204
47205 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47208 fi
47209
47210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47213 fi
47214
47215 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47218 fi
47219
47220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47223 fi
47224
47225 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47228 fi
47229
47230 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47232 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47233 fi
47234
47235 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47237 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47238 fi
47239
47240 COND_MONOLITHIC_0_SHARED_1="#"
47241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47242 COND_MONOLITHIC_0_SHARED_1=""
47243 fi
47244
47245 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47247 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47248 fi
47249
47250 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47253 fi
47254
47255 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47258 fi
47259
47260 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47263 fi
47264
47265 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47268 fi
47269
47270 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47272 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47273 fi
47274
47275 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47277 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47278 fi
47279
47280 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47281 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47282 COND_MONOLITHIC_0_USE_MEDIA_1=""
47283 fi
47284
47285 COND_MONOLITHIC_0_USE_ODBC_1="#"
47286 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47287 COND_MONOLITHIC_0_USE_ODBC_1=""
47288 fi
47289
47290 COND_MONOLITHIC_1="#"
47291 if test "x$MONOLITHIC" = "x1" ; then
47292 COND_MONOLITHIC_1=""
47293 fi
47294
47295 COND_MONOLITHIC_1_SHARED_0="#"
47296 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47297 COND_MONOLITHIC_1_SHARED_0=""
47298 fi
47299
47300 COND_MONOLITHIC_1_SHARED_1="#"
47301 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47302 COND_MONOLITHIC_1_SHARED_1=""
47303 fi
47304
47305 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47306 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47307 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47308 fi
47309
47310 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47311 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47312 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47313 fi
47314
47315 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47316 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47317 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47318 fi
47319
47320 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47321 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47322 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47323 fi
47324
47325 COND_PLATFORM_MACOSX_1="#"
47326 if test "x$PLATFORM_MACOSX" = "x1" ; then
47327 COND_PLATFORM_MACOSX_1=""
47328 fi
47329
47330 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47331 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47332 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47333 fi
47334
47335 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47336 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47337 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47338 fi
47339
47340 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47341 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47342 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47343 fi
47344
47345 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47346 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47347 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47348 fi
47349
47350 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47351 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47352 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47353 fi
47354
47355 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47356 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47357 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47358 fi
47359
47360 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47361 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47362 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47363 fi
47364
47365 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47366 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47367 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47368 fi
47369
47370 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47371 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47372 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
47373 fi
47374
47375 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
47376 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47377 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
47378 fi
47379
47380 COND_PLATFORM_MACOS_1="#"
47381 if test "x$PLATFORM_MACOS" = "x1" ; then
47382 COND_PLATFORM_MACOS_1=""
47383 fi
47384
47385 COND_PLATFORM_MAC_1="#"
47386 if test "x$PLATFORM_MAC" = "x1" ; then
47387 COND_PLATFORM_MAC_1=""
47388 fi
47389
47390 COND_PLATFORM_MSDOS_0="#"
47391 if test "x$PLATFORM_MSDOS" = "x0" ; then
47392 COND_PLATFORM_MSDOS_0=""
47393 fi
47394
47395 COND_PLATFORM_MSDOS_1="#"
47396 if test "x$PLATFORM_MSDOS" = "x1" ; then
47397 COND_PLATFORM_MSDOS_1=""
47398 fi
47399
47400 COND_PLATFORM_OS2_1="#"
47401 if test "x$PLATFORM_OS2" = "x1" ; then
47402 COND_PLATFORM_OS2_1=""
47403 fi
47404
47405 COND_PLATFORM_UNIX_0="#"
47406 if test "x$PLATFORM_UNIX" = "x0" ; then
47407 COND_PLATFORM_UNIX_0=""
47408 fi
47409
47410 COND_PLATFORM_UNIX_1="#"
47411 if test "x$PLATFORM_UNIX" = "x1" ; then
47412 COND_PLATFORM_UNIX_1=""
47413 fi
47414
47415 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
47416 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47417 COND_PLATFORM_UNIX_1_USE_GUI_1=""
47418 fi
47419
47420 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
47421 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
47423 fi
47424
47425 COND_PLATFORM_WIN32_0="#"
47426 if test "x$PLATFORM_WIN32" = "x0" ; then
47427 COND_PLATFORM_WIN32_0=""
47428 fi
47429
47430 COND_PLATFORM_WIN32_1="#"
47431 if test "x$PLATFORM_WIN32" = "x1" ; then
47432 COND_PLATFORM_WIN32_1=""
47433 fi
47434
47435 COND_SHARED_0="#"
47436 if test "x$SHARED" = "x0" ; then
47437 COND_SHARED_0=""
47438 fi
47439
47440 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
47441 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47442 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
47443 fi
47444
47445 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
47446 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47447 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
47448 fi
47449
47450 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
47451 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47452 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
47453 fi
47454
47455 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
47456 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47457 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
47458 fi
47459
47460 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47461 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47462 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47463 fi
47464
47465 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47466 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47467 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47468 fi
47469
47470 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47471 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47472 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47473 fi
47474
47475 COND_SHARED_0_USE_XRC_1="#"
47476 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47477 COND_SHARED_0_USE_XRC_1=""
47478 fi
47479
47480 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
47481 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47482 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
47483 fi
47484
47485 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
47486 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47487 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
47488 fi
47489
47490 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
47491 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47492 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
47493 fi
47494
47495 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
47496 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47497 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
47498 fi
47499
47500 COND_SHARED_1="#"
47501 if test "x$SHARED" = "x1" ; then
47502 COND_SHARED_1=""
47503 fi
47504
47505 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
47506 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47507 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
47508 fi
47509
47510 COND_SHARED_1_USE_XRC_1="#"
47511 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47512 COND_SHARED_1_USE_XRC_1=""
47513 fi
47514
47515 COND_TOOLKIT_="#"
47516 if test "x$TOOLKIT" = "x" ; then
47517 COND_TOOLKIT_=""
47518 fi
47519
47520 COND_TOOLKIT_COCOA="#"
47521 if test "x$TOOLKIT" = "xCOCOA" ; then
47522 COND_TOOLKIT_COCOA=""
47523 fi
47524
47525 COND_TOOLKIT_COCOA_USE_GUI_1="#"
47526 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47527 COND_TOOLKIT_COCOA_USE_GUI_1=""
47528 fi
47529
47530 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
47531 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47532 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
47533 fi
47534
47535 COND_TOOLKIT_GTK="#"
47536 if test "x$TOOLKIT" = "xGTK" ; then
47537 COND_TOOLKIT_GTK=""
47538 fi
47539
47540 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
47541 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47542 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
47543 fi
47544
47545 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
47546 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47547 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
47548 fi
47549
47550 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
47551 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47552 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
47553 fi
47554
47555 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
47556 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47557 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
47558 fi
47559
47560 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
47561 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47562 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
47563 fi
47564
47565 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
47566 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47567 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
47568 fi
47569
47570 COND_TOOLKIT_GTK_USE_GUI_1="#"
47571 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47572 COND_TOOLKIT_GTK_USE_GUI_1=""
47573 fi
47574
47575 COND_TOOLKIT_MAC="#"
47576 if test "x$TOOLKIT" = "xMAC" ; then
47577 COND_TOOLKIT_MAC=""
47578 fi
47579
47580 COND_TOOLKIT_MAC_USE_GUI_1="#"
47581 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47582 COND_TOOLKIT_MAC_USE_GUI_1=""
47583 fi
47584
47585 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47586 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47587 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47588 fi
47589
47590 COND_TOOLKIT_MGL="#"
47591 if test "x$TOOLKIT" = "xMGL" ; then
47592 COND_TOOLKIT_MGL=""
47593 fi
47594
47595 COND_TOOLKIT_MGL_USE_GUI_1="#"
47596 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47597 COND_TOOLKIT_MGL_USE_GUI_1=""
47598 fi
47599
47600 COND_TOOLKIT_MOTIF="#"
47601 if test "x$TOOLKIT" = "xMOTIF" ; then
47602 COND_TOOLKIT_MOTIF=""
47603 fi
47604
47605 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
47606 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47607 COND_TOOLKIT_MOTIF_USE_GUI_1=""
47608 fi
47609
47610 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
47611 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47612 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
47613 fi
47614
47615 COND_TOOLKIT_MSW="#"
47616 if test "x$TOOLKIT" = "xMSW" ; then
47617 COND_TOOLKIT_MSW=""
47618 fi
47619
47620 COND_TOOLKIT_MSW_USE_GUI_1="#"
47621 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47622 COND_TOOLKIT_MSW_USE_GUI_1=""
47623 fi
47624
47625 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
47626 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47627 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
47628 fi
47629
47630 COND_TOOLKIT_MSW_WXUNIV_0="#"
47631 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47632 COND_TOOLKIT_MSW_WXUNIV_0=""
47633 fi
47634
47635 COND_TOOLKIT_PM="#"
47636 if test "x$TOOLKIT" = "xPM" ; then
47637 COND_TOOLKIT_PM=""
47638 fi
47639
47640 COND_TOOLKIT_PM_USE_GUI_1="#"
47641 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47642 COND_TOOLKIT_PM_USE_GUI_1=""
47643 fi
47644
47645 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
47646 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47647 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
47648 fi
47649
47650 COND_TOOLKIT_WINCE="#"
47651 if test "x$TOOLKIT" = "xWINCE" ; then
47652 COND_TOOLKIT_WINCE=""
47653 fi
47654
47655 COND_TOOLKIT_WINCE_USE_GUI_1="#"
47656 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47657 COND_TOOLKIT_WINCE_USE_GUI_1=""
47658 fi
47659
47660 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
47661 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47662 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
47663 fi
47664
47665 COND_TOOLKIT_WINCE_WXUNIV_0="#"
47666 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47667 COND_TOOLKIT_WINCE_WXUNIV_0=""
47668 fi
47669
47670 COND_TOOLKIT_X11="#"
47671 if test "x$TOOLKIT" = "xX11" ; then
47672 COND_TOOLKIT_X11=""
47673 fi
47674
47675 COND_TOOLKIT_X11_USE_GUI_1="#"
47676 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47677 COND_TOOLKIT_X11_USE_GUI_1=""
47678 fi
47679
47680 COND_UNICODE_1="#"
47681 if test "x$UNICODE" = "x1" ; then
47682 COND_UNICODE_1=""
47683 fi
47684
47685 COND_USE_EXCEPTIONS_0="#"
47686 if test "x$USE_EXCEPTIONS" = "x0" ; then
47687 COND_USE_EXCEPTIONS_0=""
47688 fi
47689
47690 COND_USE_EXCEPTIONS_1="#"
47691 if test "x$USE_EXCEPTIONS" = "x1" ; then
47692 COND_USE_EXCEPTIONS_1=""
47693 fi
47694
47695 COND_USE_GUI_0="#"
47696 if test "x$USE_GUI" = "x0" ; then
47697 COND_USE_GUI_0=""
47698 fi
47699
47700 COND_USE_GUI_1="#"
47701 if test "x$USE_GUI" = "x1" ; then
47702 COND_USE_GUI_1=""
47703 fi
47704
47705 COND_USE_GUI_1_WXUNIV_0="#"
47706 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47707 COND_USE_GUI_1_WXUNIV_0=""
47708 fi
47709
47710 COND_USE_GUI_1_WXUNIV_1="#"
47711 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47712 COND_USE_GUI_1_WXUNIV_1=""
47713 fi
47714
47715 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47716 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47717 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47718 fi
47719
47720 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47721 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47722 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47723 fi
47724
47725 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47726 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47727 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47728 fi
47729
47730 COND_USE_ODBC_1="#"
47731 if test "x$USE_ODBC" = "x1" ; then
47732 COND_USE_ODBC_1=""
47733 fi
47734
47735 COND_USE_OPENGL_1="#"
47736 if test "x$USE_OPENGL" = "x1" ; then
47737 COND_USE_OPENGL_1=""
47738 fi
47739
47740 COND_USE_PCH_1="#"
47741 if test "x$USE_PCH" = "x1" ; then
47742 COND_USE_PCH_1=""
47743 fi
47744
47745 COND_USE_PLUGINS_0="#"
47746 if test "x$USE_PLUGINS" = "x0" ; then
47747 COND_USE_PLUGINS_0=""
47748 fi
47749
47750 COND_USE_RTTI_0="#"
47751 if test "x$USE_RTTI" = "x0" ; then
47752 COND_USE_RTTI_0=""
47753 fi
47754
47755 COND_USE_RTTI_1="#"
47756 if test "x$USE_RTTI" = "x1" ; then
47757 COND_USE_RTTI_1=""
47758 fi
47759
47760 COND_USE_SOSYMLINKS_1="#"
47761 if test "x$USE_SOSYMLINKS" = "x1" ; then
47762 COND_USE_SOSYMLINKS_1=""
47763 fi
47764
47765 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
47766 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47767 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
47768 fi
47769
47770 COND_USE_SOVERLINUX_1="#"
47771 if test "x$USE_SOVERLINUX" = "x1" ; then
47772 COND_USE_SOVERLINUX_1=""
47773 fi
47774
47775 COND_USE_SOVERSION_0="#"
47776 if test "x$USE_SOVERSION" = "x0" ; then
47777 COND_USE_SOVERSION_0=""
47778 fi
47779
47780 COND_USE_SOVERSOLARIS_1="#"
47781 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47782 COND_USE_SOVERSOLARIS_1=""
47783 fi
47784
47785 COND_USE_THREADS_0="#"
47786 if test "x$USE_THREADS" = "x0" ; then
47787 COND_USE_THREADS_0=""
47788 fi
47789
47790 COND_USE_THREADS_1="#"
47791 if test "x$USE_THREADS" = "x1" ; then
47792 COND_USE_THREADS_1=""
47793 fi
47794
47795 COND_USE_XRC_1="#"
47796 if test "x$USE_XRC" = "x1" ; then
47797 COND_USE_XRC_1=""
47798 fi
47799
47800 COND_WINDOWS_IMPLIB_1="#"
47801 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47802 COND_WINDOWS_IMPLIB_1=""
47803 fi
47804
47805 COND_WITH_PLUGIN_SDL_1="#"
47806 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47807 COND_WITH_PLUGIN_SDL_1=""
47808 fi
47809
47810 COND_WXUNIV_0="#"
47811 if test "x$WXUNIV" = "x0" ; then
47812 COND_WXUNIV_0=""
47813 fi
47814
47815 COND_WXUNIV_1="#"
47816 if test "x$WXUNIV" = "x1" ; then
47817 COND_WXUNIV_1=""
47818 fi
47819
47820 COND_WXUSE_EXPAT_BUILTIN="#"
47821 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
47822 COND_WXUSE_EXPAT_BUILTIN=""
47823 fi
47824
47825 COND_WXUSE_LIBJPEG_BUILTIN="#"
47826 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47827 COND_WXUSE_LIBJPEG_BUILTIN=""
47828 fi
47829
47830 COND_WXUSE_LIBPNG_BUILTIN="#"
47831 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47832 COND_WXUSE_LIBPNG_BUILTIN=""
47833 fi
47834
47835 COND_WXUSE_LIBTIFF_BUILTIN="#"
47836 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47837 COND_WXUSE_LIBTIFF_BUILTIN=""
47838 fi
47839
47840 COND_WXUSE_ODBC_BUILTIN="#"
47841 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
47842 COND_WXUSE_ODBC_BUILTIN=""
47843 fi
47844
47845 COND_WXUSE_REGEX_BUILTIN="#"
47846 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
47847 COND_WXUSE_REGEX_BUILTIN=""
47848 fi
47849
47850 COND_WXUSE_ZLIB_BUILTIN="#"
47851 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
47852 COND_WXUSE_ZLIB_BUILTIN=""
47853 fi
47854
47855
47856
47857 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
47858 { { 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
47859 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;}
47860 { (exit 1); exit 1; }; }
47861 fi
47862
47863 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
47864 { { 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
47865 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;}
47866 { (exit 1); exit 1; }; }
47867 fi
47868
47869
47870
47871 if test "$wxUSE_MAC" = 1 ; then
47872 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
47873 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
47874 mv temp bk-deps
47875 chmod +x bk-deps
47876 fi
47877 fi
47878
47879 if test "$wxUSE_SHARED" = "yes"; then
47880
47881 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
47882 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
47883
47884 case "${host}" in
47885 *-pc-os2_emx | *-pc-os2-emx )
47886 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47887 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47888 cp -p ${srcdir}/src/os2/dllnames.sh .
47889 cp -p ${srcdir}/src/os2/dllar.sh .
47890 ;;
47891 esac
47892 else
47893
47894 EXE_LINKER="$CXX -o"
47895
47896 fi
47897 if test "$wxUSE_OMF" = "yes"; then
47898 case "${host}" in
47899 *-pc-os2_emx | *-pc-os2-emx )
47900 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
47901 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
47902 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
47903 ;;
47904 esac
47905 fi
47906
47907 if test $GCC_PCH = 1 ; then
47908 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
47909 fi
47910
47911 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
47912
47913 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47977 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47978 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47979 echo $ECHO_N "(cached) $ECHO_C" >&6
47980 else
47981 cat >conftest.make <<\_ACEOF
47982 all:
47983 @echo 'ac_maketemp="$(MAKE)"'
47984 _ACEOF
47985 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47986 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47987 if test -n "$ac_maketemp"; then
47988 eval ac_cv_prog_make_${ac_make}_set=yes
47989 else
47990 eval ac_cv_prog_make_${ac_make}_set=no
47991 fi
47992 rm -f conftest.make
47993 fi
47994 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47995 echo "$as_me:$LINENO: result: yes" >&5
47996 echo "${ECHO_T}yes" >&6
47997 SET_MAKE=
47998 else
47999 echo "$as_me:$LINENO: result: no" >&5
48000 echo "${ECHO_T}no" >&6
48001 SET_MAKE="MAKE=${MAKE-make}"
48002 fi
48003
48004
48005
48006 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48007
48008
48009 if test "$USE_WIN32" = 1; then
48010 ac_config_commands="$ac_config_commands
48011 rcdefs.h
48012 "
48013
48014 fi
48015
48016 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48017
48018
48019 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48020
48021
48022 ac_config_files="$ac_config_files version-script Makefile"
48023
48024
48025 ac_config_commands="$ac_config_commands wx-config"
48026
48027
48028
48029 if test "$wxWITH_SUBDIRS" != "no"; then
48030 if test "$wxUSE_GUI" = "yes"; then
48031 SUBDIRS="samples demos utils contrib"
48032 else SUBDIRS="samples utils"
48033 fi
48034
48035
48036
48037 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48038 if test "${with_cppunit_prefix+set}" = set; then
48039 withval="$with_cppunit_prefix"
48040 cppunit_config_prefix="$withval"
48041 else
48042 cppunit_config_prefix=""
48043 fi;
48044
48045 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48046 if test "${with_cppunit_exec_prefix+set}" = set; then
48047 withval="$with_cppunit_exec_prefix"
48048 cppunit_config_exec_prefix="$withval"
48049 else
48050 cppunit_config_exec_prefix=""
48051 fi;
48052
48053 if test x$cppunit_config_exec_prefix != x ; then
48054 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48055 if test x${CPPUNIT_CONFIG+set} != xset ; then
48056 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48057 fi
48058 fi
48059 if test x$cppunit_config_prefix != x ; then
48060 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48061 if test x${CPPUNIT_CONFIG+set} != xset ; then
48062 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48063 fi
48064 fi
48065
48066 # Extract the first word of "cppunit-config", so it can be a program name with args.
48067 set dummy cppunit-config; ac_word=$2
48068 echo "$as_me:$LINENO: checking for $ac_word" >&5
48069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48070 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48073 case $CPPUNIT_CONFIG in
48074 [\\/]* | ?:[\\/]*)
48075 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48076 ;;
48077 *)
48078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48079 for as_dir in $PATH
48080 do
48081 IFS=$as_save_IFS
48082 test -z "$as_dir" && as_dir=.
48083 for ac_exec_ext in '' $ac_executable_extensions; do
48084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48085 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48087 break 2
48088 fi
48089 done
48090 done
48091
48092 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48093 ;;
48094 esac
48095 fi
48096 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48097
48098 if test -n "$CPPUNIT_CONFIG"; then
48099 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48100 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48101 else
48102 echo "$as_me:$LINENO: result: no" >&5
48103 echo "${ECHO_T}no" >&6
48104 fi
48105
48106 cppunit_version_min=1.8.0
48107
48108 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48109 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48110 no_cppunit=""
48111 if test "$CPPUNIT_CONFIG" = "no" ; then
48112 no_cppunit=yes
48113 else
48114 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48115 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48116 cppunit_version=`$CPPUNIT_CONFIG --version`
48117
48118 cppunit_major_version=`echo $cppunit_version | \
48119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48120 cppunit_minor_version=`echo $cppunit_version | \
48121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48122 cppunit_micro_version=`echo $cppunit_version | \
48123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48124
48125 cppunit_major_min=`echo $cppunit_version_min | \
48126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48127 cppunit_minor_min=`echo $cppunit_version_min | \
48128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48129 cppunit_micro_min=`echo $cppunit_version_min | \
48130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48131
48132 cppunit_version_proper=`expr \
48133 $cppunit_major_version \> $cppunit_major_min \| \
48134 $cppunit_major_version \= $cppunit_major_min \& \
48135 $cppunit_minor_version \> $cppunit_minor_min \| \
48136 $cppunit_major_version \= $cppunit_major_min \& \
48137 $cppunit_minor_version \= $cppunit_minor_min \& \
48138 $cppunit_micro_version \>= $cppunit_micro_min `
48139
48140 if test "$cppunit_version_proper" = "1" ; then
48141 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48142 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48143 else
48144 echo "$as_me:$LINENO: result: no" >&5
48145 echo "${ECHO_T}no" >&6
48146 no_cppunit=yes
48147 fi
48148 fi
48149
48150 if test "x$no_cppunit" = x ; then
48151 SUBDIRS="$SUBDIRS tests"
48152 else
48153 CPPUNIT_CFLAGS=""
48154 CPPUNIT_LIBS=""
48155 :
48156 fi
48157
48158
48159
48160
48161
48162 for subdir in `echo $SUBDIRS`; do
48163 if test -d ${srcdir}/${subdir} ; then
48164 if test "$wxUSE_GUI" = "yes"; then
48165 if test ${subdir} = "samples"; then
48166 makefiles="samples/Makefile.in $makefiles"
48167 for sample in `echo $SAMPLES_SUBDIRS`; do
48168 if test -d $srcdir/samples/$sample; then
48169 makefiles="samples/$sample/Makefile.in $makefiles"
48170 fi
48171 done
48172 else
48173 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48174 eval "disabled=\$$disabled_var"
48175 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48176 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48177 fi
48178 else if test ${subdir} = "samples"; then
48179 makefiles="samples/Makefile.in samples/console/Makefile.in"
48180 elif test ${subdir} = "utils"; then
48181 makefiles=""
48182 for util in HelpGen tex2rtf ; do
48183 if test -d $srcdir/utils/$util ; then
48184 makefiles="utils/$util/Makefile.in \
48185 utils/$util/src/Makefile.in \
48186 $makefiles"
48187 fi
48188 done
48189 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48190 fi
48191 fi
48192
48193 for mkin in $makefiles ; do
48194 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48195 ac_config_files="$ac_config_files $mk"
48196
48197 done
48198 fi
48199 done
48200 fi
48201 cat >confcache <<\_ACEOF
48202 # This file is a shell script that caches the results of configure
48203 # tests run on this system so they can be shared between configure
48204 # scripts and configure runs, see configure's option --config-cache.
48205 # It is not useful on other systems. If it contains results you don't
48206 # want to keep, you may remove or edit it.
48207 #
48208 # config.status only pays attention to the cache file if you give it
48209 # the --recheck option to rerun configure.
48210 #
48211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48213 # following values.
48214
48215 _ACEOF
48216
48217 # The following way of writing the cache mishandles newlines in values,
48218 # but we know of no workaround that is simple, portable, and efficient.
48219 # So, don't put newlines in cache variables' values.
48220 # Ultrix sh set writes to stderr and can't be redirected directly,
48221 # and sets the high bit in the cache file unless we assign to the vars.
48222 {
48223 (set) 2>&1 |
48224 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48225 *ac_space=\ *)
48226 # `set' does not quote correctly, so add quotes (double-quote
48227 # substitution turns \\\\ into \\, and sed turns \\ into \).
48228 sed -n \
48229 "s/'/'\\\\''/g;
48230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48231 ;;
48232 *)
48233 # `set' quotes correctly as required by POSIX, so do not add quotes.
48234 sed -n \
48235 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48236 ;;
48237 esac;
48238 } |
48239 sed '
48240 t clear
48241 : clear
48242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48243 t end
48244 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48245 : end' >>confcache
48246 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48247 if test -w $cache_file; then
48248 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48249 cat confcache >$cache_file
48250 else
48251 echo "not updating unwritable cache $cache_file"
48252 fi
48253 fi
48254 rm -f confcache
48255
48256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48257 # Let make expand exec_prefix.
48258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48259
48260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48262 # trailing colons and then remove the whole line if VPATH becomes empty
48263 # (actually we leave an empty line to preserve line numbers).
48264 if test "x$srcdir" = x.; then
48265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48266 s/:*\$(srcdir):*/:/;
48267 s/:*\${srcdir}:*/:/;
48268 s/:*@srcdir@:*/:/;
48269 s/^\([^=]*=[ ]*\):*/\1/;
48270 s/:*$//;
48271 s/^[^=]*=[ ]*$//;
48272 }'
48273 fi
48274
48275 DEFS=-DHAVE_CONFIG_H
48276
48277 ac_libobjs=
48278 ac_ltlibobjs=
48279 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48280 # 1. Remove the extension, and $U if already installed.
48281 ac_i=`echo "$ac_i" |
48282 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48283 # 2. Add them.
48284 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48285 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48286 done
48287 LIBOBJS=$ac_libobjs
48288
48289 LTLIBOBJS=$ac_ltlibobjs
48290
48291
48292
48293 : ${CONFIG_STATUS=./config.status}
48294 ac_clean_files_save=$ac_clean_files
48295 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48297 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48298 cat >$CONFIG_STATUS <<_ACEOF
48299 #! $SHELL
48300 # Generated by $as_me.
48301 # Run this file to recreate the current configuration.
48302 # Compiler output produced by configure, useful for debugging
48303 # configure, is in config.log if it exists.
48304
48305 debug=false
48306 ac_cs_recheck=false
48307 ac_cs_silent=false
48308 SHELL=\${CONFIG_SHELL-$SHELL}
48309 _ACEOF
48310
48311 cat >>$CONFIG_STATUS <<\_ACEOF
48312 ## --------------------- ##
48313 ## M4sh Initialization. ##
48314 ## --------------------- ##
48315
48316 # Be Bourne compatible
48317 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48318 emulate sh
48319 NULLCMD=:
48320 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48321 # is contrary to our usage. Disable this feature.
48322 alias -g '${1+"$@"}'='"$@"'
48323 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
48324 set -o posix
48325 fi
48326 DUALCASE=1; export DUALCASE # for MKS sh
48327
48328 # Support unset when possible.
48329 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48330 as_unset=unset
48331 else
48332 as_unset=false
48333 fi
48334
48335
48336 # Work around bugs in pre-3.0 UWIN ksh.
48337 $as_unset ENV MAIL MAILPATH
48338 PS1='$ '
48339 PS2='> '
48340 PS4='+ '
48341
48342 # NLS nuisances.
48343 for as_var in \
48344 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48345 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48346 LC_TELEPHONE LC_TIME
48347 do
48348 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48349 eval $as_var=C; export $as_var
48350 else
48351 $as_unset $as_var
48352 fi
48353 done
48354
48355 # Required to use basename.
48356 if expr a : '\(a\)' >/dev/null 2>&1; then
48357 as_expr=expr
48358 else
48359 as_expr=false
48360 fi
48361
48362 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
48363 as_basename=basename
48364 else
48365 as_basename=false
48366 fi
48367
48368
48369 # Name of the executable.
48370 as_me=`$as_basename "$0" ||
48371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48372 X"$0" : 'X\(//\)$' \| \
48373 X"$0" : 'X\(/\)$' \| \
48374 . : '\(.\)' 2>/dev/null ||
48375 echo X/"$0" |
48376 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48377 /^X\/\(\/\/\)$/{ s//\1/; q; }
48378 /^X\/\(\/\).*/{ s//\1/; q; }
48379 s/.*/./; q'`
48380
48381
48382 # PATH needs CR, and LINENO needs CR and PATH.
48383 # Avoid depending upon Character Ranges.
48384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
48385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
48387 as_cr_digits='0123456789'
48388 as_cr_alnum=$as_cr_Letters$as_cr_digits
48389
48390 # The user is always right.
48391 if test "${PATH_SEPARATOR+set}" != set; then
48392 echo "#! /bin/sh" >conf$$.sh
48393 echo "exit 0" >>conf$$.sh
48394 chmod +x conf$$.sh
48395 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48396 PATH_SEPARATOR=';'
48397 else
48398 PATH_SEPARATOR=:
48399 fi
48400 rm -f conf$$.sh
48401 fi
48402
48403
48404 as_lineno_1=$LINENO
48405 as_lineno_2=$LINENO
48406 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48407 test "x$as_lineno_1" != "x$as_lineno_2" &&
48408 test "x$as_lineno_3" = "x$as_lineno_2" || {
48409 # Find who we are. Look in the path if we contain no path at all
48410 # relative or not.
48411 case $0 in
48412 *[\\/]* ) as_myself=$0 ;;
48413 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48414 for as_dir in $PATH
48415 do
48416 IFS=$as_save_IFS
48417 test -z "$as_dir" && as_dir=.
48418 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
48419 done
48420
48421 ;;
48422 esac
48423 # We did not find ourselves, most probably we were run as `sh COMMAND'
48424 # in which case we are not to be found in the path.
48425 if test "x$as_myself" = x; then
48426 as_myself=$0
48427 fi
48428 if test ! -f "$as_myself"; then
48429 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48430 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48431 { (exit 1); exit 1; }; }
48432 fi
48433 case $CONFIG_SHELL in
48434 '')
48435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48436 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
48437 do
48438 IFS=$as_save_IFS
48439 test -z "$as_dir" && as_dir=.
48440 for as_base in sh bash ksh sh5; do
48441 case $as_dir in
48442 /*)
48443 if ("$as_dir/$as_base" -c '
48444 as_lineno_1=$LINENO
48445 as_lineno_2=$LINENO
48446 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48447 test "x$as_lineno_1" != "x$as_lineno_2" &&
48448 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
48449 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
48450 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
48451 CONFIG_SHELL=$as_dir/$as_base
48452 export CONFIG_SHELL
48453 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48454 fi;;
48455 esac
48456 done
48457 done
48458 ;;
48459 esac
48460
48461 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48462 # uniformly replaced by the line number. The first 'sed' inserts a
48463 # line-number line before each line; the second 'sed' does the real
48464 # work. The second script uses 'N' to pair each line-number line
48465 # with the numbered line, and appends trailing '-' during
48466 # substitution so that $LINENO is not a special case at line end.
48467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48468 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48469 sed '=' <$as_myself |
48470 sed '
48471 N
48472 s,$,-,
48473 : loop
48474 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48475 t loop
48476 s,-$,,
48477 s,^['$as_cr_digits']*\n,,
48478 ' >$as_me.lineno &&
48479 chmod +x $as_me.lineno ||
48480 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48481 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48482 { (exit 1); exit 1; }; }
48483
48484 # Don't try to exec as it changes $[0], causing all sort of problems
48485 # (the dirname of $[0] is not the place where we might find the
48486 # original and so on. Autoconf is especially sensible to this).
48487 . ./$as_me.lineno
48488 # Exit status is that of the last command.
48489 exit
48490 }
48491
48492
48493 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48494 *c*,-n*) ECHO_N= ECHO_C='
48495 ' ECHO_T=' ' ;;
48496 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
48497 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
48498 esac
48499
48500 if expr a : '\(a\)' >/dev/null 2>&1; then
48501 as_expr=expr
48502 else
48503 as_expr=false
48504 fi
48505
48506 rm -f conf$$ conf$$.exe conf$$.file
48507 echo >conf$$.file
48508 if ln -s conf$$.file conf$$ 2>/dev/null; then
48509 # We could just check for DJGPP; but this test a) works b) is more generic
48510 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48511 if test -f conf$$.exe; then
48512 # Don't use ln at all; we don't have any links
48513 as_ln_s='cp -p'
48514 else
48515 as_ln_s='ln -s'
48516 fi
48517 elif ln conf$$.file conf$$ 2>/dev/null; then
48518 as_ln_s=ln
48519 else
48520 as_ln_s='cp -p'
48521 fi
48522 rm -f conf$$ conf$$.exe conf$$.file
48523
48524 if mkdir -p . 2>/dev/null; then
48525 as_mkdir_p=:
48526 else
48527 test -d ./-p && rmdir ./-p
48528 as_mkdir_p=false
48529 fi
48530
48531 as_executable_p="test -f"
48532
48533 # Sed expression to map a string onto a valid CPP name.
48534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48535
48536 # Sed expression to map a string onto a valid variable name.
48537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48538
48539
48540 # IFS
48541 # We need space, tab and new line, in precisely that order.
48542 as_nl='
48543 '
48544 IFS=" $as_nl"
48545
48546 # CDPATH.
48547 $as_unset CDPATH
48548
48549 exec 6>&1
48550
48551 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48552 # report actual input values of CONFIG_FILES etc. instead of their
48553 # values after options handling. Logging --version etc. is OK.
48554 exec 5>>config.log
48555 {
48556 echo
48557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48558 ## Running $as_me. ##
48559 _ASBOX
48560 } >&5
48561 cat >&5 <<_CSEOF
48562
48563 This file was extended by wxWidgets $as_me 2.7.0, which was
48564 generated by GNU Autoconf 2.59. Invocation command line was
48565
48566 CONFIG_FILES = $CONFIG_FILES
48567 CONFIG_HEADERS = $CONFIG_HEADERS
48568 CONFIG_LINKS = $CONFIG_LINKS
48569 CONFIG_COMMANDS = $CONFIG_COMMANDS
48570 $ $0 $@
48571
48572 _CSEOF
48573 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48574 echo >&5
48575 _ACEOF
48576
48577 # Files that config.status was made for.
48578 if test -n "$ac_config_files"; then
48579 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48580 fi
48581
48582 if test -n "$ac_config_headers"; then
48583 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48584 fi
48585
48586 if test -n "$ac_config_links"; then
48587 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48588 fi
48589
48590 if test -n "$ac_config_commands"; then
48591 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48592 fi
48593
48594 cat >>$CONFIG_STATUS <<\_ACEOF
48595
48596 ac_cs_usage="\
48597 \`$as_me' instantiates files from templates according to the
48598 current configuration.
48599
48600 Usage: $0 [OPTIONS] [FILE]...
48601
48602 -h, --help print this help, then exit
48603 -V, --version print version number, then exit
48604 -q, --quiet do not print progress messages
48605 -d, --debug don't remove temporary files
48606 --recheck update $as_me by reconfiguring in the same conditions
48607 --file=FILE[:TEMPLATE]
48608 instantiate the configuration file FILE
48609 --header=FILE[:TEMPLATE]
48610 instantiate the configuration header FILE
48611
48612 Configuration files:
48613 $config_files
48614
48615 Configuration headers:
48616 $config_headers
48617
48618 Configuration commands:
48619 $config_commands
48620
48621 Report bugs to <bug-autoconf@gnu.org>."
48622 _ACEOF
48623
48624 cat >>$CONFIG_STATUS <<_ACEOF
48625 ac_cs_version="\\
48626 wxWidgets config.status 2.7.0
48627 configured by $0, generated by GNU Autoconf 2.59,
48628 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48629
48630 Copyright (C) 2003 Free Software Foundation, Inc.
48631 This config.status script is free software; the Free Software Foundation
48632 gives unlimited permission to copy, distribute and modify it."
48633 srcdir=$srcdir
48634 INSTALL="$INSTALL"
48635 _ACEOF
48636
48637 cat >>$CONFIG_STATUS <<\_ACEOF
48638 # If no file are specified by the user, then we need to provide default
48639 # value. By we need to know if files were specified by the user.
48640 ac_need_defaults=:
48641 while test $# != 0
48642 do
48643 case $1 in
48644 --*=*)
48645 ac_option=`expr "x$1" : 'x\([^=]*\)='`
48646 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
48647 ac_shift=:
48648 ;;
48649 -*)
48650 ac_option=$1
48651 ac_optarg=$2
48652 ac_shift=shift
48653 ;;
48654 *) # This is not an option, so the user has probably given explicit
48655 # arguments.
48656 ac_option=$1
48657 ac_need_defaults=false;;
48658 esac
48659
48660 case $ac_option in
48661 # Handling of the options.
48662 _ACEOF
48663 cat >>$CONFIG_STATUS <<\_ACEOF
48664 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48665 ac_cs_recheck=: ;;
48666 --version | --vers* | -V )
48667 echo "$ac_cs_version"; exit 0 ;;
48668 --he | --h)
48669 # Conflict between --help and --header
48670 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48671 Try \`$0 --help' for more information." >&5
48672 echo "$as_me: error: ambiguous option: $1
48673 Try \`$0 --help' for more information." >&2;}
48674 { (exit 1); exit 1; }; };;
48675 --help | --hel | -h )
48676 echo "$ac_cs_usage"; exit 0 ;;
48677 --debug | --d* | -d )
48678 debug=: ;;
48679 --file | --fil | --fi | --f )
48680 $ac_shift
48681 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
48682 ac_need_defaults=false;;
48683 --header | --heade | --head | --hea )
48684 $ac_shift
48685 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
48686 ac_need_defaults=false;;
48687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48688 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48689 ac_cs_silent=: ;;
48690
48691 # This is an error.
48692 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48693 Try \`$0 --help' for more information." >&5
48694 echo "$as_me: error: unrecognized option: $1
48695 Try \`$0 --help' for more information." >&2;}
48696 { (exit 1); exit 1; }; } ;;
48697
48698 *) ac_config_targets="$ac_config_targets $1" ;;
48699
48700 esac
48701 shift
48702 done
48703
48704 ac_configure_extra_args=
48705
48706 if $ac_cs_silent; then
48707 exec 6>/dev/null
48708 ac_configure_extra_args="$ac_configure_extra_args --silent"
48709 fi
48710
48711 _ACEOF
48712 cat >>$CONFIG_STATUS <<_ACEOF
48713 if \$ac_cs_recheck; then
48714 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48715 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48716 fi
48717
48718 _ACEOF
48719
48720 cat >>$CONFIG_STATUS <<_ACEOF
48721 #
48722 # INIT-COMMANDS section.
48723 #
48724
48725
48726 CPP="$CPP"
48727 infile="$srcdir/include/wx/msw/genrcdefs.h"
48728 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48729
48730
48731 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48732 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48733 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48734 LN_S="${LN_S}"
48735
48736
48737 _ACEOF
48738
48739
48740
48741 cat >>$CONFIG_STATUS <<\_ACEOF
48742 for ac_config_target in $ac_config_targets
48743 do
48744 case "$ac_config_target" in
48745 # Handling of arguments.
48746 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48747 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48748 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
48749 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48750 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
48751 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
48752 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
48753 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48756 { (exit 1); exit 1; }; };;
48757 esac
48758 done
48759
48760 # If the user did not use the arguments to specify the items to instantiate,
48761 # then the envvar interface is used. Set only those that are not.
48762 # We use the long form for the default assignment because of an extremely
48763 # bizarre bug on SunOS 4.1.3.
48764 if $ac_need_defaults; then
48765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
48766 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
48767 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
48768 fi
48769
48770 # Have a temporary directory for convenience. Make it in the build tree
48771 # simply because there is no reason to put it here, and in addition,
48772 # creating and moving files from /tmp can sometimes cause problems.
48773 # Create a temporary directory, and hook for its removal unless debugging.
48774 $debug ||
48775 {
48776 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48777 trap '{ (exit 1); exit 1; }' 1 2 13 15
48778 }
48779
48780 # Create a (secure) tmp directory for tmp files.
48781
48782 {
48783 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48784 test -n "$tmp" && test -d "$tmp"
48785 } ||
48786 {
48787 tmp=./confstat$$-$RANDOM
48788 (umask 077 && mkdir $tmp)
48789 } ||
48790 {
48791 echo "$me: cannot create a temporary directory in ." >&2
48792 { (exit 1); exit 1; }
48793 }
48794
48795 _ACEOF
48796
48797 cat >>$CONFIG_STATUS <<_ACEOF
48798
48799 #
48800 # CONFIG_FILES section.
48801 #
48802
48803 # No need to generate the scripts if there are no CONFIG_FILES.
48804 # This happens for instance when ./config.status config.h
48805 if test -n "\$CONFIG_FILES"; then
48806 # Protect against being on the right side of a sed subst in config.status.
48807 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48808 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48809 s,@SHELL@,$SHELL,;t t
48810 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48811 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48812 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48813 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48814 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48815 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48816 s,@exec_prefix@,$exec_prefix,;t t
48817 s,@prefix@,$prefix,;t t
48818 s,@program_transform_name@,$program_transform_name,;t t
48819 s,@bindir@,$bindir,;t t
48820 s,@sbindir@,$sbindir,;t t
48821 s,@libexecdir@,$libexecdir,;t t
48822 s,@datadir@,$datadir,;t t
48823 s,@sysconfdir@,$sysconfdir,;t t
48824 s,@sharedstatedir@,$sharedstatedir,;t t
48825 s,@localstatedir@,$localstatedir,;t t
48826 s,@libdir@,$libdir,;t t
48827 s,@includedir@,$includedir,;t t
48828 s,@oldincludedir@,$oldincludedir,;t t
48829 s,@infodir@,$infodir,;t t
48830 s,@mandir@,$mandir,;t t
48831 s,@build_alias@,$build_alias,;t t
48832 s,@host_alias@,$host_alias,;t t
48833 s,@target_alias@,$target_alias,;t t
48834 s,@DEFS@,$DEFS,;t t
48835 s,@ECHO_C@,$ECHO_C,;t t
48836 s,@ECHO_N@,$ECHO_N,;t t
48837 s,@ECHO_T@,$ECHO_T,;t t
48838 s,@LIBS@,$LIBS,;t t
48839 s,@build@,$build,;t t
48840 s,@build_cpu@,$build_cpu,;t t
48841 s,@build_vendor@,$build_vendor,;t t
48842 s,@build_os@,$build_os,;t t
48843 s,@host@,$host,;t t
48844 s,@host_cpu@,$host_cpu,;t t
48845 s,@host_vendor@,$host_vendor,;t t
48846 s,@host_os@,$host_os,;t t
48847 s,@target@,$target,;t t
48848 s,@target_cpu@,$target_cpu,;t t
48849 s,@target_vendor@,$target_vendor,;t t
48850 s,@target_os@,$target_os,;t t
48851 s,@CC@,$CC,;t t
48852 s,@CFLAGS@,$CFLAGS,;t t
48853 s,@LDFLAGS@,$LDFLAGS,;t t
48854 s,@CPPFLAGS@,$CPPFLAGS,;t t
48855 s,@ac_ct_CC@,$ac_ct_CC,;t t
48856 s,@EXEEXT@,$EXEEXT,;t t
48857 s,@OBJEXT@,$OBJEXT,;t t
48858 s,@CPP@,$CPP,;t t
48859 s,@EGREP@,$EGREP,;t t
48860 s,@CXX@,$CXX,;t t
48861 s,@CXXFLAGS@,$CXXFLAGS,;t t
48862 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
48863 s,@RANLIB@,$RANLIB,;t t
48864 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
48865 s,@AR@,$AR,;t t
48866 s,@ac_ct_AR@,$ac_ct_AR,;t t
48867 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
48868 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
48869 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
48870 s,@STRIP@,$STRIP,;t t
48871 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
48872 s,@WINDRES@,$WINDRES,;t t
48873 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
48874 s,@DLLTOOL@,$DLLTOOL,;t t
48875 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
48876 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
48877 s,@LN_S@,$LN_S,;t t
48878 s,@CXXCPP@,$CXXCPP,;t t
48879 s,@subdirs@,$subdirs,;t t
48880 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
48881 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
48882 s,@GTK_LIBS@,$GTK_LIBS,;t t
48883 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
48884 s,@X_CFLAGS@,$X_CFLAGS,;t t
48885 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
48886 s,@X_LIBS@,$X_LIBS,;t t
48887 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
48888 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
48889 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
48890 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
48891 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
48892 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
48893 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
48894 s,@REZ@,$REZ,;t t
48895 s,@DEREZ@,$DEREZ,;t t
48896 s,@SETFILE@,$SETFILE,;t t
48897 s,@LIBICONV@,$LIBICONV,;t t
48898 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
48899 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
48900 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
48901 s,@SDL_LIBS@,$SDL_LIBS,;t t
48902 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
48903 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
48904 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
48905 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
48906 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
48907 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
48908 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
48909 s,@GST_LIBS@,$GST_LIBS,;t t
48910 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
48911 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
48912 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
48913 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
48914 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
48915 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
48916 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
48917 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
48918 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
48919 s,@VENDOR@,$VENDOR,;t t
48920 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
48921 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
48922 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
48923 s,@WXUNIV@,$WXUNIV,;t t
48924 s,@MONOLITHIC@,$MONOLITHIC,;t t
48925 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
48926 s,@EXTRALIBS@,$EXTRALIBS,;t t
48927 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
48928 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
48929 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
48930 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
48931 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
48932 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
48933 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
48934 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
48935 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
48936 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
48937 s,@UNICODE@,$UNICODE,;t t
48938 s,@BUILD@,$BUILD,;t t
48939 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
48940 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
48941 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
48942 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
48943 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
48944 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
48945 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
48946 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
48947 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
48948 s,@SET_MAKE@,$SET_MAKE,;t t
48949 s,@MAKE_SET@,$MAKE_SET,;t t
48950 s,@NM@,$NM,;t t
48951 s,@ac_ct_NM@,$ac_ct_NM,;t t
48952 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
48953 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
48954 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
48955 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
48956 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
48957 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
48958 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
48959 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
48960 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
48961 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
48962 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
48963 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
48964 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
48965 s,@LIBPREFIX@,$LIBPREFIX,;t t
48966 s,@LIBEXT@,$LIBEXT,;t t
48967 s,@DLLPREFIX@,$DLLPREFIX,;t t
48968 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
48969 s,@dlldir@,$dlldir,;t t
48970 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
48971 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
48972 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
48973 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
48974 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
48975 s,@PIC_FLAG@,$PIC_FLAG,;t t
48976 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
48977 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
48978 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
48979 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
48980 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
48981 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
48982 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
48983 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
48984 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
48985 s,@GCC_PCH@,$GCC_PCH,;t t
48986 s,@ICC_PCH@,$ICC_PCH,;t t
48987 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
48988 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
48989 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
48990 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
48991 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
48992 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
48993 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
48994 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
48995 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
48996 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
48997 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
48998 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
48999 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49000 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49001 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49002 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49003 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49004 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49005 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49006 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
49007 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
49008 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
49009 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
49010 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49011 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49012 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49013 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49014 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
49015 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
49016 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
49017 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
49018 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49019 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49020 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49021 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49022 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49023 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49024 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49025 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49026 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49027 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49028 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49029 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49030 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49031 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49032 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49033 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49034 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49035 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49036 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49037 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49038 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49039 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49040 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49041 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49042 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49043 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49044 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49045 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49046 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49047 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49048 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49049 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49050 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49051 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49052 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49053 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49054 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49055 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49056 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49057 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49058 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49059 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49060 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49061 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49062 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49063 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49064 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49065 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49066 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49067 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49068 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49069 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49070 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49071 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49072 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49073 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49074 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49075 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
49076 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49077 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49078 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49079 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49080 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49081 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49082 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49083 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49084 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49085 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49086 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49087 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49088 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49089 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49090 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49091 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49092 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49093 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49094 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49095 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49096 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49097 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49098 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49099 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49100 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49101 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49102 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49103 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49104 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49105 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49106 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49107 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49108 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49109 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49110 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49111 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49112 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49113 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49114 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49115 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49116 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49117 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49118 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49119 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49120 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49121 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49122 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49123 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49124 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49125 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49126 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49127 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49128 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49129 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49130 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49131 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49132 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49133 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49134 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49135 s,@SHARED@,$SHARED,;t t
49136 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49137 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49138 s,@USE_GUI@,$USE_GUI,;t t
49139 s,@AFMINSTALL@,$AFMINSTALL,;t t
49140 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49141 s,@TOOLKIT@,$TOOLKIT,;t t
49142 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49143 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49144 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49145 s,@cross_compiling@,$cross_compiling,;t t
49146 s,@WIDGET_SET@,$WIDGET_SET,;t t
49147 s,@WX_RELEASE@,$WX_RELEASE,;t t
49148 s,@WX_VERSION@,$WX_VERSION,;t t
49149 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49150 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49151 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49152 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49153 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49154 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49155 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49156 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49157 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49158 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49159 s,@EXE_LINKER@,$EXE_LINKER,;t t
49160 s,@GUIDIST@,$GUIDIST,;t t
49161 s,@DISTDIR@,$DISTDIR,;t t
49162 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49163 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49164 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49165 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49166 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49167 s,@RESCOMP@,$RESCOMP,;t t
49168 s,@RESFLAGS@,$RESFLAGS,;t t
49169 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49170 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49171 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49172 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49173 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49174 s,@MACSETFILE@,$MACSETFILE,;t t
49175 s,@GCC@,$GCC,;t t
49176 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49177 s,@LIBOBJS@,$LIBOBJS,;t t
49178 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49179 CEOF
49180
49181 _ACEOF
49182
49183 cat >>$CONFIG_STATUS <<\_ACEOF
49184 # Split the substitutions into bite-sized pieces for seds with
49185 # small command number limits, like on Digital OSF/1 and HP-UX.
49186 ac_max_sed_lines=48
49187 ac_sed_frag=1 # Number of current file.
49188 ac_beg=1 # First line for current file.
49189 ac_end=$ac_max_sed_lines # Line after last line for current file.
49190 ac_more_lines=:
49191 ac_sed_cmds=
49192 while $ac_more_lines; do
49193 if test $ac_beg -gt 1; then
49194 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49195 else
49196 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49197 fi
49198 if test ! -s $tmp/subs.frag; then
49199 ac_more_lines=false
49200 else
49201 # The purpose of the label and of the branching condition is to
49202 # speed up the sed processing (if there are no `@' at all, there
49203 # is no need to browse any of the substitutions).
49204 # These are the two extra sed commands mentioned above.
49205 (echo ':t
49206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49207 if test -z "$ac_sed_cmds"; then
49208 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49209 else
49210 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49211 fi
49212 ac_sed_frag=`expr $ac_sed_frag + 1`
49213 ac_beg=$ac_end
49214 ac_end=`expr $ac_end + $ac_max_sed_lines`
49215 fi
49216 done
49217 if test -z "$ac_sed_cmds"; then
49218 ac_sed_cmds=cat
49219 fi
49220 fi # test -n "$CONFIG_FILES"
49221
49222 _ACEOF
49223 cat >>$CONFIG_STATUS <<\_ACEOF
49224 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49225 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49226 case $ac_file in
49227 - | *:- | *:-:* ) # input from stdin
49228 cat >$tmp/stdin
49229 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49230 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49231 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49232 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49233 * ) ac_file_in=$ac_file.in ;;
49234 esac
49235
49236 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49237 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49239 X"$ac_file" : 'X\(//\)[^/]' \| \
49240 X"$ac_file" : 'X\(//\)$' \| \
49241 X"$ac_file" : 'X\(/\)' \| \
49242 . : '\(.\)' 2>/dev/null ||
49243 echo X"$ac_file" |
49244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49246 /^X\(\/\/\)$/{ s//\1/; q; }
49247 /^X\(\/\).*/{ s//\1/; q; }
49248 s/.*/./; q'`
49249 { if $as_mkdir_p; then
49250 mkdir -p "$ac_dir"
49251 else
49252 as_dir="$ac_dir"
49253 as_dirs=
49254 while test ! -d "$as_dir"; do
49255 as_dirs="$as_dir $as_dirs"
49256 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49258 X"$as_dir" : 'X\(//\)[^/]' \| \
49259 X"$as_dir" : 'X\(//\)$' \| \
49260 X"$as_dir" : 'X\(/\)' \| \
49261 . : '\(.\)' 2>/dev/null ||
49262 echo X"$as_dir" |
49263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49265 /^X\(\/\/\)$/{ s//\1/; q; }
49266 /^X\(\/\).*/{ s//\1/; q; }
49267 s/.*/./; q'`
49268 done
49269 test ! -n "$as_dirs" || mkdir $as_dirs
49270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49272 { (exit 1); exit 1; }; }; }
49273
49274 ac_builddir=.
49275
49276 if test "$ac_dir" != .; then
49277 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49278 # A "../" for each directory in $ac_dir_suffix.
49279 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49280 else
49281 ac_dir_suffix= ac_top_builddir=
49282 fi
49283
49284 case $srcdir in
49285 .) # No --srcdir option. We are building in place.
49286 ac_srcdir=.
49287 if test -z "$ac_top_builddir"; then
49288 ac_top_srcdir=.
49289 else
49290 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49291 fi ;;
49292 [\\/]* | ?:[\\/]* ) # Absolute path.
49293 ac_srcdir=$srcdir$ac_dir_suffix;
49294 ac_top_srcdir=$srcdir ;;
49295 *) # Relative path.
49296 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49297 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49298 esac
49299
49300 # Do not use `cd foo && pwd` to compute absolute paths, because
49301 # the directories may not exist.
49302 case `pwd` in
49303 .) ac_abs_builddir="$ac_dir";;
49304 *)
49305 case "$ac_dir" in
49306 .) ac_abs_builddir=`pwd`;;
49307 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49308 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49309 esac;;
49310 esac
49311 case $ac_abs_builddir in
49312 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49313 *)
49314 case ${ac_top_builddir}. in
49315 .) ac_abs_top_builddir=$ac_abs_builddir;;
49316 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49317 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49318 esac;;
49319 esac
49320 case $ac_abs_builddir in
49321 .) ac_abs_srcdir=$ac_srcdir;;
49322 *)
49323 case $ac_srcdir in
49324 .) ac_abs_srcdir=$ac_abs_builddir;;
49325 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49326 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49327 esac;;
49328 esac
49329 case $ac_abs_builddir in
49330 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49331 *)
49332 case $ac_top_srcdir in
49333 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49334 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49335 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49336 esac;;
49337 esac
49338
49339
49340 case $INSTALL in
49341 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49342 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
49343 esac
49344
49345 # Let's still pretend it is `configure' which instantiates (i.e., don't
49346 # use $as_me), people would be surprised to read:
49347 # /* config.h. Generated by config.status. */
49348 if test x"$ac_file" = x-; then
49349 configure_input=
49350 else
49351 configure_input="$ac_file. "
49352 fi
49353 configure_input=$configure_input"Generated from `echo $ac_file_in |
49354 sed 's,.*/,,'` by configure."
49355
49356 # First look for the input files in the build tree, otherwise in the
49357 # src tree.
49358 ac_file_inputs=`IFS=:
49359 for f in $ac_file_in; do
49360 case $f in
49361 -) echo $tmp/stdin ;;
49362 [\\/$]*)
49363 # Absolute (can't be DOS-style, as IFS=:)
49364 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49365 echo "$as_me: error: cannot find input file: $f" >&2;}
49366 { (exit 1); exit 1; }; }
49367 echo "$f";;
49368 *) # Relative
49369 if test -f "$f"; then
49370 # Build tree
49371 echo "$f"
49372 elif test -f "$srcdir/$f"; then
49373 # Source tree
49374 echo "$srcdir/$f"
49375 else
49376 # /dev/null tree
49377 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49378 echo "$as_me: error: cannot find input file: $f" >&2;}
49379 { (exit 1); exit 1; }; }
49380 fi;;
49381 esac
49382 done` || { (exit 1); exit 1; }
49383
49384 if test x"$ac_file" != x-; then
49385 { echo "$as_me:$LINENO: creating $ac_file" >&5
49386 echo "$as_me: creating $ac_file" >&6;}
49387 rm -f "$ac_file"
49388 fi
49389 _ACEOF
49390 cat >>$CONFIG_STATUS <<_ACEOF
49391 sed "$ac_vpsub
49392 $extrasub
49393 _ACEOF
49394 cat >>$CONFIG_STATUS <<\_ACEOF
49395 :t
49396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49397 s,@configure_input@,$configure_input,;t t
49398 s,@srcdir@,$ac_srcdir,;t t
49399 s,@abs_srcdir@,$ac_abs_srcdir,;t t
49400 s,@top_srcdir@,$ac_top_srcdir,;t t
49401 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
49402 s,@builddir@,$ac_builddir,;t t
49403 s,@abs_builddir@,$ac_abs_builddir,;t t
49404 s,@top_builddir@,$ac_top_builddir,;t t
49405 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
49406 s,@INSTALL@,$ac_INSTALL,;t t
49407 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49408 rm -f $tmp/stdin
49409 if test x"$ac_file" != x-; then
49410 mv $tmp/out $ac_file
49411 else
49412 cat $tmp/out
49413 rm -f $tmp/out
49414 fi
49415
49416 # Run the commands associated with the file.
49417 case $ac_file in
49418 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49419 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49420 esac
49421 done
49422 _ACEOF
49423 cat >>$CONFIG_STATUS <<\_ACEOF
49424
49425 #
49426 # CONFIG_HEADER section.
49427 #
49428
49429 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
49430 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49431 #
49432 # ac_d sets the value in "#define NAME VALUE" lines.
49433 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49434 ac_dB='[ ].*$,\1#\2'
49435 ac_dC=' '
49436 ac_dD=',;t'
49437 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49438 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49439 ac_uB='$,\1#\2define\3'
49440 ac_uC=' '
49441 ac_uD=',;t'
49442
49443 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
49444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49445 case $ac_file in
49446 - | *:- | *:-:* ) # input from stdin
49447 cat >$tmp/stdin
49448 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49450 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49452 * ) ac_file_in=$ac_file.in ;;
49453 esac
49454
49455 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49456 echo "$as_me: creating $ac_file" >&6;}
49457
49458 # First look for the input files in the build tree, otherwise in the
49459 # src tree.
49460 ac_file_inputs=`IFS=:
49461 for f in $ac_file_in; do
49462 case $f in
49463 -) echo $tmp/stdin ;;
49464 [\\/$]*)
49465 # Absolute (can't be DOS-style, as IFS=:)
49466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49467 echo "$as_me: error: cannot find input file: $f" >&2;}
49468 { (exit 1); exit 1; }; }
49469 # Do quote $f, to prevent DOS paths from being IFS'd.
49470 echo "$f";;
49471 *) # Relative
49472 if test -f "$f"; then
49473 # Build tree
49474 echo "$f"
49475 elif test -f "$srcdir/$f"; then
49476 # Source tree
49477 echo "$srcdir/$f"
49478 else
49479 # /dev/null tree
49480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49481 echo "$as_me: error: cannot find input file: $f" >&2;}
49482 { (exit 1); exit 1; }; }
49483 fi;;
49484 esac
49485 done` || { (exit 1); exit 1; }
49486 # Remove the trailing spaces.
49487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49488
49489 _ACEOF
49490
49491 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49492 # `conftest.undefs', that substitutes the proper values into
49493 # config.h.in to produce config.h. The first handles `#define'
49494 # templates, and the second `#undef' templates.
49495 # And first: Protect against being on the right side of a sed subst in
49496 # config.status. Protect against being in an unquoted here document
49497 # in config.status.
49498 rm -f conftest.defines conftest.undefs
49499 # Using a here document instead of a string reduces the quoting nightmare.
49500 # Putting comments in sed scripts is not portable.
49501 #
49502 # `end' is used to avoid that the second main sed command (meant for
49503 # 0-ary CPP macros) applies to n-ary macro definitions.
49504 # See the Autoconf documentation for `clear'.
49505 cat >confdef2sed.sed <<\_ACEOF
49506 s/[\\&,]/\\&/g
49507 s,[\\$`],\\&,g
49508 t clear
49509 : clear
49510 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49511 t end
49512 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49513 : end
49514 _ACEOF
49515 # If some macros were called several times there might be several times
49516 # the same #defines, which is useless. Nevertheless, we may not want to
49517 # sort them, since we want the *last* AC-DEFINE to be honored.
49518 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49519 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49520 rm -f confdef2sed.sed
49521
49522 # This sed command replaces #undef with comments. This is necessary, for
49523 # example, in the case of _POSIX_SOURCE, which is predefined and required
49524 # on some systems where configure will not decide to define it.
49525 cat >>conftest.undefs <<\_ACEOF
49526 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49527 _ACEOF
49528
49529 # Break up conftest.defines because some shells have a limit on the size
49530 # of here documents, and old seds have small limits too (100 cmds).
49531 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49532 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49533 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49534 echo ' :' >>$CONFIG_STATUS
49535 rm -f conftest.tail
49536 while grep . conftest.defines >/dev/null
49537 do
49538 # Write a limited-size here document to $tmp/defines.sed.
49539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49540 # Speed up: don't consider the non `#define' lines.
49541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49542 # Work around the forget-to-reset-the-flag bug.
49543 echo 't clr' >>$CONFIG_STATUS
49544 echo ': clr' >>$CONFIG_STATUS
49545 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
49546 echo 'CEOF
49547 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49548 rm -f $tmp/in
49549 mv $tmp/out $tmp/in
49550 ' >>$CONFIG_STATUS
49551 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
49552 rm -f conftest.defines
49553 mv conftest.tail conftest.defines
49554 done
49555 rm -f conftest.defines
49556 echo ' fi # grep' >>$CONFIG_STATUS
49557 echo >>$CONFIG_STATUS
49558
49559 # Break up conftest.undefs because some shells have a limit on the size
49560 # of here documents, and old seds have small limits too (100 cmds).
49561 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49562 rm -f conftest.tail
49563 while grep . conftest.undefs >/dev/null
49564 do
49565 # Write a limited-size here document to $tmp/undefs.sed.
49566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49567 # Speed up: don't consider the non `#undef'
49568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49569 # Work around the forget-to-reset-the-flag bug.
49570 echo 't clr' >>$CONFIG_STATUS
49571 echo ': clr' >>$CONFIG_STATUS
49572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49573 echo 'CEOF
49574 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49575 rm -f $tmp/in
49576 mv $tmp/out $tmp/in
49577 ' >>$CONFIG_STATUS
49578 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49579 rm -f conftest.undefs
49580 mv conftest.tail conftest.undefs
49581 done
49582 rm -f conftest.undefs
49583
49584 cat >>$CONFIG_STATUS <<\_ACEOF
49585 # Let's still pretend it is `configure' which instantiates (i.e., don't
49586 # use $as_me), people would be surprised to read:
49587 # /* config.h. Generated by config.status. */
49588 if test x"$ac_file" = x-; then
49589 echo "/* Generated by configure. */" >$tmp/config.h
49590 else
49591 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49592 fi
49593 cat $tmp/in >>$tmp/config.h
49594 rm -f $tmp/in
49595 if test x"$ac_file" != x-; then
49596 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
49597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49598 echo "$as_me: $ac_file is unchanged" >&6;}
49599 else
49600 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49602 X"$ac_file" : 'X\(//\)[^/]' \| \
49603 X"$ac_file" : 'X\(//\)$' \| \
49604 X"$ac_file" : 'X\(/\)' \| \
49605 . : '\(.\)' 2>/dev/null ||
49606 echo X"$ac_file" |
49607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49609 /^X\(\/\/\)$/{ s//\1/; q; }
49610 /^X\(\/\).*/{ s//\1/; q; }
49611 s/.*/./; q'`
49612 { if $as_mkdir_p; then
49613 mkdir -p "$ac_dir"
49614 else
49615 as_dir="$ac_dir"
49616 as_dirs=
49617 while test ! -d "$as_dir"; do
49618 as_dirs="$as_dir $as_dirs"
49619 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49621 X"$as_dir" : 'X\(//\)[^/]' \| \
49622 X"$as_dir" : 'X\(//\)$' \| \
49623 X"$as_dir" : 'X\(/\)' \| \
49624 . : '\(.\)' 2>/dev/null ||
49625 echo X"$as_dir" |
49626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49628 /^X\(\/\/\)$/{ s//\1/; q; }
49629 /^X\(\/\).*/{ s//\1/; q; }
49630 s/.*/./; q'`
49631 done
49632 test ! -n "$as_dirs" || mkdir $as_dirs
49633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49635 { (exit 1); exit 1; }; }; }
49636
49637 rm -f $ac_file
49638 mv $tmp/config.h $ac_file
49639 fi
49640 else
49641 cat $tmp/config.h
49642 rm -f $tmp/config.h
49643 fi
49644 done
49645 _ACEOF
49646 cat >>$CONFIG_STATUS <<\_ACEOF
49647
49648 #
49649 # CONFIG_COMMANDS section.
49650 #
49651 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
49652 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
49653 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
49654 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
49655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49656 X"$ac_dest" : 'X\(//\)[^/]' \| \
49657 X"$ac_dest" : 'X\(//\)$' \| \
49658 X"$ac_dest" : 'X\(/\)' \| \
49659 . : '\(.\)' 2>/dev/null ||
49660 echo X"$ac_dest" |
49661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49663 /^X\(\/\/\)$/{ s//\1/; q; }
49664 /^X\(\/\).*/{ s//\1/; q; }
49665 s/.*/./; q'`
49666 { if $as_mkdir_p; then
49667 mkdir -p "$ac_dir"
49668 else
49669 as_dir="$ac_dir"
49670 as_dirs=
49671 while test ! -d "$as_dir"; do
49672 as_dirs="$as_dir $as_dirs"
49673 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49675 X"$as_dir" : 'X\(//\)[^/]' \| \
49676 X"$as_dir" : 'X\(//\)$' \| \
49677 X"$as_dir" : 'X\(/\)' \| \
49678 . : '\(.\)' 2>/dev/null ||
49679 echo X"$as_dir" |
49680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49682 /^X\(\/\/\)$/{ s//\1/; q; }
49683 /^X\(\/\).*/{ s//\1/; q; }
49684 s/.*/./; q'`
49685 done
49686 test ! -n "$as_dirs" || mkdir $as_dirs
49687 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49689 { (exit 1); exit 1; }; }; }
49690
49691 ac_builddir=.
49692
49693 if test "$ac_dir" != .; then
49694 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49695 # A "../" for each directory in $ac_dir_suffix.
49696 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49697 else
49698 ac_dir_suffix= ac_top_builddir=
49699 fi
49700
49701 case $srcdir in
49702 .) # No --srcdir option. We are building in place.
49703 ac_srcdir=.
49704 if test -z "$ac_top_builddir"; then
49705 ac_top_srcdir=.
49706 else
49707 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49708 fi ;;
49709 [\\/]* | ?:[\\/]* ) # Absolute path.
49710 ac_srcdir=$srcdir$ac_dir_suffix;
49711 ac_top_srcdir=$srcdir ;;
49712 *) # Relative path.
49713 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49714 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49715 esac
49716
49717 # Do not use `cd foo && pwd` to compute absolute paths, because
49718 # the directories may not exist.
49719 case `pwd` in
49720 .) ac_abs_builddir="$ac_dir";;
49721 *)
49722 case "$ac_dir" in
49723 .) ac_abs_builddir=`pwd`;;
49724 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49725 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49726 esac;;
49727 esac
49728 case $ac_abs_builddir in
49729 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49730 *)
49731 case ${ac_top_builddir}. in
49732 .) ac_abs_top_builddir=$ac_abs_builddir;;
49733 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49734 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49735 esac;;
49736 esac
49737 case $ac_abs_builddir in
49738 .) ac_abs_srcdir=$ac_srcdir;;
49739 *)
49740 case $ac_srcdir in
49741 .) ac_abs_srcdir=$ac_abs_builddir;;
49742 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49743 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49744 esac;;
49745 esac
49746 case $ac_abs_builddir in
49747 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49748 *)
49749 case $ac_top_srcdir in
49750 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49751 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49752 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49753 esac;;
49754 esac
49755
49756
49757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49758 echo "$as_me: executing $ac_dest commands" >&6;}
49759 case $ac_dest in
49760 rcdefs.h )
49761 mkdir -p $outdir &&
49762 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49763 ;;
49764 wx-config ) rm -f wx-config
49765 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
49766 ;;
49767 esac
49768 done
49769 _ACEOF
49770
49771 cat >>$CONFIG_STATUS <<\_ACEOF
49772
49773 { (exit 0); exit 0; }
49774 _ACEOF
49775 chmod +x $CONFIG_STATUS
49776 ac_clean_files=$ac_clean_files_save
49777
49778
49779 # configure is writing to config.log, and then calls config.status.
49780 # config.status does its own redirection, appending to config.log.
49781 # Unfortunately, on DOS this fails, as config.log is still kept open
49782 # by configure, so config.status won't be able to write to it; its
49783 # output is simply discarded. So we exec the FD to /dev/null,
49784 # effectively closing config.log, so it can be properly (re)opened and
49785 # appended to by config.status. When coming back to configure, we
49786 # need to make the FD available again.
49787 if test "$no_create" != yes; then
49788 ac_cs_success=:
49789 ac_config_status_args=
49790 test "$silent" = yes &&
49791 ac_config_status_args="$ac_config_status_args --quiet"
49792 exec 5>/dev/null
49793 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
49794 exec 5>>config.log
49795 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49796 # would make configure fail if this is the last instruction.
49797 $ac_cs_success || { (exit 1); exit 1; }
49798 fi
49799
49800 #
49801 # CONFIG_SUBDIRS section.
49802 #
49803 if test "$no_recursion" != yes; then
49804
49805 # Remove --cache-file and --srcdir arguments so they do not pile up.
49806 ac_sub_configure_args=
49807 ac_prev=
49808 for ac_arg in $ac_configure_args; do
49809 if test -n "$ac_prev"; then
49810 ac_prev=
49811 continue
49812 fi
49813 case $ac_arg in
49814 -cache-file | --cache-file | --cache-fil | --cache-fi \
49815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49816 ac_prev=cache_file ;;
49817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49819 | --c=*)
49820 ;;
49821 --config-cache | -C)
49822 ;;
49823 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49824 ac_prev=srcdir ;;
49825 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49826 ;;
49827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49828 ac_prev=prefix ;;
49829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49830 ;;
49831 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
49832 esac
49833 done
49834
49835 # Always prepend --prefix to ensure using the same prefix
49836 # in subdir configurations.
49837 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
49838
49839 ac_popdir=`pwd`
49840 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
49841
49842 # Do not complain, so a configure script can configure whichever
49843 # parts of a large source tree are present.
49844 test -d $srcdir/$ac_dir || continue
49845
49846 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
49847 echo "$as_me: configuring in $ac_dir" >&6;}
49848 { if $as_mkdir_p; then
49849 mkdir -p "$ac_dir"
49850 else
49851 as_dir="$ac_dir"
49852 as_dirs=
49853 while test ! -d "$as_dir"; do
49854 as_dirs="$as_dir $as_dirs"
49855 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49857 X"$as_dir" : 'X\(//\)[^/]' \| \
49858 X"$as_dir" : 'X\(//\)$' \| \
49859 X"$as_dir" : 'X\(/\)' \| \
49860 . : '\(.\)' 2>/dev/null ||
49861 echo X"$as_dir" |
49862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49864 /^X\(\/\/\)$/{ s//\1/; q; }
49865 /^X\(\/\).*/{ s//\1/; q; }
49866 s/.*/./; q'`
49867 done
49868 test ! -n "$as_dirs" || mkdir $as_dirs
49869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49871 { (exit 1); exit 1; }; }; }
49872
49873 ac_builddir=.
49874
49875 if test "$ac_dir" != .; then
49876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49877 # A "../" for each directory in $ac_dir_suffix.
49878 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49879 else
49880 ac_dir_suffix= ac_top_builddir=
49881 fi
49882
49883 case $srcdir in
49884 .) # No --srcdir option. We are building in place.
49885 ac_srcdir=.
49886 if test -z "$ac_top_builddir"; then
49887 ac_top_srcdir=.
49888 else
49889 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49890 fi ;;
49891 [\\/]* | ?:[\\/]* ) # Absolute path.
49892 ac_srcdir=$srcdir$ac_dir_suffix;
49893 ac_top_srcdir=$srcdir ;;
49894 *) # Relative path.
49895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49897 esac
49898
49899 # Do not use `cd foo && pwd` to compute absolute paths, because
49900 # the directories may not exist.
49901 case `pwd` in
49902 .) ac_abs_builddir="$ac_dir";;
49903 *)
49904 case "$ac_dir" in
49905 .) ac_abs_builddir=`pwd`;;
49906 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49907 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49908 esac;;
49909 esac
49910 case $ac_abs_builddir in
49911 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49912 *)
49913 case ${ac_top_builddir}. in
49914 .) ac_abs_top_builddir=$ac_abs_builddir;;
49915 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49916 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49917 esac;;
49918 esac
49919 case $ac_abs_builddir in
49920 .) ac_abs_srcdir=$ac_srcdir;;
49921 *)
49922 case $ac_srcdir in
49923 .) ac_abs_srcdir=$ac_abs_builddir;;
49924 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49925 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49926 esac;;
49927 esac
49928 case $ac_abs_builddir in
49929 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49930 *)
49931 case $ac_top_srcdir in
49932 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49933 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49934 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49935 esac;;
49936 esac
49937
49938
49939 cd $ac_dir
49940
49941 # Check for guested configure; otherwise get Cygnus style configure.
49942 if test -f $ac_srcdir/configure.gnu; then
49943 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
49944 elif test -f $ac_srcdir/configure; then
49945 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
49946 elif test -f $ac_srcdir/configure.in; then
49947 ac_sub_configure=$ac_configure
49948 else
49949 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
49950 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
49951 ac_sub_configure=
49952 fi
49953
49954 # The recursion is here.
49955 if test -n "$ac_sub_configure"; then
49956 # Make the cache file name correct relative to the subdirectory.
49957 case $cache_file in
49958 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
49959 *) # Relative path.
49960 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
49961 esac
49962
49963 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
49964 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
49965 # The eval makes quoting arguments work.
49966 eval $ac_sub_configure $ac_sub_configure_args \
49967 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
49968 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
49969 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
49970 { (exit 1); exit 1; }; }
49971 fi
49972
49973 cd "$ac_popdir"
49974 done
49975 fi
49976
49977
49978 echo
49979 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
49980 echo ""
49981 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
49982 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
49983
49984 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
49985 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
49986 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
49987
49988 echo " What level of wxWidgets compatibility should be enabled?"
49989 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
49990 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
49991
49992 echo " Which libraries should wxWidgets use?"
49993 echo " jpeg ${wxUSE_LIBJPEG-none}"
49994 echo " png ${wxUSE_LIBPNG-none}"
49995 echo " regex ${wxUSE_REGEX}"
49996 echo " tiff ${wxUSE_LIBTIFF-none}"
49997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
49998 echo " xpm ${wxUSE_LIBXPM-none}"
49999 fi
50000 echo " zlib ${wxUSE_ZLIB}"
50001 echo " odbc ${wxUSE_ODBC}"
50002 echo " expat ${wxUSE_EXPAT}"
50003 echo " libmspack ${wxUSE_LIBMSPACK}"
50004 echo " sdl ${wxUSE_LIBSDL}"
50005 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50006 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50007 echo " hildon ${wxUSE_LIBHILDON-none}"
50008
50009 echo ""
50010