]> git.saurik.com Git - wxWidgets.git/blob - configure
update the item width when making it bold, otherwise the selection highlight was...
[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 ac_pt_PKG_CONFIG 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_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_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 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
794 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
795 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
796 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
797 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
798 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
799 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
800 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
801 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
802 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
803 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
804 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
805 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
806 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
807 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
808 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
809 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
810 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
811 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
812 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
813 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
814 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
815 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
816 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
817 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
818 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
819 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
820 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
821 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
822 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
823 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
825 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
826 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
827 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
828 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
829 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
830 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
831 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
832 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
833 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
834 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
835 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
836 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
837 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
838 ac_env_HILDON_LIBS_value=$HILDON_LIBS
839 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
840 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
841 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
842 ac_env_GST_CFLAGS_value=$GST_CFLAGS
843 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
844 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
845 ac_env_GST_LIBS_set=${GST_LIBS+set}
846 ac_env_GST_LIBS_value=$GST_LIBS
847 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
848 ac_cv_env_GST_LIBS_value=$GST_LIBS
849
850 #
851 # Report the --help message.
852 #
853 if test "$ac_init_help" = "long"; then
854 # Omit some internal or obsolete options to make the list less imposing.
855 # This message is too long to be a string in the A/UX 3.1 sh.
856 cat <<_ACEOF
857 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
858
859 Usage: $0 [OPTION]... [VAR=VALUE]...
860
861 To assign environment variables (e.g., CC, CFLAGS...), specify them as
862 VAR=VALUE. See below for descriptions of some of the useful variables.
863
864 Defaults for the options are specified in brackets.
865
866 Configuration:
867 -h, --help display this help and exit
868 --help=short display options specific to this package
869 --help=recursive display the short help of all the included packages
870 -V, --version display version information and exit
871 -q, --quiet, --silent do not print \`checking...' messages
872 --cache-file=FILE cache test results in FILE [disabled]
873 -C, --config-cache alias for \`--cache-file=config.cache'
874 -n, --no-create do not create output files
875 --srcdir=DIR find the sources in DIR [configure dir or \`..']
876
877 _ACEOF
878
879 cat <<_ACEOF
880 Installation directories:
881 --prefix=PREFIX install architecture-independent files in PREFIX
882 [$ac_default_prefix]
883 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
884 [PREFIX]
885
886 By default, \`make install' will install all the files in
887 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
888 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
889 for instance \`--prefix=\$HOME'.
890
891 For better control, use the options below.
892
893 Fine tuning of the installation directories:
894 --bindir=DIR user executables [EPREFIX/bin]
895 --sbindir=DIR system admin executables [EPREFIX/sbin]
896 --libexecdir=DIR program executables [EPREFIX/libexec]
897 --datadir=DIR read-only architecture-independent data [PREFIX/share]
898 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
899 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
900 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
901 --libdir=DIR object code libraries [EPREFIX/lib]
902 --includedir=DIR C header files [PREFIX/include]
903 --oldincludedir=DIR C header files for non-gcc [/usr/include]
904 --infodir=DIR info documentation [PREFIX/info]
905 --mandir=DIR man documentation [PREFIX/man]
906 _ACEOF
907
908 cat <<\_ACEOF
909
910 X features:
911 --x-includes=DIR X include files are in DIR
912 --x-libraries=DIR X library files are in DIR
913
914 System types:
915 --build=BUILD configure for building on BUILD [guessed]
916 --host=HOST cross-compile to build programs to run on HOST [BUILD]
917 --target=TARGET configure for building compilers for TARGET [HOST]
918 _ACEOF
919 fi
920
921 if test -n "$ac_init_help"; then
922 case $ac_init_help in
923 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
924 esac
925 cat <<\_ACEOF
926
927 Optional Features:
928 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
929 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
930 --enable-gui use GUI classes
931 --enable-monolithic build wxWidgets as single library
932 --enable-plugins build parts of wxWidgets as loadable components
933 --enable-universal use wxWidgets GUI controls instead of native ones
934 --enable-nanox use NanoX
935 --disable-gtk2 use GTK+ 1.2 instead of 2.0
936 --enable-gpe use GNOME PDA Environment features if possible
937 --enable-shared create shared library code
938 --enable-optimise create optimised code
939 --enable-debug same as debug_flag and debug_info
940 --enable-stl use STL for containers
941 --enable-omf use OMF object format
942 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
943 --enable-debug_info create code with debugging information
944 --enable-debug_gdb create code with extra GDB debugging information
945 --enable-debug_cntxt use wxDebugContext
946 --enable-mem_tracing create code with memory tracing
947 --enable-profile create code with profiling information
948 --enable-no_rtti create code without RTTI information
949 --enable-no_exceptions create code without C++ exceptions handling
950 --enable-permissive compile code disregarding strict ANSI
951 --enable-no_deps create code without dependency information
952 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
953 --enable-compat24 enable wxWidgets 2.4 compatibility
954 --disable-compat26 disable wxWidgets 2.6 compatibility
955 --disable-rpath disable use of rpath for uninstalled builds
956 --enable-intl use internationalization system
957 --enable-config use wxConfig (and derived) classes
958 --enable-protocols use wxProtocol and derived classes
959 --enable-ftp use wxFTP (requires wxProtocol
960 --enable-http use wxHTTP (requires wxProtocol
961 --enable-fileproto use wxFileProto class (requires wxProtocol
962 --enable-sockets use socket/network classes
963 --enable-ole use OLE classes (Win32 only)
964 --enable-dataobj use data object classes
965 --enable-ipc use interprocess communication (wxSocket etc.)
966 --enable-apple_ieee use the Apple IEEE codec
967 --enable-arcstream use wxArchive streams
968 --enable-backtrace use wxStackWalker class for getting backtraces
969 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
970 --enable-cmdline use wxCmdLineParser class
971 --enable-datetime use wxDateTime class
972 --enable-debugreport use wxDebugReport class
973 --enable-dialupman use dialup network classes
974 --enable-dynlib use wxLibrary class for DLL loading
975 --enable-dynamicloader use (new) wxDynamicLibrary class
976 --enable-exceptions build exception-safe library
977 --enable-ffile use wxFFile class
978 --enable-file use wxFile class
979 --enable-filesystem use virtual file systems classes
980 --enable-fontmap use font encodings conversion classes
981 --enable-fs_inet use virtual HTTP/FTP filesystems
982 --enable-fs_zip use virtual ZIP filesystems
983 --enable-geometry use geometry class
984 --enable-log use logging system
985 --enable-longlong use wxLongLong class
986 --enable-mimetype use wxMimeTypesManager
987 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
988 --enable-snglinst use wxSingleInstanceChecker class
989 --enable-std_iostreams use standard C++ stream classes
990 --enable-std_string use standard C++ string classes
991 --enable-stdpaths use wxStandardPaths class
992 --enable-stopwatch use wxStopWatch class
993 --enable-streams use wxStream etc classes
994 --enable-sysoptions use wxSystemOptions
995 --enable-textbuf use wxTextBuffer class
996 --enable-textfile use wxTextFile class
997 --enable-timer use wxTimer class
998 --enable-unicode compile wxString with Unicode support
999 --enable-sound use wxSound class
1000 --enable-mediactrl use wxMediaCtrl class
1001 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1002 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1003 --enable-zipstream use wxZip streams
1004 --enable-url use wxURL class
1005 --enable-protocol use wxProtocol class
1006 --enable-protocol-http HTTP support in wxProtocol
1007 --enable-protocol-ftp FTP support in wxProtocol
1008 --enable-protocol-file FILE support in wxProtocol
1009 --enable-threads use threads
1010 --enable-docview use document view architecture
1011 --enable-help use help subsystem
1012 --enable-mshtmlhelp use MS HTML Help (win32)
1013 --enable-html use wxHTML sub-library
1014 --enable-htmlhelp use wxHTML-based help
1015 --enable-xrc use XRC resources sub-library
1016 --enable-aui use AUI docking library
1017 --enable-constraints use layout-constraints system
1018 --enable-printarch use printing architecture
1019 --enable-mdi use multiple document interface architecture
1020 --enable-mdidoc use docview architecture with MDI
1021 --enable-loggui use standard GUI logger
1022 --enable-logwin use wxLogWindow
1023 --enable-logdialog use wxLogDialog
1024 --enable-webkit use wxWebKitCtrl (Mac)
1025 --enable-richtext use wxRichTextCtrl
1026 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1027 --enable-prologio not available; see contrib
1028 --enable-resources not available; see contrib
1029 --enable-clipboard use wxClipboard class
1030 --enable-dnd use Drag'n'Drop classes
1031 --enable-metafile use win32 metafiles
1032 --enable-controls use all usual controls
1033 --enable-accel use accelerators
1034 --enable-button use wxButton class
1035 --enable-bmpbutton use wxBitmapButton class
1036 --enable-calendar use wxCalendarCtrl class
1037 --enable-caret use wxCaret class
1038 --enable-checkbox use wxCheckBox class
1039 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1040 --enable-choice use wxChoice class
1041 --enable-choicebook use wxChoicebook class
1042 --enable-colourpicker use wxColourPickerCtrl class
1043 --enable-combobox use wxComboBox class
1044 --enable-comboctrl use wxComboCtrl class
1045 --enable-datepick use wxDatePickerCtrl class
1046 --enable-dirpicker use wxDirPickerCtrl class
1047 --enable-display use wxDisplay class
1048 --enable-filepicker use wxFilePickerCtrl class
1049 --enable-fontpicker use wxFontPickerCtrl class
1050 --enable-gauge use wxGauge class
1051 --enable-grid use wxGrid class
1052 --enable-dataviewctrl, use wxDataViewCtrl class
1053 --enable-hyperlink use wxHyperlinkCtrl class
1054 --enable-imaglist use wxImageList class
1055 --enable-listbook use wxListbook class
1056 --enable-listbox use wxListBox class
1057 --enable-listctrl use wxListCtrl class
1058 --enable-notebook use wxNotebook class
1059 --enable-odcombobox use wxOwnerDrawnComboBox class
1060 --enable-radiobox use wxRadioBox class
1061 --enable-radiobtn use wxRadioButton class
1062 --enable-sash use wxSashWindow class
1063 --enable-scrollbar use wxScrollBar class and scrollable windows
1064 --enable-slider use wxSlider class
1065 --enable-spinbtn use wxSpinButton class
1066 --enable-spinctrl use wxSpinCtrl class
1067 --enable-splitter use wxSplitterWindow class
1068 --enable-statbmp use wxStaticBitmap class
1069 --enable-statbox use wxStaticBox class
1070 --enable-statline use wxStaticLine class
1071 --enable-stattext use wxStaticText class
1072 --enable-statusbar use wxStatusBar class
1073 --enable-tabdialog use wxTabControl class
1074 --enable-textctrl use wxTextCtrl class
1075 --enable-togglebtn use wxToggleButton class
1076 --enable-toolbar use wxToolBar class
1077 --enable-tbarnative use native wxToolBar class
1078 --enable-tbarsmpl use wxToolBarSimple class
1079 --enable-treebook use wxTreebook class
1080 --enable-toolbook use wxToolbook class
1081 --enable-treectrl use wxTreeCtrl class
1082 --enable-tipwindow use wxTipWindow class
1083 --enable-popupwin use wxPopUpWindow class
1084 --enable-commondlg use all common dialogs
1085 --enable-choicedlg use wxChoiceDialog
1086 --enable-coldlg use wxColourDialog
1087 --enable-filedlg use wxFileDialog
1088 --enable-finddlg use wxFindReplaceDialog
1089 --enable-fontdlg use wxFontDialog
1090 --enable-dirdlg use wxDirDialog
1091 --enable-msgdlg use wxMessageDialog
1092 --enable-numberdlg use wxNumberEntryDialog
1093 --enable-splash use wxSplashScreen
1094 --enable-textdlg use wxTextDialog
1095 --enable-tipdlg use startup tips
1096 --enable-progressdlg use wxProgressDialog
1097 --enable-wizarddlg use wxWizard
1098 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1099 --enable-miniframe use wxMiniFrame class
1100 --enable-tooltips use wxToolTip class
1101 --enable-splines use spline drawing code
1102 --enable-mousewheel use mousewheel
1103 --enable-validators use wxValidator and derived classes
1104 --enable-busyinfo use wxBusyInfo
1105 --enable-joystick use wxJoystick
1106 --enable-metafiles use wxMetaFile (Win32 only)
1107 --enable-dragimage use wxDragImage
1108 --enable-accessibility enable accessibility support
1109 --enable-dccache cache temporary wxDC objects (Win32 only)
1110 --enable-palette use wxPalette class
1111 --enable-image use wxImage class
1112 --enable-gif use gif images (GIF file format)
1113 --enable-pcx use pcx images (PCX file format)
1114 --enable-iff use iff images (IFF file format)
1115 --enable-pnm use pnm images (PNM file format)
1116 --enable-xpm use xpm images (XPM file format)
1117 --enable-icocur use Windows ICO and CUR formats
1118 --enable-official_build official build of wxWidgets (win32 DLL only)
1119 --enable-vendor=VENDOR vendor name (win32 DLL only)
1120 --disable-largefile omit support for large files
1121 --disable-gtktest do not try to compile and run a test GTK+ program
1122 --disable-gtktest Do not try to compile and run a test GTK program
1123 --disable-sdltest Do not try to compile and run a test SDL program
1124 --enable-omf use OMF object format (OS/2)
1125 --disable-dependency-tracking
1126 don't use dependency tracking even if the compiler
1127 can
1128 --disable-precomp-headers
1129 don't use precompiled headers even if compiler can
1130
1131 Optional Packages:
1132 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1133 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1134 --without-subdirs don't generate makefiles for samples/demos/...
1135 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1136 --with-motif use Motif/Lesstif
1137 --with-mac use Mac OS X
1138 --with-cocoa use Cocoa
1139 --with-wine use Wine
1140 --with-msw use MS-Windows
1141 --with-pm use OS/2 Presentation Manager
1142 --with-mgl use SciTech MGL
1143 --with-microwin use MicroWindows
1144 --with-x11 use X11
1145 --with-libpng use libpng (PNG image format)
1146 --with-libjpeg use libjpeg (JPEG file format)
1147 --with-libtiff use libtiff (TIFF file format)
1148 --with-libxpm use libxpm (XPM file format)
1149 --with-libmspack use libmspack (CHM help files loading)
1150 --with-sdl use SDL for audio on Unix
1151 --with-gnomeprint use GNOME print for printing under GNOME
1152 --with-gnomevfs use GNOME VFS for associating MIME types
1153 --with-hildon use Hildon framework for Nokia 770
1154 --with-opengl use OpenGL (or Mesa)
1155 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1156 --with-regex enable support for wxRegEx class
1157 --with-zlib use zlib for LZW compression
1158 --with-odbc use the IODBC and wxODBC classes
1159 --with-expat enable XML support using expat parser
1160 --with-flavour=NAME specify a name to identify this build
1161 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1162 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1163 --with-x use the X Window System
1164 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1165 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1166 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1167 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1168 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1169
1170 Some influential environment variables:
1171 CC C compiler command
1172 CFLAGS C compiler flags
1173 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1174 nonstandard directory <lib dir>
1175 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1176 headers in a nonstandard directory <include dir>
1177 CPP C preprocessor
1178 CXX C++ compiler command
1179 CXXFLAGS C++ compiler flags
1180 CXXCPP C++ preprocessor
1181 PKG_CONFIG path to pkg-config utility
1182 PANGOX_CFLAGS
1183 C compiler flags for PANGOX, overriding pkg-config
1184 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1185 PANGOFT2_CFLAGS
1186 C compiler flags for PANGOFT2, overriding pkg-config
1187 PANGOFT2_LIBS
1188 linker flags for PANGOFT2, overriding pkg-config
1189 PANGOXFT_CFLAGS
1190 C compiler flags for PANGOXFT, overriding pkg-config
1191 PANGOXFT_LIBS
1192 linker flags for PANGOXFT, overriding pkg-config
1193 LIBGNOMEPRINTUI_CFLAGS
1194 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1195 LIBGNOMEPRINTUI_LIBS
1196 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1197 GNOMEVFS_CFLAGS
1198 C compiler flags for GNOMEVFS, overriding pkg-config
1199 GNOMEVFS_LIBS
1200 linker flags for GNOMEVFS, overriding pkg-config
1201 HILDON_CFLAGS
1202 C compiler flags for HILDON, overriding pkg-config
1203 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1204 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1205 GST_LIBS linker flags for GST, overriding pkg-config
1206
1207 Use these variables to override the choices made by `configure' or to help
1208 it to find libraries and programs with nonstandard names/locations.
1209
1210 Report bugs to <wx-dev@lists.wxwidgets.org>.
1211 _ACEOF
1212 fi
1213
1214 if test "$ac_init_help" = "recursive"; then
1215 # If there are subdirs, report their specific --help.
1216 ac_popdir=`pwd`
1217 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1218 test -d $ac_dir || continue
1219 ac_builddir=.
1220
1221 if test "$ac_dir" != .; then
1222 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1223 # A "../" for each directory in $ac_dir_suffix.
1224 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1225 else
1226 ac_dir_suffix= ac_top_builddir=
1227 fi
1228
1229 case $srcdir in
1230 .) # No --srcdir option. We are building in place.
1231 ac_srcdir=.
1232 if test -z "$ac_top_builddir"; then
1233 ac_top_srcdir=.
1234 else
1235 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1236 fi ;;
1237 [\\/]* | ?:[\\/]* ) # Absolute path.
1238 ac_srcdir=$srcdir$ac_dir_suffix;
1239 ac_top_srcdir=$srcdir ;;
1240 *) # Relative path.
1241 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1242 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1243 esac
1244
1245 # Do not use `cd foo && pwd` to compute absolute paths, because
1246 # the directories may not exist.
1247 case `pwd` in
1248 .) ac_abs_builddir="$ac_dir";;
1249 *)
1250 case "$ac_dir" in
1251 .) ac_abs_builddir=`pwd`;;
1252 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1253 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1254 esac;;
1255 esac
1256 case $ac_abs_builddir in
1257 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1258 *)
1259 case ${ac_top_builddir}. in
1260 .) ac_abs_top_builddir=$ac_abs_builddir;;
1261 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1262 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1263 esac;;
1264 esac
1265 case $ac_abs_builddir in
1266 .) ac_abs_srcdir=$ac_srcdir;;
1267 *)
1268 case $ac_srcdir in
1269 .) ac_abs_srcdir=$ac_abs_builddir;;
1270 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1271 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1272 esac;;
1273 esac
1274 case $ac_abs_builddir in
1275 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1276 *)
1277 case $ac_top_srcdir in
1278 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1279 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1280 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1281 esac;;
1282 esac
1283
1284 cd $ac_dir
1285 # Check for guested configure; otherwise get Cygnus style configure.
1286 if test -f $ac_srcdir/configure.gnu; then
1287 echo
1288 $SHELL $ac_srcdir/configure.gnu --help=recursive
1289 elif test -f $ac_srcdir/configure; then
1290 echo
1291 $SHELL $ac_srcdir/configure --help=recursive
1292 elif test -f $ac_srcdir/configure.ac ||
1293 test -f $ac_srcdir/configure.in; then
1294 echo
1295 $ac_configure --help
1296 else
1297 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1298 fi
1299 cd "$ac_popdir"
1300 done
1301 fi
1302
1303 test -n "$ac_init_help" && exit 0
1304 if $ac_init_version; then
1305 cat <<\_ACEOF
1306 wxWidgets configure 2.7.0
1307 generated by GNU Autoconf 2.59
1308
1309 Copyright (C) 2003 Free Software Foundation, Inc.
1310 This configure script is free software; the Free Software Foundation
1311 gives unlimited permission to copy, distribute and modify it.
1312 _ACEOF
1313 exit 0
1314 fi
1315 exec 5>config.log
1316 cat >&5 <<_ACEOF
1317 This file contains any messages produced by compilers while
1318 running configure, to aid debugging if configure makes a mistake.
1319
1320 It was created by wxWidgets $as_me 2.7.0, which was
1321 generated by GNU Autoconf 2.59. Invocation command line was
1322
1323 $ $0 $@
1324
1325 _ACEOF
1326 {
1327 cat <<_ASUNAME
1328 ## --------- ##
1329 ## Platform. ##
1330 ## --------- ##
1331
1332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1337
1338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1340
1341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1344 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1348
1349 _ASUNAME
1350
1351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352 for as_dir in $PATH
1353 do
1354 IFS=$as_save_IFS
1355 test -z "$as_dir" && as_dir=.
1356 echo "PATH: $as_dir"
1357 done
1358
1359 } >&5
1360
1361 cat >&5 <<_ACEOF
1362
1363
1364 ## ----------- ##
1365 ## Core tests. ##
1366 ## ----------- ##
1367
1368 _ACEOF
1369
1370
1371 # Keep a trace of the command line.
1372 # Strip out --no-create and --no-recursion so they do not pile up.
1373 # Strip out --silent because we don't want to record it for future runs.
1374 # Also quote any args containing shell meta-characters.
1375 # Make two passes to allow for proper duplicate-argument suppression.
1376 ac_configure_args=
1377 ac_configure_args0=
1378 ac_configure_args1=
1379 ac_sep=
1380 ac_must_keep_next=false
1381 for ac_pass in 1 2
1382 do
1383 for ac_arg
1384 do
1385 case $ac_arg in
1386 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1388 | -silent | --silent | --silen | --sile | --sil)
1389 continue ;;
1390 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1391 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1392 esac
1393 case $ac_pass in
1394 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1395 2)
1396 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1397 if test $ac_must_keep_next = true; then
1398 ac_must_keep_next=false # Got value, back to normal.
1399 else
1400 case $ac_arg in
1401 *=* | --config-cache | -C | -disable-* | --disable-* \
1402 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1403 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1404 | -with-* | --with-* | -without-* | --without-* | --x)
1405 case "$ac_configure_args0 " in
1406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1407 esac
1408 ;;
1409 -* ) ac_must_keep_next=true ;;
1410 esac
1411 fi
1412 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1413 # Get rid of the leading space.
1414 ac_sep=" "
1415 ;;
1416 esac
1417 done
1418 done
1419 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1420 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1421
1422 # When interrupted or exit'd, cleanup temporary files, and complete
1423 # config.log. We remove comments because anyway the quotes in there
1424 # would cause problems or look ugly.
1425 # WARNING: Be sure not to use single quotes in there, as some shells,
1426 # such as our DU 5.0 friend, will then `close' the trap.
1427 trap 'exit_status=$?
1428 # Save into config.log some information that might help in debugging.
1429 {
1430 echo
1431
1432 cat <<\_ASBOX
1433 ## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##
1436 _ASBOX
1437 echo
1438 # The following way of writing the cache mishandles newlines in values,
1439 {
1440 (set) 2>&1 |
1441 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1442 *ac_space=\ *)
1443 sed -n \
1444 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1446 ;;
1447 *)
1448 sed -n \
1449 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1450 ;;
1451 esac;
1452 }
1453 echo
1454
1455 cat <<\_ASBOX
1456 ## ----------------- ##
1457 ## Output variables. ##
1458 ## ----------------- ##
1459 _ASBOX
1460 echo
1461 for ac_var in $ac_subst_vars
1462 do
1463 eval ac_val=$`echo $ac_var`
1464 echo "$ac_var='"'"'$ac_val'"'"'"
1465 done | sort
1466 echo
1467
1468 if test -n "$ac_subst_files"; then
1469 cat <<\_ASBOX
1470 ## ------------- ##
1471 ## Output files. ##
1472 ## ------------- ##
1473 _ASBOX
1474 echo
1475 for ac_var in $ac_subst_files
1476 do
1477 eval ac_val=$`echo $ac_var`
1478 echo "$ac_var='"'"'$ac_val'"'"'"
1479 done | sort
1480 echo
1481 fi
1482
1483 if test -s confdefs.h; then
1484 cat <<\_ASBOX
1485 ## ----------- ##
1486 ## confdefs.h. ##
1487 ## ----------- ##
1488 _ASBOX
1489 echo
1490 sed "/^$/d" confdefs.h | sort
1491 echo
1492 fi
1493 test "$ac_signal" != 0 &&
1494 echo "$as_me: caught signal $ac_signal"
1495 echo "$as_me: exit $exit_status"
1496 } >&5
1497 rm -f core *.core &&
1498 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1499 exit $exit_status
1500 ' 0
1501 for ac_signal in 1 2 13 15; do
1502 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1503 done
1504 ac_signal=0
1505
1506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1507 rm -rf conftest* confdefs.h
1508 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1509 echo >confdefs.h
1510
1511 # Predefined preprocessor variables.
1512
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 _ACEOF
1516
1517
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 _ACEOF
1521
1522
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 _ACEOF
1526
1527
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 _ACEOF
1531
1532
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 _ACEOF
1536
1537
1538 # Let the site file select an alternate cache file if it wants to.
1539 # Prefer explicitly selected file to automatically selected ones.
1540 if test -z "$CONFIG_SITE"; then
1541 if test "x$prefix" != xNONE; then
1542 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1543 else
1544 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1545 fi
1546 fi
1547 for ac_site_file in $CONFIG_SITE; do
1548 if test -r "$ac_site_file"; then
1549 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550 echo "$as_me: loading site script $ac_site_file" >&6;}
1551 sed 's/^/| /' "$ac_site_file" >&5
1552 . "$ac_site_file"
1553 fi
1554 done
1555
1556 if test -r "$cache_file"; then
1557 # Some versions of bash will fail to source /dev/null (special
1558 # files actually), so we avoid doing that.
1559 if test -f "$cache_file"; then
1560 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561 echo "$as_me: loading cache $cache_file" >&6;}
1562 case $cache_file in
1563 [\\/]* | ?:[\\/]* ) . $cache_file;;
1564 *) . ./$cache_file;;
1565 esac
1566 fi
1567 else
1568 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569 echo "$as_me: creating cache $cache_file" >&6;}
1570 >$cache_file
1571 fi
1572
1573 # Check that the precious variables saved in the cache have kept the same
1574 # value.
1575 ac_cache_corrupted=false
1576 for ac_var in `(set) 2>&1 |
1577 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1578 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1579 eval ac_new_set=\$ac_env_${ac_var}_set
1580 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1581 eval ac_new_val="\$ac_env_${ac_var}_value"
1582 case $ac_old_set,$ac_new_set in
1583 set,)
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1586 ac_cache_corrupted=: ;;
1587 ,set)
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1590 ac_cache_corrupted=: ;;
1591 ,);;
1592 *)
1593 if test "x$ac_old_val" != "x$ac_new_val"; then
1594 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1595 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1596 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1597 echo "$as_me: former value: $ac_old_val" >&2;}
1598 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1599 echo "$as_me: current value: $ac_new_val" >&2;}
1600 ac_cache_corrupted=:
1601 fi;;
1602 esac
1603 # Pass precious variables to config.status.
1604 if test "$ac_new_set" = set; then
1605 case $ac_new_val in
1606 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1607 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1608 *) ac_arg=$ac_var=$ac_new_val ;;
1609 esac
1610 case " $ac_configure_args " in
1611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1612 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1613 esac
1614 fi
1615 done
1616 if $ac_cache_corrupted; then
1617 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1618 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1619 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1620 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1621 { (exit 1); exit 1; }; }
1622 fi
1623
1624 ac_ext=c
1625 ac_cpp='$CPP $CPPFLAGS'
1626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659 ac_aux_dir=
1660 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1661 if test -f $ac_dir/install-sh; then
1662 ac_aux_dir=$ac_dir
1663 ac_install_sh="$ac_aux_dir/install-sh -c"
1664 break
1665 elif test -f $ac_dir/install.sh; then
1666 ac_aux_dir=$ac_dir
1667 ac_install_sh="$ac_aux_dir/install.sh -c"
1668 break
1669 elif test -f $ac_dir/shtool; then
1670 ac_aux_dir=$ac_dir
1671 ac_install_sh="$ac_aux_dir/shtool install -c"
1672 break
1673 fi
1674 done
1675 if test -z "$ac_aux_dir"; then
1676 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1677 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1678 { (exit 1); exit 1; }; }
1679 fi
1680 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1681 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1682 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1683
1684 # Make sure we can run config.sub.
1685 $ac_config_sub sun4 >/dev/null 2>&1 ||
1686 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1687 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1688 { (exit 1); exit 1; }; }
1689
1690 echo "$as_me:$LINENO: checking build system type" >&5
1691 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1692 if test "${ac_cv_build+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 else
1695 ac_cv_build_alias=$build_alias
1696 test -z "$ac_cv_build_alias" &&
1697 ac_cv_build_alias=`$ac_config_guess`
1698 test -z "$ac_cv_build_alias" &&
1699 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1700 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1701 { (exit 1); exit 1; }; }
1702 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1703 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1704 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1705 { (exit 1); exit 1; }; }
1706
1707 fi
1708 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1709 echo "${ECHO_T}$ac_cv_build" >&6
1710 build=$ac_cv_build
1711 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1712 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1713 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714
1715
1716 echo "$as_me:$LINENO: checking host system type" >&5
1717 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1718 if test "${ac_cv_host+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721 ac_cv_host_alias=$host_alias
1722 test -z "$ac_cv_host_alias" &&
1723 ac_cv_host_alias=$ac_cv_build_alias
1724 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1725 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1726 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1727 { (exit 1); exit 1; }; }
1728
1729 fi
1730 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1731 echo "${ECHO_T}$ac_cv_host" >&6
1732 host=$ac_cv_host
1733 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1734 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1735 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1736
1737
1738 echo "$as_me:$LINENO: checking target system type" >&5
1739 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1740 if test "${ac_cv_target+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 ac_cv_target_alias=$target_alias
1744 test "x$ac_cv_target_alias" = "x" &&
1745 ac_cv_target_alias=$ac_cv_host_alias
1746 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1747 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1748 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1749 { (exit 1); exit 1; }; }
1750
1751 fi
1752 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1753 echo "${ECHO_T}$ac_cv_target" >&6
1754 target=$ac_cv_target
1755 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1756 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1757 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1758
1759
1760 # The aliases save the names the user supplied, while $host etc.
1761 # will get canonicalized.
1762 test -n "$target_alias" &&
1763 test "$program_prefix$program_suffix$program_transform_name" = \
1764 NONENONEs,x,x, &&
1765 program_prefix=${target_alias}-
1766
1767
1768
1769 wx_major_version_number=2
1770 wx_minor_version_number=7
1771 wx_release_number=0
1772 wx_subrelease_number=0
1773
1774 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1775 WX_VERSION=$WX_RELEASE.$wx_release_number
1776 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1777
1778 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1779
1780
1781
1782
1783 USE_UNIX=1
1784 USE_OS2=0
1785 USE_WIN32=0
1786 USE_DOS=0
1787 USE_BEOS=0
1788 USE_MAC=0
1789
1790 USE_AIX=
1791 USE_BSD= USE_DARWIN= USE_FREEBSD=
1792 USE_GNU= USE_HPUX=
1793 USE_LINUX=
1794 USE_NETBSD=
1795 USE_OPENBSD=
1796 USE_OSF= USE_SGI=
1797 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1798 USE_ULTRIX=
1799 USE_UNIXWARE=
1800
1801 USE_ALPHA=
1802
1803 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1804
1805 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1806
1807 DEFAULT_wxUSE_COCOA=0
1808 DEFAULT_wxUSE_GTK=0
1809 DEFAULT_wxUSE_MAC=0
1810 DEFAULT_wxUSE_MGL=0
1811 DEFAULT_wxUSE_MICROWIN=0
1812 DEFAULT_wxUSE_MOTIF=0
1813 DEFAULT_wxUSE_MSW=0
1814 DEFAULT_wxUSE_PM=0
1815 DEFAULT_wxUSE_X11=0
1816
1817 DEFAULT_DEFAULT_wxUSE_COCOA=0
1818 DEFAULT_DEFAULT_wxUSE_GTK=0
1819 DEFAULT_DEFAULT_wxUSE_MAC=0
1820 DEFAULT_DEFAULT_wxUSE_MGL=0
1821 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1823 DEFAULT_DEFAULT_wxUSE_MSW=0
1824 DEFAULT_DEFAULT_wxUSE_PM=0
1825 DEFAULT_DEFAULT_wxUSE_X11=0
1826
1827 PROGRAM_EXT=
1828 SO_SUFFIX=so
1829 SAMPLES_RPATH_FLAG=
1830 SAMPLES_RPATH_POSTLINK=
1831
1832 DEFAULT_STD_FLAG=yes
1833
1834 case "${host}" in
1835 *-hp-hpux* )
1836 USE_HPUX=1
1837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1838 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1839 SO_SUFFIX=sl
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __HPUX__ 1
1842 _ACEOF
1843
1844
1845 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1846 ;;
1847 *-*-linux* )
1848 USE_LINUX=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __LINUX__ 1
1851 _ACEOF
1852
1853 TMP=`uname -m`
1854 if test "x$TMP" = "xalpha"; then
1855 USE_ALPHA=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __ALPHA__ 1
1858 _ACEOF
1859
1860 fi
1861 DEFAULT_DEFAULT_wxUSE_GTK=1
1862 ;;
1863 *-*-gnu* | *-*-k*bsd*-gnu )
1864 USE_GNU=1
1865 TMP=`uname -m`
1866 if test "x$TMP" = "xalpha"; then
1867 USE_ALPHA=1
1868 cat >>confdefs.h <<\_ACEOF
1869 #define __ALPHA__ 1
1870 _ACEOF
1871
1872 fi
1873 DEFAULT_DEFAULT_wxUSE_GTK=1
1874 ;;
1875 *-*-irix5* | *-*-irix6* )
1876 USE_SGI=1
1877 USE_SVR4=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SGI__ 1
1880 _ACEOF
1881
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __SVR4__ 1
1884 _ACEOF
1885
1886 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1887 ;;
1888 *-*-solaris2* )
1889 USE_SUN=1
1890 USE_SOLARIS=1
1891 USE_SVR4=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SUN__ 1
1894 _ACEOF
1895
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __SOLARIS__ 1
1898 _ACEOF
1899
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __SVR4__ 1
1902 _ACEOF
1903
1904 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1905 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1906 ;;
1907 *-*-sunos4* )
1908 USE_SUN=1
1909 USE_SUNOS=1
1910 USE_BSD=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SUN__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SUNOS__ 1
1917 _ACEOF
1918
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __BSD__ 1
1921 _ACEOF
1922
1923 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1924 ;;
1925 *-*-freebsd*)
1926 USE_BSD=1
1927 USE_FREEBSD=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __FREEBSD__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __BSD__ 1
1934 _ACEOF
1935
1936 DEFAULT_DEFAULT_wxUSE_GTK=1
1937 ;;
1938 *-*-openbsd*|*-*-mirbsd*)
1939 USE_BSD=1
1940 USE_OPENBSD=1
1941 cat >>confdefs.h <<\_ACEOF
1942 #define __OPENBSD__ 1
1943 _ACEOF
1944
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __BSD__ 1
1947 _ACEOF
1948
1949 DEFAULT_DEFAULT_wxUSE_GTK=1
1950 ;;
1951 *-*-netbsd*)
1952 USE_BSD=1
1953 USE_NETBSD=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __NETBSD__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_GTK=1
1963 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1964
1965 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1966 ;;
1967 *-*-osf* )
1968 USE_ALPHA=1
1969 USE_OSF=1
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __ALPHA__ 1
1972 _ACEOF
1973
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __OSF__ 1
1976 _ACEOF
1977
1978 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1979 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1980 ;;
1981 *-*-dgux5* )
1982 USE_ALPHA=1
1983 USE_SVR4=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __ALPHA__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __SVR4__ 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1993 ;;
1994 *-*-sysv5* )
1995 USE_SYSV=1
1996 USE_SVR4=1
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __SYSV__ 1
1999 _ACEOF
2000
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __SVR4__ 1
2003 _ACEOF
2004
2005 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2006 ;;
2007 *-*-aix* )
2008 USE_AIX=1
2009 USE_SYSV=1
2010 USE_SVR4=1
2011 SO_SUFFIX=a
2012 cat >>confdefs.h <<\_ACEOF
2013 #define __AIX__ 1
2014 _ACEOF
2015
2016 cat >>confdefs.h <<\_ACEOF
2017 #define __SYSV__ 1
2018 _ACEOF
2019
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __SVR4__ 1
2022 _ACEOF
2023
2024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2025 ;;
2026
2027 *-*-*UnixWare*)
2028 USE_SYSV=1
2029 USE_SVR4=1
2030 USE_UNIXWARE=1
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __UNIXWARE__ 1
2033 _ACEOF
2034
2035 ;;
2036
2037 *-*-cygwin* | *-*-mingw32* )
2038 SO_SUFFIX=dll
2039 PROGRAM_EXT=".exe"
2040 DEFAULT_DEFAULT_wxUSE_MSW=1
2041 DEFAULT_STD_FLAG=no
2042 ;;
2043
2044 *-pc-msdosdjgpp )
2045 USE_UNIX=0
2046 USE_DOS=1
2047 cat >>confdefs.h <<\_ACEOF
2048 #define __DOS__ 1
2049 _ACEOF
2050
2051 PROGRAM_EXT=".exe"
2052 DEFAULT_DEFAULT_wxUSE_MGL=1
2053 ;;
2054
2055 *-pc-os2_emx | *-pc-os2-emx )
2056 cat >>confdefs.h <<\_ACEOF
2057 #define __EMX__ 1
2058 _ACEOF
2059
2060 USE_OS2=1
2061 cat >>confdefs.h <<\_ACEOF
2062 #define __OS2__ 1
2063 _ACEOF
2064
2065 PROGRAM_EXT=".exe"
2066 DEFAULT_DEFAULT_wxUSE_PM=1
2067 CXX=gcc
2068 LDFLAGS="$LDFLAGS -Zcrtdll"
2069 ac_executable_extensions=".exe"
2070 export ac_executable_extensions
2071 ac_save_IFS="$IFS"
2072 IFS='\\'
2073 ac_TEMP_PATH=
2074 for ac_dir in $PATH; do
2075 IFS=$ac_save_IFS
2076 if test -z "$ac_TEMP_PATH"; then
2077 ac_TEMP_PATH="$ac_dir"
2078 else
2079 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2080 fi
2081 done
2082 export PATH="$ac_TEMP_PATH"
2083 unset ac_TEMP_PATH
2084 DEFAULT_STD_FLAG=no
2085 ;;
2086
2087 *-*-darwin* )
2088 USE_BSD=1
2089 USE_DARWIN=1
2090 SO_SUFFIX=dylib
2091 cat >>confdefs.h <<\_ACEOF
2092 #define __BSD__ 1
2093 _ACEOF
2094
2095 cat >>confdefs.h <<\_ACEOF
2096 #define __DARWIN__ 1
2097 _ACEOF
2098
2099 cat >>confdefs.h <<\_ACEOF
2100 #define TARGET_CARBON 1
2101 _ACEOF
2102
2103 DEFAULT_DEFAULT_wxUSE_MAC=1
2104 DEFAULT_STD_FLAG=no
2105 ;;
2106 powerpc-apple-macos* )
2107 USE_UNIX=0
2108 ac_cv_c_bigendian=yes
2109 SO_SUFFIX=shlib
2110 DEFAULT_DEFAULT_wxUSE_MAC=1
2111 DEFAULT_STD_FLAG=no
2112 ;;
2113
2114 *-*-beos* )
2115 USE_BEOS=1
2116 cat >>confdefs.h <<\_ACEOF
2117 #define __BEOS__ 1
2118 _ACEOF
2119
2120 ;;
2121
2122 *)
2123 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2124 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2125 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2126 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2127 esac
2128
2129
2130
2131
2132 wx_arg_cache_file="configarg.cache"
2133 echo "loading argument cache $wx_arg_cache_file"
2134 rm -f ${wx_arg_cache_file}.tmp
2135 touch ${wx_arg_cache_file}.tmp
2136 touch ${wx_arg_cache_file}
2137
2138
2139 DEBUG_CONFIGURE=0
2140 if test $DEBUG_CONFIGURE = 1; then
2141 DEFAULT_wxUSE_UNIVERSAL=no
2142 DEFAULT_wxUSE_STL=no
2143
2144 DEFAULT_wxUSE_NANOX=no
2145
2146 DEFAULT_wxUSE_THREADS=yes
2147
2148 DEFAULT_wxUSE_SHARED=yes
2149 DEFAULT_wxUSE_OPTIMISE=no
2150 DEFAULT_wxUSE_PROFILE=no
2151 DEFAULT_wxUSE_NO_DEPS=no
2152 DEFAULT_wxUSE_NO_RTTI=no
2153 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2154 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2155 DEFAULT_wxUSE_RPATH=yes
2156 DEFAULT_wxUSE_PERMISSIVE=no
2157 DEFAULT_wxUSE_DEBUG_FLAG=yes
2158 DEFAULT_wxUSE_DEBUG_INFO=yes
2159 DEFAULT_wxUSE_DEBUG_GDB=yes
2160 DEFAULT_wxUSE_MEM_TRACING=no
2161 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2162 DEFAULT_wxUSE_DMALLOC=no
2163 DEFAULT_wxUSE_APPLE_IEEE=no
2164
2165 DEFAULT_wxUSE_EXCEPTIONS=no
2166 DEFAULT_wxUSE_LOG=yes
2167 DEFAULT_wxUSE_LOGWINDOW=no
2168 DEFAULT_wxUSE_LOGGUI=no
2169 DEFAULT_wxUSE_LOGDIALOG=no
2170
2171 DEFAULT_wxUSE_GUI=yes
2172 DEFAULT_wxUSE_CONTROLS=no
2173
2174 DEFAULT_wxUSE_REGEX=no
2175 DEFAULT_wxUSE_XML=no
2176 DEFAULT_wxUSE_EXPAT=no
2177 DEFAULT_wxUSE_ZLIB=no
2178 DEFAULT_wxUSE_LIBPNG=no
2179 DEFAULT_wxUSE_LIBJPEG=no
2180 DEFAULT_wxUSE_LIBTIFF=no
2181 DEFAULT_wxUSE_LIBXPM=no
2182 DEFAULT_wxUSE_LIBMSPACK=no
2183 DEFAULT_wxUSE_LIBSDL=no
2184 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2185 DEFAULT_wxUSE_LIBGNOMEVFS=no
2186 DEFAULT_wxUSE_LIBHILDON=no
2187 DEFAULT_wxUSE_ODBC=no
2188 DEFAULT_wxUSE_OPENGL=no
2189
2190 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2191 DEFAULT_wxUSE_STACKWALKER=no
2192 DEFAULT_wxUSE_DEBUGREPORT=no
2193 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2194 DEFAULT_wxUSE_STD_IOSTREAM=no
2195 DEFAULT_wxUSE_STD_STRING=no
2196 DEFAULT_wxUSE_CMDLINE_PARSER=no
2197 DEFAULT_wxUSE_DATETIME=no
2198 DEFAULT_wxUSE_TIMER=no
2199 DEFAULT_wxUSE_STOPWATCH=no
2200 DEFAULT_wxUSE_FILE=no
2201 DEFAULT_wxUSE_FFILE=no
2202 DEFAULT_wxUSE_STDPATHS=no
2203 DEFAULT_wxUSE_TEXTBUFFER=no
2204 DEFAULT_wxUSE_TEXTFILE=no
2205 DEFAULT_wxUSE_SOUND=no
2206 DEFAULT_wxUSE_MEDIACTRL=no
2207 DEFAULT_wxUSE_GSTREAMER8=no
2208 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2209 DEFAULT_wxUSE_INTL=no
2210 DEFAULT_wxUSE_CONFIG=no
2211 DEFAULT_wxUSE_FONTMAP=no
2212 DEFAULT_wxUSE_STREAMS=no
2213 DEFAULT_wxUSE_SOCKETS=no
2214 DEFAULT_wxUSE_OLE=no
2215 DEFAULT_wxUSE_DATAOBJ=no
2216 DEFAULT_wxUSE_DIALUP_MANAGER=no
2217 DEFAULT_wxUSE_JOYSTICK=no
2218 DEFAULT_wxUSE_DYNLIB_CLASS=no
2219 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2220 DEFAULT_wxUSE_LONGLONG=no
2221 DEFAULT_wxUSE_GEOMETRY=no
2222
2223 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2224 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2225 DEFAULT_wxUSE_POSTSCRIPT=no
2226
2227 DEFAULT_wxUSE_CLIPBOARD=no
2228 DEFAULT_wxUSE_TOOLTIPS=no
2229 DEFAULT_wxUSE_DRAG_AND_DROP=no
2230 DEFAULT_wxUSE_DRAGIMAGE=no
2231 DEFAULT_wxUSE_SPLINES=no
2232 DEFAULT_wxUSE_MOUSEWHEEL=no
2233
2234 DEFAULT_wxUSE_MDI=no
2235 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2236 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2237 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2238
2239 DEFAULT_wxUSE_RESOURCES=no
2240 DEFAULT_wxUSE_CONSTRAINTS=no
2241 DEFAULT_wxUSE_IPC=no
2242 DEFAULT_wxUSE_HELP=no
2243 DEFAULT_wxUSE_MS_HTML_HELP=no
2244 DEFAULT_wxUSE_WXHTML_HELP=no
2245 DEFAULT_wxUSE_TREELAYOUT=no
2246 DEFAULT_wxUSE_METAFILE=no
2247 DEFAULT_wxUSE_MIMETYPE=no
2248 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2249 DEFAULT_wxUSE_PROTOCOL=no
2250 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2251 DEFAULT_wxUSE_PROTOCOL_FTP=no
2252 DEFAULT_wxUSE_PROTOCOL_FILE=no
2253 DEFAULT_wxUSE_URL=no
2254
2255 DEFAULT_wxUSE_COMMONDLGS=no
2256 DEFAULT_wxUSE_CHOICEDLG=no
2257 DEFAULT_wxUSE_COLOURDLG=no
2258 DEFAULT_wxUSE_DIRDLG=no
2259 DEFAULT_wxUSE_FILEDLG=no
2260 DEFAULT_wxUSE_FINDREPLDLG=no
2261 DEFAULT_wxUSE_FONTDLG=no
2262 DEFAULT_wxUSE_MSGDLG=no
2263 DEFAULT_wxUSE_NUMBERDLG=no
2264 DEFAULT_wxUSE_TEXTDLG=no
2265 DEFAULT_wxUSE_SPLASH=no
2266 DEFAULT_wxUSE_STARTUP_TIPS=no
2267 DEFAULT_wxUSE_PROGRESSDLG=no
2268 DEFAULT_wxUSE_WIZARDDLG=no
2269
2270 DEFAULT_wxUSE_MENUS=no
2271 DEFAULT_wxUSE_MINIFRAME=no
2272 DEFAULT_wxUSE_HTML=no
2273 DEFAULT_wxUSE_RICHTEXT=no
2274 DEFAULT_wxUSE_XRC=no
2275 DEFAULT_wxUSE_AUI=no
2276 DEFAULT_wxUSE_WEBKIT=no
2277 DEFAULT_wxUSE_FILESYSTEM=no
2278 DEFAULT_wxUSE_FS_INET=no
2279 DEFAULT_wxUSE_FS_ZIP=no
2280 DEFAULT_wxUSE_BUSYINFO=no
2281 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2282 DEFAULT_wxUSE_ZIPSTREAM=no
2283 DEFAULT_wxUSE_VALIDATORS=no
2284
2285 DEFAULT_wxUSE_ACCEL=no
2286 DEFAULT_wxUSE_BUTTON=no
2287 DEFAULT_wxUSE_BMPBUTTON=no
2288 DEFAULT_wxUSE_CALCTRL=no
2289 DEFAULT_wxUSE_CARET=no
2290 DEFAULT_wxUSE_CHECKBOX=no
2291 DEFAULT_wxUSE_CHECKLST=no
2292 DEFAULT_wxUSE_CHOICE=no
2293 DEFAULT_wxUSE_CHOICEBOOK=no
2294 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2295 DEFAULT_wxUSE_COMBOBOX=no
2296 DEFAULT_wxUSE_COMBOCTRL=no
2297 DEFAULT_wxUSE_DATEPICKCTRL=no
2298 DEFAULT_wxUSE_DISPLAY=no
2299 DEFAULT_wxUSE_DIRPICKERCTRL=no
2300 DEFAULT_wxUSE_FILEPICKERCTRL=no
2301 DEFAULT_wxUSE_FONTPICKERCTRL=no
2302 DEFAULT_wxUSE_GAUGE=no
2303 DEFAULT_wxUSE_GRID=no
2304 DEFAULT_wxUSE_HYPERLINKCTRL=no
2305 DEFAULT_wxUSE_DATAVIEWCTRL=no
2306 DEFAULT_wxUSE_IMAGLIST=no
2307 DEFAULT_wxUSE_LISTBOOK=no
2308 DEFAULT_wxUSE_LISTBOX=no
2309 DEFAULT_wxUSE_LISTCTRL=no
2310 DEFAULT_wxUSE_NOTEBOOK=no
2311 DEFAULT_wxUSE_ODCOMBOBOX=no
2312 DEFAULT_wxUSE_RADIOBOX=no
2313 DEFAULT_wxUSE_RADIOBTN=no
2314 DEFAULT_wxUSE_SASH=no
2315 DEFAULT_wxUSE_SCROLLBAR=no
2316 DEFAULT_wxUSE_SLIDER=no
2317 DEFAULT_wxUSE_SPINBTN=no
2318 DEFAULT_wxUSE_SPINCTRL=no
2319 DEFAULT_wxUSE_SPLITTER=no
2320 DEFAULT_wxUSE_STATBMP=no
2321 DEFAULT_wxUSE_STATBOX=no
2322 DEFAULT_wxUSE_STATLINE=no
2323 DEFAULT_wxUSE_STATTEXT=no
2324 DEFAULT_wxUSE_STATUSBAR=yes
2325 DEFAULT_wxUSE_TAB_DIALOG=no
2326 DEFAULT_wxUSE_TEXTCTRL=no
2327 DEFAULT_wxUSE_TOGGLEBTN=no
2328 DEFAULT_wxUSE_TOOLBAR=no
2329 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2330 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2331 DEFAULT_wxUSE_TREEBOOK=no
2332 DEFAULT_wxUSE_TOOLBOOK=no
2333 DEFAULT_wxUSE_TREECTRL=no
2334 DEFAULT_wxUSE_POPUPWIN=no
2335 DEFAULT_wxUSE_TIPWINDOW=no
2336
2337 DEFAULT_wxUSE_UNICODE=no
2338 DEFAULT_wxUSE_UNICODE_MSLU=no
2339 DEFAULT_wxUSE_WCSRTOMBS=no
2340
2341 DEFAULT_wxUSE_PALETTE=no
2342 DEFAULT_wxUSE_IMAGE=no
2343 DEFAULT_wxUSE_GIF=no
2344 DEFAULT_wxUSE_PCX=no
2345 DEFAULT_wxUSE_PNM=no
2346 DEFAULT_wxUSE_IFF=no
2347 DEFAULT_wxUSE_XPM=no
2348 DEFAULT_wxUSE_ICO_CUR=no
2349 DEFAULT_wxUSE_ACCESSIBILITY=no
2350
2351 DEFAULT_wxUSE_MONOLITHIC=no
2352 DEFAULT_wxUSE_PLUGINS=no
2353 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2354 else
2355 DEFAULT_wxUSE_UNIVERSAL=no
2356 DEFAULT_wxUSE_STL=no
2357
2358 DEFAULT_wxUSE_NANOX=no
2359
2360 DEFAULT_wxUSE_THREADS=yes
2361
2362 DEFAULT_wxUSE_SHARED=yes
2363 DEFAULT_wxUSE_OPTIMISE=yes
2364 DEFAULT_wxUSE_PROFILE=no
2365 DEFAULT_wxUSE_NO_DEPS=no
2366 DEFAULT_wxUSE_NO_RTTI=no
2367 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2368 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2369 DEFAULT_wxUSE_RPATH=yes
2370 DEFAULT_wxUSE_PERMISSIVE=no
2371 DEFAULT_wxUSE_DEBUG_FLAG=no
2372 DEFAULT_wxUSE_DEBUG_INFO=no
2373 DEFAULT_wxUSE_DEBUG_GDB=no
2374 DEFAULT_wxUSE_MEM_TRACING=no
2375 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2376 DEFAULT_wxUSE_DMALLOC=no
2377 DEFAULT_wxUSE_APPLE_IEEE=yes
2378
2379 DEFAULT_wxUSE_EXCEPTIONS=yes
2380 DEFAULT_wxUSE_LOG=yes
2381 DEFAULT_wxUSE_LOGWINDOW=yes
2382 DEFAULT_wxUSE_LOGGUI=yes
2383 DEFAULT_wxUSE_LOGDIALOG=yes
2384
2385 DEFAULT_wxUSE_GUI=yes
2386
2387 DEFAULT_wxUSE_REGEX=yes
2388 DEFAULT_wxUSE_XML=yes
2389 DEFAULT_wxUSE_EXPAT=yes
2390 DEFAULT_wxUSE_ZLIB=yes
2391 DEFAULT_wxUSE_LIBPNG=yes
2392 DEFAULT_wxUSE_LIBJPEG=yes
2393 DEFAULT_wxUSE_LIBTIFF=yes
2394 DEFAULT_wxUSE_LIBXPM=yes
2395 DEFAULT_wxUSE_LIBMSPACK=yes
2396 DEFAULT_wxUSE_LIBSDL=no
2397 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2398 DEFAULT_wxUSE_LIBGNOMEVFS=no
2399 DEFAULT_wxUSE_LIBHILDON=no
2400 DEFAULT_wxUSE_ODBC=no
2401 DEFAULT_wxUSE_OPENGL=no
2402
2403 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2404 DEFAULT_wxUSE_STACKWALKER=yes
2405 DEFAULT_wxUSE_DEBUGREPORT=yes
2406 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2407 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2408 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2409 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2410 DEFAULT_wxUSE_DATETIME=yes
2411 DEFAULT_wxUSE_TIMER=yes
2412 DEFAULT_wxUSE_STOPWATCH=yes
2413 DEFAULT_wxUSE_FILE=yes
2414 DEFAULT_wxUSE_FFILE=yes
2415 DEFAULT_wxUSE_STDPATHS=yes
2416 DEFAULT_wxUSE_TEXTBUFFER=yes
2417 DEFAULT_wxUSE_TEXTFILE=yes
2418 DEFAULT_wxUSE_SOUND=yes
2419 DEFAULT_wxUSE_MEDIACTRL=no
2420 DEFAULT_wxUSE_GSTREAMER8=no
2421 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2422 DEFAULT_wxUSE_INTL=yes
2423 DEFAULT_wxUSE_CONFIG=yes
2424 DEFAULT_wxUSE_FONTMAP=yes
2425 DEFAULT_wxUSE_STREAMS=yes
2426 DEFAULT_wxUSE_SOCKETS=yes
2427 DEFAULT_wxUSE_OLE=yes
2428 DEFAULT_wxUSE_DATAOBJ=yes
2429 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2430 DEFAULT_wxUSE_JOYSTICK=yes
2431 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2432 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2433 DEFAULT_wxUSE_LONGLONG=yes
2434 DEFAULT_wxUSE_GEOMETRY=yes
2435
2436 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2437 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2438 DEFAULT_wxUSE_POSTSCRIPT=yes
2439
2440 DEFAULT_wxUSE_CLIPBOARD=yes
2441 DEFAULT_wxUSE_TOOLTIPS=yes
2442 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2443 DEFAULT_wxUSE_DRAGIMAGE=yes
2444 DEFAULT_wxUSE_SPLINES=yes
2445 DEFAULT_wxUSE_MOUSEWHEEL=yes
2446
2447 DEFAULT_wxUSE_MDI=yes
2448 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2449 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2450 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2451
2452 DEFAULT_wxUSE_RESOURCES=no
2453 DEFAULT_wxUSE_CONSTRAINTS=yes
2454 DEFAULT_wxUSE_IPC=yes
2455 DEFAULT_wxUSE_HELP=yes
2456 DEFAULT_wxUSE_MS_HTML_HELP=yes
2457 DEFAULT_wxUSE_WXHTML_HELP=yes
2458 DEFAULT_wxUSE_TREELAYOUT=yes
2459 DEFAULT_wxUSE_METAFILE=yes
2460 DEFAULT_wxUSE_MIMETYPE=yes
2461 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2462 DEFAULT_wxUSE_PROTOCOL=yes
2463 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2464 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2465 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2466 DEFAULT_wxUSE_URL=yes
2467
2468 DEFAULT_wxUSE_COMMONDLGS=yes
2469 DEFAULT_wxUSE_CHOICEDLG=yes
2470 DEFAULT_wxUSE_COLOURDLG=yes
2471 DEFAULT_wxUSE_DIRDLG=yes
2472 DEFAULT_wxUSE_FILEDLG=yes
2473 DEFAULT_wxUSE_FINDREPLDLG=yes
2474 DEFAULT_wxUSE_FONTDLG=yes
2475 DEFAULT_wxUSE_MSGDLG=yes
2476 DEFAULT_wxUSE_NUMBERDLG=yes
2477 DEFAULT_wxUSE_TEXTDLG=yes
2478 DEFAULT_wxUSE_SPLASH=yes
2479 DEFAULT_wxUSE_STARTUP_TIPS=yes
2480 DEFAULT_wxUSE_PROGRESSDLG=yes
2481 DEFAULT_wxUSE_WIZARDDLG=yes
2482
2483 DEFAULT_wxUSE_MENUS=yes
2484 DEFAULT_wxUSE_MINIFRAME=yes
2485 DEFAULT_wxUSE_HTML=yes
2486 DEFAULT_wxUSE_RICHTEXT=yes
2487 DEFAULT_wxUSE_XRC=yes
2488 DEFAULT_wxUSE_AUI=yes
2489 DEFAULT_wxUSE_WEBKIT=yes
2490 DEFAULT_wxUSE_FILESYSTEM=yes
2491 DEFAULT_wxUSE_FS_INET=yes
2492 DEFAULT_wxUSE_FS_ZIP=yes
2493 DEFAULT_wxUSE_BUSYINFO=yes
2494 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2495 DEFAULT_wxUSE_ZIPSTREAM=yes
2496 DEFAULT_wxUSE_VALIDATORS=yes
2497
2498 DEFAULT_wxUSE_ACCEL=yes
2499 DEFAULT_wxUSE_BUTTON=yes
2500 DEFAULT_wxUSE_BMPBUTTON=yes
2501 DEFAULT_wxUSE_CALCTRL=yes
2502 DEFAULT_wxUSE_CARET=yes
2503 DEFAULT_wxUSE_CHECKBOX=yes
2504 DEFAULT_wxUSE_CHECKLST=yes
2505 DEFAULT_wxUSE_CHOICE=yes
2506 DEFAULT_wxUSE_CHOICEBOOK=yes
2507 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2508 DEFAULT_wxUSE_COMBOBOX=yes
2509 DEFAULT_wxUSE_COMBOCTRL=yes
2510 DEFAULT_wxUSE_DATEPICKCTRL=yes
2511 DEFAULT_wxUSE_DISPLAY=yes
2512 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2513 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2514 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2515 DEFAULT_wxUSE_GAUGE=yes
2516 DEFAULT_wxUSE_GRID=yes
2517 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2518 DEFAULT_wxUSE_DATAVIEWCTRL=no
2519 DEFAULT_wxUSE_IMAGLIST=yes
2520 DEFAULT_wxUSE_LISTBOOK=yes
2521 DEFAULT_wxUSE_LISTBOX=yes
2522 DEFAULT_wxUSE_LISTCTRL=yes
2523 DEFAULT_wxUSE_NOTEBOOK=yes
2524 DEFAULT_wxUSE_ODCOMBOBOX=yes
2525 DEFAULT_wxUSE_RADIOBOX=yes
2526 DEFAULT_wxUSE_RADIOBTN=yes
2527 DEFAULT_wxUSE_SASH=yes
2528 DEFAULT_wxUSE_SCROLLBAR=yes
2529 DEFAULT_wxUSE_SLIDER=yes
2530 DEFAULT_wxUSE_SPINBTN=yes
2531 DEFAULT_wxUSE_SPINCTRL=yes
2532 DEFAULT_wxUSE_SPLITTER=yes
2533 DEFAULT_wxUSE_STATBMP=yes
2534 DEFAULT_wxUSE_STATBOX=yes
2535 DEFAULT_wxUSE_STATLINE=yes
2536 DEFAULT_wxUSE_STATTEXT=yes
2537 DEFAULT_wxUSE_STATUSBAR=yes
2538 DEFAULT_wxUSE_TAB_DIALOG=no
2539 DEFAULT_wxUSE_TEXTCTRL=yes
2540 DEFAULT_wxUSE_TOGGLEBTN=yes
2541 DEFAULT_wxUSE_TOOLBAR=yes
2542 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2543 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2544 DEFAULT_wxUSE_TREEBOOK=yes
2545 DEFAULT_wxUSE_TOOLBOOK=yes
2546 DEFAULT_wxUSE_TREECTRL=yes
2547 DEFAULT_wxUSE_POPUPWIN=yes
2548 DEFAULT_wxUSE_TIPWINDOW=yes
2549
2550 DEFAULT_wxUSE_UNICODE=no
2551 DEFAULT_wxUSE_UNICODE_MSLU=yes
2552 DEFAULT_wxUSE_WCSRTOMBS=no
2553
2554 DEFAULT_wxUSE_PALETTE=yes
2555 DEFAULT_wxUSE_IMAGE=yes
2556 DEFAULT_wxUSE_GIF=yes
2557 DEFAULT_wxUSE_PCX=yes
2558 DEFAULT_wxUSE_IFF=no
2559 DEFAULT_wxUSE_PNM=yes
2560 DEFAULT_wxUSE_XPM=yes
2561 DEFAULT_wxUSE_ICO_CUR=yes
2562 DEFAULT_wxUSE_ACCESSIBILITY=no
2563
2564 DEFAULT_wxUSE_MONOLITHIC=no
2565 DEFAULT_wxUSE_PLUGINS=no
2566 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2567
2568 DEFAULT_wxUSE_GTK2=yes
2569 fi
2570
2571
2572
2573
2574 for toolkit in `echo $ALL_TOOLKITS`; do
2575 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2576 if test "x$LINE" != "x" ; then
2577 has_toolkit_in_cache=1
2578 eval "DEFAULT_$LINE"
2579 eval "CACHE_$toolkit=1"
2580
2581 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2582 if test "x$LINE" != "x" ; then
2583 eval "DEFAULT_$LINE"
2584 fi
2585 fi
2586 done
2587
2588
2589
2590 enablestring=
2591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2592 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2593 no_cache=0
2594 # Check whether --enable-gui or --disable-gui was given.
2595 if test "${enable_gui+set}" = set; then
2596 enableval="$enable_gui"
2597
2598 if test "$enableval" = yes; then
2599 ac_cv_use_gui='wxUSE_GUI=yes'
2600 else
2601 ac_cv_use_gui='wxUSE_GUI=no'
2602 fi
2603
2604 else
2605
2606 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2609 else
2610 no_cache=1
2611 fi
2612
2613 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2614
2615 fi;
2616
2617 eval "$ac_cv_use_gui"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2620 fi
2621
2622 if test "$wxUSE_GUI" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2625 else
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2628 fi
2629
2630
2631 enablestring=
2632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2633 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2634 no_cache=0
2635 # Check whether --enable-monolithic or --disable-monolithic was given.
2636 if test "${enable_monolithic+set}" = set; then
2637 enableval="$enable_monolithic"
2638
2639 if test "$enableval" = yes; then
2640 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2641 else
2642 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2643 fi
2644
2645 else
2646
2647 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2648 if test "x$LINE" != x ; then
2649 eval "DEFAULT_$LINE"
2650 else
2651 no_cache=1
2652 fi
2653
2654 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2655
2656 fi;
2657
2658 eval "$ac_cv_use_monolithic"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2661 fi
2662
2663 if test "$wxUSE_MONOLITHIC" = yes; then
2664 echo "$as_me:$LINENO: result: yes" >&5
2665 echo "${ECHO_T}yes" >&6
2666 else
2667 echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6
2669 fi
2670
2671
2672 enablestring=
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2675 no_cache=0
2676 # Check whether --enable-plugins or --disable-plugins was given.
2677 if test "${enable_plugins+set}" = set; then
2678 enableval="$enable_plugins"
2679
2680 if test "$enableval" = yes; then
2681 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2682 else
2683 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2684 fi
2685
2686 else
2687
2688 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x ; then
2690 eval "DEFAULT_$LINE"
2691 else
2692 no_cache=1
2693 fi
2694
2695 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2696
2697 fi;
2698
2699 eval "$ac_cv_use_plugins"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2702 fi
2703
2704 if test "$wxUSE_PLUGINS" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2707 else
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2710 fi
2711
2712
2713 withstring=without
2714 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2715 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2716 no_cache=0
2717
2718 # Check whether --with-subdirs or --without-subdirs was given.
2719 if test "${with_subdirs+set}" = set; then
2720 withval="$with_subdirs"
2721
2722 if test "$withval" = yes; then
2723 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2724 else
2725 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2726 fi
2727
2728 else
2729
2730 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x ; then
2732 eval "DEFAULT_$LINE"
2733 else
2734 no_cache=1
2735 fi
2736
2737 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2738
2739 fi;
2740
2741 eval "$ac_cv_use_subdirs"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2744 fi
2745
2746 if test "$wxWITH_SUBDIRS" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2749 else
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2752 fi
2753
2754
2755 if test "$wxUSE_GUI" = "yes"; then
2756
2757
2758 enablestring=
2759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2760 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2761 no_cache=0
2762 # Check whether --enable-universal or --disable-universal was given.
2763 if test "${enable_universal+set}" = set; then
2764 enableval="$enable_universal"
2765
2766 if test "$enableval" = yes; then
2767 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2768 else
2769 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2770 fi
2771
2772 else
2773
2774 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x ; then
2776 eval "DEFAULT_$LINE"
2777 else
2778 no_cache=1
2779 fi
2780
2781 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2782
2783 fi;
2784
2785 eval "$ac_cv_use_universal"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2788 fi
2789
2790 if test "$wxUSE_UNIVERSAL" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2793 else
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2796 fi
2797
2798
2799 # Check whether --with-gtk or --without-gtk was given.
2800 if test "${with_gtk+set}" = set; then
2801 withval="$with_gtk"
2802 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2803 fi;
2804
2805 # Check whether --with-motif or --without-motif was given.
2806 if test "${with_motif+set}" = set; then
2807 withval="$with_motif"
2808 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2809 fi;
2810
2811 # Check whether --with-mac or --without-mac was given.
2812 if test "${with_mac+set}" = set; then
2813 withval="$with_mac"
2814 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2815 fi;
2816
2817 # Check whether --with-cocoa or --without-cocoa was given.
2818 if test "${with_cocoa+set}" = set; then
2819 withval="$with_cocoa"
2820 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2821 fi;
2822
2823 # Check whether --with-wine or --without-wine was given.
2824 if test "${with_wine+set}" = set; then
2825 withval="$with_wine"
2826 wxUSE_WINE="$withval" CACHE_WINE=1
2827 fi;
2828
2829 # Check whether --with-msw or --without-msw was given.
2830 if test "${with_msw+set}" = set; then
2831 withval="$with_msw"
2832 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2833 fi;
2834
2835 # Check whether --with-pm or --without-pm was given.
2836 if test "${with_pm+set}" = set; then
2837 withval="$with_pm"
2838 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2839 fi;
2840
2841 # Check whether --with-mgl or --without-mgl was given.
2842 if test "${with_mgl+set}" = set; then
2843 withval="$with_mgl"
2844 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2845 fi;
2846
2847 # Check whether --with-microwin or --without-microwin was given.
2848 if test "${with_microwin+set}" = set; then
2849 withval="$with_microwin"
2850 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2851 fi;
2852
2853 # Check whether --with-x11 or --without-x11 was given.
2854 if test "${with_x11+set}" = set; then
2855 withval="$with_x11"
2856 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2857 fi;
2858
2859 enablestring=
2860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2861 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2862 no_cache=0
2863 # Check whether --enable-nanox or --disable-nanox was given.
2864 if test "${enable_nanox+set}" = set; then
2865 enableval="$enable_nanox"
2866
2867 if test "$enableval" = yes; then
2868 ac_cv_use_nanox='wxUSE_NANOX=yes'
2869 else
2870 ac_cv_use_nanox='wxUSE_NANOX=no'
2871 fi
2872
2873 else
2874
2875 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2876 if test "x$LINE" != x ; then
2877 eval "DEFAULT_$LINE"
2878 else
2879 no_cache=1
2880 fi
2881
2882 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2883
2884 fi;
2885
2886 eval "$ac_cv_use_nanox"
2887 if test "$no_cache" != 1; then
2888 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2889 fi
2890
2891 if test "$wxUSE_NANOX" = yes; then
2892 echo "$as_me:$LINENO: result: yes" >&5
2893 echo "${ECHO_T}yes" >&6
2894 else
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2897 fi
2898
2899
2900 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2901 if test "${enable_gtk2+set}" = set; then
2902 enableval="$enable_gtk2"
2903 wxUSE_GTK2="$enableval"
2904 fi;
2905
2906 enablestring=
2907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2908 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2909 no_cache=0
2910 # Check whether --enable-gpe or --disable-gpe was given.
2911 if test "${enable_gpe+set}" = set; then
2912 enableval="$enable_gpe"
2913
2914 if test "$enableval" = yes; then
2915 ac_cv_use_gpe='wxUSE_GPE=yes'
2916 else
2917 ac_cv_use_gpe='wxUSE_GPE=no'
2918 fi
2919
2920 else
2921
2922 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x ; then
2924 eval "DEFAULT_$LINE"
2925 else
2926 no_cache=1
2927 fi
2928
2929 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2930
2931 fi;
2932
2933 eval "$ac_cv_use_gpe"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2936 fi
2937
2938 if test "$wxUSE_GPE" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2941 else
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 fi
2945
2946
2947
2948 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2949 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2950 no_cache=0
2951
2952 # Check whether --with-libpng or --without-libpng was given.
2953 if test "${with_libpng+set}" = set; then
2954 withval="$with_libpng"
2955
2956 if test "$withval" = yes; then
2957 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2958 elif test "$withval" = no; then
2959 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2960 elif test "$withval" = sys; then
2961 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2962 elif test "$withval" = builtin; then
2963 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2964 else
2965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2966 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2967 { (exit 1); exit 1; }; }
2968 fi
2969
2970 else
2971
2972 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x ; then
2974 eval "DEFAULT_$LINE"
2975 else
2976 no_cache=1
2977 fi
2978
2979 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2980
2981 fi;
2982
2983 eval "$ac_cv_use_libpng"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2986 fi
2987
2988 if test "$wxUSE_LIBPNG" = yes; then
2989 echo "$as_me:$LINENO: result: yes" >&5
2990 echo "${ECHO_T}yes" >&6
2991 elif test "$wxUSE_LIBPNG" = no; then
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 elif test "$wxUSE_LIBPNG" = sys; then
2995 echo "$as_me:$LINENO: result: system version" >&5
2996 echo "${ECHO_T}system version" >&6
2997 elif test "$wxUSE_LIBPNG" = builtin; then
2998 echo "$as_me:$LINENO: result: builtin version" >&5
2999 echo "${ECHO_T}builtin version" >&6
3000 else
3001 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3002 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3003 { (exit 1); exit 1; }; }
3004 fi
3005
3006
3007 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3008 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3009 no_cache=0
3010
3011 # Check whether --with-libjpeg or --without-libjpeg was given.
3012 if test "${with_libjpeg+set}" = set; then
3013 withval="$with_libjpeg"
3014
3015 if test "$withval" = yes; then
3016 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3017 elif test "$withval" = no; then
3018 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3019 elif test "$withval" = sys; then
3020 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3023 else
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3027 fi
3028
3029 else
3030
3031 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3034 else
3035 no_cache=1
3036 fi
3037
3038 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3039
3040 fi;
3041
3042 eval "$ac_cv_use_libjpeg"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3045 fi
3046
3047 if test "$wxUSE_LIBJPEG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBJPEG" = no; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBJPEG" = sys; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBJPEG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3059 else
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3063 fi
3064
3065
3066 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3067 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3068 no_cache=0
3069
3070 # Check whether --with-libtiff or --without-libtiff was given.
3071 if test "${with_libtiff+set}" = set; then
3072 withval="$with_libtiff"
3073
3074 if test "$withval" = yes; then
3075 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3076 elif test "$withval" = no; then
3077 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3078 elif test "$withval" = sys; then
3079 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3082 else
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3086 fi
3087
3088 else
3089
3090 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x ; then
3092 eval "DEFAULT_$LINE"
3093 else
3094 no_cache=1
3095 fi
3096
3097 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3098
3099 fi;
3100
3101 eval "$ac_cv_use_libtiff"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3104 fi
3105
3106 if test "$wxUSE_LIBTIFF" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBTIFF" = no; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBTIFF" = sys; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBTIFF" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3118 else
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3122 fi
3123
3124
3125 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3126 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-libxpm or --without-libxpm was given.
3130 if test "${with_libxpm+set}" = set; then
3131 withval="$with_libxpm"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3135 elif test "$withval" = no; then
3136 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3137 elif test "$withval" = sys; then
3138 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3141 else
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3157
3158 fi;
3159
3160 eval "$ac_cv_use_libxpm"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_LIBXPM" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBXPM" = no; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBXPM" = sys; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBXPM" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3177 else
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3183
3184 withstring=
3185 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3186 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3187 no_cache=0
3188
3189 # Check whether --with-libmspack or --without-libmspack was given.
3190 if test "${with_libmspack+set}" = set; then
3191 withval="$with_libmspack"
3192
3193 if test "$withval" = yes; then
3194 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3195 else
3196 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3197 fi
3198
3199 else
3200
3201 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3209
3210 fi;
3211
3212 eval "$ac_cv_use_libmspack"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3215 fi
3216
3217 if test "$wxUSE_LIBMSPACK" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3220 else
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3223 fi
3224
3225
3226 withstring=
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3229 no_cache=0
3230
3231 # Check whether --with-sdl or --without-sdl was given.
3232 if test "${with_sdl+set}" = set; then
3233 withval="$with_sdl"
3234
3235 if test "$withval" = yes; then
3236 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3237 else
3238 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3239 fi
3240
3241 else
3242
3243 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x ; then
3245 eval "DEFAULT_$LINE"
3246 else
3247 no_cache=1
3248 fi
3249
3250 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3251
3252 fi;
3253
3254 eval "$ac_cv_use_sdl"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3257 fi
3258
3259 if test "$wxUSE_LIBSDL" = yes; then
3260 echo "$as_me:$LINENO: result: yes" >&5
3261 echo "${ECHO_T}yes" >&6
3262 else
3263 echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6
3265 fi
3266
3267
3268 withstring=
3269 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3270 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3271 no_cache=0
3272
3273 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3274 if test "${with_gnomeprint+set}" = set; then
3275 withval="$with_gnomeprint"
3276
3277 if test "$withval" = yes; then
3278 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3279 else
3280 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3281 fi
3282
3283 else
3284
3285 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3288 else
3289 no_cache=1
3290 fi
3291
3292 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3293
3294 fi;
3295
3296 eval "$ac_cv_use_gnomeprint"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3299 fi
3300
3301 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3304 else
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3307 fi
3308
3309
3310 withstring=
3311 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3312 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3313 no_cache=0
3314
3315 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3316 if test "${with_gnomevfs+set}" = set; then
3317 withval="$with_gnomevfs"
3318
3319 if test "$withval" = yes; then
3320 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3321 else
3322 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3323 fi
3324
3325 else
3326
3327 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x ; then
3329 eval "DEFAULT_$LINE"
3330 else
3331 no_cache=1
3332 fi
3333
3334 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3335
3336 fi;
3337
3338 eval "$ac_cv_use_gnomevfs"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3341 fi
3342
3343 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3346 else
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3349 fi
3350
3351
3352 withstring=
3353 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3354 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3355 no_cache=0
3356
3357 # Check whether --with-hildon or --without-hildon was given.
3358 if test "${with_hildon+set}" = set; then
3359 withval="$with_hildon"
3360
3361 if test "$withval" = yes; then
3362 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3363 else
3364 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3365 fi
3366
3367 else
3368
3369 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x ; then
3371 eval "DEFAULT_$LINE"
3372 else
3373 no_cache=1
3374 fi
3375
3376 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3377
3378 fi;
3379
3380 eval "$ac_cv_use_hildon"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3383 fi
3384
3385 if test "$wxUSE_LIBHILDON" = yes; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3388 else
3389 echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6
3391 fi
3392
3393
3394 withstring=
3395 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3396 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3397 no_cache=0
3398
3399 # Check whether --with-opengl or --without-opengl was given.
3400 if test "${with_opengl+set}" = set; then
3401 withval="$with_opengl"
3402
3403 if test "$withval" = yes; then
3404 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3405 else
3406 ac_cv_use_opengl='wxUSE_OPENGL=no'
3407 fi
3408
3409 else
3410
3411 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x ; then
3413 eval "DEFAULT_$LINE"
3414 else
3415 no_cache=1
3416 fi
3417
3418 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3419
3420 fi;
3421
3422 eval "$ac_cv_use_opengl"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3425 fi
3426
3427 if test "$wxUSE_OPENGL" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3430 else
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3433 fi
3434
3435
3436 fi
3437
3438
3439 withstring=
3440 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3441 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3442 no_cache=0
3443
3444 # Check whether --with-dmalloc or --without-dmalloc was given.
3445 if test "${with_dmalloc+set}" = set; then
3446 withval="$with_dmalloc"
3447
3448 if test "$withval" = yes; then
3449 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3450 else
3451 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3464
3465 fi;
3466
3467 eval "$ac_cv_use_dmalloc"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_DMALLOC" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 fi
3479
3480
3481 echo "$as_me:$LINENO: checking for --with-regex" >&5
3482 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3483 no_cache=0
3484
3485 # Check whether --with-regex or --without-regex was given.
3486 if test "${with_regex+set}" = set; then
3487 withval="$with_regex"
3488
3489 if test "$withval" = yes; then
3490 ac_cv_use_regex='wxUSE_REGEX=yes'
3491 elif test "$withval" = no; then
3492 ac_cv_use_regex='wxUSE_REGEX=no'
3493 elif test "$withval" = sys; then
3494 ac_cv_use_regex='wxUSE_REGEX=sys'
3495 elif test "$withval" = builtin; then
3496 ac_cv_use_regex='wxUSE_REGEX=builtin'
3497 else
3498 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3499 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3500 { (exit 1); exit 1; }; }
3501 fi
3502
3503 else
3504
3505 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x ; then
3507 eval "DEFAULT_$LINE"
3508 else
3509 no_cache=1
3510 fi
3511
3512 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3513
3514 fi;
3515
3516 eval "$ac_cv_use_regex"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3519 fi
3520
3521 if test "$wxUSE_REGEX" = yes; then
3522 echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6
3524 elif test "$wxUSE_REGEX" = no; then
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3527 elif test "$wxUSE_REGEX" = sys; then
3528 echo "$as_me:$LINENO: result: system version" >&5
3529 echo "${ECHO_T}system version" >&6
3530 elif test "$wxUSE_REGEX" = builtin; then
3531 echo "$as_me:$LINENO: result: builtin version" >&5
3532 echo "${ECHO_T}builtin version" >&6
3533 else
3534 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3535 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3536 { (exit 1); exit 1; }; }
3537 fi
3538
3539
3540 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3541 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3542 no_cache=0
3543
3544 # Check whether --with-zlib or --without-zlib was given.
3545 if test "${with_zlib+set}" = set; then
3546 withval="$with_zlib"
3547
3548 if test "$withval" = yes; then
3549 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3550 elif test "$withval" = no; then
3551 ac_cv_use_zlib='wxUSE_ZLIB=no'
3552 elif test "$withval" = sys; then
3553 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3554 elif test "$withval" = builtin; then
3555 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3556 else
3557 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3558 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3559 { (exit 1); exit 1; }; }
3560 fi
3561
3562 else
3563
3564 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x ; then
3566 eval "DEFAULT_$LINE"
3567 else
3568 no_cache=1
3569 fi
3570
3571 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3572
3573 fi;
3574
3575 eval "$ac_cv_use_zlib"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3578 fi
3579
3580 if test "$wxUSE_ZLIB" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3583 elif test "$wxUSE_ZLIB" = no; then
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 elif test "$wxUSE_ZLIB" = sys; then
3587 echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6
3589 elif test "$wxUSE_ZLIB" = builtin; then
3590 echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6
3592 else
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3596 fi
3597
3598
3599 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3600 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3601 no_cache=0
3602
3603 # Check whether --with-odbc or --without-odbc was given.
3604 if test "${with_odbc+set}" = set; then
3605 withval="$with_odbc"
3606
3607 if test "$withval" = yes; then
3608 ac_cv_use_odbc='wxUSE_ODBC=yes'
3609 elif test "$withval" = no; then
3610 ac_cv_use_odbc='wxUSE_ODBC=no'
3611 elif test "$withval" = sys; then
3612 ac_cv_use_odbc='wxUSE_ODBC=sys'
3613 elif test "$withval" = builtin; then
3614 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621 else
3622
3623 LINE=`grep "wxUSE_ODBC" ${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_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3631
3632 fi;
3633
3634 eval "$ac_cv_use_odbc"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_ODBC" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 elif test "$wxUSE_ODBC" = no; then
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 elif test "$wxUSE_ODBC" = sys; then
3646 echo "$as_me:$LINENO: result: system version" >&5
3647 echo "${ECHO_T}system version" >&6
3648 elif test "$wxUSE_ODBC" = builtin; then
3649 echo "$as_me:$LINENO: result: builtin version" >&5
3650 echo "${ECHO_T}builtin version" >&6
3651 else
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3655 fi
3656
3657
3658 echo "$as_me:$LINENO: checking for --with-expat" >&5
3659 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3660 no_cache=0
3661
3662 # Check whether --with-expat or --without-expat was given.
3663 if test "${with_expat+set}" = set; then
3664 withval="$with_expat"
3665
3666 if test "$withval" = yes; then
3667 ac_cv_use_expat='wxUSE_EXPAT=yes'
3668 elif test "$withval" = no; then
3669 ac_cv_use_expat='wxUSE_EXPAT=no'
3670 elif test "$withval" = sys; then
3671 ac_cv_use_expat='wxUSE_EXPAT=sys'
3672 elif test "$withval" = builtin; then
3673 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3674 else
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3678 fi
3679
3680 else
3681
3682 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 else
3686 no_cache=1
3687 fi
3688
3689 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3690
3691 fi;
3692
3693 eval "$ac_cv_use_expat"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3696 fi
3697
3698 if test "$wxUSE_EXPAT" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6
3701 elif test "$wxUSE_EXPAT" = no; then
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704 elif test "$wxUSE_EXPAT" = sys; then
3705 echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6
3707 elif test "$wxUSE_EXPAT" = builtin; then
3708 echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6
3710 else
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3714 fi
3715
3716
3717
3718
3719 enablestring=
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3722 no_cache=0
3723 # Check whether --enable-shared or --disable-shared was given.
3724 if test "${enable_shared+set}" = set; then
3725 enableval="$enable_shared"
3726
3727 if test "$enableval" = yes; then
3728 ac_cv_use_shared='wxUSE_SHARED=yes'
3729 else
3730 ac_cv_use_shared='wxUSE_SHARED=no'
3731 fi
3732
3733 else
3734
3735 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3738 else
3739 no_cache=1
3740 fi
3741
3742 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3743
3744 fi;
3745
3746 eval "$ac_cv_use_shared"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3749 fi
3750
3751 if test "$wxUSE_SHARED" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3754 else
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3757 fi
3758
3759
3760 enablestring=
3761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3762 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3763 no_cache=0
3764 # Check whether --enable-optimise or --disable-optimise was given.
3765 if test "${enable_optimise+set}" = set; then
3766 enableval="$enable_optimise"
3767
3768 if test "$enableval" = yes; then
3769 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3770 else
3771 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3772 fi
3773
3774 else
3775
3776 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x ; then
3778 eval "DEFAULT_$LINE"
3779 else
3780 no_cache=1
3781 fi
3782
3783 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3784
3785 fi;
3786
3787 eval "$ac_cv_use_optimise"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3790 fi
3791
3792 if test "$wxUSE_OPTIMISE" = yes; then
3793 echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6
3795 else
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3798 fi
3799
3800
3801 enablestring=
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3804 no_cache=0
3805 # Check whether --enable-debug or --disable-debug was given.
3806 if test "${enable_debug+set}" = set; then
3807 enableval="$enable_debug"
3808
3809 if test "$enableval" = yes; then
3810 ac_cv_use_debug='wxUSE_DEBUG=yes'
3811 else
3812 ac_cv_use_debug='wxUSE_DEBUG=no'
3813 fi
3814
3815 else
3816
3817 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 else
3821 no_cache=1
3822 fi
3823
3824 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3825
3826 fi;
3827
3828 eval "$ac_cv_use_debug"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3831 fi
3832
3833 if test "$wxUSE_DEBUG" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3836 else
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3839 fi
3840
3841
3842 enablestring=
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3845 no_cache=0
3846 # Check whether --enable-stl or --disable-stl was given.
3847 if test "${enable_stl+set}" = set; then
3848 enableval="$enable_stl"
3849
3850 if test "$enableval" = yes; then
3851 ac_cv_use_stl='wxUSE_STL=yes'
3852 else
3853 ac_cv_use_stl='wxUSE_STL=no'
3854 fi
3855
3856 else
3857
3858 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x ; then
3860 eval "DEFAULT_$LINE"
3861 else
3862 no_cache=1
3863 fi
3864
3865 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3866
3867 fi;
3868
3869 eval "$ac_cv_use_stl"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3872 fi
3873
3874 if test "$wxUSE_STL" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3877 else
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3880 fi
3881
3882 if test "$USE_OS2" = "1"; then
3883 DEFAULT_wxUSE_OMF=no
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-omf or --disable-omf was given.
3890 if test "${enable_omf+set}" = set; then
3891 enableval="$enable_omf"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_omf='wxUSE_OMF=yes'
3895 else
3896 ac_cv_use_omf='wxUSE_OMF=no'
3897 fi
3898
3899 else
3900
3901 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3909
3910 fi;
3911
3912 eval "$ac_cv_use_omf"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_OMF" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3923 fi
3924
3925 fi
3926
3927 if test "$wxUSE_DEBUG" = "yes"; then
3928 DEFAULT_wxUSE_DEBUG_FLAG=yes
3929 DEFAULT_wxUSE_DEBUG_INFO=yes
3930 BUILD=debug
3931 elif test "$wxUSE_DEBUG" = "no"; then
3932 DEFAULT_wxUSE_DEBUG_FLAG=no
3933 DEFAULT_wxUSE_DEBUG_INFO=no
3934 BUILD=release
3935 fi
3936
3937
3938 enablestring=
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3943 if test "${enable_debug_flag+set}" = set; then
3944 enableval="$enable_debug_flag"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3948 else
3949 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3950 fi
3951
3952 else
3953
3954 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3962
3963 fi;
3964
3965 eval "$ac_cv_use_debug_flag"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_DEBUG_FLAG" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3976 fi
3977
3978
3979 enablestring=
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3982 no_cache=0
3983 # Check whether --enable-debug_info or --disable-debug_info was given.
3984 if test "${enable_debug_info+set}" = set; then
3985 enableval="$enable_debug_info"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3989 else
3990 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3991 fi
3992
3993 else
3994
3995 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x ; then
3997 eval "DEFAULT_$LINE"
3998 else
3999 no_cache=1
4000 fi
4001
4002 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4003
4004 fi;
4005
4006 eval "$ac_cv_use_debug_info"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_DEBUG_INFO" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4014 else
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4017 fi
4018
4019
4020 enablestring=
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4023 no_cache=0
4024 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4025 if test "${enable_debug_gdb+set}" = set; then
4026 enableval="$enable_debug_gdb"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4030 else
4031 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4032 fi
4033
4034 else
4035
4036 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4044
4045 fi;
4046
4047 eval "$ac_cv_use_debug_gdb"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test "$wxUSE_DEBUG_GDB" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4055 else
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4058 fi
4059
4060
4061 enablestring=
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4064 no_cache=0
4065 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4066 if test "${enable_debug_cntxt+set}" = set; then
4067 enableval="$enable_debug_cntxt"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4071 else
4072 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4073 fi
4074
4075 else
4076
4077 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4085
4086 fi;
4087
4088 eval "$ac_cv_use_debug_cntxt"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4096 else
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4099 fi
4100
4101
4102 enablestring=
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4105 no_cache=0
4106 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4107 if test "${enable_mem_tracing+set}" = set; then
4108 enableval="$enable_mem_tracing"
4109
4110 if test "$enableval" = yes; then
4111 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4112 else
4113 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4114 fi
4115
4116 else
4117
4118 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4121 else
4122 no_cache=1
4123 fi
4124
4125 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4126
4127 fi;
4128
4129 eval "$ac_cv_use_mem_tracing"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_MEM_TRACING" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4140 fi
4141
4142
4143 enablestring=
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4146 no_cache=0
4147 # Check whether --enable-profile or --disable-profile was given.
4148 if test "${enable_profile+set}" = set; then
4149 enableval="$enable_profile"
4150
4151 if test "$enableval" = yes; then
4152 ac_cv_use_profile='wxUSE_PROFILE=yes'
4153 else
4154 ac_cv_use_profile='wxUSE_PROFILE=no'
4155 fi
4156
4157 else
4158
4159 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x ; then
4161 eval "DEFAULT_$LINE"
4162 else
4163 no_cache=1
4164 fi
4165
4166 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4167
4168 fi;
4169
4170 eval "$ac_cv_use_profile"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4173 fi
4174
4175 if test "$wxUSE_PROFILE" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4178 else
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4181 fi
4182
4183
4184 enablestring=
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4187 no_cache=0
4188 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4189 if test "${enable_no_rtti+set}" = set; then
4190 enableval="$enable_no_rtti"
4191
4192 if test "$enableval" = yes; then
4193 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4194 else
4195 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4196 fi
4197
4198 else
4199
4200 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4203 else
4204 no_cache=1
4205 fi
4206
4207 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4208
4209 fi;
4210
4211 eval "$ac_cv_use_no_rtti"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_NO_RTTI" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4219 else
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4222 fi
4223
4224
4225 enablestring=
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4228 no_cache=0
4229 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4230 if test "${enable_no_exceptions+set}" = set; then
4231 enableval="$enable_no_exceptions"
4232
4233 if test "$enableval" = yes; then
4234 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4235 else
4236 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4237 fi
4238
4239 else
4240
4241 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x ; then
4243 eval "DEFAULT_$LINE"
4244 else
4245 no_cache=1
4246 fi
4247
4248 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4249
4250 fi;
4251
4252 eval "$ac_cv_use_no_exceptions"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4260 else
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4263 fi
4264
4265
4266 enablestring=
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4269 no_cache=0
4270 # Check whether --enable-permissive or --disable-permissive was given.
4271 if test "${enable_permissive+set}" = set; then
4272 enableval="$enable_permissive"
4273
4274 if test "$enableval" = yes; then
4275 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4276 else
4277 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4278 fi
4279
4280 else
4281
4282 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x ; then
4284 eval "DEFAULT_$LINE"
4285 else
4286 no_cache=1
4287 fi
4288
4289 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4290
4291 fi;
4292
4293 eval "$ac_cv_use_permissive"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4296 fi
4297
4298 if test "$wxUSE_PERMISSIVE" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4301 else
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4304 fi
4305
4306
4307 enablestring=
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4310 no_cache=0
4311 # Check whether --enable-no_deps or --disable-no_deps was given.
4312 if test "${enable_no_deps+set}" = set; then
4313 enableval="$enable_no_deps"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4317 else
4318 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4319 fi
4320
4321 else
4322
4323 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4331
4332 fi;
4333
4334 eval "$ac_cv_use_no_deps"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4337 fi
4338
4339 if test "$wxUSE_NO_DEPS" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4342 else
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347
4348 enablestring=
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4351 no_cache=0
4352 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4353 if test "${enable_universal_binary+set}" = set; then
4354 enableval="$enable_universal_binary"
4355
4356 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4357
4358 else
4359
4360 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x ; then
4362 eval "DEFAULT_$LINE"
4363 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4364 else
4365 no_cache=1
4366 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4367 fi
4368
4369 fi;
4370
4371 eval "$wx_cv_use_universal_binary"
4372 if test "$no_cache" != 1; then
4373 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4374 fi
4375
4376 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4377 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4378
4379
4380
4381 enablestring=enable
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4384 no_cache=0
4385 # Check whether --enable-compat24 or --disable-compat24 was given.
4386 if test "${enable_compat24+set}" = set; then
4387 enableval="$enable_compat24"
4388
4389 if test "$enableval" = yes; then
4390 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4391 else
4392 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4393 fi
4394
4395 else
4396
4397 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x ; then
4399 eval "DEFAULT_$LINE"
4400 else
4401 no_cache=1
4402 fi
4403
4404 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4405
4406 fi;
4407
4408 eval "$ac_cv_use_compat24"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4411 fi
4412
4413 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4416 else
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4419 fi
4420
4421
4422 enablestring=disable
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4425 no_cache=0
4426 # Check whether --enable-compat26 or --disable-compat26 was given.
4427 if test "${enable_compat26+set}" = set; then
4428 enableval="$enable_compat26"
4429
4430 if test "$enableval" = yes; then
4431 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4432 else
4433 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4434 fi
4435
4436 else
4437
4438 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x ; then
4440 eval "DEFAULT_$LINE"
4441 else
4442 no_cache=1
4443 fi
4444
4445 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4446
4447 fi;
4448
4449 eval "$ac_cv_use_compat26"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4452 fi
4453
4454 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4457 else
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4460 fi
4461
4462
4463
4464 enablestring=
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4467 no_cache=0
4468 # Check whether --enable-rpath or --disable-rpath was given.
4469 if test "${enable_rpath+set}" = set; then
4470 enableval="$enable_rpath"
4471
4472 if test "$enableval" = yes; then
4473 ac_cv_use_rpath='wxUSE_RPATH=yes'
4474 else
4475 ac_cv_use_rpath='wxUSE_RPATH=no'
4476 fi
4477
4478 else
4479
4480 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 else
4484 no_cache=1
4485 fi
4486
4487 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4488
4489 fi;
4490
4491 eval "$ac_cv_use_rpath"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 if test "$wxUSE_RPATH" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4499 else
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4502 fi
4503
4504
4505
4506
4507
4508 enablestring=
4509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4511 no_cache=0
4512 # Check whether --enable-intl or --disable-intl was given.
4513 if test "${enable_intl+set}" = set; then
4514 enableval="$enable_intl"
4515
4516 if test "$enableval" = yes; then
4517 ac_cv_use_intl='wxUSE_INTL=yes'
4518 else
4519 ac_cv_use_intl='wxUSE_INTL=no'
4520 fi
4521
4522 else
4523
4524 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4527 else
4528 no_cache=1
4529 fi
4530
4531 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4532
4533 fi;
4534
4535 eval "$ac_cv_use_intl"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 if test "$wxUSE_INTL" = yes; then
4541 echo "$as_me:$LINENO: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4543 else
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4546 fi
4547
4548
4549 enablestring=
4550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4552 no_cache=0
4553 # Check whether --enable-config or --disable-config was given.
4554 if test "${enable_config+set}" = set; then
4555 enableval="$enable_config"
4556
4557 if test "$enableval" = yes; then
4558 ac_cv_use_config='wxUSE_CONFIG=yes'
4559 else
4560 ac_cv_use_config='wxUSE_CONFIG=no'
4561 fi
4562
4563 else
4564
4565 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x ; then
4567 eval "DEFAULT_$LINE"
4568 else
4569 no_cache=1
4570 fi
4571
4572 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4573
4574 fi;
4575
4576 eval "$ac_cv_use_config"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4579 fi
4580
4581 if test "$wxUSE_CONFIG" = yes; then
4582 echo "$as_me:$LINENO: result: yes" >&5
4583 echo "${ECHO_T}yes" >&6
4584 else
4585 echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6
4587 fi
4588
4589
4590
4591 enablestring=
4592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4594 no_cache=0
4595 # Check whether --enable-protocols or --disable-protocols was given.
4596 if test "${enable_protocols+set}" = set; then
4597 enableval="$enable_protocols"
4598
4599 if test "$enableval" = yes; then
4600 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4601 else
4602 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4603 fi
4604
4605 else
4606
4607 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x ; then
4609 eval "DEFAULT_$LINE"
4610 else
4611 no_cache=1
4612 fi
4613
4614 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4615
4616 fi;
4617
4618 eval "$ac_cv_use_protocols"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4621 fi
4622
4623 if test "$wxUSE_PROTOCOL" = yes; then
4624 echo "$as_me:$LINENO: result: yes" >&5
4625 echo "${ECHO_T}yes" >&6
4626 else
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4629 fi
4630
4631
4632 enablestring=
4633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4635 no_cache=0
4636 # Check whether --enable-ftp or --disable-ftp was given.
4637 if test "${enable_ftp+set}" = set; then
4638 enableval="$enable_ftp"
4639
4640 if test "$enableval" = yes; then
4641 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4642 else
4643 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4644 fi
4645
4646 else
4647
4648 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x ; then
4650 eval "DEFAULT_$LINE"
4651 else
4652 no_cache=1
4653 fi
4654
4655 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4656
4657 fi;
4658
4659 eval "$ac_cv_use_ftp"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4662 fi
4663
4664 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4665 echo "$as_me:$LINENO: result: yes" >&5
4666 echo "${ECHO_T}yes" >&6
4667 else
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4670 fi
4671
4672
4673 enablestring=
4674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4675 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4676 no_cache=0
4677 # Check whether --enable-http or --disable-http was given.
4678 if test "${enable_http+set}" = set; then
4679 enableval="$enable_http"
4680
4681 if test "$enableval" = yes; then
4682 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4683 else
4684 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4685 fi
4686
4687 else
4688
4689 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4690 if test "x$LINE" != x ; then
4691 eval "DEFAULT_$LINE"
4692 else
4693 no_cache=1
4694 fi
4695
4696 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4697
4698 fi;
4699
4700 eval "$ac_cv_use_http"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4703 fi
4704
4705 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4708 else
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4711 fi
4712
4713
4714 enablestring=
4715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4717 no_cache=0
4718 # Check whether --enable-fileproto or --disable-fileproto was given.
4719 if test "${enable_fileproto+set}" = set; then
4720 enableval="$enable_fileproto"
4721
4722 if test "$enableval" = yes; then
4723 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4724 else
4725 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4726 fi
4727
4728 else
4729
4730 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x ; then
4732 eval "DEFAULT_$LINE"
4733 else
4734 no_cache=1
4735 fi
4736
4737 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4738
4739 fi;
4740
4741 eval "$ac_cv_use_fileproto"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4744 fi
4745
4746 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4747 echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6
4749 else
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4752 fi
4753
4754
4755 enablestring=
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4758 no_cache=0
4759 # Check whether --enable-sockets or --disable-sockets was given.
4760 if test "${enable_sockets+set}" = set; then
4761 enableval="$enable_sockets"
4762
4763 if test "$enableval" = yes; then
4764 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4765 else
4766 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4767 fi
4768
4769 else
4770
4771 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x ; then
4773 eval "DEFAULT_$LINE"
4774 else
4775 no_cache=1
4776 fi
4777
4778 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4779
4780 fi;
4781
4782 eval "$ac_cv_use_sockets"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test "$wxUSE_SOCKETS" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4790 else
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4793 fi
4794
4795
4796 enablestring=
4797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4799 no_cache=0
4800 # Check whether --enable-ole or --disable-ole was given.
4801 if test "${enable_ole+set}" = set; then
4802 enableval="$enable_ole"
4803
4804 if test "$enableval" = yes; then
4805 ac_cv_use_ole='wxUSE_OLE=yes'
4806 else
4807 ac_cv_use_ole='wxUSE_OLE=no'
4808 fi
4809
4810 else
4811
4812 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x ; then
4814 eval "DEFAULT_$LINE"
4815 else
4816 no_cache=1
4817 fi
4818
4819 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4820
4821 fi;
4822
4823 eval "$ac_cv_use_ole"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4826 fi
4827
4828 if test "$wxUSE_OLE" = yes; then
4829 echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6
4831 else
4832 echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6
4834 fi
4835
4836
4837 enablestring=
4838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4840 no_cache=0
4841 # Check whether --enable-dataobj or --disable-dataobj was given.
4842 if test "${enable_dataobj+set}" = set; then
4843 enableval="$enable_dataobj"
4844
4845 if test "$enableval" = yes; then
4846 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4847 else
4848 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4849 fi
4850
4851 else
4852
4853 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x ; then
4855 eval "DEFAULT_$LINE"
4856 else
4857 no_cache=1
4858 fi
4859
4860 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4861
4862 fi;
4863
4864 eval "$ac_cv_use_dataobj"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4867 fi
4868
4869 if test "$wxUSE_DATAOBJ" = yes; then
4870 echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6
4872 else
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4875 fi
4876
4877
4878
4879 enablestring=
4880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4882 no_cache=0
4883 # Check whether --enable-ipc or --disable-ipc was given.
4884 if test "${enable_ipc+set}" = set; then
4885 enableval="$enable_ipc"
4886
4887 if test "$enableval" = yes; then
4888 ac_cv_use_ipc='wxUSE_IPC=yes'
4889 else
4890 ac_cv_use_ipc='wxUSE_IPC=no'
4891 fi
4892
4893 else
4894
4895 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x ; then
4897 eval "DEFAULT_$LINE"
4898 else
4899 no_cache=1
4900 fi
4901
4902 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4903
4904 fi;
4905
4906 eval "$ac_cv_use_ipc"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4909 fi
4910
4911 if test "$wxUSE_IPC" = yes; then
4912 echo "$as_me:$LINENO: result: yes" >&5
4913 echo "${ECHO_T}yes" >&6
4914 else
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4917 fi
4918
4919
4920
4921 enablestring=
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4924 no_cache=0
4925 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4926 if test "${enable_apple_ieee+set}" = set; then
4927 enableval="$enable_apple_ieee"
4928
4929 if test "$enableval" = yes; then
4930 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4931 else
4932 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4933 fi
4934
4935 else
4936
4937 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x ; then
4939 eval "DEFAULT_$LINE"
4940 else
4941 no_cache=1
4942 fi
4943
4944 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4945
4946 fi;
4947
4948 eval "$ac_cv_use_apple_ieee"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4951 fi
4952
4953 if test "$wxUSE_APPLE_IEEE" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4956 else
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4959 fi
4960
4961
4962 enablestring=
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4965 no_cache=0
4966 # Check whether --enable-arcstream or --disable-arcstream was given.
4967 if test "${enable_arcstream+set}" = set; then
4968 enableval="$enable_arcstream"
4969
4970 if test "$enableval" = yes; then
4971 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4972 else
4973 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4974 fi
4975
4976 else
4977
4978 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x ; then
4980 eval "DEFAULT_$LINE"
4981 else
4982 no_cache=1
4983 fi
4984
4985 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4986
4987 fi;
4988
4989 eval "$ac_cv_use_arcstream"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4992 fi
4993
4994 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4997 else
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5000 fi
5001
5002
5003 enablestring=
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5006 no_cache=0
5007 # Check whether --enable-backtrace or --disable-backtrace was given.
5008 if test "${enable_backtrace+set}" = set; then
5009 enableval="$enable_backtrace"
5010
5011 if test "$enableval" = yes; then
5012 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5013 else
5014 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5015 fi
5016
5017 else
5018
5019 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x ; then
5021 eval "DEFAULT_$LINE"
5022 else
5023 no_cache=1
5024 fi
5025
5026 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5027
5028 fi;
5029
5030 eval "$ac_cv_use_backtrace"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5033 fi
5034
5035 if test "$wxUSE_STACKWALKER" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5038 else
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5041 fi
5042
5043
5044 enablestring=
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5047 no_cache=0
5048 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5049 if test "${enable_catch_segvs+set}" = set; then
5050 enableval="$enable_catch_segvs"
5051
5052 if test "$enableval" = yes; then
5053 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5054 else
5055 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5056 fi
5057
5058 else
5059
5060 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x ; then
5062 eval "DEFAULT_$LINE"
5063 else
5064 no_cache=1
5065 fi
5066
5067 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5068
5069 fi;
5070
5071 eval "$ac_cv_use_catch_segvs"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5074 fi
5075
5076 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5079 else
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5082 fi
5083
5084
5085 enablestring=
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5088 no_cache=0
5089 # Check whether --enable-cmdline or --disable-cmdline was given.
5090 if test "${enable_cmdline+set}" = set; then
5091 enableval="$enable_cmdline"
5092
5093 if test "$enableval" = yes; then
5094 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5095 else
5096 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5097 fi
5098
5099 else
5100
5101 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x ; then
5103 eval "DEFAULT_$LINE"
5104 else
5105 no_cache=1
5106 fi
5107
5108 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5109
5110 fi;
5111
5112 eval "$ac_cv_use_cmdline"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5115 fi
5116
5117 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5120 else
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5123 fi
5124
5125
5126 enablestring=
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5129 no_cache=0
5130 # Check whether --enable-datetime or --disable-datetime was given.
5131 if test "${enable_datetime+set}" = set; then
5132 enableval="$enable_datetime"
5133
5134 if test "$enableval" = yes; then
5135 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5136 else
5137 ac_cv_use_datetime='wxUSE_DATETIME=no'
5138 fi
5139
5140 else
5141
5142 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x ; then
5144 eval "DEFAULT_$LINE"
5145 else
5146 no_cache=1
5147 fi
5148
5149 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5150
5151 fi;
5152
5153 eval "$ac_cv_use_datetime"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5156 fi
5157
5158 if test "$wxUSE_DATETIME" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5161 else
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5164 fi
5165
5166
5167 enablestring=
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5170 no_cache=0
5171 # Check whether --enable-debugreport or --disable-debugreport was given.
5172 if test "${enable_debugreport+set}" = set; then
5173 enableval="$enable_debugreport"
5174
5175 if test "$enableval" = yes; then
5176 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5177 else
5178 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5179 fi
5180
5181 else
5182
5183 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x ; then
5185 eval "DEFAULT_$LINE"
5186 else
5187 no_cache=1
5188 fi
5189
5190 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5191
5192 fi;
5193
5194 eval "$ac_cv_use_debugreport"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5197 fi
5198
5199 if test "$wxUSE_DEBUGREPORT" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5202 else
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5205 fi
5206
5207
5208 enablestring=
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5211 no_cache=0
5212 # Check whether --enable-dialupman or --disable-dialupman was given.
5213 if test "${enable_dialupman+set}" = set; then
5214 enableval="$enable_dialupman"
5215
5216 if test "$enableval" = yes; then
5217 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5218 else
5219 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5220 fi
5221
5222 else
5223
5224 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5227 else
5228 no_cache=1
5229 fi
5230
5231 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5232
5233 fi;
5234
5235 eval "$ac_cv_use_dialupman"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5238 fi
5239
5240 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5243 else
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5246 fi
5247
5248
5249 enablestring=
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5252 no_cache=0
5253 # Check whether --enable-dynlib or --disable-dynlib was given.
5254 if test "${enable_dynlib+set}" = set; then
5255 enableval="$enable_dynlib"
5256
5257 if test "$enableval" = yes; then
5258 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5259 else
5260 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5273
5274 fi;
5275
5276 eval "$ac_cv_use_dynlib"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5279 fi
5280
5281 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5284 else
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5287 fi
5288
5289
5290 enablestring=
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5293 no_cache=0
5294 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5295 if test "${enable_dynamicloader+set}" = set; then
5296 enableval="$enable_dynamicloader"
5297
5298 if test "$enableval" = yes; then
5299 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5300 else
5301 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5302 fi
5303
5304 else
5305
5306 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5309 else
5310 no_cache=1
5311 fi
5312
5313 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5314
5315 fi;
5316
5317 eval "$ac_cv_use_dynamicloader"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5325 else
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5328 fi
5329
5330
5331 enablestring=
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5334 no_cache=0
5335 # Check whether --enable-exceptions or --disable-exceptions was given.
5336 if test "${enable_exceptions+set}" = set; then
5337 enableval="$enable_exceptions"
5338
5339 if test "$enableval" = yes; then
5340 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5341 else
5342 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5343 fi
5344
5345 else
5346
5347 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x ; then
5349 eval "DEFAULT_$LINE"
5350 else
5351 no_cache=1
5352 fi
5353
5354 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5355
5356 fi;
5357
5358 eval "$ac_cv_use_exceptions"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5361 fi
5362
5363 if test "$wxUSE_EXCEPTIONS" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5366 else
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5369 fi
5370
5371
5372 enablestring=
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5375 no_cache=0
5376 # Check whether --enable-ffile or --disable-ffile was given.
5377 if test "${enable_ffile+set}" = set; then
5378 enableval="$enable_ffile"
5379
5380 if test "$enableval" = yes; then
5381 ac_cv_use_ffile='wxUSE_FFILE=yes'
5382 else
5383 ac_cv_use_ffile='wxUSE_FFILE=no'
5384 fi
5385
5386 else
5387
5388 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x ; then
5390 eval "DEFAULT_$LINE"
5391 else
5392 no_cache=1
5393 fi
5394
5395 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5396
5397 fi;
5398
5399 eval "$ac_cv_use_ffile"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5402 fi
5403
5404 if test "$wxUSE_FFILE" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5407 else
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5410 fi
5411
5412
5413 enablestring=
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5416 no_cache=0
5417 # Check whether --enable-file or --disable-file was given.
5418 if test "${enable_file+set}" = set; then
5419 enableval="$enable_file"
5420
5421 if test "$enableval" = yes; then
5422 ac_cv_use_file='wxUSE_FILE=yes'
5423 else
5424 ac_cv_use_file='wxUSE_FILE=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5437
5438 fi;
5439
5440 eval "$ac_cv_use_file"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test "$wxUSE_FILE" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5448 else
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5451 fi
5452
5453
5454 enablestring=
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5457 no_cache=0
5458 # Check whether --enable-filesystem or --disable-filesystem was given.
5459 if test "${enable_filesystem+set}" = set; then
5460 enableval="$enable_filesystem"
5461
5462 if test "$enableval" = yes; then
5463 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5464 else
5465 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5478
5479 fi;
5480
5481 eval "$ac_cv_use_filesystem"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test "$wxUSE_FILESYSTEM" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5489 else
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5492 fi
5493
5494
5495 enablestring=
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5498 no_cache=0
5499 # Check whether --enable-fontmap or --disable-fontmap was given.
5500 if test "${enable_fontmap+set}" = set; then
5501 enableval="$enable_fontmap"
5502
5503 if test "$enableval" = yes; then
5504 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5505 else
5506 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5507 fi
5508
5509 else
5510
5511 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5514 else
5515 no_cache=1
5516 fi
5517
5518 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5519
5520 fi;
5521
5522 eval "$ac_cv_use_fontmap"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5525 fi
5526
5527 if test "$wxUSE_FONTMAP" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5530 else
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5533 fi
5534
5535
5536 enablestring=
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5539 no_cache=0
5540 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5541 if test "${enable_fs_inet+set}" = set; then
5542 enableval="$enable_fs_inet"
5543
5544 if test "$enableval" = yes; then
5545 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5546 else
5547 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5548 fi
5549
5550 else
5551
5552 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x ; then
5554 eval "DEFAULT_$LINE"
5555 else
5556 no_cache=1
5557 fi
5558
5559 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5560
5561 fi;
5562
5563 eval "$ac_cv_use_fs_inet"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5566 fi
5567
5568 if test "$wxUSE_FS_INET" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5571 else
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5574 fi
5575
5576
5577 enablestring=
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5580 no_cache=0
5581 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5582 if test "${enable_fs_zip+set}" = set; then
5583 enableval="$enable_fs_zip"
5584
5585 if test "$enableval" = yes; then
5586 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5587 else
5588 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5589 fi
5590
5591 else
5592
5593 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 else
5597 no_cache=1
5598 fi
5599
5600 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5601
5602 fi;
5603
5604 eval "$ac_cv_use_fs_zip"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5607 fi
5608
5609 if test "$wxUSE_FS_ZIP" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5612 else
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5615 fi
5616
5617
5618 enablestring=
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5621 no_cache=0
5622 # Check whether --enable-geometry or --disable-geometry was given.
5623 if test "${enable_geometry+set}" = set; then
5624 enableval="$enable_geometry"
5625
5626 if test "$enableval" = yes; then
5627 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5628 else
5629 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5630 fi
5631
5632 else
5633
5634 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x ; then
5636 eval "DEFAULT_$LINE"
5637 else
5638 no_cache=1
5639 fi
5640
5641 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5642
5643 fi;
5644
5645 eval "$ac_cv_use_geometry"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5648 fi
5649
5650 if test "$wxUSE_GEOMETRY" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5653 else
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5656 fi
5657
5658
5659 enablestring=
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5662 no_cache=0
5663 # Check whether --enable-log or --disable-log was given.
5664 if test "${enable_log+set}" = set; then
5665 enableval="$enable_log"
5666
5667 if test "$enableval" = yes; then
5668 ac_cv_use_log='wxUSE_LOG=yes'
5669 else
5670 ac_cv_use_log='wxUSE_LOG=no'
5671 fi
5672
5673 else
5674
5675 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5678 else
5679 no_cache=1
5680 fi
5681
5682 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5683
5684 fi;
5685
5686 eval "$ac_cv_use_log"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5689 fi
5690
5691 if test "$wxUSE_LOG" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5694 else
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5697 fi
5698
5699
5700 enablestring=
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5703 no_cache=0
5704 # Check whether --enable-longlong or --disable-longlong was given.
5705 if test "${enable_longlong+set}" = set; then
5706 enableval="$enable_longlong"
5707
5708 if test "$enableval" = yes; then
5709 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5710 else
5711 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5712 fi
5713
5714 else
5715
5716 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5719 else
5720 no_cache=1
5721 fi
5722
5723 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5724
5725 fi;
5726
5727 eval "$ac_cv_use_longlong"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5730 fi
5731
5732 if test "$wxUSE_LONGLONG" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5735 else
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5738 fi
5739
5740
5741 enablestring=
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5744 no_cache=0
5745 # Check whether --enable-mimetype or --disable-mimetype was given.
5746 if test "${enable_mimetype+set}" = set; then
5747 enableval="$enable_mimetype"
5748
5749 if test "$enableval" = yes; then
5750 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5751 else
5752 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5753 fi
5754
5755 else
5756
5757 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x ; then
5759 eval "DEFAULT_$LINE"
5760 else
5761 no_cache=1
5762 fi
5763
5764 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5765
5766 fi;
5767
5768 eval "$ac_cv_use_mimetype"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5771 fi
5772
5773 if test "$wxUSE_MIMETYPE" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5776 else
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5779 fi
5780
5781
5782 enablestring=
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5785 no_cache=0
5786 # Check whether --enable-mslu or --disable-mslu was given.
5787 if test "${enable_mslu+set}" = set; then
5788 enableval="$enable_mslu"
5789
5790 if test "$enableval" = yes; then
5791 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5792 else
5793 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5794 fi
5795
5796 else
5797
5798 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x ; then
5800 eval "DEFAULT_$LINE"
5801 else
5802 no_cache=1
5803 fi
5804
5805 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5806
5807 fi;
5808
5809 eval "$ac_cv_use_mslu"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5812 fi
5813
5814 if test "$wxUSE_UNICODE_MSLU" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5817 else
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5820 fi
5821
5822
5823 enablestring=
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5826 no_cache=0
5827 # Check whether --enable-snglinst or --disable-snglinst was given.
5828 if test "${enable_snglinst+set}" = set; then
5829 enableval="$enable_snglinst"
5830
5831 if test "$enableval" = yes; then
5832 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5833 else
5834 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5835 fi
5836
5837 else
5838
5839 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x ; then
5841 eval "DEFAULT_$LINE"
5842 else
5843 no_cache=1
5844 fi
5845
5846 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5847
5848 fi;
5849
5850 eval "$ac_cv_use_snglinst"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5853 fi
5854
5855 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5858 else
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5861 fi
5862
5863
5864 enablestring=
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5867 no_cache=0
5868 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5869 if test "${enable_std_iostreams+set}" = set; then
5870 enableval="$enable_std_iostreams"
5871
5872 if test "$enableval" = yes; then
5873 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5874 else
5875 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5876 fi
5877
5878 else
5879
5880 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x ; then
5882 eval "DEFAULT_$LINE"
5883 else
5884 no_cache=1
5885 fi
5886
5887 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5888
5889 fi;
5890
5891 eval "$ac_cv_use_std_iostreams"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5894 fi
5895
5896 if test "$wxUSE_STD_IOSTREAM" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5899 else
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5902 fi
5903
5904
5905 enablestring=
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5908 no_cache=0
5909 # Check whether --enable-std_string or --disable-std_string was given.
5910 if test "${enable_std_string+set}" = set; then
5911 enableval="$enable_std_string"
5912
5913 if test "$enableval" = yes; then
5914 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5915 else
5916 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5917 fi
5918
5919 else
5920
5921 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x ; then
5923 eval "DEFAULT_$LINE"
5924 else
5925 no_cache=1
5926 fi
5927
5928 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5929
5930 fi;
5931
5932 eval "$ac_cv_use_std_string"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5935 fi
5936
5937 if test "$wxUSE_STD_STRING" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5940 else
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5943 fi
5944
5945
5946 enablestring=
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5949 no_cache=0
5950 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5951 if test "${enable_stdpaths+set}" = set; then
5952 enableval="$enable_stdpaths"
5953
5954 if test "$enableval" = yes; then
5955 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5956 else
5957 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5958 fi
5959
5960 else
5961
5962 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x ; then
5964 eval "DEFAULT_$LINE"
5965 else
5966 no_cache=1
5967 fi
5968
5969 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5970
5971 fi;
5972
5973 eval "$ac_cv_use_stdpaths"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5976 fi
5977
5978 if test "$wxUSE_STDPATHS" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5981 else
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5984 fi
5985
5986
5987 enablestring=
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5990 no_cache=0
5991 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5992 if test "${enable_stopwatch+set}" = set; then
5993 enableval="$enable_stopwatch"
5994
5995 if test "$enableval" = yes; then
5996 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5997 else
5998 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5999 fi
6000
6001 else
6002
6003 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6006 else
6007 no_cache=1
6008 fi
6009
6010 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6011
6012 fi;
6013
6014 eval "$ac_cv_use_stopwatch"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6017 fi
6018
6019 if test "$wxUSE_STOPWATCH" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6022 else
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6025 fi
6026
6027
6028 enablestring=
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6031 no_cache=0
6032 # Check whether --enable-streams or --disable-streams was given.
6033 if test "${enable_streams+set}" = set; then
6034 enableval="$enable_streams"
6035
6036 if test "$enableval" = yes; then
6037 ac_cv_use_streams='wxUSE_STREAMS=yes'
6038 else
6039 ac_cv_use_streams='wxUSE_STREAMS=no'
6040 fi
6041
6042 else
6043
6044 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x ; then
6046 eval "DEFAULT_$LINE"
6047 else
6048 no_cache=1
6049 fi
6050
6051 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6052
6053 fi;
6054
6055 eval "$ac_cv_use_streams"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6058 fi
6059
6060 if test "$wxUSE_STREAMS" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6063 else
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6066 fi
6067
6068
6069 enablestring=
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6072 no_cache=0
6073 # Check whether --enable-system_options or --disable-system_options was given.
6074 if test "${enable_system_options+set}" = set; then
6075 enableval="$enable_system_options"
6076
6077 if test "$enableval" = yes; then
6078 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6079 else
6080 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6081 fi
6082
6083 else
6084
6085 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6088 else
6089 no_cache=1
6090 fi
6091
6092 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6093
6094 fi;
6095
6096 eval "$ac_cv_use_system_options"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6099 fi
6100
6101 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6104 else
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6107 fi
6108
6109
6110 enablestring=
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6113 no_cache=0
6114 # Check whether --enable-textbuf or --disable-textbuf was given.
6115 if test "${enable_textbuf+set}" = set; then
6116 enableval="$enable_textbuf"
6117
6118 if test "$enableval" = yes; then
6119 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6120 else
6121 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6122 fi
6123
6124 else
6125
6126 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6129 else
6130 no_cache=1
6131 fi
6132
6133 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6134
6135 fi;
6136
6137 eval "$ac_cv_use_textbuf"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6140 fi
6141
6142 if test "$wxUSE_TEXTBUFFER" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6145 else
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6148 fi
6149
6150
6151 enablestring=
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6154 no_cache=0
6155 # Check whether --enable-textfile or --disable-textfile was given.
6156 if test "${enable_textfile+set}" = set; then
6157 enableval="$enable_textfile"
6158
6159 if test "$enableval" = yes; then
6160 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6161 else
6162 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6163 fi
6164
6165 else
6166
6167 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x ; then
6169 eval "DEFAULT_$LINE"
6170 else
6171 no_cache=1
6172 fi
6173
6174 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6175
6176 fi;
6177
6178 eval "$ac_cv_use_textfile"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6181 fi
6182
6183 if test "$wxUSE_TEXTFILE" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6186 else
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6189 fi
6190
6191
6192 enablestring=
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6195 no_cache=0
6196 # Check whether --enable-timer or --disable-timer was given.
6197 if test "${enable_timer+set}" = set; then
6198 enableval="$enable_timer"
6199
6200 if test "$enableval" = yes; then
6201 ac_cv_use_timer='wxUSE_TIMER=yes'
6202 else
6203 ac_cv_use_timer='wxUSE_TIMER=no'
6204 fi
6205
6206 else
6207
6208 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x ; then
6210 eval "DEFAULT_$LINE"
6211 else
6212 no_cache=1
6213 fi
6214
6215 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6216
6217 fi;
6218
6219 eval "$ac_cv_use_timer"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test "$wxUSE_TIMER" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6227 else
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6230 fi
6231
6232
6233 enablestring=
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6236 no_cache=0
6237 # Check whether --enable-unicode or --disable-unicode was given.
6238 if test "${enable_unicode+set}" = set; then
6239 enableval="$enable_unicode"
6240
6241 if test "$enableval" = yes; then
6242 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6243 else
6244 ac_cv_use_unicode='wxUSE_UNICODE=no'
6245 fi
6246
6247 else
6248
6249 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 else
6253 no_cache=1
6254 fi
6255
6256 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6257
6258 fi;
6259
6260 eval "$ac_cv_use_unicode"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6263 fi
6264
6265 if test "$wxUSE_UNICODE" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273
6274 enablestring=
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6277 no_cache=0
6278 # Check whether --enable-sound or --disable-sound was given.
6279 if test "${enable_sound+set}" = set; then
6280 enableval="$enable_sound"
6281
6282 if test "$enableval" = yes; then
6283 ac_cv_use_sound='wxUSE_SOUND=yes'
6284 else
6285 ac_cv_use_sound='wxUSE_SOUND=no'
6286 fi
6287
6288 else
6289
6290 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x ; then
6292 eval "DEFAULT_$LINE"
6293 else
6294 no_cache=1
6295 fi
6296
6297 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6298
6299 fi;
6300
6301 eval "$ac_cv_use_sound"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6304 fi
6305
6306 if test "$wxUSE_SOUND" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6309 else
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6312 fi
6313
6314
6315 enablestring=
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6318 no_cache=0
6319 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6320 if test "${enable_mediactrl+set}" = set; then
6321 enableval="$enable_mediactrl"
6322
6323 if test "$enableval" = yes; then
6324 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6325 else
6326 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6327 fi
6328
6329 else
6330
6331 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x ; then
6333 eval "DEFAULT_$LINE"
6334 else
6335 no_cache=1
6336 fi
6337
6338 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6339
6340 fi;
6341
6342 eval "$ac_cv_use_mediactrl"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6345 fi
6346
6347 if test "$wxUSE_MEDIACTRL" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6350 else
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6353 fi
6354
6355
6356 enablestring=
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6359 no_cache=0
6360 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6361 if test "${enable_gstreamer8+set}" = set; then
6362 enableval="$enable_gstreamer8"
6363
6364 if test "$enableval" = yes; then
6365 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6366 else
6367 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6368 fi
6369
6370 else
6371
6372 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x ; then
6374 eval "DEFAULT_$LINE"
6375 else
6376 no_cache=1
6377 fi
6378
6379 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6380
6381 fi;
6382
6383 eval "$ac_cv_use_gstreamer8"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6386 fi
6387
6388 if test "$wxUSE_GSTREAMER8" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6391 else
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6394 fi
6395
6396
6397 enablestring=
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6400 no_cache=0
6401 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6402 if test "${enable_printfposparam+set}" = set; then
6403 enableval="$enable_printfposparam"
6404
6405 if test "$enableval" = yes; then
6406 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6407 else
6408 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6409 fi
6410
6411 else
6412
6413 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x ; then
6415 eval "DEFAULT_$LINE"
6416 else
6417 no_cache=1
6418 fi
6419
6420 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6421
6422 fi;
6423
6424 eval "$ac_cv_use_printfposparam"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6427 fi
6428
6429 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6432 else
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6435 fi
6436
6437
6438 enablestring=
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6441 no_cache=0
6442 # Check whether --enable-zipstream or --disable-zipstream was given.
6443 if test "${enable_zipstream+set}" = set; then
6444 enableval="$enable_zipstream"
6445
6446 if test "$enableval" = yes; then
6447 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6448 else
6449 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6450 fi
6451
6452 else
6453
6454 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x ; then
6456 eval "DEFAULT_$LINE"
6457 else
6458 no_cache=1
6459 fi
6460
6461 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6462
6463 fi;
6464
6465 eval "$ac_cv_use_zipstream"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6468 fi
6469
6470 if test "$wxUSE_ZIPSTREAM" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6473 else
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6476 fi
6477
6478
6479
6480 enablestring=
6481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6482 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6483 no_cache=0
6484 # Check whether --enable-url or --disable-url was given.
6485 if test "${enable_url+set}" = set; then
6486 enableval="$enable_url"
6487
6488 if test "$enableval" = yes; then
6489 ac_cv_use_url='wxUSE_URL=yes'
6490 else
6491 ac_cv_use_url='wxUSE_URL=no'
6492 fi
6493
6494 else
6495
6496 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x ; then
6498 eval "DEFAULT_$LINE"
6499 else
6500 no_cache=1
6501 fi
6502
6503 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6504
6505 fi;
6506
6507 eval "$ac_cv_use_url"
6508 if test "$no_cache" != 1; then
6509 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6510 fi
6511
6512 if test "$wxUSE_URL" = yes; then
6513 echo "$as_me:$LINENO: result: yes" >&5
6514 echo "${ECHO_T}yes" >&6
6515 else
6516 echo "$as_me:$LINENO: result: no" >&5
6517 echo "${ECHO_T}no" >&6
6518 fi
6519
6520
6521 enablestring=
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6524 no_cache=0
6525 # Check whether --enable-protocol or --disable-protocol was given.
6526 if test "${enable_protocol+set}" = set; then
6527 enableval="$enable_protocol"
6528
6529 if test "$enableval" = yes; then
6530 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6531 else
6532 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6533 fi
6534
6535 else
6536
6537 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 else
6541 no_cache=1
6542 fi
6543
6544 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6545
6546 fi;
6547
6548 eval "$ac_cv_use_protocol"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6551 fi
6552
6553 if test "$wxUSE_PROTOCOL" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6556 else
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6559 fi
6560
6561
6562 enablestring=
6563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6565 no_cache=0
6566 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6567 if test "${enable_protocol_http+set}" = set; then
6568 enableval="$enable_protocol_http"
6569
6570 if test "$enableval" = yes; then
6571 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6572 else
6573 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6574 fi
6575
6576 else
6577
6578 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x ; then
6580 eval "DEFAULT_$LINE"
6581 else
6582 no_cache=1
6583 fi
6584
6585 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6586
6587 fi;
6588
6589 eval "$ac_cv_use_protocol_http"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6592 fi
6593
6594 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6595 echo "$as_me:$LINENO: result: yes" >&5
6596 echo "${ECHO_T}yes" >&6
6597 else
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6600 fi
6601
6602
6603 enablestring=
6604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6606 no_cache=0
6607 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6608 if test "${enable_protocol_ftp+set}" = set; then
6609 enableval="$enable_protocol_ftp"
6610
6611 if test "$enableval" = yes; then
6612 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6613 else
6614 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6615 fi
6616
6617 else
6618
6619 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x ; then
6621 eval "DEFAULT_$LINE"
6622 else
6623 no_cache=1
6624 fi
6625
6626 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6627
6628 fi;
6629
6630 eval "$ac_cv_use_protocol_ftp"
6631 if test "$no_cache" != 1; then
6632 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6633 fi
6634
6635 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6636 echo "$as_me:$LINENO: result: yes" >&5
6637 echo "${ECHO_T}yes" >&6
6638 else
6639 echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6
6641 fi
6642
6643
6644 enablestring=
6645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6647 no_cache=0
6648 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6649 if test "${enable_protocol_file+set}" = set; then
6650 enableval="$enable_protocol_file"
6651
6652 if test "$enableval" = yes; then
6653 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6654 else
6655 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6656 fi
6657
6658 else
6659
6660 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6663 else
6664 no_cache=1
6665 fi
6666
6667 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6668
6669 fi;
6670
6671 eval "$ac_cv_use_protocol_file"
6672 if test "$no_cache" != 1; then
6673 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6674 fi
6675
6676 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6677 echo "$as_me:$LINENO: result: yes" >&5
6678 echo "${ECHO_T}yes" >&6
6679 else
6680 echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6
6682 fi
6683
6684
6685
6686
6687
6688 enablestring=
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6691 no_cache=0
6692 # Check whether --enable-threads or --disable-threads was given.
6693 if test "${enable_threads+set}" = set; then
6694 enableval="$enable_threads"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_threads='wxUSE_THREADS=yes'
6698 else
6699 ac_cv_use_threads='wxUSE_THREADS=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6712
6713 fi;
6714
6715 eval "$ac_cv_use_threads"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6718 fi
6719
6720 if test "$wxUSE_THREADS" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6723 else
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6726 fi
6727
6728
6729 if test "$wxUSE_GUI" = "yes"; then
6730
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-docview or --disable-docview was given.
6738 if test "${enable_docview+set}" = set; then
6739 enableval="$enable_docview"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6743 else
6744 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6745 fi
6746
6747 else
6748
6749 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6757
6758 fi;
6759
6760 eval "$ac_cv_use_docview"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-help or --disable-help was given.
6779 if test "${enable_help+set}" = set; then
6780 enableval="$enable_help"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_help='wxUSE_HELP=yes'
6784 else
6785 ac_cv_use_help='wxUSE_HELP=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6798
6799 fi;
6800
6801 eval "$ac_cv_use_help"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_HELP" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6820 if test "${enable_mshtmlhelp+set}" = set; then
6821 enableval="$enable_mshtmlhelp"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6825 else
6826 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6839
6840 fi;
6841
6842 eval "$ac_cv_use_mshtmlhelp"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_MS_HTML_HELP" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856 enablestring=
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-html or --disable-html was given.
6861 if test "${enable_html+set}" = set; then
6862 enableval="$enable_html"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_html='wxUSE_HTML=yes'
6866 else
6867 ac_cv_use_html='wxUSE_HTML=no'
6868 fi
6869
6870 else
6871
6872 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6880
6881 fi;
6882
6883 eval "$ac_cv_use_html"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_HTML" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6891 else
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6894 fi
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6902 if test "${enable_htmlhelp+set}" = set; then
6903 enableval="$enable_htmlhelp"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6907 else
6908 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6909 fi
6910
6911 else
6912
6913 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6921
6922 fi;
6923
6924 eval "$ac_cv_use_htmlhelp"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_WXHTML_HELP" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-xrc or --disable-xrc was given.
6943 if test "${enable_xrc+set}" = set; then
6944 enableval="$enable_xrc"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_xrc='wxUSE_XRC=yes'
6948 else
6949 ac_cv_use_xrc='wxUSE_XRC=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6962
6963 fi;
6964
6965 eval "$ac_cv_use_xrc"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_XRC" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-aui or --disable-aui was given.
6984 if test "${enable_aui+set}" = set; then
6985 enableval="$enable_aui"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_aui='wxUSE_AUI=yes'
6989 else
6990 ac_cv_use_aui='wxUSE_AUI=no'
6991 fi
6992
6993 else
6994
6995 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7003
7004 fi;
7005
7006 eval "$ac_cv_use_aui"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_AUI" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-constraints or --disable-constraints was given.
7025 if test "${enable_constraints+set}" = set; then
7026 enableval="$enable_constraints"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7030 else
7031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7044
7045 fi;
7046
7047 eval "$ac_cv_use_constraints"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_CONSTRAINTS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-printarch or --disable-printarch was given.
7066 if test "${enable_printarch+set}" = set; then
7067 enableval="$enable_printarch"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7071 else
7072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7085
7086 fi;
7087
7088 eval "$ac_cv_use_printarch"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-mdi or --disable-mdi was given.
7107 if test "${enable_mdi+set}" = set; then
7108 enableval="$enable_mdi"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_mdi='wxUSE_MDI=yes'
7112 else
7113 ac_cv_use_mdi='wxUSE_MDI=no'
7114 fi
7115
7116 else
7117
7118 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7126
7127 fi;
7128
7129 eval "$ac_cv_use_mdi"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_MDI" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7148 if test "${enable_mdidoc+set}" = set; then
7149 enableval="$enable_mdidoc"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7153 else
7154 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7167
7168 fi;
7169
7170 eval "$ac_cv_use_mdidoc"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-loggui or --disable-loggui was given.
7189 if test "${enable_loggui+set}" = set; then
7190 enableval="$enable_loggui"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7194 else
7195 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7208
7209 fi;
7210
7211 eval "$ac_cv_use_loggui"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_LOGGUI" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-logwin or --disable-logwin was given.
7230 if test "${enable_logwin+set}" = set; then
7231 enableval="$enable_logwin"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7235 else
7236 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7249
7250 fi;
7251
7252 eval "$ac_cv_use_logwin"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_LOGWINDOW" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-logdialog or --disable-logdialog was given.
7271 if test "${enable_logdialog+set}" = set; then
7272 enableval="$enable_logdialog"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7276 else
7277 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7290
7291 fi;
7292
7293 eval "$ac_cv_use_logdialog"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_LOGDIALOG" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-webkit or --disable-webkit was given.
7312 if test "${enable_webkit+set}" = set; then
7313 enableval="$enable_webkit"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7317 else
7318 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7331
7332 fi;
7333
7334 eval "$ac_cv_use_webkit"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_WEBKIT" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-html or --disable-html was given.
7353 if test "${enable_html+set}" = set; then
7354 enableval="$enable_html"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7358 else
7359 ac_cv_use_html='wxUSE_RICHTEXT=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7372
7373 fi;
7374
7375 eval "$ac_cv_use_html"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_RICHTEXT" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389
7390 enablestring=
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7393 no_cache=0
7394 # Check whether --enable-postscript or --disable-postscript was given.
7395 if test "${enable_postscript+set}" = set; then
7396 enableval="$enable_postscript"
7397
7398 if test "$enableval" = yes; then
7399 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7400 else
7401 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7402 fi
7403
7404 else
7405
7406 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x ; then
7408 eval "DEFAULT_$LINE"
7409 else
7410 no_cache=1
7411 fi
7412
7413 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7414
7415 fi;
7416
7417 eval "$ac_cv_use_postscript"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7420 fi
7421
7422 if test "$wxUSE_POSTSCRIPT" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6
7425 else
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7428 fi
7429
7430
7431
7432
7433
7434 enablestring=
7435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7437 no_cache=0
7438 # Check whether --enable-prologio or --disable-prologio was given.
7439 if test "${enable_prologio+set}" = set; then
7440 enableval="$enable_prologio"
7441
7442 if test "$enableval" = yes; then
7443 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7444 else
7445 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7446 fi
7447
7448 else
7449
7450 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x ; then
7452 eval "DEFAULT_$LINE"
7453 else
7454 no_cache=1
7455 fi
7456
7457 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7458
7459 fi;
7460
7461 eval "$ac_cv_use_prologio"
7462 if test "$no_cache" != 1; then
7463 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7464 fi
7465
7466 if test "$wxUSE_PROLOGIO" = yes; then
7467 echo "$as_me:$LINENO: result: yes" >&5
7468 echo "${ECHO_T}yes" >&6
7469 else
7470 echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6
7472 fi
7473
7474
7475 enablestring=
7476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7478 no_cache=0
7479 # Check whether --enable-resources or --disable-resources was given.
7480 if test "${enable_resources+set}" = set; then
7481 enableval="$enable_resources"
7482
7483 if test "$enableval" = yes; then
7484 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7485 else
7486 ac_cv_use_resources='wxUSE_RESOURCES=no'
7487 fi
7488
7489 else
7490
7491 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 else
7495 no_cache=1
7496 fi
7497
7498 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7499
7500 fi;
7501
7502 eval "$ac_cv_use_resources"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7505 fi
7506
7507 if test "$wxUSE_RESOURCES" = yes; then
7508 echo "$as_me:$LINENO: result: yes" >&5
7509 echo "${ECHO_T}yes" >&6
7510 else
7511 echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6
7513 fi
7514
7515
7516
7517
7518 enablestring=
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7521 no_cache=0
7522 # Check whether --enable-clipboard or --disable-clipboard was given.
7523 if test "${enable_clipboard+set}" = set; then
7524 enableval="$enable_clipboard"
7525
7526 if test "$enableval" = yes; then
7527 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7528 else
7529 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7530 fi
7531
7532 else
7533
7534 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7537 else
7538 no_cache=1
7539 fi
7540
7541 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7542
7543 fi;
7544
7545 eval "$ac_cv_use_clipboard"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_CLIPBOARD" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7553 else
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7556 fi
7557
7558
7559 enablestring=
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7562 no_cache=0
7563 # Check whether --enable-dnd or --disable-dnd was given.
7564 if test "${enable_dnd+set}" = set; then
7565 enableval="$enable_dnd"
7566
7567 if test "$enableval" = yes; then
7568 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7569 else
7570 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7583
7584 fi;
7585
7586 eval "$ac_cv_use_dnd"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7594 else
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7597 fi
7598
7599
7600 enablestring=
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7603 no_cache=0
7604 # Check whether --enable-metafile or --disable-metafile was given.
7605 if test "${enable_metafile+set}" = set; then
7606 enableval="$enable_metafile"
7607
7608 if test "$enableval" = yes; then
7609 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7610 else
7611 ac_cv_use_metafile='wxUSE_METAFILE=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7624
7625 fi;
7626
7627 eval "$ac_cv_use_metafile"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_METAFILE" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 else
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7638 fi
7639
7640
7641
7642
7643
7644 enablestring=
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7647 no_cache=0
7648 # Check whether --enable-controls or --disable-controls was given.
7649 if test "${enable_controls+set}" = set; then
7650 enableval="$enable_controls"
7651
7652 if test "$enableval" = yes; then
7653 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7654 else
7655 ac_cv_use_controls='wxUSE_CONTROLS=no'
7656 fi
7657
7658 else
7659
7660 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 else
7664 no_cache=1
7665 fi
7666
7667 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7668
7669 fi;
7670
7671 eval "$ac_cv_use_controls"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7674 fi
7675
7676 if test "$wxUSE_CONTROLS" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6
7679 else
7680 echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6
7682 fi
7683
7684
7685 if test "$wxUSE_CONTROLS" = "yes"; then
7686 DEFAULT_wxUSE_ACCEL=yes
7687 DEFAULT_wxUSE_BMPBUTTON=yes
7688 DEFAULT_wxUSE_BUTTON=yes
7689 DEFAULT_wxUSE_CALCTRL=yes
7690 DEFAULT_wxUSE_CARET=yes
7691 DEFAULT_wxUSE_COMBOBOX=yes
7692 DEFAULT_wxUSE_CHECKBOX=yes
7693 DEFAULT_wxUSE_CHECKLISTBOX=yes
7694 DEFAULT_wxUSE_CHOICE=yes
7695 DEFAULT_wxUSE_CHOICEBOOK=yes
7696 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7697 DEFAULT_wxUSE_COMBOBOX=yes
7698 DEFAULT_wxUSE_DATEPICKCTRL=yes
7699 DEFAULT_wxUSE_DISPLAY=yes
7700 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7701 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7702 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7703 DEFAULT_wxUSE_GAUGE=yes
7704 DEFAULT_wxUSE_GRID=yes
7705 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7706 DEFAULT_wxUSE_DATAVIEWCTRL=no
7707 DEFAULT_wxUSE_IMAGLIST=yes
7708 DEFAULT_wxUSE_LISTBOOK=yes
7709 DEFAULT_wxUSE_LISTBOX=yes
7710 DEFAULT_wxUSE_LISTCTRL=yes
7711 DEFAULT_wxUSE_NOTEBOOK=yes
7712 DEFAULT_wxUSE_RADIOBOX=yes
7713 DEFAULT_wxUSE_RADIOBTN=yes
7714 DEFAULT_wxUSE_SASH=yes
7715 DEFAULT_wxUSE_SCROLLBAR=yes
7716 DEFAULT_wxUSE_SLIDER=yes
7717 DEFAULT_wxUSE_SPINBTN=yes
7718 DEFAULT_wxUSE_SPINCTRL=yes
7719 DEFAULT_wxUSE_SPLITTER=yes
7720 DEFAULT_wxUSE_STATBMP=yes
7721 DEFAULT_wxUSE_STATBOX=yes
7722 DEFAULT_wxUSE_STATLINE=yes
7723 DEFAULT_wxUSE_STATUSBAR=yes
7724 DEFAULT_wxUSE_TAB_DIALOG=yes
7725 DEFAULT_wxUSE_TOGGLEBTN=yes
7726 DEFAULT_wxUSE_TOOLBAR=yes
7727 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7728 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7729 DEFAULT_wxUSE_TOOLTIPS=yes
7730 DEFAULT_wxUSE_TREEBOOK=yes
7731 DEFAULT_wxUSE_TOOLBOOK=yes
7732 DEFAULT_wxUSE_TREECTRL=yes
7733 DEFAULT_wxUSE_POPUPWIN=yes
7734 DEFAULT_wxUSE_TIPWINDOW=yes
7735 elif test "$wxUSE_CONTROLS" = "no"; then
7736 DEFAULT_wxUSE_ACCEL=no
7737 DEFAULT_wxUSE_BMPBUTTON=no
7738 DEFAULT_wxUSE_BUTTON=no
7739 DEFAULT_wxUSE_CALCTRL=no
7740 DEFAULT_wxUSE_CARET=no
7741 DEFAULT_wxUSE_COMBOBOX=no
7742 DEFAULT_wxUSE_CHECKBOX=no
7743 DEFAULT_wxUSE_CHECKLISTBOX=no
7744 DEFAULT_wxUSE_CHOICE=no
7745 DEFAULT_wxUSE_CHOICEBOOK=no
7746 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7747 DEFAULT_wxUSE_COMBOBOX=no
7748 DEFAULT_wxUSE_DATEPICKCTRL=no
7749 DEFAULT_wxUSE_DISPLAY=no
7750 DEFAULT_wxUSE_DIRPICKERCTRL=no
7751 DEFAULT_wxUSE_FILEPICKERCTRL=no
7752 DEFAULT_wxUSE_FONTPICKERCTRL=no
7753 DEFAULT_wxUSE_GAUGE=no
7754 DEFAULT_wxUSE_GRID=no
7755 DEFAULT_wxUSE_HYPERLINKCTRL=no
7756 DEFAULT_wxUSE_DATAVIEWCTRL=no
7757 DEFAULT_wxUSE_IMAGLIST=no
7758 DEFAULT_wxUSE_LISTBOOK=no
7759 DEFAULT_wxUSE_LISTBOX=no
7760 DEFAULT_wxUSE_LISTCTRL=no
7761 DEFAULT_wxUSE_NOTEBOOK=no
7762 DEFAULT_wxUSE_RADIOBOX=no
7763 DEFAULT_wxUSE_RADIOBTN=no
7764 DEFAULT_wxUSE_SASH=no
7765 DEFAULT_wxUSE_SCROLLBAR=no
7766 DEFAULT_wxUSE_SLIDER=no
7767 DEFAULT_wxUSE_SPINBTN=no
7768 DEFAULT_wxUSE_SPINCTRL=no
7769 DEFAULT_wxUSE_SPLITTER=no
7770 DEFAULT_wxUSE_STATBMP=no
7771 DEFAULT_wxUSE_STATBOX=no
7772 DEFAULT_wxUSE_STATLINE=no
7773 DEFAULT_wxUSE_STATUSBAR=no
7774 DEFAULT_wxUSE_TAB_DIALOG=no
7775 DEFAULT_wxUSE_TOGGLEBTN=no
7776 DEFAULT_wxUSE_TOOLBAR=no
7777 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7778 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7779 DEFAULT_wxUSE_TOOLTIPS=no
7780 DEFAULT_wxUSE_TREEBOOK=no
7781 DEFAULT_wxUSE_TOOLBOOK=no
7782 DEFAULT_wxUSE_TREECTRL=no
7783 DEFAULT_wxUSE_POPUPWIN=no
7784 DEFAULT_wxUSE_TIPWINDOW=no
7785 fi
7786
7787
7788 enablestring=
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-accel or --disable-accel was given.
7793 if test "${enable_accel+set}" = set; then
7794 enableval="$enable_accel"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_accel='wxUSE_ACCEL=yes'
7798 else
7799 ac_cv_use_accel='wxUSE_ACCEL=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7812
7813 fi;
7814
7815 eval "$ac_cv_use_accel"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_ACCEL" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-button or --disable-button was given.
7834 if test "${enable_button+set}" = set; then
7835 enableval="$enable_button"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_button='wxUSE_BUTTON=yes'
7839 else
7840 ac_cv_use_button='wxUSE_BUTTON=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7853
7854 fi;
7855
7856 eval "$ac_cv_use_button"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_BUTTON" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870 enablestring=
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7873 no_cache=0
7874 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7875 if test "${enable_bmpbutton+set}" = set; then
7876 enableval="$enable_bmpbutton"
7877
7878 if test "$enableval" = yes; then
7879 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7880 else
7881 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7882 fi
7883
7884 else
7885
7886 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x ; then
7888 eval "DEFAULT_$LINE"
7889 else
7890 no_cache=1
7891 fi
7892
7893 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7894
7895 fi;
7896
7897 eval "$ac_cv_use_bmpbutton"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test "$wxUSE_BMPBUTTON" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7905 else
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-calendar or --disable-calendar was given.
7916 if test "${enable_calendar+set}" = set; then
7917 enableval="$enable_calendar"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7921 else
7922 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7935
7936 fi;
7937
7938 eval "$ac_cv_use_calendar"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_CALCTRL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-caret or --disable-caret was given.
7957 if test "${enable_caret+set}" = set; then
7958 enableval="$enable_caret"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_caret='wxUSE_CARET=yes'
7962 else
7963 ac_cv_use_caret='wxUSE_CARET=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7976
7977 fi;
7978
7979 eval "$ac_cv_use_caret"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_CARET" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-checkbox or --disable-checkbox was given.
7998 if test "${enable_checkbox+set}" = set; then
7999 enableval="$enable_checkbox"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8003 else
8004 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8017
8018 fi;
8019
8020 eval "$ac_cv_use_checkbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_CHECKBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-checklst or --disable-checklst was given.
8039 if test "${enable_checklst+set}" = set; then
8040 enableval="$enable_checklst"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8044 else
8045 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8058
8059 fi;
8060
8061 eval "$ac_cv_use_checklst"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_CHECKLST" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-choice or --disable-choice was given.
8080 if test "${enable_choice+set}" = set; then
8081 enableval="$enable_choice"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_choice='wxUSE_CHOICE=yes'
8085 else
8086 ac_cv_use_choice='wxUSE_CHOICE=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8099
8100 fi;
8101
8102 eval "$ac_cv_use_choice"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_CHOICE" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-choicebook or --disable-choicebook was given.
8121 if test "${enable_choicebook+set}" = set; then
8122 enableval="$enable_choicebook"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8126 else
8127 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8140
8141 fi;
8142
8143 eval "$ac_cv_use_choicebook"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_CHOICEBOOK" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8162 if test "${enable_colourpicker+set}" = set; then
8163 enableval="$enable_colourpicker"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8167 else
8168 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8181
8182 fi;
8183
8184 eval "$ac_cv_use_colourpicker"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-combobox or --disable-combobox was given.
8203 if test "${enable_combobox+set}" = set; then
8204 enableval="$enable_combobox"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8208 else
8209 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8222
8223 fi;
8224
8225 eval "$ac_cv_use_combobox"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_COMBOBOX" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8244 if test "${enable_comboctrl+set}" = set; then
8245 enableval="$enable_comboctrl"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8249 else
8250 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8263
8264 fi;
8265
8266 eval "$ac_cv_use_comboctrl"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_COMBOCTRL" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-datepick or --disable-datepick was given.
8285 if test "${enable_datepick+set}" = set; then
8286 enableval="$enable_datepick"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8290 else
8291 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8304
8305 fi;
8306
8307 eval "$ac_cv_use_datepick"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_DATEPICKCTRL" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8326 if test "${enable_dirpicker+set}" = set; then
8327 enableval="$enable_dirpicker"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8331 else
8332 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8345
8346 fi;
8347
8348 eval "$ac_cv_use_dirpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-display or --disable-display was given.
8367 if test "${enable_display+set}" = set; then
8368 enableval="$enable_display"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_display='wxUSE_DISPLAY=yes'
8372 else
8373 ac_cv_use_display='wxUSE_DISPLAY=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8386
8387 fi;
8388
8389 eval "$ac_cv_use_display"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_DISPLAY" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-filepicker or --disable-filepicker was given.
8408 if test "${enable_filepicker+set}" = set; then
8409 enableval="$enable_filepicker"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8413 else
8414 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8427
8428 fi;
8429
8430 eval "$ac_cv_use_filepicker"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8449 if test "${enable_fontpicker+set}" = set; then
8450 enableval="$enable_fontpicker"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8454 else
8455 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8468
8469 fi;
8470
8471 eval "$ac_cv_use_fontpicker"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-gauge or --disable-gauge was given.
8490 if test "${enable_gauge+set}" = set; then
8491 enableval="$enable_gauge"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8495 else
8496 ac_cv_use_gauge='wxUSE_GAUGE=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8509
8510 fi;
8511
8512 eval "$ac_cv_use_gauge"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_GAUGE" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-grid or --disable-grid was given.
8531 if test "${enable_grid+set}" = set; then
8532 enableval="$enable_grid"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_grid='wxUSE_GRID=yes'
8536 else
8537 ac_cv_use_grid='wxUSE_GRID=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8550
8551 fi;
8552
8553 eval "$ac_cv_use_grid"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_GRID" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8572 if test "${enable_dataviewctrl+set}" = set; then
8573 enableval="$enable_dataviewctrl"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8577 else
8578 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8591
8592 fi;
8593
8594 eval "$ac_cv_use_dataviewctrl"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8613 if test "${enable_hyperlink+set}" = set; then
8614 enableval="$enable_hyperlink"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8618 else
8619 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8632
8633 fi;
8634
8635 eval "$ac_cv_use_hyperlink"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-imaglist or --disable-imaglist was given.
8654 if test "${enable_imaglist+set}" = set; then
8655 enableval="$enable_imaglist"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8659 else
8660 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8673
8674 fi;
8675
8676 eval "$ac_cv_use_imaglist"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_IMAGLIST" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-listbook or --disable-listbook was given.
8695 if test "${enable_listbook+set}" = set; then
8696 enableval="$enable_listbook"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8700 else
8701 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8714
8715 fi;
8716
8717 eval "$ac_cv_use_listbook"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_LISTBOOK" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-listbox or --disable-listbox was given.
8736 if test "${enable_listbox+set}" = set; then
8737 enableval="$enable_listbox"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8741 else
8742 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8755
8756 fi;
8757
8758 eval "$ac_cv_use_listbox"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_LISTBOX" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-listctrl or --disable-listctrl was given.
8777 if test "${enable_listctrl+set}" = set; then
8778 enableval="$enable_listctrl"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8782 else
8783 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8796
8797 fi;
8798
8799 eval "$ac_cv_use_listctrl"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_LISTCTRL" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-notebook or --disable-notebook was given.
8818 if test "${enable_notebook+set}" = set; then
8819 enableval="$enable_notebook"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8823 else
8824 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8837
8838 fi;
8839
8840 eval "$ac_cv_use_notebook"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_NOTEBOOK" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8859 if test "${enable_odcombobox+set}" = set; then
8860 enableval="$enable_odcombobox"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8864 else
8865 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8878
8879 fi;
8880
8881 eval "$ac_cv_use_odcombobox"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_ODCOMBOBOX" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-radiobox or --disable-radiobox was given.
8900 if test "${enable_radiobox+set}" = set; then
8901 enableval="$enable_radiobox"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8905 else
8906 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8919
8920 fi;
8921
8922 eval "$ac_cv_use_radiobox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_RADIOBOX" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8941 if test "${enable_radiobtn+set}" = set; then
8942 enableval="$enable_radiobtn"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8946 else
8947 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8960
8961 fi;
8962
8963 eval "$ac_cv_use_radiobtn"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_RADIOBTN" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-sash or --disable-sash was given.
8982 if test "${enable_sash+set}" = set; then
8983 enableval="$enable_sash"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_sash='wxUSE_SASH=yes'
8987 else
8988 ac_cv_use_sash='wxUSE_SASH=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9001
9002 fi;
9003
9004 eval "$ac_cv_use_sash"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_SASH" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018 enablestring=
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9021 no_cache=0
9022 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9023 if test "${enable_scrollbar+set}" = set; then
9024 enableval="$enable_scrollbar"
9025
9026 if test "$enableval" = yes; then
9027 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9028 else
9029 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9030 fi
9031
9032 else
9033
9034 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9037 else
9038 no_cache=1
9039 fi
9040
9041 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9042
9043 fi;
9044
9045 eval "$ac_cv_use_scrollbar"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9048 fi
9049
9050 if test "$wxUSE_SCROLLBAR" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9053 else
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9056 fi
9057
9058
9059 enablestring=
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9062 no_cache=0
9063 # Check whether --enable-slider or --disable-slider was given.
9064 if test "${enable_slider+set}" = set; then
9065 enableval="$enable_slider"
9066
9067 if test "$enableval" = yes; then
9068 ac_cv_use_slider='wxUSE_SLIDER=yes'
9069 else
9070 ac_cv_use_slider='wxUSE_SLIDER=no'
9071 fi
9072
9073 else
9074
9075 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9078 else
9079 no_cache=1
9080 fi
9081
9082 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9083
9084 fi;
9085
9086 eval "$ac_cv_use_slider"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9089 fi
9090
9091 if test "$wxUSE_SLIDER" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9094 else
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9097 fi
9098
9099
9100 enablestring=
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9103 no_cache=0
9104 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9105 if test "${enable_spinbtn+set}" = set; then
9106 enableval="$enable_spinbtn"
9107
9108 if test "$enableval" = yes; then
9109 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9110 else
9111 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 else
9120 no_cache=1
9121 fi
9122
9123 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9124
9125 fi;
9126
9127 eval "$ac_cv_use_spinbtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9130 fi
9131
9132 if test "$wxUSE_SPINBTN" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9135 else
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9138 fi
9139
9140
9141 enablestring=
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9144 no_cache=0
9145 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9146 if test "${enable_spinctrl+set}" = set; then
9147 enableval="$enable_spinctrl"
9148
9149 if test "$enableval" = yes; then
9150 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9151 else
9152 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9153 fi
9154
9155 else
9156
9157 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 else
9161 no_cache=1
9162 fi
9163
9164 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9165
9166 fi;
9167
9168 eval "$ac_cv_use_spinctrl"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9171 fi
9172
9173 if test "$wxUSE_SPINCTRL" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9176 else
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9179 fi
9180
9181
9182 enablestring=
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9185 no_cache=0
9186 # Check whether --enable-splitter or --disable-splitter was given.
9187 if test "${enable_splitter+set}" = set; then
9188 enableval="$enable_splitter"
9189
9190 if test "$enableval" = yes; then
9191 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9192 else
9193 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9194 fi
9195
9196 else
9197
9198 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9201 else
9202 no_cache=1
9203 fi
9204
9205 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9206
9207 fi;
9208
9209 eval "$ac_cv_use_splitter"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9212 fi
9213
9214 if test "$wxUSE_SPLITTER" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9217 else
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9220 fi
9221
9222
9223 enablestring=
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9226 no_cache=0
9227 # Check whether --enable-statbmp or --disable-statbmp was given.
9228 if test "${enable_statbmp+set}" = set; then
9229 enableval="$enable_statbmp"
9230
9231 if test "$enableval" = yes; then
9232 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9233 else
9234 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9235 fi
9236
9237 else
9238
9239 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9242 else
9243 no_cache=1
9244 fi
9245
9246 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9247
9248 fi;
9249
9250 eval "$ac_cv_use_statbmp"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9253 fi
9254
9255 if test "$wxUSE_STATBMP" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9258 else
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9261 fi
9262
9263
9264 enablestring=
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9267 no_cache=0
9268 # Check whether --enable-statbox or --disable-statbox was given.
9269 if test "${enable_statbox+set}" = set; then
9270 enableval="$enable_statbox"
9271
9272 if test "$enableval" = yes; then
9273 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9274 else
9275 ac_cv_use_statbox='wxUSE_STATBOX=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9288
9289 fi;
9290
9291 eval "$ac_cv_use_statbox"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9294 fi
9295
9296 if test "$wxUSE_STATBOX" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9299 else
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9302 fi
9303
9304
9305 enablestring=
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9308 no_cache=0
9309 # Check whether --enable-statline or --disable-statline was given.
9310 if test "${enable_statline+set}" = set; then
9311 enableval="$enable_statline"
9312
9313 if test "$enableval" = yes; then
9314 ac_cv_use_statline='wxUSE_STATLINE=yes'
9315 else
9316 ac_cv_use_statline='wxUSE_STATLINE=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9329
9330 fi;
9331
9332 eval "$ac_cv_use_statline"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9335 fi
9336
9337 if test "$wxUSE_STATLINE" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9340 else
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 fi
9344
9345
9346 enablestring=
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9349 no_cache=0
9350 # Check whether --enable-stattext or --disable-stattext was given.
9351 if test "${enable_stattext+set}" = set; then
9352 enableval="$enable_stattext"
9353
9354 if test "$enableval" = yes; then
9355 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9356 else
9357 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9370
9371 fi;
9372
9373 eval "$ac_cv_use_stattext"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9376 fi
9377
9378 if test "$wxUSE_STATTEXT" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9381 else
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9384 fi
9385
9386
9387 enablestring=
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9390 no_cache=0
9391 # Check whether --enable-statusbar or --disable-statusbar was given.
9392 if test "${enable_statusbar+set}" = set; then
9393 enableval="$enable_statusbar"
9394
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9397 else
9398 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9411
9412 fi;
9413
9414 eval "$ac_cv_use_statusbar"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9417 fi
9418
9419 if test "$wxUSE_STATUSBAR" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9422 else
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9425 fi
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9433 if test "${enable_tabdialog+set}" = set; then
9434 enableval="$enable_tabdialog"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9438 else
9439 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9452
9453 fi;
9454
9455 eval "$ac_cv_use_tabdialog"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_TAB_DIALOG" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-textctrl or --disable-textctrl was given.
9474 if test "${enable_textctrl+set}" = set; then
9475 enableval="$enable_textctrl"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9479 else
9480 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9493
9494 fi;
9495
9496 eval "$ac_cv_use_textctrl"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_TEXTCTRL" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9515 if test "${enable_togglebtn+set}" = set; then
9516 enableval="$enable_togglebtn"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9520 else
9521 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9534
9535 fi;
9536
9537 eval "$ac_cv_use_togglebtn"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_TOGGLEBTN" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-toolbar or --disable-toolbar was given.
9556 if test "${enable_toolbar+set}" = set; then
9557 enableval="$enable_toolbar"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9561 else
9562 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9575
9576 fi;
9577
9578 eval "$ac_cv_use_toolbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_TOOLBAR" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9597 if test "${enable_tbarnative+set}" = set; then
9598 enableval="$enable_tbarnative"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9602 else
9603 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9616
9617 fi;
9618
9619 eval "$ac_cv_use_tbarnative"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9638 if test "${enable_tbarsmpl+set}" = set; then
9639 enableval="$enable_tbarsmpl"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9643 else
9644 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9657
9658 fi;
9659
9660 eval "$ac_cv_use_tbarsmpl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674 enablestring=
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9677 no_cache=0
9678 # Check whether --enable-treebook or --disable-treebook was given.
9679 if test "${enable_treebook+set}" = set; then
9680 enableval="$enable_treebook"
9681
9682 if test "$enableval" = yes; then
9683 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9684 else
9685 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9698
9699 fi;
9700
9701 eval "$ac_cv_use_treebook"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9704 fi
9705
9706 if test "$wxUSE_TREEBOOK" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9709 else
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9712 fi
9713
9714
9715 enablestring=
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9718 no_cache=0
9719 # Check whether --enable-toolbook or --disable-toolbook was given.
9720 if test "${enable_toolbook+set}" = set; then
9721 enableval="$enable_toolbook"
9722
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9725 else
9726 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9739
9740 fi;
9741
9742 eval "$ac_cv_use_toolbook"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9745 fi
9746
9747 if test "$wxUSE_TOOLBOOK" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9750 else
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9753 fi
9754
9755
9756 enablestring=
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9759 no_cache=0
9760 # Check whether --enable-treectrl or --disable-treectrl was given.
9761 if test "${enable_treectrl+set}" = set; then
9762 enableval="$enable_treectrl"
9763
9764 if test "$enableval" = yes; then
9765 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9766 else
9767 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9768 fi
9769
9770 else
9771
9772 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x ; then
9774 eval "DEFAULT_$LINE"
9775 else
9776 no_cache=1
9777 fi
9778
9779 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9780
9781 fi;
9782
9783 eval "$ac_cv_use_treectrl"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9786 fi
9787
9788 if test "$wxUSE_TREECTRL" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9791 else
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9794 fi
9795
9796
9797 enablestring=
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9800 no_cache=0
9801 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9802 if test "${enable_tipwindow+set}" = set; then
9803 enableval="$enable_tipwindow"
9804
9805 if test "$enableval" = yes; then
9806 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9807 else
9808 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9809 fi
9810
9811 else
9812
9813 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x ; then
9815 eval "DEFAULT_$LINE"
9816 else
9817 no_cache=1
9818 fi
9819
9820 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9821
9822 fi;
9823
9824 eval "$ac_cv_use_tipwindow"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9827 fi
9828
9829 if test "$wxUSE_TIPWINDOW" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9832 else
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9835 fi
9836
9837
9838 enablestring=
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9841 no_cache=0
9842 # Check whether --enable-popupwin or --disable-popupwin was given.
9843 if test "${enable_popupwin+set}" = set; then
9844 enableval="$enable_popupwin"
9845
9846 if test "$enableval" = yes; then
9847 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9848 else
9849 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9850 fi
9851
9852 else
9853
9854 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9857 else
9858 no_cache=1
9859 fi
9860
9861 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9862
9863 fi;
9864
9865 eval "$ac_cv_use_popupwin"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9868 fi
9869
9870 if test "$wxUSE_POPUPWIN" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9873 else
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9876 fi
9877
9878
9879
9880
9881 enablestring=
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9884 no_cache=0
9885 # Check whether --enable-commondlg or --disable-commondlg was given.
9886 if test "${enable_commondlg+set}" = set; then
9887 enableval="$enable_commondlg"
9888
9889 if test "$enableval" = yes; then
9890 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9891 else
9892 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9893 fi
9894
9895 else
9896
9897 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x ; then
9899 eval "DEFAULT_$LINE"
9900 else
9901 no_cache=1
9902 fi
9903
9904 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9905
9906 fi;
9907
9908 eval "$ac_cv_use_commondlg"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9911 fi
9912
9913 if test "$wxUSE_COMMONDLGS" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9916 else
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9919 fi
9920
9921
9922 enablestring=
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9925 no_cache=0
9926 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9927 if test "${enable_choicedlg+set}" = set; then
9928 enableval="$enable_choicedlg"
9929
9930 if test "$enableval" = yes; then
9931 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9932 else
9933 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9934 fi
9935
9936 else
9937
9938 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x ; then
9940 eval "DEFAULT_$LINE"
9941 else
9942 no_cache=1
9943 fi
9944
9945 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9946
9947 fi;
9948
9949 eval "$ac_cv_use_choicedlg"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9952 fi
9953
9954 if test "$wxUSE_CHOICEDLG" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9957 else
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9960 fi
9961
9962
9963 enablestring=
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9966 no_cache=0
9967 # Check whether --enable-coldlg or --disable-coldlg was given.
9968 if test "${enable_coldlg+set}" = set; then
9969 enableval="$enable_coldlg"
9970
9971 if test "$enableval" = yes; then
9972 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9973 else
9974 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9975 fi
9976
9977 else
9978
9979 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x ; then
9981 eval "DEFAULT_$LINE"
9982 else
9983 no_cache=1
9984 fi
9985
9986 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9987
9988 fi;
9989
9990 eval "$ac_cv_use_coldlg"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9993 fi
9994
9995 if test "$wxUSE_COLOURDLG" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9998 else
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10001 fi
10002
10003
10004 enablestring=
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10007 no_cache=0
10008 # Check whether --enable-filedlg or --disable-filedlg was given.
10009 if test "${enable_filedlg+set}" = set; then
10010 enableval="$enable_filedlg"
10011
10012 if test "$enableval" = yes; then
10013 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10014 else
10015 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10016 fi
10017
10018 else
10019
10020 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x ; then
10022 eval "DEFAULT_$LINE"
10023 else
10024 no_cache=1
10025 fi
10026
10027 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10028
10029 fi;
10030
10031 eval "$ac_cv_use_filedlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10034 fi
10035
10036 if test "$wxUSE_FILEDLG" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10039 else
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10042 fi
10043
10044
10045 enablestring=
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10048 no_cache=0
10049 # Check whether --enable-finddlg or --disable-finddlg was given.
10050 if test "${enable_finddlg+set}" = set; then
10051 enableval="$enable_finddlg"
10052
10053 if test "$enableval" = yes; then
10054 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10055 else
10056 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10057 fi
10058
10059 else
10060
10061 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x ; then
10063 eval "DEFAULT_$LINE"
10064 else
10065 no_cache=1
10066 fi
10067
10068 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10069
10070 fi;
10071
10072 eval "$ac_cv_use_finddlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10075 fi
10076
10077 if test "$wxUSE_FINDREPLDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10080 else
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10083 fi
10084
10085
10086 enablestring=
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10089 no_cache=0
10090 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10091 if test "${enable_fontdlg+set}" = set; then
10092 enableval="$enable_fontdlg"
10093
10094 if test "$enableval" = yes; then
10095 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10096 else
10097 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10098 fi
10099
10100 else
10101
10102 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x ; then
10104 eval "DEFAULT_$LINE"
10105 else
10106 no_cache=1
10107 fi
10108
10109 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10110
10111 fi;
10112
10113 eval "$ac_cv_use_fontdlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10116 fi
10117
10118 if test "$wxUSE_FONTDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10121 else
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10124 fi
10125
10126
10127 enablestring=
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10130 no_cache=0
10131 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10132 if test "${enable_dirdlg+set}" = set; then
10133 enableval="$enable_dirdlg"
10134
10135 if test "$enableval" = yes; then
10136 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10137 else
10138 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10139 fi
10140
10141 else
10142
10143 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x ; then
10145 eval "DEFAULT_$LINE"
10146 else
10147 no_cache=1
10148 fi
10149
10150 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10151
10152 fi;
10153
10154 eval "$ac_cv_use_dirdlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10157 fi
10158
10159 if test "$wxUSE_DIRDLG" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10162 else
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10165 fi
10166
10167
10168 enablestring=
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10171 no_cache=0
10172 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10173 if test "${enable_msgdlg+set}" = set; then
10174 enableval="$enable_msgdlg"
10175
10176 if test "$enableval" = yes; then
10177 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10178 else
10179 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10180 fi
10181
10182 else
10183
10184 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x ; then
10186 eval "DEFAULT_$LINE"
10187 else
10188 no_cache=1
10189 fi
10190
10191 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10192
10193 fi;
10194
10195 eval "$ac_cv_use_msgdlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10198 fi
10199
10200 if test "$wxUSE_MSGDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10203 else
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10206 fi
10207
10208
10209 enablestring=
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10212 no_cache=0
10213 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10214 if test "${enable_numberdlg+set}" = set; then
10215 enableval="$enable_numberdlg"
10216
10217 if test "$enableval" = yes; then
10218 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10219 else
10220 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10221 fi
10222
10223 else
10224
10225 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x ; then
10227 eval "DEFAULT_$LINE"
10228 else
10229 no_cache=1
10230 fi
10231
10232 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10233
10234 fi;
10235
10236 eval "$ac_cv_use_numberdlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10239 fi
10240
10241 if test "$wxUSE_NUMBERDLG" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10244 else
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10247 fi
10248
10249
10250 enablestring=
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10253 no_cache=0
10254 # Check whether --enable-splash or --disable-splash was given.
10255 if test "${enable_splash+set}" = set; then
10256 enableval="$enable_splash"
10257
10258 if test "$enableval" = yes; then
10259 ac_cv_use_splash='wxUSE_SPLASH=yes'
10260 else
10261 ac_cv_use_splash='wxUSE_SPLASH=no'
10262 fi
10263
10264 else
10265
10266 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x ; then
10268 eval "DEFAULT_$LINE"
10269 else
10270 no_cache=1
10271 fi
10272
10273 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10274
10275 fi;
10276
10277 eval "$ac_cv_use_splash"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10280 fi
10281
10282 if test "$wxUSE_SPLASH" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10285 else
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10288 fi
10289
10290
10291 enablestring=
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10294 no_cache=0
10295 # Check whether --enable-textdlg or --disable-textdlg was given.
10296 if test "${enable_textdlg+set}" = set; then
10297 enableval="$enable_textdlg"
10298
10299 if test "$enableval" = yes; then
10300 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10301 else
10302 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10303 fi
10304
10305 else
10306
10307 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x ; then
10309 eval "DEFAULT_$LINE"
10310 else
10311 no_cache=1
10312 fi
10313
10314 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10315
10316 fi;
10317
10318 eval "$ac_cv_use_textdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10321 fi
10322
10323 if test "$wxUSE_TEXTDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10326 else
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10329 fi
10330
10331
10332 enablestring=
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10335 no_cache=0
10336 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10337 if test "${enable_tipdlg+set}" = set; then
10338 enableval="$enable_tipdlg"
10339
10340 if test "$enableval" = yes; then
10341 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10342 else
10343 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10344 fi
10345
10346 else
10347
10348 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x ; then
10350 eval "DEFAULT_$LINE"
10351 else
10352 no_cache=1
10353 fi
10354
10355 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10356
10357 fi;
10358
10359 eval "$ac_cv_use_tipdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10362 fi
10363
10364 if test "$wxUSE_STARTUP_TIPS" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10367 else
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10370 fi
10371
10372
10373 enablestring=
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10376 no_cache=0
10377 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10378 if test "${enable_progressdlg+set}" = set; then
10379 enableval="$enable_progressdlg"
10380
10381 if test "$enableval" = yes; then
10382 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10383 else
10384 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10385 fi
10386
10387 else
10388
10389 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10392 else
10393 no_cache=1
10394 fi
10395
10396 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10397
10398 fi;
10399
10400 eval "$ac_cv_use_progressdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10403 fi
10404
10405 if test "$wxUSE_PROGRESSDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10408 else
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10411 fi
10412
10413
10414 enablestring=
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10417 no_cache=0
10418 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10419 if test "${enable_wizarddlg+set}" = set; then
10420 enableval="$enable_wizarddlg"
10421
10422 if test "$enableval" = yes; then
10423 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10424 else
10425 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10426 fi
10427
10428 else
10429
10430 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x ; then
10432 eval "DEFAULT_$LINE"
10433 else
10434 no_cache=1
10435 fi
10436
10437 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10438
10439 fi;
10440
10441 eval "$ac_cv_use_wizarddlg"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10444 fi
10445
10446 if test "$wxUSE_WIZARDDLG" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10449 else
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10452 fi
10453
10454
10455
10456
10457 enablestring=
10458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10460 no_cache=0
10461 # Check whether --enable-menus or --disable-menus was given.
10462 if test "${enable_menus+set}" = set; then
10463 enableval="$enable_menus"
10464
10465 if test "$enableval" = yes; then
10466 ac_cv_use_menus='wxUSE_MENUS=yes'
10467 else
10468 ac_cv_use_menus='wxUSE_MENUS=no'
10469 fi
10470
10471 else
10472
10473 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10474 if test "x$LINE" != x ; then
10475 eval "DEFAULT_$LINE"
10476 else
10477 no_cache=1
10478 fi
10479
10480 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10481
10482 fi;
10483
10484 eval "$ac_cv_use_menus"
10485 if test "$no_cache" != 1; then
10486 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10487 fi
10488
10489 if test "$wxUSE_MENUS" = yes; then
10490 echo "$as_me:$LINENO: result: yes" >&5
10491 echo "${ECHO_T}yes" >&6
10492 else
10493 echo "$as_me:$LINENO: result: no" >&5
10494 echo "${ECHO_T}no" >&6
10495 fi
10496
10497
10498 enablestring=
10499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10501 no_cache=0
10502 # Check whether --enable-miniframe or --disable-miniframe was given.
10503 if test "${enable_miniframe+set}" = set; then
10504 enableval="$enable_miniframe"
10505
10506 if test "$enableval" = yes; then
10507 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10508 else
10509 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10510 fi
10511
10512 else
10513
10514 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10515 if test "x$LINE" != x ; then
10516 eval "DEFAULT_$LINE"
10517 else
10518 no_cache=1
10519 fi
10520
10521 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10522
10523 fi;
10524
10525 eval "$ac_cv_use_miniframe"
10526 if test "$no_cache" != 1; then
10527 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10528 fi
10529
10530 if test "$wxUSE_MINIFRAME" = yes; then
10531 echo "$as_me:$LINENO: result: yes" >&5
10532 echo "${ECHO_T}yes" >&6
10533 else
10534 echo "$as_me:$LINENO: result: no" >&5
10535 echo "${ECHO_T}no" >&6
10536 fi
10537
10538
10539 enablestring=
10540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10541 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10542 no_cache=0
10543 # Check whether --enable-tooltips or --disable-tooltips was given.
10544 if test "${enable_tooltips+set}" = set; then
10545 enableval="$enable_tooltips"
10546
10547 if test "$enableval" = yes; then
10548 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10549 else
10550 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10551 fi
10552
10553 else
10554
10555 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10556 if test "x$LINE" != x ; then
10557 eval "DEFAULT_$LINE"
10558 else
10559 no_cache=1
10560 fi
10561
10562 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10563
10564 fi;
10565
10566 eval "$ac_cv_use_tooltips"
10567 if test "$no_cache" != 1; then
10568 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10569 fi
10570
10571 if test "$wxUSE_TOOLTIPS" = yes; then
10572 echo "$as_me:$LINENO: result: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10574 else
10575 echo "$as_me:$LINENO: result: no" >&5
10576 echo "${ECHO_T}no" >&6
10577 fi
10578
10579
10580 enablestring=
10581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10583 no_cache=0
10584 # Check whether --enable-splines or --disable-splines was given.
10585 if test "${enable_splines+set}" = set; then
10586 enableval="$enable_splines"
10587
10588 if test "$enableval" = yes; then
10589 ac_cv_use_splines='wxUSE_SPLINES=yes'
10590 else
10591 ac_cv_use_splines='wxUSE_SPLINES=no'
10592 fi
10593
10594 else
10595
10596 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x ; then
10598 eval "DEFAULT_$LINE"
10599 else
10600 no_cache=1
10601 fi
10602
10603 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10604
10605 fi;
10606
10607 eval "$ac_cv_use_splines"
10608 if test "$no_cache" != 1; then
10609 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10610 fi
10611
10612 if test "$wxUSE_SPLINES" = yes; then
10613 echo "$as_me:$LINENO: result: yes" >&5
10614 echo "${ECHO_T}yes" >&6
10615 else
10616 echo "$as_me:$LINENO: result: no" >&5
10617 echo "${ECHO_T}no" >&6
10618 fi
10619
10620
10621 enablestring=
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10624 no_cache=0
10625 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10626 if test "${enable_mousewheel+set}" = set; then
10627 enableval="$enable_mousewheel"
10628
10629 if test "$enableval" = yes; then
10630 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10631 else
10632 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10633 fi
10634
10635 else
10636
10637 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x ; then
10639 eval "DEFAULT_$LINE"
10640 else
10641 no_cache=1
10642 fi
10643
10644 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10645
10646 fi;
10647
10648 eval "$ac_cv_use_mousewheel"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test "$wxUSE_MOUSEWHEEL" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10656 else
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10659 fi
10660
10661
10662 enablestring=
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10665 no_cache=0
10666 # Check whether --enable-validators or --disable-validators was given.
10667 if test "${enable_validators+set}" = set; then
10668 enableval="$enable_validators"
10669
10670 if test "$enableval" = yes; then
10671 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10672 else
10673 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10674 fi
10675
10676 else
10677
10678 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x ; then
10680 eval "DEFAULT_$LINE"
10681 else
10682 no_cache=1
10683 fi
10684
10685 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10686
10687 fi;
10688
10689 eval "$ac_cv_use_validators"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10692 fi
10693
10694 if test "$wxUSE_VALIDATORS" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10697 else
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10700 fi
10701
10702
10703 enablestring=
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10706 no_cache=0
10707 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10708 if test "${enable_busyinfo+set}" = set; then
10709 enableval="$enable_busyinfo"
10710
10711 if test "$enableval" = yes; then
10712 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10713 else
10714 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10715 fi
10716
10717 else
10718
10719 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x ; then
10721 eval "DEFAULT_$LINE"
10722 else
10723 no_cache=1
10724 fi
10725
10726 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10727
10728 fi;
10729
10730 eval "$ac_cv_use_busyinfo"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10733 fi
10734
10735 if test "$wxUSE_BUSYINFO" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10738 else
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10741 fi
10742
10743
10744 enablestring=
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10747 no_cache=0
10748 # Check whether --enable-joystick or --disable-joystick was given.
10749 if test "${enable_joystick+set}" = set; then
10750 enableval="$enable_joystick"
10751
10752 if test "$enableval" = yes; then
10753 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10754 else
10755 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10756 fi
10757
10758 else
10759
10760 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10763 else
10764 no_cache=1
10765 fi
10766
10767 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10768
10769 fi;
10770
10771 eval "$ac_cv_use_joystick"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10774 fi
10775
10776 if test "$wxUSE_JOYSTICK" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10779 else
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10782 fi
10783
10784
10785 enablestring=
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10788 no_cache=0
10789 # Check whether --enable-metafile or --disable-metafile was given.
10790 if test "${enable_metafile+set}" = set; then
10791 enableval="$enable_metafile"
10792
10793 if test "$enableval" = yes; then
10794 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10795 else
10796 ac_cv_use_metafile='wxUSE_METAFILE=no'
10797 fi
10798
10799 else
10800
10801 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x ; then
10803 eval "DEFAULT_$LINE"
10804 else
10805 no_cache=1
10806 fi
10807
10808 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10809
10810 fi;
10811
10812 eval "$ac_cv_use_metafile"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10815 fi
10816
10817 if test "$wxUSE_METAFILE" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10820 else
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10823 fi
10824
10825
10826 enablestring=
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10829 no_cache=0
10830 # Check whether --enable-dragimage or --disable-dragimage was given.
10831 if test "${enable_dragimage+set}" = set; then
10832 enableval="$enable_dragimage"
10833
10834 if test "$enableval" = yes; then
10835 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10836 else
10837 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10838 fi
10839
10840 else
10841
10842 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x ; then
10844 eval "DEFAULT_$LINE"
10845 else
10846 no_cache=1
10847 fi
10848
10849 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10850
10851 fi;
10852
10853 eval "$ac_cv_use_dragimage"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10856 fi
10857
10858 if test "$wxUSE_DRAGIMAGE" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10861 else
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10864 fi
10865
10866
10867 enablestring=
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10870 no_cache=0
10871 # Check whether --enable-accessibility or --disable-accessibility was given.
10872 if test "${enable_accessibility+set}" = set; then
10873 enableval="$enable_accessibility"
10874
10875 if test "$enableval" = yes; then
10876 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10877 else
10878 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10879 fi
10880
10881 else
10882
10883 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x ; then
10885 eval "DEFAULT_$LINE"
10886 else
10887 no_cache=1
10888 fi
10889
10890 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10891
10892 fi;
10893
10894 eval "$ac_cv_use_accessibility"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10897 fi
10898
10899 if test "$wxUSE_ACCESSIBILITY" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10902 else
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10905 fi
10906
10907
10908 if test "$wxUSE_MSW" = "1"; then
10909
10910 enablestring=
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10913 no_cache=0
10914 # Check whether --enable-dccache or --disable-dccache was given.
10915 if test "${enable_dccache+set}" = set; then
10916 enableval="$enable_dccache"
10917
10918 if test "$enableval" = yes; then
10919 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10920 else
10921 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10922 fi
10923
10924 else
10925
10926 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x ; then
10928 eval "DEFAULT_$LINE"
10929 else
10930 no_cache=1
10931 fi
10932
10933 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10934
10935 fi;
10936
10937 eval "$ac_cv_use_dccache"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10940 fi
10941
10942 if test "$wxUSE_DC_CACHEING" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10945 else
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10948 fi
10949
10950 fi
10951
10952
10953
10954 enablestring=
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10957 no_cache=0
10958 # Check whether --enable-palette or --disable-palette was given.
10959 if test "${enable_palette+set}" = set; then
10960 enableval="$enable_palette"
10961
10962 if test "$enableval" = yes; then
10963 ac_cv_use_palette='wxUSE_PALETTE=yes'
10964 else
10965 ac_cv_use_palette='wxUSE_PALETTE=no'
10966 fi
10967
10968 else
10969
10970 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x ; then
10972 eval "DEFAULT_$LINE"
10973 else
10974 no_cache=1
10975 fi
10976
10977 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10978
10979 fi;
10980
10981 eval "$ac_cv_use_palette"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10984 fi
10985
10986 if test "$wxUSE_PALETTE" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10989 else
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10992 fi
10993
10994
10995 enablestring=
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10998 no_cache=0
10999 # Check whether --enable-image or --disable-image was given.
11000 if test "${enable_image+set}" = set; then
11001 enableval="$enable_image"
11002
11003 if test "$enableval" = yes; then
11004 ac_cv_use_image='wxUSE_IMAGE=yes'
11005 else
11006 ac_cv_use_image='wxUSE_IMAGE=no'
11007 fi
11008
11009 else
11010
11011 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x ; then
11013 eval "DEFAULT_$LINE"
11014 else
11015 no_cache=1
11016 fi
11017
11018 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11019
11020 fi;
11021
11022 eval "$ac_cv_use_image"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11025 fi
11026
11027 if test "$wxUSE_IMAGE" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11030 else
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11033 fi
11034
11035
11036 enablestring=
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11039 no_cache=0
11040 # Check whether --enable-gif or --disable-gif was given.
11041 if test "${enable_gif+set}" = set; then
11042 enableval="$enable_gif"
11043
11044 if test "$enableval" = yes; then
11045 ac_cv_use_gif='wxUSE_GIF=yes'
11046 else
11047 ac_cv_use_gif='wxUSE_GIF=no'
11048 fi
11049
11050 else
11051
11052 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x ; then
11054 eval "DEFAULT_$LINE"
11055 else
11056 no_cache=1
11057 fi
11058
11059 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11060
11061 fi;
11062
11063 eval "$ac_cv_use_gif"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11066 fi
11067
11068 if test "$wxUSE_GIF" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11071 else
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11074 fi
11075
11076
11077 enablestring=
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11080 no_cache=0
11081 # Check whether --enable-pcx or --disable-pcx was given.
11082 if test "${enable_pcx+set}" = set; then
11083 enableval="$enable_pcx"
11084
11085 if test "$enableval" = yes; then
11086 ac_cv_use_pcx='wxUSE_PCX=yes'
11087 else
11088 ac_cv_use_pcx='wxUSE_PCX=no'
11089 fi
11090
11091 else
11092
11093 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x ; then
11095 eval "DEFAULT_$LINE"
11096 else
11097 no_cache=1
11098 fi
11099
11100 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11101
11102 fi;
11103
11104 eval "$ac_cv_use_pcx"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11107 fi
11108
11109 if test "$wxUSE_PCX" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11112 else
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11115 fi
11116
11117
11118 enablestring=
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11121 no_cache=0
11122 # Check whether --enable-iff or --disable-iff was given.
11123 if test "${enable_iff+set}" = set; then
11124 enableval="$enable_iff"
11125
11126 if test "$enableval" = yes; then
11127 ac_cv_use_iff='wxUSE_IFF=yes'
11128 else
11129 ac_cv_use_iff='wxUSE_IFF=no'
11130 fi
11131
11132 else
11133
11134 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x ; then
11136 eval "DEFAULT_$LINE"
11137 else
11138 no_cache=1
11139 fi
11140
11141 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11142
11143 fi;
11144
11145 eval "$ac_cv_use_iff"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11148 fi
11149
11150 if test "$wxUSE_IFF" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11153 else
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11156 fi
11157
11158
11159 enablestring=
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11162 no_cache=0
11163 # Check whether --enable-pnm or --disable-pnm was given.
11164 if test "${enable_pnm+set}" = set; then
11165 enableval="$enable_pnm"
11166
11167 if test "$enableval" = yes; then
11168 ac_cv_use_pnm='wxUSE_PNM=yes'
11169 else
11170 ac_cv_use_pnm='wxUSE_PNM=no'
11171 fi
11172
11173 else
11174
11175 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11178 else
11179 no_cache=1
11180 fi
11181
11182 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11183
11184 fi;
11185
11186 eval "$ac_cv_use_pnm"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11189 fi
11190
11191 if test "$wxUSE_PNM" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11194 else
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11197 fi
11198
11199
11200 enablestring=
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11203 no_cache=0
11204 # Check whether --enable-xpm or --disable-xpm was given.
11205 if test "${enable_xpm+set}" = set; then
11206 enableval="$enable_xpm"
11207
11208 if test "$enableval" = yes; then
11209 ac_cv_use_xpm='wxUSE_XPM=yes'
11210 else
11211 ac_cv_use_xpm='wxUSE_XPM=no'
11212 fi
11213
11214 else
11215
11216 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x ; then
11218 eval "DEFAULT_$LINE"
11219 else
11220 no_cache=1
11221 fi
11222
11223 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11224
11225 fi;
11226
11227 eval "$ac_cv_use_xpm"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11230 fi
11231
11232 if test "$wxUSE_XPM" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11235 else
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11238 fi
11239
11240
11241 enablestring=
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11244 no_cache=0
11245 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11246 if test "${enable_ico_cur+set}" = set; then
11247 enableval="$enable_ico_cur"
11248
11249 if test "$enableval" = yes; then
11250 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11251 else
11252 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11253 fi
11254
11255 else
11256
11257 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11260 else
11261 no_cache=1
11262 fi
11263
11264 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11265
11266 fi;
11267
11268 eval "$ac_cv_use_ico_cur"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test "$wxUSE_ICO_CUR" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11276 else
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11279 fi
11280
11281
11282 fi
11283
11284
11285
11286 # Check whether --with-flavour or --without-flavour was given.
11287 if test "${with_flavour+set}" = set; then
11288 withval="$with_flavour"
11289 WX_FLAVOUR="$withval"
11290 fi;
11291
11292
11293
11294 enablestring=
11295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11297 no_cache=0
11298 # Check whether --enable-official_build or --disable-official_build was given.
11299 if test "${enable_official_build+set}" = set; then
11300 enableval="$enable_official_build"
11301
11302 if test "$enableval" = yes; then
11303 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11304 else
11305 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11306 fi
11307
11308 else
11309
11310 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11313 else
11314 no_cache=1
11315 fi
11316
11317 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11318
11319 fi;
11320
11321 eval "$ac_cv_use_official_build"
11322 if test "$no_cache" != 1; then
11323 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11324 fi
11325
11326 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11327 echo "$as_me:$LINENO: result: yes" >&5
11328 echo "${ECHO_T}yes" >&6
11329 else
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11332 fi
11333
11334 # Check whether --enable-vendor or --disable-vendor was given.
11335 if test "${enable_vendor+set}" = set; then
11336 enableval="$enable_vendor"
11337 VENDOR="$enableval"
11338 fi;
11339 if test "x$VENDOR" = "x"; then
11340 VENDOR="custom"
11341 fi
11342
11343
11344
11345
11346 echo "saving argument cache $wx_arg_cache_file"
11347 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11348
11349
11350
11351 echo "$as_me:$LINENO: checking for toolkit" >&5
11352 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11353
11354 # In Wine, we need to default to MSW, not GTK or MOTIF
11355 if test "$wxUSE_WINE" = "yes"; then
11356 DEFAULT_DEFAULT_wxUSE_GTK=0
11357 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11358 DEFAULT_DEFAULT_wxUSE_MSW=1
11359 wxUSE_SHARED=no
11360 fi
11361
11362
11363 if test "$wxUSE_GUI" = "yes"; then
11364
11365 if test "$USE_BEOS" = 1; then
11366 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11367 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11368 { (exit 1); exit 1; }; }
11369 fi
11370
11371 if test "$TOOLKIT_GIVEN" = 1; then
11372 for toolkit in `echo $ALL_TOOLKITS`; do
11373 var=wxUSE_$toolkit
11374 eval "value=\$${var}"
11375 if test "x$value" = "xno"; then
11376 eval "$var=0"
11377 elif test "x$value" != "x"; then
11378 eval "$var=1"
11379 fi
11380
11381 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11382 eval "wx${toolkit}_VERSION=$value"
11383 fi
11384 done
11385 else
11386 for toolkit in `echo $ALL_TOOLKITS`; do
11387 if test "$has_toolkit_in_cache" != 1; then
11388 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11389 else
11390 var=DEFAULT_wxUSE_$toolkit
11391
11392 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11393 if test "x$version" != "x"; then
11394 eval "wx${toolkit}_VERSION=$version"
11395 fi
11396 fi
11397 eval "wxUSE_$toolkit=\$${var}"
11398 done
11399 fi
11400
11401 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11402 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11403 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11404
11405 case "${host}" in
11406 *-pc-os2_emx | *-pc-os2-emx )
11407 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11408 esac
11409
11410 case "$NUM_TOOLKITS" in
11411 1)
11412 ;;
11413 0)
11414 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11415 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11416 { (exit 1); exit 1; }; }
11417 ;;
11418 *)
11419 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11420 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11421 { (exit 1); exit 1; }; }
11422 esac
11423
11424 # to be removed when --disable-gtk2 isn't needed
11425 if test "x$wxUSE_GTK2" = "xyes"; then
11426 wxGTK_VERSION=2
11427 elif test "x$wxUSE_GTK2" = "xno"; then
11428 wxGTK_VERSION=1
11429 fi
11430
11431 for toolkit in `echo $ALL_TOOLKITS`; do
11432 var=wxUSE_$toolkit
11433 eval "value=\$${var}"
11434 if test "x$value" != x; then
11435 cache_var=CACHE_$toolkit
11436 eval "cache=\$${cache_var}"
11437 if test "$cache" = 1; then
11438 echo "$var=$value" >> ${wx_arg_cache_file}
11439 eval "version=\$wx${toolkit}_VERSION"
11440 if test "x$version" != "x"; then
11441 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11442 fi
11443 fi
11444 if test "$value" = 1; then
11445 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11446 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11447 echo "${ECHO_T}$toolkit_echo" >&6
11448 fi
11449 fi
11450 done
11451 else
11452 if test "x$host_alias" != "x"; then
11453 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11454 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11455 else
11456 echo "$as_me:$LINENO: result: base only" >&5
11457 echo "${ECHO_T}base only" >&6
11458 fi
11459 fi
11460
11461 wants_win32=0
11462 doesnt_want_win32=0
11463 case "${host}" in
11464 *-*-cygwin*)
11465 if test "$wxUSE_MSW" = 1 ; then
11466 wants_win32=1
11467 BAKEFILE_FORCE_PLATFORM=win32
11468 else
11469 doesnt_want_win32=1
11470 fi
11471 ;;
11472 *-*-mingw*)
11473 wants_win32=1
11474 ;;
11475 esac
11476
11477 if test "$wxUSE_WINE" = "yes"; then
11478 wants_win32=1
11479 CC=winegcc
11480 CXX=wineg++
11481 LDFLAGS_GUI="-mwindows"
11482 fi
11483
11484 if test "$wants_win32" = 1 ; then
11485 USE_UNIX=0
11486 USE_WIN32=1
11487 cat >>confdefs.h <<\_ACEOF
11488 #define __WIN32__ 1
11489 _ACEOF
11490
11491 cat >>confdefs.h <<\_ACEOF
11492 #define __WIN95__ 1
11493 _ACEOF
11494
11495 cat >>confdefs.h <<\_ACEOF
11496 #define __WINDOWS__ 1
11497 _ACEOF
11498
11499 cat >>confdefs.h <<\_ACEOF
11500 #define __GNUWIN32__ 1
11501 _ACEOF
11502
11503 cat >>confdefs.h <<\_ACEOF
11504 #define STRICT 1
11505 _ACEOF
11506
11507 cat >>confdefs.h <<\_ACEOF
11508 #define WINVER 0x0400
11509 _ACEOF
11510
11511 fi
11512 if test "$doesnt_want_win32" = 1 ; then
11513 USE_UNIX=1
11514 USE_WIN32=0
11515 fi
11516
11517 if test "$USE_UNIX" = 1 ; then
11518 wxUSE_UNIX=yes
11519 cat >>confdefs.h <<\_ACEOF
11520 #define __UNIX__ 1
11521 _ACEOF
11522
11523 fi
11524
11525
11526 cat >confcache <<\_ACEOF
11527 # This file is a shell script that caches the results of configure
11528 # tests run on this system so they can be shared between configure
11529 # scripts and configure runs, see configure's option --config-cache.
11530 # It is not useful on other systems. If it contains results you don't
11531 # want to keep, you may remove or edit it.
11532 #
11533 # config.status only pays attention to the cache file if you give it
11534 # the --recheck option to rerun configure.
11535 #
11536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11538 # following values.
11539
11540 _ACEOF
11541
11542 # The following way of writing the cache mishandles newlines in values,
11543 # but we know of no workaround that is simple, portable, and efficient.
11544 # So, don't put newlines in cache variables' values.
11545 # Ultrix sh set writes to stderr and can't be redirected directly,
11546 # and sets the high bit in the cache file unless we assign to the vars.
11547 {
11548 (set) 2>&1 |
11549 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11550 *ac_space=\ *)
11551 # `set' does not quote correctly, so add quotes (double-quote
11552 # substitution turns \\\\ into \\, and sed turns \\ into \).
11553 sed -n \
11554 "s/'/'\\\\''/g;
11555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11556 ;;
11557 *)
11558 # `set' quotes correctly as required by POSIX, so do not add quotes.
11559 sed -n \
11560 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11561 ;;
11562 esac;
11563 } |
11564 sed '
11565 t clear
11566 : clear
11567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11568 t end
11569 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11570 : end' >>confcache
11571 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11572 if test -w $cache_file; then
11573 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11574 cat confcache >$cache_file
11575 else
11576 echo "not updating unwritable cache $cache_file"
11577 fi
11578 fi
11579 rm -f confcache
11580
11581 CFLAGS=${CFLAGS:=}
11582
11583
11584
11585 ac_ext=c
11586 ac_cpp='$CPP $CPPFLAGS'
11587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11590 if test -n "$ac_tool_prefix"; then
11591 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11592 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11593 echo "$as_me:$LINENO: checking for $ac_word" >&5
11594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11595 if test "${ac_cv_prog_CC+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 else
11598 if test -n "$CC"; then
11599 ac_cv_prog_CC="$CC" # Let the user override the test.
11600 else
11601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11602 for as_dir in $PATH
11603 do
11604 IFS=$as_save_IFS
11605 test -z "$as_dir" && as_dir=.
11606 for ac_exec_ext in '' $ac_executable_extensions; do
11607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11608 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11610 break 2
11611 fi
11612 done
11613 done
11614
11615 fi
11616 fi
11617 CC=$ac_cv_prog_CC
11618 if test -n "$CC"; then
11619 echo "$as_me:$LINENO: result: $CC" >&5
11620 echo "${ECHO_T}$CC" >&6
11621 else
11622 echo "$as_me:$LINENO: result: no" >&5
11623 echo "${ECHO_T}no" >&6
11624 fi
11625
11626 fi
11627 if test -z "$ac_cv_prog_CC"; then
11628 ac_ct_CC=$CC
11629 # Extract the first word of "gcc", so it can be a program name with args.
11630 set dummy gcc; ac_word=$2
11631 echo "$as_me:$LINENO: checking for $ac_word" >&5
11632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 else
11636 if test -n "$ac_ct_CC"; then
11637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11638 else
11639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11640 for as_dir in $PATH
11641 do
11642 IFS=$as_save_IFS
11643 test -z "$as_dir" && as_dir=.
11644 for ac_exec_ext in '' $ac_executable_extensions; do
11645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11646 ac_cv_prog_ac_ct_CC="gcc"
11647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11648 break 2
11649 fi
11650 done
11651 done
11652
11653 fi
11654 fi
11655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11656 if test -n "$ac_ct_CC"; then
11657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11658 echo "${ECHO_T}$ac_ct_CC" >&6
11659 else
11660 echo "$as_me:$LINENO: result: no" >&5
11661 echo "${ECHO_T}no" >&6
11662 fi
11663
11664 CC=$ac_ct_CC
11665 else
11666 CC="$ac_cv_prog_CC"
11667 fi
11668
11669 if test -z "$CC"; then
11670 if test -n "$ac_tool_prefix"; then
11671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11672 set dummy ${ac_tool_prefix}cc; ac_word=$2
11673 echo "$as_me:$LINENO: checking for $ac_word" >&5
11674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11675 if test "${ac_cv_prog_CC+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 else
11678 if test -n "$CC"; then
11679 ac_cv_prog_CC="$CC" # Let the user override the test.
11680 else
11681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682 for as_dir in $PATH
11683 do
11684 IFS=$as_save_IFS
11685 test -z "$as_dir" && as_dir=.
11686 for ac_exec_ext in '' $ac_executable_extensions; do
11687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_prog_CC="${ac_tool_prefix}cc"
11689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11690 break 2
11691 fi
11692 done
11693 done
11694
11695 fi
11696 fi
11697 CC=$ac_cv_prog_CC
11698 if test -n "$CC"; then
11699 echo "$as_me:$LINENO: result: $CC" >&5
11700 echo "${ECHO_T}$CC" >&6
11701 else
11702 echo "$as_me:$LINENO: result: no" >&5
11703 echo "${ECHO_T}no" >&6
11704 fi
11705
11706 fi
11707 if test -z "$ac_cv_prog_CC"; then
11708 ac_ct_CC=$CC
11709 # Extract the first word of "cc", so it can be a program name with args.
11710 set dummy cc; ac_word=$2
11711 echo "$as_me:$LINENO: checking for $ac_word" >&5
11712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 else
11716 if test -n "$ac_ct_CC"; then
11717 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11718 else
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11721 do
11722 IFS=$as_save_IFS
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_ac_ct_CC="cc"
11727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11728 break 2
11729 fi
11730 done
11731 done
11732
11733 fi
11734 fi
11735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11736 if test -n "$ac_ct_CC"; then
11737 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11738 echo "${ECHO_T}$ac_ct_CC" >&6
11739 else
11740 echo "$as_me:$LINENO: result: no" >&5
11741 echo "${ECHO_T}no" >&6
11742 fi
11743
11744 CC=$ac_ct_CC
11745 else
11746 CC="$ac_cv_prog_CC"
11747 fi
11748
11749 fi
11750 if test -z "$CC"; then
11751 # Extract the first word of "cc", so it can be a program name with args.
11752 set dummy cc; ac_word=$2
11753 echo "$as_me:$LINENO: checking for $ac_word" >&5
11754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11755 if test "${ac_cv_prog_CC+set}" = set; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 else
11758 if test -n "$CC"; then
11759 ac_cv_prog_CC="$CC" # Let the user override the test.
11760 else
11761 ac_prog_rejected=no
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11764 do
11765 IFS=$as_save_IFS
11766 test -z "$as_dir" && as_dir=.
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11769 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11770 ac_prog_rejected=yes
11771 continue
11772 fi
11773 ac_cv_prog_CC="cc"
11774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 break 2
11776 fi
11777 done
11778 done
11779
11780 if test $ac_prog_rejected = yes; then
11781 # We found a bogon in the path, so make sure we never use it.
11782 set dummy $ac_cv_prog_CC
11783 shift
11784 if test $# != 0; then
11785 # We chose a different compiler from the bogus one.
11786 # However, it has the same basename, so the bogon will be chosen
11787 # first if we set CC to just the basename; use the full file name.
11788 shift
11789 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11790 fi
11791 fi
11792 fi
11793 fi
11794 CC=$ac_cv_prog_CC
11795 if test -n "$CC"; then
11796 echo "$as_me:$LINENO: result: $CC" >&5
11797 echo "${ECHO_T}$CC" >&6
11798 else
11799 echo "$as_me:$LINENO: result: no" >&5
11800 echo "${ECHO_T}no" >&6
11801 fi
11802
11803 fi
11804 if test -z "$CC"; then
11805 if test -n "$ac_tool_prefix"; then
11806 for ac_prog in cl
11807 do
11808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11810 echo "$as_me:$LINENO: checking for $ac_word" >&5
11811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11812 if test "${ac_cv_prog_CC+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 else
11815 if test -n "$CC"; then
11816 ac_cv_prog_CC="$CC" # Let the user override the test.
11817 else
11818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11819 for as_dir in $PATH
11820 do
11821 IFS=$as_save_IFS
11822 test -z "$as_dir" && as_dir=.
11823 for ac_exec_ext in '' $ac_executable_extensions; do
11824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11825 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11827 break 2
11828 fi
11829 done
11830 done
11831
11832 fi
11833 fi
11834 CC=$ac_cv_prog_CC
11835 if test -n "$CC"; then
11836 echo "$as_me:$LINENO: result: $CC" >&5
11837 echo "${ECHO_T}$CC" >&6
11838 else
11839 echo "$as_me:$LINENO: result: no" >&5
11840 echo "${ECHO_T}no" >&6
11841 fi
11842
11843 test -n "$CC" && break
11844 done
11845 fi
11846 if test -z "$CC"; then
11847 ac_ct_CC=$CC
11848 for ac_prog in cl
11849 do
11850 # Extract the first word of "$ac_prog", so it can be a program name with args.
11851 set dummy $ac_prog; ac_word=$2
11852 echo "$as_me:$LINENO: checking for $ac_word" >&5
11853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 else
11857 if test -n "$ac_ct_CC"; then
11858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11859 else
11860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11861 for as_dir in $PATH
11862 do
11863 IFS=$as_save_IFS
11864 test -z "$as_dir" && as_dir=.
11865 for ac_exec_ext in '' $ac_executable_extensions; do
11866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11867 ac_cv_prog_ac_ct_CC="$ac_prog"
11868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11869 break 2
11870 fi
11871 done
11872 done
11873
11874 fi
11875 fi
11876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11877 if test -n "$ac_ct_CC"; then
11878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11879 echo "${ECHO_T}$ac_ct_CC" >&6
11880 else
11881 echo "$as_me:$LINENO: result: no" >&5
11882 echo "${ECHO_T}no" >&6
11883 fi
11884
11885 test -n "$ac_ct_CC" && break
11886 done
11887
11888 CC=$ac_ct_CC
11889 fi
11890
11891 fi
11892
11893
11894 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11895 See \`config.log' for more details." >&5
11896 echo "$as_me: error: no acceptable C compiler found in \$PATH
11897 See \`config.log' for more details." >&2;}
11898 { (exit 1); exit 1; }; }
11899
11900 # Provide some information about the compiler.
11901 echo "$as_me:$LINENO:" \
11902 "checking for C compiler version" >&5
11903 ac_compiler=`set X $ac_compile; echo $2`
11904 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11905 (eval $ac_compiler --version </dev/null >&5) 2>&5
11906 ac_status=$?
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }
11909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11910 (eval $ac_compiler -v </dev/null >&5) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }
11914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11915 (eval $ac_compiler -V </dev/null >&5) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }
11919
11920 cat >conftest.$ac_ext <<_ACEOF
11921 /* confdefs.h. */
11922 _ACEOF
11923 cat confdefs.h >>conftest.$ac_ext
11924 cat >>conftest.$ac_ext <<_ACEOF
11925 /* end confdefs.h. */
11926
11927 int
11928 main ()
11929 {
11930
11931 ;
11932 return 0;
11933 }
11934 _ACEOF
11935 ac_clean_files_save=$ac_clean_files
11936 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11937 # Try to create an executable without -o first, disregard a.out.
11938 # It will help us diagnose broken compilers, and finding out an intuition
11939 # of exeext.
11940 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11941 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11942 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11943 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11944 (eval $ac_link_default) 2>&5
11945 ac_status=$?
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; then
11948 # Find the output, starting from the most likely. This scheme is
11949 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11950 # resort.
11951
11952 # Be careful to initialize this variable, since it used to be cached.
11953 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11954 ac_cv_exeext=
11955 # b.out is created by i960 compilers.
11956 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11957 do
11958 test -f "$ac_file" || continue
11959 case $ac_file in
11960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11961 ;;
11962 conftest.$ac_ext )
11963 # This is the source file.
11964 ;;
11965 [ab].out )
11966 # We found the default executable, but exeext='' is most
11967 # certainly right.
11968 break;;
11969 *.* )
11970 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11971 # FIXME: I believe we export ac_cv_exeext for Libtool,
11972 # but it would be cool to find out if it's true. Does anybody
11973 # maintain Libtool? --akim.
11974 export ac_cv_exeext
11975 break;;
11976 * )
11977 break;;
11978 esac
11979 done
11980 else
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11983
11984 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11985 See \`config.log' for more details." >&5
11986 echo "$as_me: error: C compiler cannot create executables
11987 See \`config.log' for more details." >&2;}
11988 { (exit 77); exit 77; }; }
11989 fi
11990
11991 ac_exeext=$ac_cv_exeext
11992 echo "$as_me:$LINENO: result: $ac_file" >&5
11993 echo "${ECHO_T}$ac_file" >&6
11994
11995 # Check the compiler produces executables we can run. If not, either
11996 # the compiler is broken, or we cross compile.
11997 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11998 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11999 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12000 # If not cross compiling, check that we can run a simple program.
12001 if test "$cross_compiling" != yes; then
12002 if { ac_try='./$ac_file'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12005 ac_status=$?
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 cross_compiling=no
12009 else
12010 if test "$cross_compiling" = maybe; then
12011 cross_compiling=yes
12012 else
12013 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12014 If you meant to cross compile, use \`--host'.
12015 See \`config.log' for more details." >&5
12016 echo "$as_me: error: cannot run C compiled programs.
12017 If you meant to cross compile, use \`--host'.
12018 See \`config.log' for more details." >&2;}
12019 { (exit 1); exit 1; }; }
12020 fi
12021 fi
12022 fi
12023 echo "$as_me:$LINENO: result: yes" >&5
12024 echo "${ECHO_T}yes" >&6
12025
12026 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12027 ac_clean_files=$ac_clean_files_save
12028 # Check the compiler produces executables we can run. If not, either
12029 # the compiler is broken, or we cross compile.
12030 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12031 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12032 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12033 echo "${ECHO_T}$cross_compiling" >&6
12034
12035 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12036 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 (eval $ac_link) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; then
12042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12044 # work properly (i.e., refer to `conftest.exe'), while it won't with
12045 # `rm'.
12046 for ac_file in conftest.exe conftest conftest.*; do
12047 test -f "$ac_file" || continue
12048 case $ac_file in
12049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12051 export ac_cv_exeext
12052 break;;
12053 * ) break;;
12054 esac
12055 done
12056 else
12057 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12058 See \`config.log' for more details." >&5
12059 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12060 See \`config.log' for more details." >&2;}
12061 { (exit 1); exit 1; }; }
12062 fi
12063
12064 rm -f conftest$ac_cv_exeext
12065 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12066 echo "${ECHO_T}$ac_cv_exeext" >&6
12067
12068 rm -f conftest.$ac_ext
12069 EXEEXT=$ac_cv_exeext
12070 ac_exeext=$EXEEXT
12071 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12072 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12073 if test "${ac_cv_objext+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 else
12076 cat >conftest.$ac_ext <<_ACEOF
12077 /* confdefs.h. */
12078 _ACEOF
12079 cat confdefs.h >>conftest.$ac_ext
12080 cat >>conftest.$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12082
12083 int
12084 main ()
12085 {
12086
12087 ;
12088 return 0;
12089 }
12090 _ACEOF
12091 rm -f conftest.o conftest.obj
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093 (eval $ac_compile) 2>&5
12094 ac_status=$?
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; then
12097 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12098 case $ac_file in
12099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12101 break;;
12102 esac
12103 done
12104 else
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.$ac_ext >&5
12107
12108 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12109 See \`config.log' for more details." >&5
12110 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12111 See \`config.log' for more details." >&2;}
12112 { (exit 1); exit 1; }; }
12113 fi
12114
12115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12116 fi
12117 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12118 echo "${ECHO_T}$ac_cv_objext" >&6
12119 OBJEXT=$ac_cv_objext
12120 ac_objext=$OBJEXT
12121 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12122 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12124 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 else
12126 cat >conftest.$ac_ext <<_ACEOF
12127 /* confdefs.h. */
12128 _ACEOF
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12132
12133 int
12134 main ()
12135 {
12136 #ifndef __GNUC__
12137 choke me
12138 #endif
12139
12140 ;
12141 return 0;
12142 }
12143 _ACEOF
12144 rm -f conftest.$ac_objext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>conftest.er1
12147 ac_status=$?
12148 grep -v '^ *+' conftest.er1 >conftest.err
12149 rm -f conftest.er1
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12156 ac_status=$?
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try='test -s conftest.$ac_objext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12162 ac_status=$?
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_compiler_gnu=yes
12166 else
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.$ac_ext >&5
12169
12170 ac_compiler_gnu=no
12171 fi
12172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12173 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12174
12175 fi
12176 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12177 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12178 GCC=`test $ac_compiler_gnu = yes && echo yes`
12179 ac_test_CFLAGS=${CFLAGS+set}
12180 ac_save_CFLAGS=$CFLAGS
12181 CFLAGS="-g"
12182 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12183 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12184 if test "${ac_cv_prog_cc_g+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 else
12187 cat >conftest.$ac_ext <<_ACEOF
12188 /* confdefs.h. */
12189 _ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12193
12194 int
12195 main ()
12196 {
12197
12198 ;
12199 return 0;
12200 }
12201 _ACEOF
12202 rm -f conftest.$ac_objext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12204 (eval $ac_compile) 2>conftest.er1
12205 ac_status=$?
12206 grep -v '^ *+' conftest.er1 >conftest.err
12207 rm -f conftest.er1
12208 cat conftest.err >&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } &&
12211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12214 ac_status=$?
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; } &&
12217 { ac_try='test -s conftest.$ac_objext'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12220 ac_status=$?
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; }; then
12223 ac_cv_prog_cc_g=yes
12224 else
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12227
12228 ac_cv_prog_cc_g=no
12229 fi
12230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12231 fi
12232 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12233 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12234 if test "$ac_test_CFLAGS" = set; then
12235 CFLAGS=$ac_save_CFLAGS
12236 elif test $ac_cv_prog_cc_g = yes; then
12237 if test "$GCC" = yes; then
12238 CFLAGS="-g -O2"
12239 else
12240 CFLAGS="-g"
12241 fi
12242 else
12243 if test "$GCC" = yes; then
12244 CFLAGS="-O2"
12245 else
12246 CFLAGS=
12247 fi
12248 fi
12249 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12250 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12251 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 else
12254 ac_cv_prog_cc_stdc=no
12255 ac_save_CC=$CC
12256 cat >conftest.$ac_ext <<_ACEOF
12257 /* confdefs.h. */
12258 _ACEOF
12259 cat confdefs.h >>conftest.$ac_ext
12260 cat >>conftest.$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262 #include <stdarg.h>
12263 #include <stdio.h>
12264 #include <sys/types.h>
12265 #include <sys/stat.h>
12266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12267 struct buf { int x; };
12268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12269 static char *e (p, i)
12270 char **p;
12271 int i;
12272 {
12273 return p[i];
12274 }
12275 static char *f (char * (*g) (char **, int), char **p, ...)
12276 {
12277 char *s;
12278 va_list v;
12279 va_start (v,p);
12280 s = g (p, va_arg (v,int));
12281 va_end (v);
12282 return s;
12283 }
12284
12285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12286 function prototypes and stuff, but not '\xHH' hex character constants.
12287 These don't provoke an error unfortunately, instead are silently treated
12288 as 'x'. The following induces an error, until -std1 is added to get
12289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12290 array size at least. It's necessary to write '\x00'==0 to get something
12291 that's true only with -std1. */
12292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12293
12294 int test (int i, double x);
12295 struct s1 {int (*f) (int a);};
12296 struct s2 {int (*f) (double a);};
12297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12298 int argc;
12299 char **argv;
12300 int
12301 main ()
12302 {
12303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12304 ;
12305 return 0;
12306 }
12307 _ACEOF
12308 # Don't try gcc -ansi; that turns off useful extensions and
12309 # breaks some systems' header files.
12310 # AIX -qlanglvl=ansi
12311 # Ultrix and OSF/1 -std1
12312 # HP-UX 10.20 and later -Ae
12313 # HP-UX older versions -Aa -D_HPUX_SOURCE
12314 # SVR4 -Xc -D__EXTENSIONS__
12315 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12316 do
12317 CC="$ac_save_CC $ac_arg"
12318 rm -f conftest.$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>conftest.er1
12321 ac_status=$?
12322 grep -v '^ *+' conftest.er1 >conftest.err
12323 rm -f conftest.er1
12324 cat conftest.err >&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } &&
12327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; } &&
12333 { ac_try='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12336 ac_status=$?
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_cv_prog_cc_stdc=$ac_arg
12340 break
12341 else
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12344
12345 fi
12346 rm -f conftest.err conftest.$ac_objext
12347 done
12348 rm -f conftest.$ac_ext conftest.$ac_objext
12349 CC=$ac_save_CC
12350
12351 fi
12352
12353 case "x$ac_cv_prog_cc_stdc" in
12354 x|xno)
12355 echo "$as_me:$LINENO: result: none needed" >&5
12356 echo "${ECHO_T}none needed" >&6 ;;
12357 *)
12358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12359 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12360 CC="$CC $ac_cv_prog_cc_stdc" ;;
12361 esac
12362
12363 # Some people use a C++ compiler to compile C. Since we use `exit',
12364 # in C++ we need to declare it. In case someone uses the same compiler
12365 # for both compiling C and C++ we need to have the C++ compiler decide
12366 # the declaration of exit, since it's the most demanding environment.
12367 cat >conftest.$ac_ext <<_ACEOF
12368 #ifndef __cplusplus
12369 choke me
12370 #endif
12371 _ACEOF
12372 rm -f conftest.$ac_objext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12374 (eval $ac_compile) 2>conftest.er1
12375 ac_status=$?
12376 grep -v '^ *+' conftest.er1 >conftest.err
12377 rm -f conftest.er1
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 for ac_declaration in \
12394 '' \
12395 'extern "C" void std::exit (int) throw (); using std::exit;' \
12396 'extern "C" void std::exit (int); using std::exit;' \
12397 'extern "C" void exit (int) throw ();' \
12398 'extern "C" void exit (int);' \
12399 'void exit (int);'
12400 do
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_declaration
12408 #include <stdlib.h>
12409 int
12410 main ()
12411 {
12412 exit (42);
12413 ;
12414 return 0;
12415 }
12416 _ACEOF
12417 rm -f conftest.$ac_objext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 (eval $ac_compile) 2>conftest.er1
12420 ac_status=$?
12421 grep -v '^ *+' conftest.er1 >conftest.err
12422 rm -f conftest.er1
12423 cat conftest.err >&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12429 ac_status=$?
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; } &&
12432 { ac_try='test -s conftest.$ac_objext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 :
12439 else
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12442
12443 continue
12444 fi
12445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12446 cat >conftest.$ac_ext <<_ACEOF
12447 /* confdefs.h. */
12448 _ACEOF
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12452 $ac_declaration
12453 int
12454 main ()
12455 {
12456 exit (42);
12457 ;
12458 return 0;
12459 }
12460 _ACEOF
12461 rm -f conftest.$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12479 ac_status=$?
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 break
12483 else
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12486
12487 fi
12488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12489 done
12490 rm -f conftest*
12491 if test -n "$ac_declaration"; then
12492 echo '#ifdef __cplusplus' >>confdefs.h
12493 echo $ac_declaration >>confdefs.h
12494 echo '#endif' >>confdefs.h
12495 fi
12496
12497 else
12498 echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.$ac_ext >&5
12500
12501 fi
12502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12503 ac_ext=c
12504 ac_cpp='$CPP $CPPFLAGS'
12505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12508
12509
12510
12511 ac_ext=c
12512 ac_cpp='$CPP $CPPFLAGS'
12513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12516
12517 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12518 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12519 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 else
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528
12529 int
12530 main ()
12531 {
12532
12533 #ifndef __INTEL_COMPILER
12534 choke me
12535 #endif
12536
12537 ;
12538 return 0;
12539 }
12540 _ACEOF
12541 rm -f conftest.$ac_objext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>conftest.er1
12544 ac_status=$?
12545 grep -v '^ *+' conftest.er1 >conftest.err
12546 rm -f conftest.er1
12547 cat conftest.err >&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12556 { ac_try='test -s conftest.$ac_objext'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 bakefile_cv_c_compiler___INTEL_COMPILER=no
12568
12569 fi
12570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12571
12572
12573 fi
12574 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12575 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12576 ac_ext=c
12577 ac_cpp='$CPP $CPPFLAGS'
12578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12581
12582 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12583 :; INTELCC=yes
12584 else
12585 :;
12586 fi
12587
12588
12589 if test "x$GCC" != "xyes"; then
12590 if test "xCC" = "xC"; then
12591 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12592 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12593 if test "${bakefile_cv_c_exto+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 else
12596 cat >conftest.$ac_ext <<_ACEOF
12597 /* confdefs.h. */
12598 _ACEOF
12599 cat confdefs.h >>conftest.$ac_ext
12600 cat >>conftest.$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12602
12603 int
12604 main ()
12605 {
12606
12607 ;
12608 return 0;
12609 }
12610 _ACEOF
12611 rm -f conftest.$ac_objext conftest.$ac_ext.o
12612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12613 (eval $ac_compile) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; then
12617 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12618 case $ac_file in
12619 conftest.$ac_ext.o)
12620 bakefile_cv_c_exto="-ext o"
12621 ;;
12622 *)
12623 ;;
12624 esac
12625 done
12626 else
12627 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12628 See \`config.log' for more details." >&5
12629 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12630 See \`config.log' for more details." >&2;}
12631 { (exit 1); exit 1; }; }
12632
12633 fi
12634
12635 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12636
12637 fi
12638 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12639 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12640 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12641 if test "c" = "c"; then
12642 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12643 fi
12644 if test "c" = "cxx"; then
12645 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12646 fi
12647 fi
12648
12649 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12650 unset ac_cv_prog_cc_g
12651 ac_test_CFLAGS=${CFLAGS+set}
12652 ac_save_CFLAGS=$CFLAGS
12653 CFLAGS="-g"
12654 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12655 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12656 if test "${ac_cv_prog_cc_g+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 else
12659 cat >conftest.$ac_ext <<_ACEOF
12660 /* confdefs.h. */
12661 _ACEOF
12662 cat confdefs.h >>conftest.$ac_ext
12663 cat >>conftest.$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665
12666 int
12667 main ()
12668 {
12669
12670 ;
12671 return 0;
12672 }
12673 _ACEOF
12674 rm -f conftest.$ac_objext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12676 (eval $ac_compile) 2>conftest.er1
12677 ac_status=$?
12678 grep -v '^ *+' conftest.er1 >conftest.err
12679 rm -f conftest.er1
12680 cat conftest.err >&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } &&
12683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12686 ac_status=$?
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try='test -s conftest.$ac_objext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12692 ac_status=$?
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12695 ac_cv_prog_cc_g=yes
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12699
12700 ac_cv_prog_cc_g=no
12701 fi
12702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12703 fi
12704 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12705 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12706 if test "$ac_test_CFLAGS" = set; then
12707 CFLAGS=$ac_save_CFLAGS
12708 elif test $ac_cv_prog_cc_g = yes; then
12709 if test "$GCC" = yes; then
12710 CFLAGS="-g -O2"
12711 else
12712 CFLAGS="-g"
12713 fi
12714 else
12715 if test "$GCC" = yes; then
12716 CFLAGS="-O2"
12717 else
12718 CFLAGS=
12719 fi
12720 fi
12721 fi
12722 fi
12723
12724 case `uname -s` in
12725 AIX*)
12726 ac_ext=c
12727 ac_cpp='$CPP $CPPFLAGS'
12728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12731
12732 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12733 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12734 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12736 else
12737 cat >conftest.$ac_ext <<_ACEOF
12738 /* confdefs.h. */
12739 _ACEOF
12740 cat confdefs.h >>conftest.$ac_ext
12741 cat >>conftest.$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12743
12744 int
12745 main ()
12746 {
12747 #ifndef __xlC__
12748 choke me
12749 #endif
12750
12751 ;
12752 return 0;
12753 }
12754 _ACEOF
12755 rm -f conftest.$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>conftest.er1
12758 ac_status=$?
12759 grep -v '^ *+' conftest.er1 >conftest.err
12760 rm -f conftest.er1
12761 cat conftest.err >&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12767 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } &&
12770 { ac_try='test -s conftest.$ac_objext'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; }; then
12776 bakefile_compiler_xlc=yes
12777 else
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.$ac_ext >&5
12780
12781 bakefile_compiler_xlc=no
12782 fi
12783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12784 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12785
12786 fi
12787 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12788 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12789
12790 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12791 ac_ext=c
12792 ac_cpp='$CPP $CPPFLAGS'
12793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12796
12797
12798 ;;
12799
12800 Darwin)
12801 ac_ext=c
12802 ac_cpp='$CPP $CPPFLAGS'
12803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12806
12807 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12808 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12809 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 else
12812 cat >conftest.$ac_ext <<_ACEOF
12813 /* confdefs.h. */
12814 _ACEOF
12815 cat confdefs.h >>conftest.$ac_ext
12816 cat >>conftest.$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12818
12819 int
12820 main ()
12821 {
12822 #ifndef __MWERKS__
12823 choke me
12824 #endif
12825
12826 ;
12827 return 0;
12828 }
12829 _ACEOF
12830 rm -f conftest.$ac_objext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12832 (eval $ac_compile) 2>conftest.er1
12833 ac_status=$?
12834 grep -v '^ *+' conftest.er1 >conftest.err
12835 rm -f conftest.er1
12836 cat conftest.err >&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 bakefile_compiler_mwerks=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12855
12856 bakefile_compiler_mwerks=no
12857 fi
12858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12859 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12860
12861 fi
12862 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12863 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12864
12865 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12866 ac_ext=c
12867 ac_cpp='$CPP $CPPFLAGS'
12868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12871
12872
12873 ac_ext=c
12874 ac_cpp='$CPP $CPPFLAGS'
12875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12878
12879 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12880 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12881 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 else
12884 cat >conftest.$ac_ext <<_ACEOF
12885 /* confdefs.h. */
12886 _ACEOF
12887 cat confdefs.h >>conftest.$ac_ext
12888 cat >>conftest.$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12890
12891 int
12892 main ()
12893 {
12894 #ifndef __xlC__
12895 choke me
12896 #endif
12897
12898 ;
12899 return 0;
12900 }
12901 _ACEOF
12902 rm -f conftest.$ac_objext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12904 (eval $ac_compile) 2>conftest.er1
12905 ac_status=$?
12906 grep -v '^ *+' conftest.er1 >conftest.err
12907 rm -f conftest.er1
12908 cat conftest.err >&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } &&
12911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; } &&
12917 { ac_try='test -s conftest.$ac_objext'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12920 ac_status=$?
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; }; then
12923 bakefile_compiler_xlc=yes
12924 else
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12927
12928 bakefile_compiler_xlc=no
12929 fi
12930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12931 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12932
12933 fi
12934 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12935 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12936
12937 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12938 ac_ext=c
12939 ac_cpp='$CPP $CPPFLAGS'
12940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12943
12944
12945 ;;
12946
12947 IRIX*)
12948
12949
12950 ac_ext=c
12951 ac_cpp='$CPP $CPPFLAGS'
12952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12955
12956 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12957 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12958 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h. */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967
12968 int
12969 main ()
12970 {
12971
12972 #ifndef _SGI_COMPILER_VERSION
12973 choke me
12974 #endif
12975
12976 ;
12977 return 0;
12978 }
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13007
13008 fi
13009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13010
13011
13012 fi
13013 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13014 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13015 ac_ext=c
13016 ac_cpp='$CPP $CPPFLAGS'
13017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13020
13021 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13022 :; SGICC=yes
13023 else
13024 :;
13025 fi
13026
13027
13028 ;;
13029
13030 HP-UX*)
13031
13032
13033 ac_ext=c
13034 ac_cpp='$CPP $CPPFLAGS'
13035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13038
13039 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13040 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13041 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 else
13044 cat >conftest.$ac_ext <<_ACEOF
13045 /* confdefs.h. */
13046 _ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050
13051 int
13052 main ()
13053 {
13054
13055 #ifndef __HP_cc
13056 choke me
13057 #endif
13058
13059 ;
13060 return 0;
13061 }
13062 _ACEOF
13063 rm -f conftest.$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>conftest.er1
13066 ac_status=$?
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13075 ac_status=$?
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try='test -s conftest.$ac_objext'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13081 ac_status=$?
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 bakefile_cv_c_compiler___HP_cc=yes
13085 else
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.$ac_ext >&5
13088
13089 bakefile_cv_c_compiler___HP_cc=no
13090
13091 fi
13092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13093
13094
13095 fi
13096 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13097 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13098 ac_ext=c
13099 ac_cpp='$CPP $CPPFLAGS'
13100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13103
13104 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13105 :; HPCC=yes
13106 else
13107 :;
13108 fi
13109
13110
13111 ;;
13112
13113 OSF1)
13114
13115
13116 ac_ext=c
13117 ac_cpp='$CPP $CPPFLAGS'
13118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13121
13122 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13123 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13124 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 else
13127 cat >conftest.$ac_ext <<_ACEOF
13128 /* confdefs.h. */
13129 _ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133
13134 int
13135 main ()
13136 {
13137
13138 #ifndef __DECC
13139 choke me
13140 #endif
13141
13142 ;
13143 return 0;
13144 }
13145 _ACEOF
13146 rm -f conftest.$ac_objext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13148 (eval $ac_compile) 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; } &&
13161 { ac_try='test -s conftest.$ac_objext'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13164 ac_status=$?
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; }; then
13167 bakefile_cv_c_compiler___DECC=yes
13168 else
13169 echo "$as_me: failed program was:" >&5
13170 sed 's/^/| /' conftest.$ac_ext >&5
13171
13172 bakefile_cv_c_compiler___DECC=no
13173
13174 fi
13175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13176
13177
13178 fi
13179 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13180 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13181 ac_ext=c
13182 ac_cpp='$CPP $CPPFLAGS'
13183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13186
13187 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13188 :; COMPAQCC=yes
13189 else
13190 :;
13191 fi
13192
13193
13194 ;;
13195
13196 SunOS)
13197
13198
13199 ac_ext=c
13200 ac_cpp='$CPP $CPPFLAGS'
13201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13204
13205 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210 cat >conftest.$ac_ext <<_ACEOF
13211 /* confdefs.h. */
13212 _ACEOF
13213 cat confdefs.h >>conftest.$ac_ext
13214 cat >>conftest.$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13216
13217 int
13218 main ()
13219 {
13220
13221 #ifndef __SUNPRO_C
13222 choke me
13223 #endif
13224
13225 ;
13226 return 0;
13227 }
13228 _ACEOF
13229 rm -f conftest.$ac_objext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13231 (eval $ac_compile) 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13241 ac_status=$?
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13247 ac_status=$?
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 bakefile_cv_c_compiler___SUNPRO_C=yes
13251 else
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13254
13255 bakefile_cv_c_compiler___SUNPRO_C=no
13256
13257 fi
13258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13259
13260
13261 fi
13262 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13263 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13264 ac_ext=c
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13269
13270 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13271 :; SUNCC=yes
13272 else
13273 :;
13274 fi
13275
13276
13277 ;;
13278 esac
13279 fi
13280
13281
13282
13283 ac_ext=c
13284 ac_cpp='$CPP $CPPFLAGS'
13285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13288 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13289 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13290 # On Suns, sometimes $CPP names a directory.
13291 if test -n "$CPP" && test -d "$CPP"; then
13292 CPP=
13293 fi
13294 if test -z "$CPP"; then
13295 if test "${ac_cv_prog_CPP+set}" = set; then
13296 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 else
13298 # Double quotes because CPP needs to be expanded
13299 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13300 do
13301 ac_preproc_ok=false
13302 for ac_c_preproc_warn_flag in '' yes
13303 do
13304 # Use a header file that comes with gcc, so configuring glibc
13305 # with a fresh cross-compiler works.
13306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13307 # <limits.h> exists even on freestanding compilers.
13308 # On the NeXT, cc -E runs the code through the compiler's parser,
13309 # not just through cpp. "Syntax error" is here to catch this case.
13310 cat >conftest.$ac_ext <<_ACEOF
13311 /* confdefs.h. */
13312 _ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316 #ifdef __STDC__
13317 # include <limits.h>
13318 #else
13319 # include <assert.h>
13320 #endif
13321 Syntax error
13322 _ACEOF
13323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13325 ac_status=$?
13326 grep -v '^ *+' conftest.er1 >conftest.err
13327 rm -f conftest.er1
13328 cat conftest.err >&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } >/dev/null; then
13331 if test -s conftest.err; then
13332 ac_cpp_err=$ac_c_preproc_warn_flag
13333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13334 else
13335 ac_cpp_err=
13336 fi
13337 else
13338 ac_cpp_err=yes
13339 fi
13340 if test -z "$ac_cpp_err"; then
13341 :
13342 else
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13345
13346 # Broken: fails on valid input.
13347 continue
13348 fi
13349 rm -f conftest.err conftest.$ac_ext
13350
13351 # OK, works on sane cases. Now check whether non-existent headers
13352 # can be detected and how.
13353 cat >conftest.$ac_ext <<_ACEOF
13354 /* confdefs.h. */
13355 _ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 #include <ac_nonexistent.h>
13360 _ACEOF
13361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13363 ac_status=$?
13364 grep -v '^ *+' conftest.er1 >conftest.err
13365 rm -f conftest.er1
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } >/dev/null; then
13369 if test -s conftest.err; then
13370 ac_cpp_err=$ac_c_preproc_warn_flag
13371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13372 else
13373 ac_cpp_err=
13374 fi
13375 else
13376 ac_cpp_err=yes
13377 fi
13378 if test -z "$ac_cpp_err"; then
13379 # Broken: success on invalid input.
13380 continue
13381 else
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13384
13385 # Passes both tests.
13386 ac_preproc_ok=:
13387 break
13388 fi
13389 rm -f conftest.err conftest.$ac_ext
13390
13391 done
13392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13393 rm -f conftest.err conftest.$ac_ext
13394 if $ac_preproc_ok; then
13395 break
13396 fi
13397
13398 done
13399 ac_cv_prog_CPP=$CPP
13400
13401 fi
13402 CPP=$ac_cv_prog_CPP
13403 else
13404 ac_cv_prog_CPP=$CPP
13405 fi
13406 echo "$as_me:$LINENO: result: $CPP" >&5
13407 echo "${ECHO_T}$CPP" >&6
13408 ac_preproc_ok=false
13409 for ac_c_preproc_warn_flag in '' yes
13410 do
13411 # Use a header file that comes with gcc, so configuring glibc
13412 # with a fresh cross-compiler works.
13413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13414 # <limits.h> exists even on freestanding compilers.
13415 # On the NeXT, cc -E runs the code through the compiler's parser,
13416 # not just through cpp. "Syntax error" is here to catch this case.
13417 cat >conftest.$ac_ext <<_ACEOF
13418 /* confdefs.h. */
13419 _ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #ifdef __STDC__
13424 # include <limits.h>
13425 #else
13426 # include <assert.h>
13427 #endif
13428 Syntax error
13429 _ACEOF
13430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13432 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1
13435 cat conftest.err >&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } >/dev/null; then
13438 if test -s conftest.err; then
13439 ac_cpp_err=$ac_c_preproc_warn_flag
13440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13441 else
13442 ac_cpp_err=
13443 fi
13444 else
13445 ac_cpp_err=yes
13446 fi
13447 if test -z "$ac_cpp_err"; then
13448 :
13449 else
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.$ac_ext >&5
13452
13453 # Broken: fails on valid input.
13454 continue
13455 fi
13456 rm -f conftest.err conftest.$ac_ext
13457
13458 # OK, works on sane cases. Now check whether non-existent headers
13459 # can be detected and how.
13460 cat >conftest.$ac_ext <<_ACEOF
13461 /* confdefs.h. */
13462 _ACEOF
13463 cat confdefs.h >>conftest.$ac_ext
13464 cat >>conftest.$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13466 #include <ac_nonexistent.h>
13467 _ACEOF
13468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13470 ac_status=$?
13471 grep -v '^ *+' conftest.er1 >conftest.err
13472 rm -f conftest.er1
13473 cat conftest.err >&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); } >/dev/null; then
13476 if test -s conftest.err; then
13477 ac_cpp_err=$ac_c_preproc_warn_flag
13478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13479 else
13480 ac_cpp_err=
13481 fi
13482 else
13483 ac_cpp_err=yes
13484 fi
13485 if test -z "$ac_cpp_err"; then
13486 # Broken: success on invalid input.
13487 continue
13488 else
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.$ac_ext >&5
13491
13492 # Passes both tests.
13493 ac_preproc_ok=:
13494 break
13495 fi
13496 rm -f conftest.err conftest.$ac_ext
13497
13498 done
13499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13500 rm -f conftest.err conftest.$ac_ext
13501 if $ac_preproc_ok; then
13502 :
13503 else
13504 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13505 See \`config.log' for more details." >&5
13506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13507 See \`config.log' for more details." >&2;}
13508 { (exit 1); exit 1; }; }
13509 fi
13510
13511 ac_ext=c
13512 ac_cpp='$CPP $CPPFLAGS'
13513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13516
13517
13518 echo "$as_me:$LINENO: checking for egrep" >&5
13519 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13520 if test "${ac_cv_prog_egrep+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 else
13523 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13524 then ac_cv_prog_egrep='grep -E'
13525 else ac_cv_prog_egrep='egrep'
13526 fi
13527 fi
13528 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13529 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13530 EGREP=$ac_cv_prog_egrep
13531
13532
13533 if test $ac_cv_c_compiler_gnu = yes; then
13534 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13535 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13536 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13537 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 else
13539 ac_pattern="Autoconf.*'x'"
13540 cat >conftest.$ac_ext <<_ACEOF
13541 /* confdefs.h. */
13542 _ACEOF
13543 cat confdefs.h >>conftest.$ac_ext
13544 cat >>conftest.$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13546 #include <sgtty.h>
13547 Autoconf TIOCGETP
13548 _ACEOF
13549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13550 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13551 ac_cv_prog_gcc_traditional=yes
13552 else
13553 ac_cv_prog_gcc_traditional=no
13554 fi
13555 rm -f conftest*
13556
13557
13558 if test $ac_cv_prog_gcc_traditional = no; then
13559 cat >conftest.$ac_ext <<_ACEOF
13560 /* confdefs.h. */
13561 _ACEOF
13562 cat confdefs.h >>conftest.$ac_ext
13563 cat >>conftest.$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13565 #include <termio.h>
13566 Autoconf TCGETA
13567 _ACEOF
13568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13569 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13570 ac_cv_prog_gcc_traditional=yes
13571 fi
13572 rm -f conftest*
13573
13574 fi
13575 fi
13576 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13577 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13578 if test $ac_cv_prog_gcc_traditional = yes; then
13579 CC="$CC -traditional"
13580 fi
13581 fi
13582
13583
13584 ac_ext=cc
13585 ac_cpp='$CXXCPP $CPPFLAGS'
13586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13589
13590
13591 CXXFLAGS=${CXXFLAGS:=}
13592
13593
13594
13595 ac_ext=cc
13596 ac_cpp='$CXXCPP $CPPFLAGS'
13597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13600 if test -n "$ac_tool_prefix"; then
13601 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13602 do
13603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13605 echo "$as_me:$LINENO: checking for $ac_word" >&5
13606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13607 if test "${ac_cv_prog_CXX+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 else
13610 if test -n "$CXX"; then
13611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13612 else
13613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13614 for as_dir in $PATH
13615 do
13616 IFS=$as_save_IFS
13617 test -z "$as_dir" && as_dir=.
13618 for ac_exec_ext in '' $ac_executable_extensions; do
13619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13620 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13622 break 2
13623 fi
13624 done
13625 done
13626
13627 fi
13628 fi
13629 CXX=$ac_cv_prog_CXX
13630 if test -n "$CXX"; then
13631 echo "$as_me:$LINENO: result: $CXX" >&5
13632 echo "${ECHO_T}$CXX" >&6
13633 else
13634 echo "$as_me:$LINENO: result: no" >&5
13635 echo "${ECHO_T}no" >&6
13636 fi
13637
13638 test -n "$CXX" && break
13639 done
13640 fi
13641 if test -z "$CXX"; then
13642 ac_ct_CXX=$CXX
13643 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13644 do
13645 # Extract the first word of "$ac_prog", so it can be a program name with args.
13646 set dummy $ac_prog; ac_word=$2
13647 echo "$as_me:$LINENO: checking for $ac_word" >&5
13648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13649 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 else
13652 if test -n "$ac_ct_CXX"; then
13653 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13654 else
13655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13656 for as_dir in $PATH
13657 do
13658 IFS=$as_save_IFS
13659 test -z "$as_dir" && as_dir=.
13660 for ac_exec_ext in '' $ac_executable_extensions; do
13661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13662 ac_cv_prog_ac_ct_CXX="$ac_prog"
13663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13664 break 2
13665 fi
13666 done
13667 done
13668
13669 fi
13670 fi
13671 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13672 if test -n "$ac_ct_CXX"; then
13673 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13674 echo "${ECHO_T}$ac_ct_CXX" >&6
13675 else
13676 echo "$as_me:$LINENO: result: no" >&5
13677 echo "${ECHO_T}no" >&6
13678 fi
13679
13680 test -n "$ac_ct_CXX" && break
13681 done
13682 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13683
13684 CXX=$ac_ct_CXX
13685 fi
13686
13687
13688 # Provide some information about the compiler.
13689 echo "$as_me:$LINENO:" \
13690 "checking for C++ compiler version" >&5
13691 ac_compiler=`set X $ac_compile; echo $2`
13692 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13693 (eval $ac_compiler --version </dev/null >&5) 2>&5
13694 ac_status=$?
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }
13697 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13698 (eval $ac_compiler -v </dev/null >&5) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }
13702 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13703 (eval $ac_compiler -V </dev/null >&5) 2>&5
13704 ac_status=$?
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }
13707
13708 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13709 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13710 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 else
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719
13720 int
13721 main ()
13722 {
13723 #ifndef __GNUC__
13724 choke me
13725 #endif
13726
13727 ;
13728 return 0;
13729 }
13730 _ACEOF
13731 rm -f conftest.$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13734 ac_status=$?
13735 grep -v '^ *+' conftest.er1 >conftest.err
13736 rm -f conftest.er1
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; } &&
13746 { ac_try='test -s conftest.$ac_objext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13749 ac_status=$?
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_compiler_gnu=yes
13753 else
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13756
13757 ac_compiler_gnu=no
13758 fi
13759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13760 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13761
13762 fi
13763 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13764 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13765 GXX=`test $ac_compiler_gnu = yes && echo yes`
13766 ac_test_CXXFLAGS=${CXXFLAGS+set}
13767 ac_save_CXXFLAGS=$CXXFLAGS
13768 CXXFLAGS="-g"
13769 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13770 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13771 if test "${ac_cv_prog_cxx_g+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 else
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h. */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780
13781 int
13782 main ()
13783 {
13784
13785 ;
13786 return 0;
13787 }
13788 _ACEOF
13789 rm -f conftest.$ac_objext
13790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13791 (eval $ac_compile) 2>conftest.er1
13792 ac_status=$?
13793 grep -v '^ *+' conftest.er1 >conftest.err
13794 rm -f conftest.er1
13795 cat conftest.err >&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; } &&
13804 { ac_try='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_cv_prog_cxx_g=yes
13811 else
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.$ac_ext >&5
13814
13815 ac_cv_prog_cxx_g=no
13816 fi
13817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13818 fi
13819 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13820 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13821 if test "$ac_test_CXXFLAGS" = set; then
13822 CXXFLAGS=$ac_save_CXXFLAGS
13823 elif test $ac_cv_prog_cxx_g = yes; then
13824 if test "$GXX" = yes; then
13825 CXXFLAGS="-g -O2"
13826 else
13827 CXXFLAGS="-g"
13828 fi
13829 else
13830 if test "$GXX" = yes; then
13831 CXXFLAGS="-O2"
13832 else
13833 CXXFLAGS=
13834 fi
13835 fi
13836 for ac_declaration in \
13837 '' \
13838 'extern "C" void std::exit (int) throw (); using std::exit;' \
13839 'extern "C" void std::exit (int); using std::exit;' \
13840 'extern "C" void exit (int) throw ();' \
13841 'extern "C" void exit (int);' \
13842 'void exit (int);'
13843 do
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850 $ac_declaration
13851 #include <stdlib.h>
13852 int
13853 main ()
13854 {
13855 exit (42);
13856 ;
13857 return 0;
13858 }
13859 _ACEOF
13860 rm -f conftest.$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862 (eval $ac_compile) 2>conftest.er1
13863 ac_status=$?
13864 grep -v '^ *+' conftest.er1 >conftest.err
13865 rm -f conftest.er1
13866 cat conftest.err >&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13872 ac_status=$?
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; } &&
13875 { ac_try='test -s conftest.$ac_objext'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13878 ac_status=$?
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13881 :
13882 else
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.$ac_ext >&5
13885
13886 continue
13887 fi
13888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13889 cat >conftest.$ac_ext <<_ACEOF
13890 /* confdefs.h. */
13891 _ACEOF
13892 cat confdefs.h >>conftest.$ac_ext
13893 cat >>conftest.$ac_ext <<_ACEOF
13894 /* end confdefs.h. */
13895 $ac_declaration
13896 int
13897 main ()
13898 {
13899 exit (42);
13900 ;
13901 return 0;
13902 }
13903 _ACEOF
13904 rm -f conftest.$ac_objext
13905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13906 (eval $ac_compile) 2>conftest.er1
13907 ac_status=$?
13908 grep -v '^ *+' conftest.er1 >conftest.err
13909 rm -f conftest.er1
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; } &&
13919 { ac_try='test -s conftest.$ac_objext'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 break
13926 else
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.$ac_ext >&5
13929
13930 fi
13931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13932 done
13933 rm -f conftest*
13934 if test -n "$ac_declaration"; then
13935 echo '#ifdef __cplusplus' >>confdefs.h
13936 echo $ac_declaration >>confdefs.h
13937 echo '#endif' >>confdefs.h
13938 fi
13939
13940 ac_ext=cc
13941 ac_cpp='$CXXCPP $CPPFLAGS'
13942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13945
13946
13947
13948 ac_ext=cc
13949 ac_cpp='$CXXCPP $CPPFLAGS'
13950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13953
13954 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13955 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13956 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 else
13959 cat >conftest.$ac_ext <<_ACEOF
13960 /* confdefs.h. */
13961 _ACEOF
13962 cat confdefs.h >>conftest.$ac_ext
13963 cat >>conftest.$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13965
13966 int
13967 main ()
13968 {
13969
13970 #ifndef __INTEL_COMPILER
13971 choke me
13972 #endif
13973
13974 ;
13975 return 0;
13976 }
13977 _ACEOF
13978 rm -f conftest.$ac_objext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13980 (eval $ac_compile) 2>conftest.er1
13981 ac_status=$?
13982 grep -v '^ *+' conftest.er1 >conftest.err
13983 rm -f conftest.er1
13984 cat conftest.err >&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); } &&
13987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
13993 { ac_try='test -s conftest.$ac_objext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14000 else
14001 echo "$as_me: failed program was:" >&5
14002 sed 's/^/| /' conftest.$ac_ext >&5
14003
14004 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14005
14006 fi
14007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14008
14009
14010 fi
14011 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14012 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14013 ac_ext=cc
14014 ac_cpp='$CXXCPP $CPPFLAGS'
14015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14018
14019 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14020 :; INTELCXX=yes
14021 else
14022 :;
14023 fi
14024
14025
14026 if test "x$GCXX" != "xyes"; then
14027 if test "xCXX" = "xC"; then
14028 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14029 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14030 if test "${bakefile_cv_cxx_exto+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039
14040 int
14041 main ()
14042 {
14043
14044 ;
14045 return 0;
14046 }
14047 _ACEOF
14048 rm -f conftest.$ac_objext conftest.$ac_ext.o
14049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14050 (eval $ac_compile) 2>&5
14051 ac_status=$?
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; then
14054 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14055 case $ac_file in
14056 conftest.$ac_ext.o)
14057 bakefile_cv_cxx_exto="-ext o"
14058 ;;
14059 *)
14060 ;;
14061 esac
14062 done
14063 else
14064 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14065 See \`config.log' for more details." >&5
14066 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14067 See \`config.log' for more details." >&2;}
14068 { (exit 1); exit 1; }; }
14069
14070 fi
14071
14072 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14073
14074 fi
14075 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14076 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14077 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14078 if test "cxx" = "c"; then
14079 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14080 fi
14081 if test "cxx" = "cxx"; then
14082 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14083 fi
14084 fi
14085
14086 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14087 unset ac_cv_prog_cc_g
14088 ac_test_CFLAGS=${CFLAGS+set}
14089 ac_save_CFLAGS=$CFLAGS
14090 CFLAGS="-g"
14091 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14092 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14093 if test "${ac_cv_prog_cc_g+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 else
14096 cat >conftest.$ac_ext <<_ACEOF
14097 /* confdefs.h. */
14098 _ACEOF
14099 cat confdefs.h >>conftest.$ac_ext
14100 cat >>conftest.$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14102
14103 int
14104 main ()
14105 {
14106
14107 ;
14108 return 0;
14109 }
14110 _ACEOF
14111 rm -f conftest.$ac_objext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14113 (eval $ac_compile) 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_cv_prog_cc_g=yes
14133 else
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.$ac_ext >&5
14136
14137 ac_cv_prog_cc_g=no
14138 fi
14139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14140 fi
14141 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14142 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14143 if test "$ac_test_CFLAGS" = set; then
14144 CFLAGS=$ac_save_CFLAGS
14145 elif test $ac_cv_prog_cc_g = yes; then
14146 if test "$GCC" = yes; then
14147 CFLAGS="-g -O2"
14148 else
14149 CFLAGS="-g"
14150 fi
14151 else
14152 if test "$GCC" = yes; then
14153 CFLAGS="-O2"
14154 else
14155 CFLAGS=
14156 fi
14157 fi
14158 fi
14159 fi
14160
14161 case `uname -s` in
14162 AIX*)
14163 ac_ext=cc
14164 ac_cpp='$CXXCPP $CPPFLAGS'
14165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14168
14169 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14170 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14171 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 else
14174 cat >conftest.$ac_ext <<_ACEOF
14175 /* confdefs.h. */
14176 _ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180
14181 int
14182 main ()
14183 {
14184 #ifndef __xlC__
14185 choke me
14186 #endif
14187
14188 ;
14189 return 0;
14190 }
14191 _ACEOF
14192 rm -f conftest.$ac_objext
14193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14194 (eval $ac_compile) 2>conftest.er1
14195 ac_status=$?
14196 grep -v '^ *+' conftest.er1 >conftest.err
14197 rm -f conftest.er1
14198 cat conftest.err >&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } &&
14201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14204 ac_status=$?
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; } &&
14207 { ac_try='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 bakefile_compiler_xlc=yes
14214 else
14215 echo "$as_me: failed program was:" >&5
14216 sed 's/^/| /' conftest.$ac_ext >&5
14217
14218 bakefile_compiler_xlc=no
14219 fi
14220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14221 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14222
14223 fi
14224 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14225 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14226
14227 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14228 ac_ext=cc
14229 ac_cpp='$CXXCPP $CPPFLAGS'
14230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14233
14234
14235 ;;
14236
14237 Darwin)
14238 ac_ext=cc
14239 ac_cpp='$CXXCPP $CPPFLAGS'
14240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14243
14244 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14245 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14246 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 else
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255
14256 int
14257 main ()
14258 {
14259 #ifndef __MWERKS__
14260 choke me
14261 #endif
14262
14263 ;
14264 return 0;
14265 }
14266 _ACEOF
14267 rm -f conftest.$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>conftest.er1
14270 ac_status=$?
14271 grep -v '^ *+' conftest.er1 >conftest.err
14272 rm -f conftest.er1
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; } &&
14282 { ac_try='test -s conftest.$ac_objext'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14285 ac_status=$?
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; }; then
14288 bakefile_compiler_mwerks=yes
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 bakefile_compiler_mwerks=no
14294 fi
14295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14296 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14297
14298 fi
14299 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14300 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14301
14302 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14303 ac_ext=cc
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14308
14309
14310 ac_ext=cc
14311 ac_cpp='$CXXCPP $CPPFLAGS'
14312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14315
14316 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14317 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14318 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327
14328 int
14329 main ()
14330 {
14331 #ifndef __xlC__
14332 choke me
14333 #endif
14334
14335 ;
14336 return 0;
14337 }
14338 _ACEOF
14339 rm -f conftest.$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14342 ac_status=$?
14343 grep -v '^ *+' conftest.er1 >conftest.err
14344 rm -f conftest.er1
14345 cat conftest.err >&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14357 ac_status=$?
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 bakefile_compiler_xlc=yes
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14364
14365 bakefile_compiler_xlc=no
14366 fi
14367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14368 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14369
14370 fi
14371 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14372 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14373
14374 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14375 ac_ext=cc
14376 ac_cpp='$CXXCPP $CPPFLAGS'
14377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14380
14381
14382 ;;
14383
14384 IRIX*)
14385
14386
14387 ac_ext=cc
14388 ac_cpp='$CXXCPP $CPPFLAGS'
14389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14392
14393 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14394 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14395 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 else
14398 cat >conftest.$ac_ext <<_ACEOF
14399 /* confdefs.h. */
14400 _ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404
14405 int
14406 main ()
14407 {
14408
14409 #ifndef _SGI_COMPILER_VERSION
14410 choke me
14411 #endif
14412
14413 ;
14414 return 0;
14415 }
14416 _ACEOF
14417 rm -f conftest.$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14442
14443 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14444
14445 fi
14446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14447
14448
14449 fi
14450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14451 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14452 ac_ext=cc
14453 ac_cpp='$CXXCPP $CPPFLAGS'
14454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14457
14458 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14459 :; SGICXX=yes
14460 else
14461 :;
14462 fi
14463
14464
14465 ;;
14466
14467 HP-UX*)
14468
14469
14470 ac_ext=cc
14471 ac_cpp='$CXXCPP $CPPFLAGS'
14472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14475
14476 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14477 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14478 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 else
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487
14488 int
14489 main ()
14490 {
14491
14492 #ifndef __HP_aCC
14493 choke me
14494 #endif
14495
14496 ;
14497 return 0;
14498 }
14499 _ACEOF
14500 rm -f conftest.$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } &&
14509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14512 ac_status=$?
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 bakefile_cv_cxx_compiler___HP_aCC=yes
14522 else
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14525
14526 bakefile_cv_cxx_compiler___HP_aCC=no
14527
14528 fi
14529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14530
14531
14532 fi
14533 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14535 ac_ext=cc
14536 ac_cpp='$CXXCPP $CPPFLAGS'
14537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14540
14541 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14542 :; HPCXX=yes
14543 else
14544 :;
14545 fi
14546
14547
14548 ;;
14549
14550 OSF1)
14551
14552
14553 ac_ext=cc
14554 ac_cpp='$CXXCPP $CPPFLAGS'
14555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14558
14559 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14560 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14561 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 else
14564 cat >conftest.$ac_ext <<_ACEOF
14565 /* confdefs.h. */
14566 _ACEOF
14567 cat confdefs.h >>conftest.$ac_ext
14568 cat >>conftest.$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570
14571 int
14572 main ()
14573 {
14574
14575 #ifndef __DECCXX
14576 choke me
14577 #endif
14578
14579 ;
14580 return 0;
14581 }
14582 _ACEOF
14583 rm -f conftest.$ac_objext
14584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14585 (eval $ac_compile) 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 bakefile_cv_cxx_compiler___DECCXX=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 bakefile_cv_cxx_compiler___DECCXX=no
14610
14611 fi
14612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14613
14614
14615 fi
14616 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14618 ac_ext=cc
14619 ac_cpp='$CXXCPP $CPPFLAGS'
14620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14623
14624 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14625 :; COMPAQCXX=yes
14626 else
14627 :;
14628 fi
14629
14630
14631 ;;
14632
14633 SunOS)
14634
14635
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14641
14642 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657
14658 #ifndef __SUNPRO_CC
14659 choke me
14660 #endif
14661
14662 ;
14663 return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest.$ac_objext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14668 (eval $ac_compile) 2>conftest.er1
14669 ac_status=$?
14670 grep -v '^ *+' conftest.er1 >conftest.err
14671 rm -f conftest.er1
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14678 ac_status=$?
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; } &&
14681 { ac_try='test -s conftest.$ac_objext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14684 ac_status=$?
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14688 else
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.$ac_ext >&5
14691
14692 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14693
14694 fi
14695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14696
14697
14698 fi
14699 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14700 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14701 ac_ext=cc
14702 ac_cpp='$CXXCPP $CPPFLAGS'
14703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14706
14707 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14708 :; SUNCXX=yes
14709 else
14710 :;
14711 fi
14712
14713
14714 ;;
14715 esac
14716 fi
14717
14718
14719
14720 if test -n "$ac_tool_prefix"; then
14721 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14722 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14723 echo "$as_me:$LINENO: checking for $ac_word" >&5
14724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14725 if test "${ac_cv_prog_RANLIB+set}" = set; then
14726 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 else
14728 if test -n "$RANLIB"; then
14729 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14730 else
14731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14732 for as_dir in $PATH
14733 do
14734 IFS=$as_save_IFS
14735 test -z "$as_dir" && as_dir=.
14736 for ac_exec_ext in '' $ac_executable_extensions; do
14737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14738 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14740 break 2
14741 fi
14742 done
14743 done
14744
14745 fi
14746 fi
14747 RANLIB=$ac_cv_prog_RANLIB
14748 if test -n "$RANLIB"; then
14749 echo "$as_me:$LINENO: result: $RANLIB" >&5
14750 echo "${ECHO_T}$RANLIB" >&6
14751 else
14752 echo "$as_me:$LINENO: result: no" >&5
14753 echo "${ECHO_T}no" >&6
14754 fi
14755
14756 fi
14757 if test -z "$ac_cv_prog_RANLIB"; then
14758 ac_ct_RANLIB=$RANLIB
14759 # Extract the first word of "ranlib", so it can be a program name with args.
14760 set dummy ranlib; ac_word=$2
14761 echo "$as_me:$LINENO: checking for $ac_word" >&5
14762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14763 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766 if test -n "$ac_ct_RANLIB"; then
14767 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14768 else
14769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14770 for as_dir in $PATH
14771 do
14772 IFS=$as_save_IFS
14773 test -z "$as_dir" && as_dir=.
14774 for ac_exec_ext in '' $ac_executable_extensions; do
14775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14776 ac_cv_prog_ac_ct_RANLIB="ranlib"
14777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14778 break 2
14779 fi
14780 done
14781 done
14782
14783 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14784 fi
14785 fi
14786 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14787 if test -n "$ac_ct_RANLIB"; then
14788 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14789 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14790 else
14791 echo "$as_me:$LINENO: result: no" >&5
14792 echo "${ECHO_T}no" >&6
14793 fi
14794
14795 RANLIB=$ac_ct_RANLIB
14796 else
14797 RANLIB="$ac_cv_prog_RANLIB"
14798 fi
14799
14800
14801 if test -n "$ac_tool_prefix"; then
14802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14803 set dummy ${ac_tool_prefix}ar; ac_word=$2
14804 echo "$as_me:$LINENO: checking for $ac_word" >&5
14805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14806 if test "${ac_cv_prog_AR+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 else
14809 if test -n "$AR"; then
14810 ac_cv_prog_AR="$AR" # Let the user override the test.
14811 else
14812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14813 for as_dir in $PATH
14814 do
14815 IFS=$as_save_IFS
14816 test -z "$as_dir" && as_dir=.
14817 for ac_exec_ext in '' $ac_executable_extensions; do
14818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14819 ac_cv_prog_AR="${ac_tool_prefix}ar"
14820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14821 break 2
14822 fi
14823 done
14824 done
14825
14826 fi
14827 fi
14828 AR=$ac_cv_prog_AR
14829 if test -n "$AR"; then
14830 echo "$as_me:$LINENO: result: $AR" >&5
14831 echo "${ECHO_T}$AR" >&6
14832 else
14833 echo "$as_me:$LINENO: result: no" >&5
14834 echo "${ECHO_T}no" >&6
14835 fi
14836
14837 fi
14838 if test -z "$ac_cv_prog_AR"; then
14839 ac_ct_AR=$AR
14840 # Extract the first word of "ar", so it can be a program name with args.
14841 set dummy ar; ac_word=$2
14842 echo "$as_me:$LINENO: checking for $ac_word" >&5
14843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14844 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 if test -n "$ac_ct_AR"; then
14848 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14849 else
14850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14851 for as_dir in $PATH
14852 do
14853 IFS=$as_save_IFS
14854 test -z "$as_dir" && as_dir=.
14855 for ac_exec_ext in '' $ac_executable_extensions; do
14856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14857 ac_cv_prog_ac_ct_AR="ar"
14858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14859 break 2
14860 fi
14861 done
14862 done
14863
14864 fi
14865 fi
14866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14867 if test -n "$ac_ct_AR"; then
14868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14869 echo "${ECHO_T}$ac_ct_AR" >&6
14870 else
14871 echo "$as_me:$LINENO: result: no" >&5
14872 echo "${ECHO_T}no" >&6
14873 fi
14874
14875 AR=$ac_ct_AR
14876 else
14877 AR="$ac_cv_prog_AR"
14878 fi
14879
14880 if test "x$AR" = "x" ; then
14881 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14882 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14883 { (exit 1); exit 1; }; }
14884 fi
14885
14886 # Find a good install program. We prefer a C program (faster),
14887 # so one script is as good as another. But avoid the broken or
14888 # incompatible versions:
14889 # SysV /etc/install, /usr/sbin/install
14890 # SunOS /usr/etc/install
14891 # IRIX /sbin/install
14892 # AIX /bin/install
14893 # AmigaOS /C/install, which installs bootblocks on floppy discs
14894 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14895 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14896 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14897 # OS/2's system install, which has a completely different semantic
14898 # ./install, which can be erroneously created by make from ./install.sh.
14899 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14900 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14901 if test -z "$INSTALL"; then
14902 if test "${ac_cv_path_install+set}" = set; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14906 for as_dir in $PATH
14907 do
14908 IFS=$as_save_IFS
14909 test -z "$as_dir" && as_dir=.
14910 # Account for people who put trailing slashes in PATH elements.
14911 case $as_dir/ in
14912 ./ | .// | /cC/* | \
14913 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14914 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14915 /usr/ucb/* ) ;;
14916 *)
14917 # OSF1 and SCO ODT 3.0 have their own names for install.
14918 # Don't use installbsd from OSF since it installs stuff as root
14919 # by default.
14920 for ac_prog in ginstall scoinst install; do
14921 for ac_exec_ext in '' $ac_executable_extensions; do
14922 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14923 if test $ac_prog = install &&
14924 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14925 # AIX install. It has an incompatible calling convention.
14926 :
14927 elif test $ac_prog = install &&
14928 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14929 # program-specific install script used by HP pwplus--don't use.
14930 :
14931 else
14932 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14933 break 3
14934 fi
14935 fi
14936 done
14937 done
14938 ;;
14939 esac
14940 done
14941
14942
14943 fi
14944 if test "${ac_cv_path_install+set}" = set; then
14945 INSTALL=$ac_cv_path_install
14946 else
14947 # As a last resort, use the slow shell script. We don't cache a
14948 # path for INSTALL within a source directory, because that will
14949 # break other packages using the cache if that directory is
14950 # removed, or if the path is relative.
14951 INSTALL=$ac_install_sh
14952 fi
14953 fi
14954 echo "$as_me:$LINENO: result: $INSTALL" >&5
14955 echo "${ECHO_T}$INSTALL" >&6
14956
14957 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14958 # It thinks the first close brace ends the variable substitution.
14959 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14960
14961 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14962
14963 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14964
14965
14966 case ${INSTALL} in
14967 /* ) # Absolute
14968 ;;
14969 ?:* ) # Drive letter, considered as absolute.
14970 ;;
14971 *)
14972 INSTALL=`pwd`/${INSTALL} ;;
14973 esac
14974
14975
14976 case "${host}" in
14977
14978 *-*-darwin* )
14979 INSTALL_PROGRAM="cp -fp"
14980 INSTALL_DATA="cp -fp"
14981 ;;
14982 *)
14983 ;;
14984 esac
14985
14986 if test -n "$ac_tool_prefix"; then
14987 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14988 set dummy ${ac_tool_prefix}strip; ac_word=$2
14989 echo "$as_me:$LINENO: checking for $ac_word" >&5
14990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14991 if test "${ac_cv_prog_STRIP+set}" = set; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 else
14994 if test -n "$STRIP"; then
14995 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14996 else
14997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14998 for as_dir in $PATH
14999 do
15000 IFS=$as_save_IFS
15001 test -z "$as_dir" && as_dir=.
15002 for ac_exec_ext in '' $ac_executable_extensions; do
15003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15004 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15006 break 2
15007 fi
15008 done
15009 done
15010
15011 fi
15012 fi
15013 STRIP=$ac_cv_prog_STRIP
15014 if test -n "$STRIP"; then
15015 echo "$as_me:$LINENO: result: $STRIP" >&5
15016 echo "${ECHO_T}$STRIP" >&6
15017 else
15018 echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6
15020 fi
15021
15022 fi
15023 if test -z "$ac_cv_prog_STRIP"; then
15024 ac_ct_STRIP=$STRIP
15025 # Extract the first word of "strip", so it can be a program name with args.
15026 set dummy strip; ac_word=$2
15027 echo "$as_me:$LINENO: checking for $ac_word" >&5
15028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15029 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 else
15032 if test -n "$ac_ct_STRIP"; then
15033 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15034 else
15035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15036 for as_dir in $PATH
15037 do
15038 IFS=$as_save_IFS
15039 test -z "$as_dir" && as_dir=.
15040 for ac_exec_ext in '' $ac_executable_extensions; do
15041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_prog_ac_ct_STRIP="strip"
15043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15044 break 2
15045 fi
15046 done
15047 done
15048
15049 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15050 fi
15051 fi
15052 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15053 if test -n "$ac_ct_STRIP"; then
15054 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15055 echo "${ECHO_T}$ac_ct_STRIP" >&6
15056 else
15057 echo "$as_me:$LINENO: result: no" >&5
15058 echo "${ECHO_T}no" >&6
15059 fi
15060
15061 STRIP=$ac_ct_STRIP
15062 else
15063 STRIP="$ac_cv_prog_STRIP"
15064 fi
15065
15066
15067 if test "$wxUSE_WINE" = "yes"; then
15068 if test -n "$ac_tool_prefix"; then
15069 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15070 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15071 echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 if test "${ac_cv_prog_WINDRES+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076 if test -n "$WINDRES"; then
15077 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15078 else
15079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15080 for as_dir in $PATH
15081 do
15082 IFS=$as_save_IFS
15083 test -z "$as_dir" && as_dir=.
15084 for ac_exec_ext in '' $ac_executable_extensions; do
15085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15088 break 2
15089 fi
15090 done
15091 done
15092
15093 fi
15094 fi
15095 WINDRES=$ac_cv_prog_WINDRES
15096 if test -n "$WINDRES"; then
15097 echo "$as_me:$LINENO: result: $WINDRES" >&5
15098 echo "${ECHO_T}$WINDRES" >&6
15099 else
15100 echo "$as_me:$LINENO: result: no" >&5
15101 echo "${ECHO_T}no" >&6
15102 fi
15103
15104 fi
15105 if test -z "$ac_cv_prog_WINDRES"; then
15106 ac_ct_WINDRES=$WINDRES
15107 # Extract the first word of "wrc", so it can be a program name with args.
15108 set dummy wrc; ac_word=$2
15109 echo "$as_me:$LINENO: checking for $ac_word" >&5
15110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15111 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114 if test -n "$ac_ct_WINDRES"; then
15115 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15116 else
15117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15118 for as_dir in $PATH
15119 do
15120 IFS=$as_save_IFS
15121 test -z "$as_dir" && as_dir=.
15122 for ac_exec_ext in '' $ac_executable_extensions; do
15123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15124 ac_cv_prog_ac_ct_WINDRES="wrc"
15125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15126 break 2
15127 fi
15128 done
15129 done
15130
15131 fi
15132 fi
15133 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15134 if test -n "$ac_ct_WINDRES"; then
15135 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15136 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15137 else
15138 echo "$as_me:$LINENO: result: no" >&5
15139 echo "${ECHO_T}no" >&6
15140 fi
15141
15142 WINDRES=$ac_ct_WINDRES
15143 else
15144 WINDRES="$ac_cv_prog_WINDRES"
15145 fi
15146
15147 RESCOMP="$WINDRES"
15148 else
15149 case "${host}" in
15150 *-*-cygwin* | *-*-mingw32* )
15151 if test -n "$ac_tool_prefix"; then
15152 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15153 set dummy ${ac_tool_prefix}windres; ac_word=$2
15154 echo "$as_me:$LINENO: checking for $ac_word" >&5
15155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15156 if test "${ac_cv_prog_WINDRES+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 else
15159 if test -n "$WINDRES"; then
15160 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15161 else
15162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15163 for as_dir in $PATH
15164 do
15165 IFS=$as_save_IFS
15166 test -z "$as_dir" && as_dir=.
15167 for ac_exec_ext in '' $ac_executable_extensions; do
15168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15169 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15171 break 2
15172 fi
15173 done
15174 done
15175
15176 fi
15177 fi
15178 WINDRES=$ac_cv_prog_WINDRES
15179 if test -n "$WINDRES"; then
15180 echo "$as_me:$LINENO: result: $WINDRES" >&5
15181 echo "${ECHO_T}$WINDRES" >&6
15182 else
15183 echo "$as_me:$LINENO: result: no" >&5
15184 echo "${ECHO_T}no" >&6
15185 fi
15186
15187 fi
15188 if test -z "$ac_cv_prog_WINDRES"; then
15189 ac_ct_WINDRES=$WINDRES
15190 # Extract the first word of "windres", so it can be a program name with args.
15191 set dummy windres; ac_word=$2
15192 echo "$as_me:$LINENO: checking for $ac_word" >&5
15193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15194 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197 if test -n "$ac_ct_WINDRES"; then
15198 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15199 else
15200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 for as_dir in $PATH
15202 do
15203 IFS=$as_save_IFS
15204 test -z "$as_dir" && as_dir=.
15205 for ac_exec_ext in '' $ac_executable_extensions; do
15206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15207 ac_cv_prog_ac_ct_WINDRES="windres"
15208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15209 break 2
15210 fi
15211 done
15212 done
15213
15214 fi
15215 fi
15216 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15217 if test -n "$ac_ct_WINDRES"; then
15218 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15219 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15220 else
15221 echo "$as_me:$LINENO: result: no" >&5
15222 echo "${ECHO_T}no" >&6
15223 fi
15224
15225 WINDRES=$ac_ct_WINDRES
15226 else
15227 WINDRES="$ac_cv_prog_WINDRES"
15228 fi
15229
15230 RESCOMP="$WINDRES"
15231 if test -n "$ac_tool_prefix"; then
15232 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15233 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15234 echo "$as_me:$LINENO: checking for $ac_word" >&5
15235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15236 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 else
15239 if test -n "$DLLTOOL"; then
15240 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15241 else
15242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15243 for as_dir in $PATH
15244 do
15245 IFS=$as_save_IFS
15246 test -z "$as_dir" && as_dir=.
15247 for ac_exec_ext in '' $ac_executable_extensions; do
15248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15249 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15251 break 2
15252 fi
15253 done
15254 done
15255
15256 fi
15257 fi
15258 DLLTOOL=$ac_cv_prog_DLLTOOL
15259 if test -n "$DLLTOOL"; then
15260 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15261 echo "${ECHO_T}$DLLTOOL" >&6
15262 else
15263 echo "$as_me:$LINENO: result: no" >&5
15264 echo "${ECHO_T}no" >&6
15265 fi
15266
15267 fi
15268 if test -z "$ac_cv_prog_DLLTOOL"; then
15269 ac_ct_DLLTOOL=$DLLTOOL
15270 # Extract the first word of "dlltool", so it can be a program name with args.
15271 set dummy dlltool; ac_word=$2
15272 echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15274 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 if test -n "$ac_ct_DLLTOOL"; then
15278 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15289 break 2
15290 fi
15291 done
15292 done
15293
15294 fi
15295 fi
15296 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15297 if test -n "$ac_ct_DLLTOOL"; then
15298 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15299 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15300 else
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15303 fi
15304
15305 DLLTOOL=$ac_ct_DLLTOOL
15306 else
15307 DLLTOOL="$ac_cv_prog_DLLTOOL"
15308 fi
15309
15310 ;;
15311 esac
15312 fi
15313
15314 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15315 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15316 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319
15320 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15321 egrep -s GNU > /dev/null); then
15322 wx_cv_prog_makeisgnu="yes"
15323 else
15324 wx_cv_prog_makeisgnu="no"
15325 fi
15326
15327 fi
15328 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15329 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15330
15331 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15332 IF_GNU_MAKE=""
15333 else
15334 IF_GNU_MAKE="#"
15335 fi
15336
15337
15338
15339 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15340 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15341 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15342 if test "${wx_cv_prog_makevpath+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 else
15345
15346 cat - << EOF > confMake
15347 check : file
15348 cp \$? \$@
15349 cp \$? final_file
15350 EOF
15351
15352 if test ! -d sub ; then
15353 mkdir sub
15354 fi
15355 echo dummy > sub/file
15356 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15357 RESULT=$?
15358 rm -f sub/file check final_file confMake
15359 rmdir sub
15360 if test "$RESULT" = 0; then
15361 wx_cv_prog_makevpath="yes"
15362 else
15363 wx_cv_prog_makevpath="no"
15364 fi
15365
15366 fi
15367 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15368 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15369
15370 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15371 { { echo "$as_me:$LINENO: error:
15372 You need a make-utility that is able to use the variable
15373 VPATH correctly.
15374 If your version of make does not support VPATH correctly,
15375 please install GNU-make (possibly as gmake), and start
15376 configure with the following command:
15377 export MAKE=gmake; ./configure for sh-type shells
15378 setenv MAKE gmake; ./configure for csh-type shells
15379 Also please do remember to use gmake in this case every time
15380 you are trying to compile.
15381 " >&5
15382 echo "$as_me: error:
15383 You need a make-utility that is able to use the variable
15384 VPATH correctly.
15385 If your version of make does not support VPATH correctly,
15386 please install GNU-make (possibly as gmake), and start
15387 configure with the following command:
15388 export MAKE=gmake; ./configure for sh-type shells
15389 setenv MAKE gmake; ./configure for csh-type shells
15390 Also please do remember to use gmake in this case every time
15391 you are trying to compile.
15392 " >&2;}
15393 { (exit 1); exit 1; }; }
15394 fi fi
15395 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15396 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15397 LN_S=$as_ln_s
15398 if test "$LN_S" = "ln -s"; then
15399 echo "$as_me:$LINENO: result: yes" >&5
15400 echo "${ECHO_T}yes" >&6
15401 else
15402 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15403 echo "${ECHO_T}no, using $LN_S" >&6
15404 fi
15405
15406
15407
15408
15409 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15410 CXXFLAGS="-qunique $CXXFLAGS"
15411 fi
15412
15413 case "${host}" in
15414 powerpc-*-darwin* )
15415 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15416 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15417 cat >conftest.$ac_ext <<_ACEOF
15418 /* confdefs.h. */
15419 _ACEOF
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423
15424 int
15425 main ()
15426 {
15427 #ifndef __POWERPC__
15428 choke me for lack of PowerPC
15429 #endif
15430
15431 ;
15432 return 0;
15433 }
15434 _ACEOF
15435 rm -f conftest.$ac_objext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15437 (eval $ac_compile) 2>conftest.er1
15438 ac_status=$?
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 echo "$as_me:$LINENO: result: yes" >&5
15457 echo "${ECHO_T}yes" >&6
15458 else
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15461
15462 echo "$as_me:$LINENO: result: no" >&5
15463 echo "${ECHO_T}no" >&6
15464 cat >>confdefs.h <<\_ACEOF
15465 #define __POWERPC__ 1
15466 _ACEOF
15467
15468
15469 fi
15470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15471 ;;
15472 esac
15473
15474 case "${host}" in
15475 *-*-darwin* )
15476 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15477 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15478 cat >conftest.$ac_ext <<_ACEOF
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 #include <CoreFoundation/CFBase.h>
15485
15486 int
15487 main ()
15488 {
15489
15490 ;
15491 return 0;
15492 }
15493 _ACEOF
15494 rm -f conftest.$ac_objext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15496 (eval $ac_compile) 2>conftest.er1
15497 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15506 ac_status=$?
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; } &&
15509 { ac_try='test -s conftest.$ac_objext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15512 ac_status=$?
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6
15517 else
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5
15520
15521 echo "$as_me:$LINENO: result: no" >&5
15522 echo "${ECHO_T}no" >&6
15523 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15524 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15525 cat >conftest.$ac_ext <<_ACEOF
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 #define __CF_USE_FRAMEWORK_INCLUDES__
15532 #include <CoreFoundation/CFBase.h>
15533
15534 int
15535 main ()
15536 {
15537
15538 ;
15539 return 0;
15540 }
15541 _ACEOF
15542 rm -f conftest.$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>conftest.er1
15545 ac_status=$?
15546 grep -v '^ *+' conftest.er1 >conftest.err
15547 rm -f conftest.er1
15548 cat conftest.err >&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest.$ac_objext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 echo "$as_me:$LINENO: result: yes" >&5
15564 echo "${ECHO_T}yes" >&6
15565 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15566 else
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.$ac_ext >&5
15569
15570 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15571 See \`config.log' for more details." >&5
15572 echo "$as_me: error: no. CoreFoundation not available.
15573 See \`config.log' for more details." >&2;}
15574 { (exit 1); exit 1; }; }
15575
15576 fi
15577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15578
15579
15580 fi
15581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15582 ;;
15583 esac
15584
15585 case "${host}" in
15586 *-pc-os2_emx | *-pc-os2-emx )
15587 ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592
15593 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15594 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15595 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15596 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599 ac_check_lib_save_LIBS=$LIBS
15600 LIBS="-lcExt $LIBS"
15601 cat >conftest.$ac_ext <<_ACEOF
15602 /* confdefs.h. */
15603 _ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15607
15608 /* Override any gcc2 internal prototype to avoid an error. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 /* We use char because int might match the return type of a gcc2
15613 builtin and then its argument prototype would still apply. */
15614 char drand48 ();
15615 int
15616 main ()
15617 {
15618 drand48 ();
15619 ;
15620 return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext conftest$ac_exeext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15625 (eval $ac_link) 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try='test -s conftest$ac_exeext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15641 ac_status=$?
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_cv_lib_cExt_drand48=yes
15645 else
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15648
15649 ac_cv_lib_cExt_drand48=no
15650 fi
15651 rm -f conftest.err conftest.$ac_objext \
15652 conftest$ac_exeext conftest.$ac_ext
15653 LIBS=$ac_check_lib_save_LIBS
15654 fi
15655 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15656 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15657 if test $ac_cv_lib_cExt_drand48 = yes; then
15658 LIBS="$LIBS -lcExt"
15659 fi
15660
15661 else
15662 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15663 fi
15664 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15665 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15666 if test "${wx_cv_gccversion+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 else
15669
15670 if test "$cross_compiling" = yes; then
15671 wx_cv_gccversion="EMX2"
15672
15673 else
15674 cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h. */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680
15681 #include <stdio.h>
15682
15683 int main()
15684 {
15685 FILE *f=fopen("conftestval", "w");
15686 if (!f) exit(1);
15687 fprintf(f,
15688 #if (__GNUC__ < 3)
15689 "EMX2"
15690 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15691 "EMX3"
15692 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15693 "Innotek5"
15694 #else
15695 "Innotek6"
15696 #endif
15697 );
15698 exit(0);
15699 }
15700
15701 _ACEOF
15702 rm -f conftest$ac_exeext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15704 (eval $ac_link) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15710 ac_status=$?
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15713 wx_cv_gccversion=`cat conftestval`
15714 else
15715 echo "$as_me: program exited with status $ac_status" >&5
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15718
15719 ( exit $ac_status )
15720 wx_cv_gccversion="EMX2"
15721 fi
15722 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15723 fi
15724
15725 fi
15726 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15727 echo "${ECHO_T}$wx_cv_gccversion" >&6
15728 ac_ext=cc
15729 ac_cpp='$CXXCPP $CPPFLAGS'
15730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15733
15734 if test "$wx_cv_gccversion" = "EMX2"; then
15735 LIBS="$LIBS -lstdcpp"
15736 LDFLAGS="$LDFLAGS -Zsysv-signals"
15737 else
15738 if test "$wx_cv_gccversion" = "EMX3"; then
15739 LIBS="$LIBS -lstdcxx -lgcc"
15740 LDFLAGS="$LDFLAGS -Zsysv-signals"
15741 else
15742 LIBS="$LIBS -lstdc++"
15743 fi
15744 fi
15745 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15746 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15747 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15748 wxUSE_OMF=yes
15749 enable_omf=yes
15750 fi
15751 ;;
15752 *)
15753
15754 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15755 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15756 if test "${ac_cv_string_strcasecmp+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 else
15759
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766
15767 #include <string.h>
15768
15769 int
15770 main ()
15771 {
15772
15773 strcasecmp("foo", "bar");
15774
15775 ;
15776 return 0;
15777 }
15778 _ACEOF
15779 rm -f conftest.$ac_objext conftest$ac_exeext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15781 (eval $ac_link) 2>conftest.er1
15782 ac_status=$?
15783 grep -v '^ *+' conftest.er1 >conftest.err
15784 rm -f conftest.er1
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest$ac_exeext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 ac_cv_string_strcasecmp=yes
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 ac_cv_string_strcasecmp=no
15806
15807 fi
15808 rm -f conftest.err conftest.$ac_objext \
15809 conftest$ac_exeext conftest.$ac_ext
15810
15811 fi
15812 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15813 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15814
15815 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15816 cat >>confdefs.h <<\_ACEOF
15817 #define HAVE_STRCASECMP_IN_STRING_H 1
15818 _ACEOF
15819
15820 else
15821 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15822 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15823 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833
15834 #include <strings.h>
15835
15836 int
15837 main ()
15838 {
15839
15840 strcasecmp("foo", "bar");
15841
15842 ;
15843 return 0;
15844 }
15845 _ACEOF
15846 rm -f conftest.$ac_objext conftest$ac_exeext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15848 (eval $ac_link) 2>conftest.er1
15849 ac_status=$?
15850 grep -v '^ *+' conftest.er1 >conftest.err
15851 rm -f conftest.er1
15852 cat conftest.err >&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15858 ac_status=$?
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; } &&
15861 { ac_try='test -s conftest$ac_exeext'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; }; then
15867 ac_cv_strings_strcasecmp=yes
15868 else
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15871
15872 ac_cv_strings_strcasecmp=no
15873
15874 fi
15875 rm -f conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15877
15878 fi
15879 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15880 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15881
15882 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15883 cat >>confdefs.h <<\_ACEOF
15884 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15885 _ACEOF
15886
15887 else
15888 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15889 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15890 { (exit 1); exit 1; }; }
15891 fi
15892 fi
15893
15894 ;;
15895 esac
15896
15897
15898 ac_ext=cc
15899 ac_cpp='$CXXCPP $CPPFLAGS'
15900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15903 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15904 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15905 if test -z "$CXXCPP"; then
15906 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15909 # Double quotes because CXXCPP needs to be expanded
15910 for CXXCPP in "$CXX -E" "/lib/cpp"
15911 do
15912 ac_preproc_ok=false
15913 for ac_cxx_preproc_warn_flag in '' yes
15914 do
15915 # Use a header file that comes with gcc, so configuring glibc
15916 # with a fresh cross-compiler works.
15917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15918 # <limits.h> exists even on freestanding compilers.
15919 # On the NeXT, cc -E runs the code through the compiler's parser,
15920 # not just through cpp. "Syntax error" is here to catch this case.
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 #ifdef __STDC__
15928 # include <limits.h>
15929 #else
15930 # include <assert.h>
15931 #endif
15932 Syntax error
15933 _ACEOF
15934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15935 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
15942 if test -s conftest.err; then
15943 ac_cpp_err=$ac_cxx_preproc_warn_flag
15944 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15945 else
15946 ac_cpp_err=
15947 fi
15948 else
15949 ac_cpp_err=yes
15950 fi
15951 if test -z "$ac_cpp_err"; then
15952 :
15953 else
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15956
15957 # Broken: fails on valid input.
15958 continue
15959 fi
15960 rm -f conftest.err conftest.$ac_ext
15961
15962 # OK, works on sane cases. Now check whether non-existent headers
15963 # can be detected and how.
15964 cat >conftest.$ac_ext <<_ACEOF
15965 /* confdefs.h. */
15966 _ACEOF
15967 cat confdefs.h >>conftest.$ac_ext
15968 cat >>conftest.$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 #include <ac_nonexistent.h>
15971 _ACEOF
15972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15974 ac_status=$?
15975 grep -v '^ *+' conftest.er1 >conftest.err
15976 rm -f conftest.er1
15977 cat conftest.err >&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } >/dev/null; then
15980 if test -s conftest.err; then
15981 ac_cpp_err=$ac_cxx_preproc_warn_flag
15982 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15983 else
15984 ac_cpp_err=
15985 fi
15986 else
15987 ac_cpp_err=yes
15988 fi
15989 if test -z "$ac_cpp_err"; then
15990 # Broken: success on invalid input.
15991 continue
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15995
15996 # Passes both tests.
15997 ac_preproc_ok=:
15998 break
15999 fi
16000 rm -f conftest.err conftest.$ac_ext
16001
16002 done
16003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16004 rm -f conftest.err conftest.$ac_ext
16005 if $ac_preproc_ok; then
16006 break
16007 fi
16008
16009 done
16010 ac_cv_prog_CXXCPP=$CXXCPP
16011
16012 fi
16013 CXXCPP=$ac_cv_prog_CXXCPP
16014 else
16015 ac_cv_prog_CXXCPP=$CXXCPP
16016 fi
16017 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16018 echo "${ECHO_T}$CXXCPP" >&6
16019 ac_preproc_ok=false
16020 for ac_cxx_preproc_warn_flag in '' yes
16021 do
16022 # Use a header file that comes with gcc, so configuring glibc
16023 # with a fresh cross-compiler works.
16024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16025 # <limits.h> exists even on freestanding compilers.
16026 # On the NeXT, cc -E runs the code through the compiler's parser,
16027 # not just through cpp. "Syntax error" is here to catch this case.
16028 cat >conftest.$ac_ext <<_ACEOF
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 #ifdef __STDC__
16035 # include <limits.h>
16036 #else
16037 # include <assert.h>
16038 #endif
16039 Syntax error
16040 _ACEOF
16041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16043 ac_status=$?
16044 grep -v '^ *+' conftest.er1 >conftest.err
16045 rm -f conftest.er1
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } >/dev/null; then
16049 if test -s conftest.err; then
16050 ac_cpp_err=$ac_cxx_preproc_warn_flag
16051 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16052 else
16053 ac_cpp_err=
16054 fi
16055 else
16056 ac_cpp_err=yes
16057 fi
16058 if test -z "$ac_cpp_err"; then
16059 :
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 # Broken: fails on valid input.
16065 continue
16066 fi
16067 rm -f conftest.err conftest.$ac_ext
16068
16069 # OK, works on sane cases. Now check whether non-existent headers
16070 # can be detected and how.
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 #include <ac_nonexistent.h>
16078 _ACEOF
16079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16081 ac_status=$?
16082 grep -v '^ *+' conftest.er1 >conftest.err
16083 rm -f conftest.er1
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } >/dev/null; then
16087 if test -s conftest.err; then
16088 ac_cpp_err=$ac_cxx_preproc_warn_flag
16089 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16090 else
16091 ac_cpp_err=
16092 fi
16093 else
16094 ac_cpp_err=yes
16095 fi
16096 if test -z "$ac_cpp_err"; then
16097 # Broken: success on invalid input.
16098 continue
16099 else
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103 # Passes both tests.
16104 ac_preproc_ok=:
16105 break
16106 fi
16107 rm -f conftest.err conftest.$ac_ext
16108
16109 done
16110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16111 rm -f conftest.err conftest.$ac_ext
16112 if $ac_preproc_ok; then
16113 :
16114 else
16115 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16116 See \`config.log' for more details." >&5
16117 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16118 See \`config.log' for more details." >&2;}
16119 { (exit 1); exit 1; }; }
16120 fi
16121
16122 ac_ext=cc
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16127
16128
16129 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16130 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16131 if test "${ac_cv_header_stdc+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 else
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 #include <stdlib.h>
16141 #include <stdarg.h>
16142 #include <string.h>
16143 #include <float.h>
16144
16145 int
16146 main ()
16147 {
16148
16149 ;
16150 return 0;
16151 }
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16156 ac_status=$?
16157 grep -v '^ *+' conftest.er1 >conftest.err
16158 rm -f conftest.er1
16159 cat conftest.err >&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16165 ac_status=$?
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; } &&
16168 { ac_try='test -s conftest.$ac_objext'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16171 ac_status=$?
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; }; then
16174 ac_cv_header_stdc=yes
16175 else
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.$ac_ext >&5
16178
16179 ac_cv_header_stdc=no
16180 fi
16181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16182
16183 if test $ac_cv_header_stdc = yes; then
16184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h. */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 #include <string.h>
16192
16193 _ACEOF
16194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16195 $EGREP "memchr" >/dev/null 2>&1; then
16196 :
16197 else
16198 ac_cv_header_stdc=no
16199 fi
16200 rm -f conftest*
16201
16202 fi
16203
16204 if test $ac_cv_header_stdc = yes; then
16205 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h. */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 #include <stdlib.h>
16213
16214 _ACEOF
16215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16216 $EGREP "free" >/dev/null 2>&1; then
16217 :
16218 else
16219 ac_cv_header_stdc=no
16220 fi
16221 rm -f conftest*
16222
16223 fi
16224
16225 if test $ac_cv_header_stdc = yes; then
16226 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16227 if test "$cross_compiling" = yes; then
16228 :
16229 else
16230 cat >conftest.$ac_ext <<_ACEOF
16231 /* confdefs.h. */
16232 _ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 #include <ctype.h>
16237 #if ((' ' & 0x0FF) == 0x020)
16238 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16239 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16240 #else
16241 # define ISLOWER(c) \
16242 (('a' <= (c) && (c) <= 'i') \
16243 || ('j' <= (c) && (c) <= 'r') \
16244 || ('s' <= (c) && (c) <= 'z'))
16245 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16246 #endif
16247
16248 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16249 int
16250 main ()
16251 {
16252 int i;
16253 for (i = 0; i < 256; i++)
16254 if (XOR (islower (i), ISLOWER (i))
16255 || toupper (i) != TOUPPER (i))
16256 exit(2);
16257 exit (0);
16258 }
16259 _ACEOF
16260 rm -f conftest$ac_exeext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16262 (eval $ac_link) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; }; then
16271 :
16272 else
16273 echo "$as_me: program exited with status $ac_status" >&5
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16276
16277 ( exit $ac_status )
16278 ac_cv_header_stdc=no
16279 fi
16280 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16281 fi
16282 fi
16283 fi
16284 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16285 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16286 if test $ac_cv_header_stdc = yes; then
16287
16288 cat >>confdefs.h <<\_ACEOF
16289 #define STDC_HEADERS 1
16290 _ACEOF
16291
16292 fi
16293
16294 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16305 inttypes.h stdint.h unistd.h
16306 do
16307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16308 echo "$as_me:$LINENO: checking for $ac_header" >&5
16309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 else
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 $ac_includes_default
16320
16321 #include <$ac_header>
16322 _ACEOF
16323 rm -f conftest.$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>conftest.er1
16326 ac_status=$?
16327 grep -v '^ *+' conftest.er1 >conftest.err
16328 rm -f conftest.er1
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } &&
16332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; } &&
16338 { ac_try='test -s conftest.$ac_objext'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; }; then
16344 eval "$as_ac_Header=yes"
16345 else
16346 echo "$as_me: failed program was:" >&5
16347 sed 's/^/| /' conftest.$ac_ext >&5
16348
16349 eval "$as_ac_Header=no"
16350 fi
16351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16352 fi
16353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16356 cat >>confdefs.h <<_ACEOF
16357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16358 _ACEOF
16359
16360 fi
16361
16362 done
16363
16364
16365
16366 for ac_header in stdlib.h
16367 do
16368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16370 echo "$as_me:$LINENO: checking for $ac_header" >&5
16371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 fi
16375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16377 else
16378 # Is the header compilable?
16379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16388 #include <$ac_header>
16389 _ACEOF
16390 rm -f conftest.$ac_objext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16392 (eval $ac_compile) 2>conftest.er1
16393 ac_status=$?
16394 grep -v '^ *+' conftest.er1 >conftest.err
16395 rm -f conftest.er1
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } &&
16399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16402 ac_status=$?
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; } &&
16405 { ac_try='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16408 ac_status=$?
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_header_compiler=yes
16412 else
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.$ac_ext >&5
16415
16416 ac_header_compiler=no
16417 fi
16418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16420 echo "${ECHO_T}$ac_header_compiler" >&6
16421
16422 # Is the header present?
16423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 #include <$ac_header>
16432 _ACEOF
16433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } >/dev/null; then
16441 if test -s conftest.err; then
16442 ac_cpp_err=$ac_cxx_preproc_warn_flag
16443 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16444 else
16445 ac_cpp_err=
16446 fi
16447 else
16448 ac_cpp_err=yes
16449 fi
16450 if test -z "$ac_cpp_err"; then
16451 ac_header_preproc=yes
16452 else
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16455
16456 ac_header_preproc=no
16457 fi
16458 rm -f conftest.err conftest.$ac_ext
16459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16460 echo "${ECHO_T}$ac_header_preproc" >&6
16461
16462 # So? What about this header?
16463 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16464 yes:no: )
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16469 ac_header_preproc=yes
16470 ;;
16471 no:yes:* )
16472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16484 (
16485 cat <<\_ASBOX
16486 ## ----------------------------------------- ##
16487 ## Report this to wx-dev@lists.wxwidgets.org ##
16488 ## ----------------------------------------- ##
16489 _ASBOX
16490 ) |
16491 sed "s/^/$as_me: WARNING: /" >&2
16492 ;;
16493 esac
16494 echo "$as_me:$LINENO: checking for $ac_header" >&5
16495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16499 eval "$as_ac_Header=\$ac_header_preproc"
16500 fi
16501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16503
16504 fi
16505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16506 cat >>confdefs.h <<_ACEOF
16507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16508 _ACEOF
16509
16510 fi
16511
16512 done
16513
16514
16515 for ac_header in malloc.h
16516 do
16517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16519 echo "$as_me:$LINENO: checking for $ac_header" >&5
16520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 fi
16524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16526 else
16527 # Is the header compilable?
16528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16530 cat >conftest.$ac_ext <<_ACEOF
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16537 #include <$ac_header>
16538 _ACEOF
16539 rm -f conftest.$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16542 ac_status=$?
16543 grep -v '^ *+' conftest.er1 >conftest.err
16544 rm -f conftest.er1
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; } &&
16554 { ac_try='test -s conftest.$ac_objext'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; }; then
16560 ac_header_compiler=yes
16561 else
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16564
16565 ac_header_compiler=no
16566 fi
16567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16569 echo "${ECHO_T}$ac_header_compiler" >&6
16570
16571 # Is the header present?
16572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16574 cat >conftest.$ac_ext <<_ACEOF
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 #include <$ac_header>
16581 _ACEOF
16582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16584 ac_status=$?
16585 grep -v '^ *+' conftest.er1 >conftest.err
16586 rm -f conftest.er1
16587 cat conftest.err >&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } >/dev/null; then
16590 if test -s conftest.err; then
16591 ac_cpp_err=$ac_cxx_preproc_warn_flag
16592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16593 else
16594 ac_cpp_err=
16595 fi
16596 else
16597 ac_cpp_err=yes
16598 fi
16599 if test -z "$ac_cpp_err"; then
16600 ac_header_preproc=yes
16601 else
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16604
16605 ac_header_preproc=no
16606 fi
16607 rm -f conftest.err conftest.$ac_ext
16608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16609 echo "${ECHO_T}$ac_header_preproc" >&6
16610
16611 # So? What about this header?
16612 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16613 yes:no: )
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16618 ac_header_preproc=yes
16619 ;;
16620 no:yes:* )
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16633 (
16634 cat <<\_ASBOX
16635 ## ----------------------------------------- ##
16636 ## Report this to wx-dev@lists.wxwidgets.org ##
16637 ## ----------------------------------------- ##
16638 _ASBOX
16639 ) |
16640 sed "s/^/$as_me: WARNING: /" >&2
16641 ;;
16642 esac
16643 echo "$as_me:$LINENO: checking for $ac_header" >&5
16644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 eval "$as_ac_Header=\$ac_header_preproc"
16649 fi
16650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16652
16653 fi
16654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16655 cat >>confdefs.h <<_ACEOF
16656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16657 _ACEOF
16658
16659 fi
16660
16661 done
16662
16663
16664 for ac_header in unistd.h
16665 do
16666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16668 echo "$as_me:$LINENO: checking for $ac_header" >&5
16669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 fi
16673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16675 else
16676 # Is the header compilable?
16677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16679 cat >conftest.$ac_ext <<_ACEOF
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 $ac_includes_default
16686 #include <$ac_header>
16687 _ACEOF
16688 rm -f conftest.$ac_objext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16690 (eval $ac_compile) 2>conftest.er1
16691 ac_status=$?
16692 grep -v '^ *+' conftest.er1 >conftest.err
16693 rm -f conftest.er1
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } &&
16697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
16703 { ac_try='test -s conftest.$ac_objext'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; }; then
16709 ac_header_compiler=yes
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16713
16714 ac_header_compiler=no
16715 fi
16716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16718 echo "${ECHO_T}$ac_header_compiler" >&6
16719
16720 # Is the header present?
16721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16723 cat >conftest.$ac_ext <<_ACEOF
16724 /* confdefs.h. */
16725 _ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 #include <$ac_header>
16730 _ACEOF
16731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } >/dev/null; then
16739 if test -s conftest.err; then
16740 ac_cpp_err=$ac_cxx_preproc_warn_flag
16741 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16742 else
16743 ac_cpp_err=
16744 fi
16745 else
16746 ac_cpp_err=yes
16747 fi
16748 if test -z "$ac_cpp_err"; then
16749 ac_header_preproc=yes
16750 else
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.$ac_ext >&5
16753
16754 ac_header_preproc=no
16755 fi
16756 rm -f conftest.err conftest.$ac_ext
16757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16758 echo "${ECHO_T}$ac_header_preproc" >&6
16759
16760 # So? What about this header?
16761 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16762 yes:no: )
16763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16767 ac_header_preproc=yes
16768 ;;
16769 no:yes:* )
16770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16782 (
16783 cat <<\_ASBOX
16784 ## ----------------------------------------- ##
16785 ## Report this to wx-dev@lists.wxwidgets.org ##
16786 ## ----------------------------------------- ##
16787 _ASBOX
16788 ) |
16789 sed "s/^/$as_me: WARNING: /" >&2
16790 ;;
16791 esac
16792 echo "$as_me:$LINENO: checking for $ac_header" >&5
16793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 eval "$as_ac_Header=\$ac_header_preproc"
16798 fi
16799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16801
16802 fi
16803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16804 cat >>confdefs.h <<_ACEOF
16805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16806 _ACEOF
16807
16808 fi
16809
16810 done
16811
16812
16813 for ac_header in wchar.h
16814 do
16815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16817 echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 fi
16822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16824 else
16825 # Is the header compilable?
16826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 $ac_includes_default
16835 #include <$ac_header>
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_header_compiler=yes
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16862
16863 ac_header_compiler=no
16864 fi
16865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16867 echo "${ECHO_T}$ac_header_compiler" >&6
16868
16869 # Is the header present?
16870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 #include <$ac_header>
16879 _ACEOF
16880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16882 ac_status=$?
16883 grep -v '^ *+' conftest.er1 >conftest.err
16884 rm -f conftest.er1
16885 cat conftest.err >&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } >/dev/null; then
16888 if test -s conftest.err; then
16889 ac_cpp_err=$ac_cxx_preproc_warn_flag
16890 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16891 else
16892 ac_cpp_err=
16893 fi
16894 else
16895 ac_cpp_err=yes
16896 fi
16897 if test -z "$ac_cpp_err"; then
16898 ac_header_preproc=yes
16899 else
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16902
16903 ac_header_preproc=no
16904 fi
16905 rm -f conftest.err conftest.$ac_ext
16906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16907 echo "${ECHO_T}$ac_header_preproc" >&6
16908
16909 # So? What about this header?
16910 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16911 yes:no: )
16912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16916 ac_header_preproc=yes
16917 ;;
16918 no:yes:* )
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16931 (
16932 cat <<\_ASBOX
16933 ## ----------------------------------------- ##
16934 ## Report this to wx-dev@lists.wxwidgets.org ##
16935 ## ----------------------------------------- ##
16936 _ASBOX
16937 ) |
16938 sed "s/^/$as_me: WARNING: /" >&2
16939 ;;
16940 esac
16941 echo "$as_me:$LINENO: checking for $ac_header" >&5
16942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 else
16946 eval "$as_ac_Header=\$ac_header_preproc"
16947 fi
16948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16950
16951 fi
16952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16953 cat >>confdefs.h <<_ACEOF
16954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16955 _ACEOF
16956
16957 fi
16958
16959 done
16960
16961
16962 if test "$ac_cv_header_wchar_h" != "yes"; then
16963
16964 for ac_header in wcstr.h
16965 do
16966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16968 echo "$as_me:$LINENO: checking for $ac_header" >&5
16969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 fi
16973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16975 else
16976 # Is the header compilable?
16977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16979 cat >conftest.$ac_ext <<_ACEOF
16980 /* confdefs.h. */
16981 _ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 #include <$ac_header>
16987 _ACEOF
16988 rm -f conftest.$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16991 ac_status=$?
16992 grep -v '^ *+' conftest.er1 >conftest.err
16993 rm -f conftest.er1
16994 cat conftest.err >&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_header_compiler=yes
17010 else
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17013
17014 ac_header_compiler=no
17015 fi
17016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17018 echo "${ECHO_T}$ac_header_compiler" >&6
17019
17020 # Is the header present?
17021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029 #include <$ac_header>
17030 _ACEOF
17031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17033 ac_status=$?
17034 grep -v '^ *+' conftest.er1 >conftest.err
17035 rm -f conftest.er1
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } >/dev/null; then
17039 if test -s conftest.err; then
17040 ac_cpp_err=$ac_cxx_preproc_warn_flag
17041 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17042 else
17043 ac_cpp_err=
17044 fi
17045 else
17046 ac_cpp_err=yes
17047 fi
17048 if test -z "$ac_cpp_err"; then
17049 ac_header_preproc=yes
17050 else
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17053
17054 ac_header_preproc=no
17055 fi
17056 rm -f conftest.err conftest.$ac_ext
17057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17058 echo "${ECHO_T}$ac_header_preproc" >&6
17059
17060 # So? What about this header?
17061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17062 yes:no: )
17063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17067 ac_header_preproc=yes
17068 ;;
17069 no:yes:* )
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17082 (
17083 cat <<\_ASBOX
17084 ## ----------------------------------------- ##
17085 ## Report this to wx-dev@lists.wxwidgets.org ##
17086 ## ----------------------------------------- ##
17087 _ASBOX
17088 ) |
17089 sed "s/^/$as_me: WARNING: /" >&2
17090 ;;
17091 esac
17092 echo "$as_me:$LINENO: checking for $ac_header" >&5
17093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 else
17097 eval "$as_ac_Header=\$ac_header_preproc"
17098 fi
17099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17101
17102 fi
17103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17104 cat >>confdefs.h <<_ACEOF
17105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17106 _ACEOF
17107
17108 fi
17109
17110 done
17111
17112 fi
17113
17114
17115 for ac_header in fnmatch.h
17116 do
17117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17119 echo "$as_me:$LINENO: checking for $ac_header" >&5
17120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 fi
17124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17126 else
17127 # Is the header compilable?
17128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17137 #include <$ac_header>
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17141 (eval $ac_compile) 2>conftest.er1
17142 ac_status=$?
17143 grep -v '^ *+' conftest.er1 >conftest.err
17144 rm -f conftest.er1
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_header_compiler=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17164
17165 ac_header_compiler=no
17166 fi
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17169 echo "${ECHO_T}$ac_header_compiler" >&6
17170
17171 # Is the header present?
17172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17174 cat >conftest.$ac_ext <<_ACEOF
17175 /* confdefs.h. */
17176 _ACEOF
17177 cat confdefs.h >>conftest.$ac_ext
17178 cat >>conftest.$ac_ext <<_ACEOF
17179 /* end confdefs.h. */
17180 #include <$ac_header>
17181 _ACEOF
17182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } >/dev/null; then
17190 if test -s conftest.err; then
17191 ac_cpp_err=$ac_cxx_preproc_warn_flag
17192 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17193 else
17194 ac_cpp_err=
17195 fi
17196 else
17197 ac_cpp_err=yes
17198 fi
17199 if test -z "$ac_cpp_err"; then
17200 ac_header_preproc=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 ac_header_preproc=no
17206 fi
17207 rm -f conftest.err conftest.$ac_ext
17208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17209 echo "${ECHO_T}$ac_header_preproc" >&6
17210
17211 # So? What about this header?
17212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17213 yes:no: )
17214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17218 ac_header_preproc=yes
17219 ;;
17220 no:yes:* )
17221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17233 (
17234 cat <<\_ASBOX
17235 ## ----------------------------------------- ##
17236 ## Report this to wx-dev@lists.wxwidgets.org ##
17237 ## ----------------------------------------- ##
17238 _ASBOX
17239 ) |
17240 sed "s/^/$as_me: WARNING: /" >&2
17241 ;;
17242 esac
17243 echo "$as_me:$LINENO: checking for $ac_header" >&5
17244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 else
17248 eval "$as_ac_Header=\$ac_header_preproc"
17249 fi
17250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17252
17253 fi
17254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17255 cat >>confdefs.h <<_ACEOF
17256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17257 _ACEOF
17258
17259 fi
17260
17261 done
17262
17263
17264
17265 for ac_header in langinfo.h
17266 do
17267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17269 echo "$as_me:$LINENO: checking for $ac_header" >&5
17270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 fi
17274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17276 else
17277 # Is the header compilable?
17278 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17279 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17280 cat >conftest.$ac_ext <<_ACEOF
17281 /* confdefs.h. */
17282 _ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 $ac_includes_default
17287 #include <$ac_header>
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17301 ac_status=$?
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; } &&
17304 { ac_try='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17307 ac_status=$?
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_header_compiler=yes
17311 else
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.$ac_ext >&5
17314
17315 ac_header_compiler=no
17316 fi
17317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17319 echo "${ECHO_T}$ac_header_compiler" >&6
17320
17321 # Is the header present?
17322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17324 cat >conftest.$ac_ext <<_ACEOF
17325 /* confdefs.h. */
17326 _ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 #include <$ac_header>
17331 _ACEOF
17332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17334 ac_status=$?
17335 grep -v '^ *+' conftest.er1 >conftest.err
17336 rm -f conftest.er1
17337 cat conftest.err >&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } >/dev/null; then
17340 if test -s conftest.err; then
17341 ac_cpp_err=$ac_cxx_preproc_warn_flag
17342 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17343 else
17344 ac_cpp_err=
17345 fi
17346 else
17347 ac_cpp_err=yes
17348 fi
17349 if test -z "$ac_cpp_err"; then
17350 ac_header_preproc=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 ac_header_preproc=no
17356 fi
17357 rm -f conftest.err conftest.$ac_ext
17358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17359 echo "${ECHO_T}$ac_header_preproc" >&6
17360
17361 # So? What about this header?
17362 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17363 yes:no: )
17364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17368 ac_header_preproc=yes
17369 ;;
17370 no:yes:* )
17371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17383 (
17384 cat <<\_ASBOX
17385 ## ----------------------------------------- ##
17386 ## Report this to wx-dev@lists.wxwidgets.org ##
17387 ## ----------------------------------------- ##
17388 _ASBOX
17389 ) |
17390 sed "s/^/$as_me: WARNING: /" >&2
17391 ;;
17392 esac
17393 echo "$as_me:$LINENO: checking for $ac_header" >&5
17394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17397 else
17398 eval "$as_ac_Header=\$ac_header_preproc"
17399 fi
17400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17402
17403 fi
17404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17405 cat >>confdefs.h <<_ACEOF
17406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17407 _ACEOF
17408
17409 fi
17410
17411 done
17412
17413
17414 case "${host}" in
17415 *-pc-os2_emx | *-pc-os2-emx )
17416 if test $ac_cv_header_langinfo_h = "yes" \
17417 -a \( "$wx_cv_gccversion" = "EMX2" \
17418 -o "$wx_cv_gccversion" = "EMX3" \
17419 -o "$wx_cv_gccversion" = "Innotek5" \); then
17420 LIBS="$LIBS -lintl"
17421 fi
17422 ;;
17423 esac
17424
17425 if test "$USE_UNIX" = 1 ; then
17426
17427 for ac_header in sys/select.h
17428 do
17429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17431 echo "$as_me:$LINENO: checking for $ac_header" >&5
17432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 fi
17436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17438 else
17439 # Is the header compilable?
17440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17442 cat >conftest.$ac_ext <<_ACEOF
17443 /* confdefs.h. */
17444 _ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 $ac_includes_default
17449 #include <$ac_header>
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_header_compiler=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_header_compiler=no
17478 fi
17479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17481 echo "${ECHO_T}$ac_header_compiler" >&6
17482
17483 # Is the header present?
17484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 #include <$ac_header>
17493 _ACEOF
17494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } >/dev/null; then
17502 if test -s conftest.err; then
17503 ac_cpp_err=$ac_cxx_preproc_warn_flag
17504 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17505 else
17506 ac_cpp_err=
17507 fi
17508 else
17509 ac_cpp_err=yes
17510 fi
17511 if test -z "$ac_cpp_err"; then
17512 ac_header_preproc=yes
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_header_preproc=no
17518 fi
17519 rm -f conftest.err conftest.$ac_ext
17520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17521 echo "${ECHO_T}$ac_header_preproc" >&6
17522
17523 # So? What about this header?
17524 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17525 yes:no: )
17526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17530 ac_header_preproc=yes
17531 ;;
17532 no:yes:* )
17533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17545 (
17546 cat <<\_ASBOX
17547 ## ----------------------------------------- ##
17548 ## Report this to wx-dev@lists.wxwidgets.org ##
17549 ## ----------------------------------------- ##
17550 _ASBOX
17551 ) |
17552 sed "s/^/$as_me: WARNING: /" >&2
17553 ;;
17554 esac
17555 echo "$as_me:$LINENO: checking for $ac_header" >&5
17556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17558 echo $ECHO_N "(cached) $ECHO_C" >&6
17559 else
17560 eval "$as_ac_Header=\$ac_header_preproc"
17561 fi
17562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17564
17565 fi
17566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17567 cat >>confdefs.h <<_ACEOF
17568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17569 _ACEOF
17570
17571 fi
17572
17573 done
17574
17575 fi
17576
17577
17578 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17579 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17580 if test "${ac_cv_c_const+set}" = set; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 else
17583 cat >conftest.$ac_ext <<_ACEOF
17584 /* confdefs.h. */
17585 _ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589
17590 int
17591 main ()
17592 {
17593 /* FIXME: Include the comments suggested by Paul. */
17594 #ifndef __cplusplus
17595 /* Ultrix mips cc rejects this. */
17596 typedef int charset[2];
17597 const charset x;
17598 /* SunOS 4.1.1 cc rejects this. */
17599 char const *const *ccp;
17600 char **p;
17601 /* NEC SVR4.0.2 mips cc rejects this. */
17602 struct point {int x, y;};
17603 static struct point const zero = {0,0};
17604 /* AIX XL C 1.02.0.0 rejects this.
17605 It does not let you subtract one const X* pointer from another in
17606 an arm of an if-expression whose if-part is not a constant
17607 expression */
17608 const char *g = "string";
17609 ccp = &g + (g ? g-g : 0);
17610 /* HPUX 7.0 cc rejects these. */
17611 ++ccp;
17612 p = (char**) ccp;
17613 ccp = (char const *const *) p;
17614 { /* SCO 3.2v4 cc rejects this. */
17615 char *t;
17616 char const *s = 0 ? (char *) 0 : (char const *) 0;
17617
17618 *t++ = 0;
17619 }
17620 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17621 int x[] = {25, 17};
17622 const int *foo = &x[0];
17623 ++foo;
17624 }
17625 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17626 typedef const int *iptr;
17627 iptr p = 0;
17628 ++p;
17629 }
17630 { /* AIX XL C 1.02.0.0 rejects this saying
17631 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17632 struct s { int j; const int *ap[3]; };
17633 struct s *b; b->j = 5;
17634 }
17635 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17636 const int foo = 10;
17637 }
17638 #endif
17639
17640 ;
17641 return 0;
17642 }
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17647 ac_status=$?
17648 grep -v '^ *+' conftest.er1 >conftest.err
17649 rm -f conftest.er1
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_cv_c_const=yes
17666 else
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.$ac_ext >&5
17669
17670 ac_cv_c_const=no
17671 fi
17672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673 fi
17674 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17675 echo "${ECHO_T}$ac_cv_c_const" >&6
17676 if test $ac_cv_c_const = no; then
17677
17678 cat >>confdefs.h <<\_ACEOF
17679 #define const
17680 _ACEOF
17681
17682 fi
17683
17684 echo "$as_me:$LINENO: checking for inline" >&5
17685 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17686 if test "${ac_cv_c_inline+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 ac_cv_c_inline=no
17690 for ac_kw in inline __inline__ __inline; do
17691 cat >conftest.$ac_ext <<_ACEOF
17692 /* confdefs.h. */
17693 _ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #ifndef __cplusplus
17698 typedef int foo_t;
17699 static $ac_kw foo_t static_foo () {return 0; }
17700 $ac_kw foo_t foo () {return 0; }
17701 #endif
17702
17703 _ACEOF
17704 rm -f conftest.$ac_objext
17705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17706 (eval $ac_compile) 2>conftest.er1
17707 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1
17710 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } &&
17713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_c_inline=$ac_kw; break
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 fi
17731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17732 done
17733
17734 fi
17735 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17736 echo "${ECHO_T}$ac_cv_c_inline" >&6
17737
17738
17739 case $ac_cv_c_inline in
17740 inline | yes) ;;
17741 *)
17742 case $ac_cv_c_inline in
17743 no) ac_val=;;
17744 *) ac_val=$ac_cv_c_inline;;
17745 esac
17746 cat >>confdefs.h <<_ACEOF
17747 #ifndef __cplusplus
17748 #define inline $ac_val
17749 #endif
17750 _ACEOF
17751 ;;
17752 esac
17753
17754
17755 echo "$as_me:$LINENO: checking for char" >&5
17756 echo $ECHO_N "checking for char... $ECHO_C" >&6
17757 if test "${ac_cv_type_char+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 else
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17767 int
17768 main ()
17769 {
17770 if ((char *) 0)
17771 return 0;
17772 if (sizeof (char))
17773 return 0;
17774 ;
17775 return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; } &&
17793 { ac_try='test -s conftest.$ac_objext'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17796 ac_status=$?
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_type_char=yes
17800 else
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.$ac_ext >&5
17803
17804 ac_cv_type_char=no
17805 fi
17806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17807 fi
17808 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17809 echo "${ECHO_T}$ac_cv_type_char" >&6
17810
17811 echo "$as_me:$LINENO: checking size of char" >&5
17812 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17813 if test "${ac_cv_sizeof_char+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17815 else
17816 if test "$ac_cv_type_char" = yes; then
17817 # The cast to unsigned long works around a bug in the HP C Compiler
17818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17820 # This bug is HP SR number 8606223364.
17821 if test "$cross_compiling" = yes; then
17822 # Depending upon the size, compute the lo and hi bounds.
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17830 int
17831 main ()
17832 {
17833 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17834 test_array [0] = 0
17835
17836 ;
17837 return 0;
17838 }
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_lo=0 ac_mid=0
17862 while :; do
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17870 int
17871 main ()
17872 {
17873 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17874 test_array [0] = 0
17875
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17883 ac_status=$?
17884 grep -v '^ *+' conftest.er1 >conftest.err
17885 rm -f conftest.er1
17886 cat conftest.err >&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17892 ac_status=$?
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17898 ac_status=$?
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_hi=$ac_mid; break
17902 else
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17905
17906 ac_lo=`expr $ac_mid + 1`
17907 if test $ac_lo -le $ac_mid; then
17908 ac_lo= ac_hi=
17909 break
17910 fi
17911 ac_mid=`expr 2 '*' $ac_mid + 1`
17912 fi
17913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17914 done
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 cat >conftest.$ac_ext <<_ACEOF
17920 /* confdefs.h. */
17921 _ACEOF
17922 cat confdefs.h >>conftest.$ac_ext
17923 cat >>conftest.$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17926 int
17927 main ()
17928 {
17929 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17930 test_array [0] = 0
17931
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest.$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_hi=-1 ac_mid=-1
17958 while :; do
17959 cat >conftest.$ac_ext <<_ACEOF
17960 /* confdefs.h. */
17961 _ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 $ac_includes_default
17966 int
17967 main ()
17968 {
17969 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17970 test_array [0] = 0
17971
17972 ;
17973 return 0;
17974 }
17975 _ACEOF
17976 rm -f conftest.$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>conftest.er1
17979 ac_status=$?
17980 grep -v '^ *+' conftest.er1 >conftest.err
17981 rm -f conftest.er1
17982 cat conftest.err >&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } &&
17985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17988 ac_status=$?
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try='test -s conftest.$ac_objext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17994 ac_status=$?
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17997 ac_lo=$ac_mid; break
17998 else
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.$ac_ext >&5
18001
18002 ac_hi=`expr '(' $ac_mid ')' - 1`
18003 if test $ac_mid -le $ac_hi; then
18004 ac_lo= ac_hi=
18005 break
18006 fi
18007 ac_mid=`expr 2 '*' $ac_mid`
18008 fi
18009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18010 done
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18014
18015 ac_lo= ac_hi=
18016 fi
18017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18018 fi
18019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18020 # Binary search between lo and hi bounds.
18021 while test "x$ac_lo" != "x$ac_hi"; do
18022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 $ac_includes_default
18030 int
18031 main ()
18032 {
18033 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18034 test_array [0] = 0
18035
18036 ;
18037 return 0;
18038 }
18039 _ACEOF
18040 rm -f conftest.$ac_objext
18041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18042 (eval $ac_compile) 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } &&
18049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; } &&
18055 { ac_try='test -s conftest.$ac_objext'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18058 ac_status=$?
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; }; then
18061 ac_hi=$ac_mid
18062 else
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 ac_lo=`expr '(' $ac_mid ')' + 1`
18067 fi
18068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18069 done
18070 case $ac_lo in
18071 ?*) ac_cv_sizeof_char=$ac_lo;;
18072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18073 See \`config.log' for more details." >&5
18074 echo "$as_me: error: cannot compute sizeof (char), 77
18075 See \`config.log' for more details." >&2;}
18076 { (exit 1); exit 1; }; } ;;
18077 esac
18078 else
18079 if test "$cross_compiling" = yes; then
18080 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18081 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18082 { (exit 1); exit 1; }; }
18083 else
18084 cat >conftest.$ac_ext <<_ACEOF
18085 /* confdefs.h. */
18086 _ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 $ac_includes_default
18091 long longval () { return (long) (sizeof (char)); }
18092 unsigned long ulongval () { return (long) (sizeof (char)); }
18093 #include <stdio.h>
18094 #include <stdlib.h>
18095 int
18096 main ()
18097 {
18098
18099 FILE *f = fopen ("conftest.val", "w");
18100 if (! f)
18101 exit (1);
18102 if (((long) (sizeof (char))) < 0)
18103 {
18104 long i = longval ();
18105 if (i != ((long) (sizeof (char))))
18106 exit (1);
18107 fprintf (f, "%ld\n", i);
18108 }
18109 else
18110 {
18111 unsigned long i = ulongval ();
18112 if (i != ((long) (sizeof (char))))
18113 exit (1);
18114 fprintf (f, "%lu\n", i);
18115 }
18116 exit (ferror (f) || fclose (f) != 0);
18117
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest$ac_exeext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18124 (eval $ac_link) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 ac_cv_sizeof_char=`cat conftest.val`
18134 else
18135 echo "$as_me: program exited with status $ac_status" >&5
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18138
18139 ( exit $ac_status )
18140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18141 See \`config.log' for more details." >&5
18142 echo "$as_me: error: cannot compute sizeof (char), 77
18143 See \`config.log' for more details." >&2;}
18144 { (exit 1); exit 1; }; }
18145 fi
18146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18147 fi
18148 fi
18149 rm -f conftest.val
18150 else
18151 ac_cv_sizeof_char=0
18152 fi
18153 fi
18154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18155 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18156 cat >>confdefs.h <<_ACEOF
18157 #define SIZEOF_CHAR $ac_cv_sizeof_char
18158 _ACEOF
18159
18160
18161 echo "$as_me:$LINENO: checking for short" >&5
18162 echo $ECHO_N "checking for short... $ECHO_C" >&6
18163 if test "${ac_cv_type_short+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 else
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 int
18174 main ()
18175 {
18176 if ((short *) 0)
18177 return 0;
18178 if (sizeof (short))
18179 return 0;
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 rm -f conftest.$ac_objext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 ac_cv_type_short=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 ac_cv_type_short=no
18211 fi
18212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18213 fi
18214 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18215 echo "${ECHO_T}$ac_cv_type_short" >&6
18216
18217 echo "$as_me:$LINENO: checking size of short" >&5
18218 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18219 if test "${ac_cv_sizeof_short+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18222 if test "$ac_cv_type_short" = yes; then
18223 # The cast to unsigned long works around a bug in the HP C Compiler
18224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18226 # This bug is HP SR number 8606223364.
18227 if test "$cross_compiling" = yes; then
18228 # Depending upon the size, compute the lo and hi bounds.
18229 cat >conftest.$ac_ext <<_ACEOF
18230 /* confdefs.h. */
18231 _ACEOF
18232 cat confdefs.h >>conftest.$ac_ext
18233 cat >>conftest.$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 $ac_includes_default
18236 int
18237 main ()
18238 {
18239 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18240 test_array [0] = 0
18241
18242 ;
18243 return 0;
18244 }
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18248 (eval $ac_compile) 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18258 ac_status=$?
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_lo=0 ac_mid=0
18268 while :; do
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h. */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18276 int
18277 main ()
18278 {
18279 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18280 test_array [0] = 0
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18289 ac_status=$?
18290 grep -v '^ *+' conftest.er1 >conftest.err
18291 rm -f conftest.er1
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18298 ac_status=$?
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18304 ac_status=$?
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_hi=$ac_mid; break
18308 else
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18311
18312 ac_lo=`expr $ac_mid + 1`
18313 if test $ac_lo -le $ac_mid; then
18314 ac_lo= ac_hi=
18315 break
18316 fi
18317 ac_mid=`expr 2 '*' $ac_mid + 1`
18318 fi
18319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18320 done
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331 $ac_includes_default
18332 int
18333 main ()
18334 {
18335 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18336 test_array [0] = 0
18337
18338 ;
18339 return 0;
18340 }
18341 _ACEOF
18342 rm -f conftest.$ac_objext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18344 (eval $ac_compile) 2>conftest.er1
18345 ac_status=$?
18346 grep -v '^ *+' conftest.er1 >conftest.err
18347 rm -f conftest.er1
18348 cat conftest.err >&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } &&
18351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18354 ac_status=$?
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 ac_hi=-1 ac_mid=-1
18364 while :; do
18365 cat >conftest.$ac_ext <<_ACEOF
18366 /* confdefs.h. */
18367 _ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 $ac_includes_default
18372 int
18373 main ()
18374 {
18375 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18376 test_array [0] = 0
18377
18378 ;
18379 return 0;
18380 }
18381 _ACEOF
18382 rm -f conftest.$ac_objext
18383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18384 (eval $ac_compile) 2>conftest.er1
18385 ac_status=$?
18386 grep -v '^ *+' conftest.er1 >conftest.err
18387 rm -f conftest.er1
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try='test -s conftest.$ac_objext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_lo=$ac_mid; break
18404 else
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18407
18408 ac_hi=`expr '(' $ac_mid ')' - 1`
18409 if test $ac_mid -le $ac_hi; then
18410 ac_lo= ac_hi=
18411 break
18412 fi
18413 ac_mid=`expr 2 '*' $ac_mid`
18414 fi
18415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18416 done
18417 else
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18420
18421 ac_lo= ac_hi=
18422 fi
18423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18424 fi
18425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18426 # Binary search between lo and hi bounds.
18427 while test "x$ac_lo" != "x$ac_hi"; do
18428 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18429 cat >conftest.$ac_ext <<_ACEOF
18430 /* confdefs.h. */
18431 _ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 $ac_includes_default
18436 int
18437 main ()
18438 {
18439 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18440 test_array [0] = 0
18441
18442 ;
18443 return 0;
18444 }
18445 _ACEOF
18446 rm -f conftest.$ac_objext
18447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18448 (eval $ac_compile) 2>conftest.er1
18449 ac_status=$?
18450 grep -v '^ *+' conftest.er1 >conftest.err
18451 rm -f conftest.er1
18452 cat conftest.err >&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } &&
18455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; } &&
18461 { ac_try='test -s conftest.$ac_objext'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18464 ac_status=$?
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; }; then
18467 ac_hi=$ac_mid
18468 else
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18471
18472 ac_lo=`expr '(' $ac_mid ')' + 1`
18473 fi
18474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18475 done
18476 case $ac_lo in
18477 ?*) ac_cv_sizeof_short=$ac_lo;;
18478 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18479 See \`config.log' for more details." >&5
18480 echo "$as_me: error: cannot compute sizeof (short), 77
18481 See \`config.log' for more details." >&2;}
18482 { (exit 1); exit 1; }; } ;;
18483 esac
18484 else
18485 if test "$cross_compiling" = yes; then
18486 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18487 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18488 { (exit 1); exit 1; }; }
18489 else
18490 cat >conftest.$ac_ext <<_ACEOF
18491 /* confdefs.h. */
18492 _ACEOF
18493 cat confdefs.h >>conftest.$ac_ext
18494 cat >>conftest.$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 $ac_includes_default
18497 long longval () { return (long) (sizeof (short)); }
18498 unsigned long ulongval () { return (long) (sizeof (short)); }
18499 #include <stdio.h>
18500 #include <stdlib.h>
18501 int
18502 main ()
18503 {
18504
18505 FILE *f = fopen ("conftest.val", "w");
18506 if (! f)
18507 exit (1);
18508 if (((long) (sizeof (short))) < 0)
18509 {
18510 long i = longval ();
18511 if (i != ((long) (sizeof (short))))
18512 exit (1);
18513 fprintf (f, "%ld\n", i);
18514 }
18515 else
18516 {
18517 unsigned long i = ulongval ();
18518 if (i != ((long) (sizeof (short))))
18519 exit (1);
18520 fprintf (f, "%lu\n", i);
18521 }
18522 exit (ferror (f) || fclose (f) != 0);
18523
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 rm -f conftest$ac_exeext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_sizeof_short=`cat conftest.val`
18540 else
18541 echo "$as_me: program exited with status $ac_status" >&5
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 ( exit $ac_status )
18546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18547 See \`config.log' for more details." >&5
18548 echo "$as_me: error: cannot compute sizeof (short), 77
18549 See \`config.log' for more details." >&2;}
18550 { (exit 1); exit 1; }; }
18551 fi
18552 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18553 fi
18554 fi
18555 rm -f conftest.val
18556 else
18557 ac_cv_sizeof_short=0
18558 fi
18559 fi
18560 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18561 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18562 cat >>confdefs.h <<_ACEOF
18563 #define SIZEOF_SHORT $ac_cv_sizeof_short
18564 _ACEOF
18565
18566
18567 echo "$as_me:$LINENO: checking for void *" >&5
18568 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18569 if test "${ac_cv_type_void_p+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 else
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18579 int
18580 main ()
18581 {
18582 if ((void * *) 0)
18583 return 0;
18584 if (sizeof (void *))
18585 return 0;
18586 ;
18587 return 0;
18588 }
18589 _ACEOF
18590 rm -f conftest.$ac_objext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18592 (eval $ac_compile) 2>conftest.er1
18593 ac_status=$?
18594 grep -v '^ *+' conftest.er1 >conftest.err
18595 rm -f conftest.er1
18596 cat conftest.err >&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } &&
18599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; } &&
18605 { ac_try='test -s conftest.$ac_objext'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18608 ac_status=$?
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; }; then
18611 ac_cv_type_void_p=yes
18612 else
18613 echo "$as_me: failed program was:" >&5
18614 sed 's/^/| /' conftest.$ac_ext >&5
18615
18616 ac_cv_type_void_p=no
18617 fi
18618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18619 fi
18620 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18621 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18622
18623 echo "$as_me:$LINENO: checking size of void *" >&5
18624 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18625 if test "${ac_cv_sizeof_void_p+set}" = set; then
18626 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 else
18628 if test "$ac_cv_type_void_p" = yes; then
18629 # The cast to unsigned long works around a bug in the HP C Compiler
18630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18632 # This bug is HP SR number 8606223364.
18633 if test "$cross_compiling" = yes; then
18634 # Depending upon the size, compute the lo and hi bounds.
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 int
18643 main ()
18644 {
18645 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18646 test_array [0] = 0
18647
18648 ;
18649 return 0;
18650 }
18651 _ACEOF
18652 rm -f conftest.$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18664 ac_status=$?
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18670 ac_status=$?
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_lo=0 ac_mid=0
18674 while :; do
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18682 int
18683 main ()
18684 {
18685 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18686 test_array [0] = 0
18687
18688 ;
18689 return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_hi=$ac_mid; break
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18717
18718 ac_lo=`expr $ac_mid + 1`
18719 if test $ac_lo -le $ac_mid; then
18720 ac_lo= ac_hi=
18721 break
18722 fi
18723 ac_mid=`expr 2 '*' $ac_mid + 1`
18724 fi
18725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18726 done
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h. */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 $ac_includes_default
18738 int
18739 main ()
18740 {
18741 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18742 test_array [0] = 0
18743
18744 ;
18745 return 0;
18746 }
18747 _ACEOF
18748 rm -f conftest.$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759 (eval $ac_try) 2>&5
18760 ac_status=$?
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; } &&
18763 { ac_try='test -s conftest.$ac_objext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_hi=-1 ac_mid=-1
18770 while :; do
18771 cat >conftest.$ac_ext <<_ACEOF
18772 /* confdefs.h. */
18773 _ACEOF
18774 cat confdefs.h >>conftest.$ac_ext
18775 cat >>conftest.$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18777 $ac_includes_default
18778 int
18779 main ()
18780 {
18781 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18782 test_array [0] = 0
18783
18784 ;
18785 return 0;
18786 }
18787 _ACEOF
18788 rm -f conftest.$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18800 ac_status=$?
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; } &&
18803 { ac_try='test -s conftest.$ac_objext'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18806 ac_status=$?
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; }; then
18809 ac_lo=$ac_mid; break
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18813
18814 ac_hi=`expr '(' $ac_mid ')' - 1`
18815 if test $ac_mid -le $ac_hi; then
18816 ac_lo= ac_hi=
18817 break
18818 fi
18819 ac_mid=`expr 2 '*' $ac_mid`
18820 fi
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 done
18823 else
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18826
18827 ac_lo= ac_hi=
18828 fi
18829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18830 fi
18831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18832 # Binary search between lo and hi bounds.
18833 while test "x$ac_lo" != "x$ac_hi"; do
18834 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h. */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18842 int
18843 main ()
18844 {
18845 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18846 test_array [0] = 0
18847
18848 ;
18849 return 0;
18850 }
18851 _ACEOF
18852 rm -f conftest.$ac_objext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18854 (eval $ac_compile) 2>conftest.er1
18855 ac_status=$?
18856 grep -v '^ *+' conftest.er1 >conftest.err
18857 rm -f conftest.er1
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; } &&
18867 { ac_try='test -s conftest.$ac_objext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18873 ac_hi=$ac_mid
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878 ac_lo=`expr '(' $ac_mid ')' + 1`
18879 fi
18880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18881 done
18882 case $ac_lo in
18883 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18884 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18885 See \`config.log' for more details." >&5
18886 echo "$as_me: error: cannot compute sizeof (void *), 77
18887 See \`config.log' for more details." >&2;}
18888 { (exit 1); exit 1; }; } ;;
18889 esac
18890 else
18891 if test "$cross_compiling" = yes; then
18892 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18893 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18894 { (exit 1); exit 1; }; }
18895 else
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18903 long longval () { return (long) (sizeof (void *)); }
18904 unsigned long ulongval () { return (long) (sizeof (void *)); }
18905 #include <stdio.h>
18906 #include <stdlib.h>
18907 int
18908 main ()
18909 {
18910
18911 FILE *f = fopen ("conftest.val", "w");
18912 if (! f)
18913 exit (1);
18914 if (((long) (sizeof (void *))) < 0)
18915 {
18916 long i = longval ();
18917 if (i != ((long) (sizeof (void *))))
18918 exit (1);
18919 fprintf (f, "%ld\n", i);
18920 }
18921 else
18922 {
18923 unsigned long i = ulongval ();
18924 if (i != ((long) (sizeof (void *))))
18925 exit (1);
18926 fprintf (f, "%lu\n", i);
18927 }
18928 exit (ferror (f) || fclose (f) != 0);
18929
18930 ;
18931 return 0;
18932 }
18933 _ACEOF
18934 rm -f conftest$ac_exeext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18936 (eval $ac_link) 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18942 ac_status=$?
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 ac_cv_sizeof_void_p=`cat conftest.val`
18946 else
18947 echo "$as_me: program exited with status $ac_status" >&5
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18950
18951 ( exit $ac_status )
18952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18953 See \`config.log' for more details." >&5
18954 echo "$as_me: error: cannot compute sizeof (void *), 77
18955 See \`config.log' for more details." >&2;}
18956 { (exit 1); exit 1; }; }
18957 fi
18958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18959 fi
18960 fi
18961 rm -f conftest.val
18962 else
18963 ac_cv_sizeof_void_p=0
18964 fi
18965 fi
18966 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18967 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18968 cat >>confdefs.h <<_ACEOF
18969 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18970 _ACEOF
18971
18972
18973 echo "$as_me:$LINENO: checking for int" >&5
18974 echo $ECHO_N "checking for int... $ECHO_C" >&6
18975 if test "${ac_cv_type_int+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 else
18978 cat >conftest.$ac_ext <<_ACEOF
18979 /* confdefs.h. */
18980 _ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18985 int
18986 main ()
18987 {
18988 if ((int *) 0)
18989 return 0;
18990 if (sizeof (int))
18991 return 0;
18992 ;
18993 return 0;
18994 }
18995 _ACEOF
18996 rm -f conftest.$ac_objext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18998 (eval $ac_compile) 2>conftest.er1
18999 ac_status=$?
19000 grep -v '^ *+' conftest.er1 >conftest.err
19001 rm -f conftest.er1
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; } &&
19011 { ac_try='test -s conftest.$ac_objext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_cv_type_int=yes
19018 else
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.$ac_ext >&5
19021
19022 ac_cv_type_int=no
19023 fi
19024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19025 fi
19026 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19027 echo "${ECHO_T}$ac_cv_type_int" >&6
19028
19029 echo "$as_me:$LINENO: checking size of int" >&5
19030 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19031 if test "${ac_cv_sizeof_int+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034 if test "$ac_cv_type_int" = yes; then
19035 # The cast to unsigned long works around a bug in the HP C Compiler
19036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19038 # This bug is HP SR number 8606223364.
19039 if test "$cross_compiling" = yes; then
19040 # Depending upon the size, compute the lo and hi bounds.
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 $ac_includes_default
19048 int
19049 main ()
19050 {
19051 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19052 test_array [0] = 0
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest.$ac_objext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19060 (eval $ac_compile) 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19079 ac_lo=0 ac_mid=0
19080 while :; do
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19088 int
19089 main ()
19090 {
19091 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19092 test_array [0] = 0
19093
19094 ;
19095 return 0;
19096 }
19097 _ACEOF
19098 rm -f conftest.$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>conftest.er1
19101 ac_status=$?
19102 grep -v '^ *+' conftest.er1 >conftest.err
19103 rm -f conftest.er1
19104 cat conftest.err >&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } &&
19107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try='test -s conftest.$ac_objext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_hi=$ac_mid; break
19120 else
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.$ac_ext >&5
19123
19124 ac_lo=`expr $ac_mid + 1`
19125 if test $ac_lo -le $ac_mid; then
19126 ac_lo= ac_hi=
19127 break
19128 fi
19129 ac_mid=`expr 2 '*' $ac_mid + 1`
19130 fi
19131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19132 done
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143 $ac_includes_default
19144 int
19145 main ()
19146 {
19147 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19148 test_array [0] = 0
19149
19150 ;
19151 return 0;
19152 }
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19156 (eval $ac_compile) 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19166 ac_status=$?
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19172 ac_status=$?
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_hi=-1 ac_mid=-1
19176 while :; do
19177 cat >conftest.$ac_ext <<_ACEOF
19178 /* confdefs.h. */
19179 _ACEOF
19180 cat confdefs.h >>conftest.$ac_ext
19181 cat >>conftest.$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 $ac_includes_default
19184 int
19185 main ()
19186 {
19187 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19188 test_array [0] = 0
19189
19190 ;
19191 return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19206 ac_status=$?
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; } &&
19209 { ac_try='test -s conftest.$ac_objext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_lo=$ac_mid; break
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 ac_hi=`expr '(' $ac_mid ')' - 1`
19221 if test $ac_mid -le $ac_hi; then
19222 ac_lo= ac_hi=
19223 break
19224 fi
19225 ac_mid=`expr 2 '*' $ac_mid`
19226 fi
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 done
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19232
19233 ac_lo= ac_hi=
19234 fi
19235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19236 fi
19237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19238 # Binary search between lo and hi bounds.
19239 while test "x$ac_lo" != "x$ac_hi"; do
19240 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h. */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19247 $ac_includes_default
19248 int
19249 main ()
19250 {
19251 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19252 test_array [0] = 0
19253
19254 ;
19255 return 0;
19256 }
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19270 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 ac_hi=$ac_mid
19280 else
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19283
19284 ac_lo=`expr '(' $ac_mid ')' + 1`
19285 fi
19286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19287 done
19288 case $ac_lo in
19289 ?*) ac_cv_sizeof_int=$ac_lo;;
19290 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19291 See \`config.log' for more details." >&5
19292 echo "$as_me: error: cannot compute sizeof (int), 77
19293 See \`config.log' for more details." >&2;}
19294 { (exit 1); exit 1; }; } ;;
19295 esac
19296 else
19297 if test "$cross_compiling" = yes; then
19298 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19299 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19300 { (exit 1); exit 1; }; }
19301 else
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 long longval () { return (long) (sizeof (int)); }
19310 unsigned long ulongval () { return (long) (sizeof (int)); }
19311 #include <stdio.h>
19312 #include <stdlib.h>
19313 int
19314 main ()
19315 {
19316
19317 FILE *f = fopen ("conftest.val", "w");
19318 if (! f)
19319 exit (1);
19320 if (((long) (sizeof (int))) < 0)
19321 {
19322 long i = longval ();
19323 if (i != ((long) (sizeof (int))))
19324 exit (1);
19325 fprintf (f, "%ld\n", i);
19326 }
19327 else
19328 {
19329 unsigned long i = ulongval ();
19330 if (i != ((long) (sizeof (int))))
19331 exit (1);
19332 fprintf (f, "%lu\n", i);
19333 }
19334 exit (ferror (f) || fclose (f) != 0);
19335
19336 ;
19337 return 0;
19338 }
19339 _ACEOF
19340 rm -f conftest$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19348 ac_status=$?
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351 ac_cv_sizeof_int=`cat conftest.val`
19352 else
19353 echo "$as_me: program exited with status $ac_status" >&5
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19356
19357 ( exit $ac_status )
19358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19359 See \`config.log' for more details." >&5
19360 echo "$as_me: error: cannot compute sizeof (int), 77
19361 See \`config.log' for more details." >&2;}
19362 { (exit 1); exit 1; }; }
19363 fi
19364 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19365 fi
19366 fi
19367 rm -f conftest.val
19368 else
19369 ac_cv_sizeof_int=0
19370 fi
19371 fi
19372 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19373 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19374 cat >>confdefs.h <<_ACEOF
19375 #define SIZEOF_INT $ac_cv_sizeof_int
19376 _ACEOF
19377
19378
19379 echo "$as_me:$LINENO: checking for long" >&5
19380 echo $ECHO_N "checking for long... $ECHO_C" >&6
19381 if test "${ac_cv_type_long+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384 cat >conftest.$ac_ext <<_ACEOF
19385 /* confdefs.h. */
19386 _ACEOF
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19391 int
19392 main ()
19393 {
19394 if ((long *) 0)
19395 return 0;
19396 if (sizeof (long))
19397 return 0;
19398 ;
19399 return 0;
19400 }
19401 _ACEOF
19402 rm -f conftest.$ac_objext
19403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19404 (eval $ac_compile) 2>conftest.er1
19405 ac_status=$?
19406 grep -v '^ *+' conftest.er1 >conftest.err
19407 rm -f conftest.er1
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19414 ac_status=$?
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; } &&
19417 { ac_try='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_type_long=yes
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19427
19428 ac_cv_type_long=no
19429 fi
19430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19431 fi
19432 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19433 echo "${ECHO_T}$ac_cv_type_long" >&6
19434
19435 echo "$as_me:$LINENO: checking size of long" >&5
19436 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19437 if test "${ac_cv_sizeof_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 if test "$ac_cv_type_long" = yes; then
19441 # The cast to unsigned long works around a bug in the HP C Compiler
19442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19444 # This bug is HP SR number 8606223364.
19445 if test "$cross_compiling" = yes; then
19446 # Depending upon the size, compute the lo and hi bounds.
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 int
19455 main ()
19456 {
19457 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19458 test_array [0] = 0
19459
19460 ;
19461 return 0;
19462 }
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 ac_lo=0 ac_mid=0
19486 while :; do
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494 int
19495 main ()
19496 {
19497 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19498 test_array [0] = 0
19499
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest.$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19507 ac_status=$?
19508 grep -v '^ *+' conftest.er1 >conftest.err
19509 rm -f conftest.er1
19510 cat conftest.err >&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19522 ac_status=$?
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_hi=$ac_mid; break
19526 else
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19529
19530 ac_lo=`expr $ac_mid + 1`
19531 if test $ac_lo -le $ac_mid; then
19532 ac_lo= ac_hi=
19533 break
19534 fi
19535 ac_mid=`expr 2 '*' $ac_mid + 1`
19536 fi
19537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19538 done
19539 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19550 int
19551 main ()
19552 {
19553 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19554 test_array [0] = 0
19555
19556 ;
19557 return 0;
19558 }
19559 _ACEOF
19560 rm -f conftest.$ac_objext
19561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19562 (eval $ac_compile) 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } &&
19569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; } &&
19575 { ac_try='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19581 ac_hi=-1 ac_mid=-1
19582 while :; do
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 int
19591 main ()
19592 {
19593 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19594 test_array [0] = 0
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19603 ac_status=$?
19604 grep -v '^ *+' conftest.er1 >conftest.err
19605 rm -f conftest.er1
19606 cat conftest.err >&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19612 ac_status=$?
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try='test -s conftest.$ac_objext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19618 ac_status=$?
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_lo=$ac_mid; break
19622 else
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19625
19626 ac_hi=`expr '(' $ac_mid ')' - 1`
19627 if test $ac_mid -le $ac_hi; then
19628 ac_lo= ac_hi=
19629 break
19630 fi
19631 ac_mid=`expr 2 '*' $ac_mid`
19632 fi
19633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19634 done
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639 ac_lo= ac_hi=
19640 fi
19641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19642 fi
19643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19644 # Binary search between lo and hi bounds.
19645 while test "x$ac_lo" != "x$ac_hi"; do
19646 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19647 cat >conftest.$ac_ext <<_ACEOF
19648 /* confdefs.h. */
19649 _ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 $ac_includes_default
19654 int
19655 main ()
19656 {
19657 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19658 test_array [0] = 0
19659
19660 ;
19661 return 0;
19662 }
19663 _ACEOF
19664 rm -f conftest.$ac_objext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666 (eval $ac_compile) 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; } &&
19679 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19685 ac_hi=$ac_mid
19686 else
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19689
19690 ac_lo=`expr '(' $ac_mid ')' + 1`
19691 fi
19692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19693 done
19694 case $ac_lo in
19695 ?*) ac_cv_sizeof_long=$ac_lo;;
19696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19697 See \`config.log' for more details." >&5
19698 echo "$as_me: error: cannot compute sizeof (long), 77
19699 See \`config.log' for more details." >&2;}
19700 { (exit 1); exit 1; }; } ;;
19701 esac
19702 else
19703 if test "$cross_compiling" = yes; then
19704 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19705 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19706 { (exit 1); exit 1; }; }
19707 else
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19715 long longval () { return (long) (sizeof (long)); }
19716 unsigned long ulongval () { return (long) (sizeof (long)); }
19717 #include <stdio.h>
19718 #include <stdlib.h>
19719 int
19720 main ()
19721 {
19722
19723 FILE *f = fopen ("conftest.val", "w");
19724 if (! f)
19725 exit (1);
19726 if (((long) (sizeof (long))) < 0)
19727 {
19728 long i = longval ();
19729 if (i != ((long) (sizeof (long))))
19730 exit (1);
19731 fprintf (f, "%ld\n", i);
19732 }
19733 else
19734 {
19735 unsigned long i = ulongval ();
19736 if (i != ((long) (sizeof (long))))
19737 exit (1);
19738 fprintf (f, "%lu\n", i);
19739 }
19740 exit (ferror (f) || fclose (f) != 0);
19741
19742 ;
19743 return 0;
19744 }
19745 _ACEOF
19746 rm -f conftest$ac_exeext
19747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19748 (eval $ac_link) 2>&5
19749 ac_status=$?
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19754 ac_status=$?
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_sizeof_long=`cat conftest.val`
19758 else
19759 echo "$as_me: program exited with status $ac_status" >&5
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19762
19763 ( exit $ac_status )
19764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19765 See \`config.log' for more details." >&5
19766 echo "$as_me: error: cannot compute sizeof (long), 77
19767 See \`config.log' for more details." >&2;}
19768 { (exit 1); exit 1; }; }
19769 fi
19770 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19771 fi
19772 fi
19773 rm -f conftest.val
19774 else
19775 ac_cv_sizeof_long=0
19776 fi
19777 fi
19778 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19779 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19780 cat >>confdefs.h <<_ACEOF
19781 #define SIZEOF_LONG $ac_cv_sizeof_long
19782 _ACEOF
19783
19784
19785 echo "$as_me:$LINENO: checking for size_t" >&5
19786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19787 if test "${ac_cv_type_size_t+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 else
19790 cat >conftest.$ac_ext <<_ACEOF
19791 /* confdefs.h. */
19792 _ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 $ac_includes_default
19797 int
19798 main ()
19799 {
19800 if ((size_t *) 0)
19801 return 0;
19802 if (sizeof (size_t))
19803 return 0;
19804 ;
19805 return 0;
19806 }
19807 _ACEOF
19808 rm -f conftest.$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest.$ac_objext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 ac_cv_type_size_t=yes
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19833
19834 ac_cv_type_size_t=no
19835 fi
19836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19837 fi
19838 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19839 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19840
19841 echo "$as_me:$LINENO: checking size of size_t" >&5
19842 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19843 if test "${ac_cv_sizeof_size_t+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 else
19846 if test "$ac_cv_type_size_t" = yes; then
19847 # The cast to unsigned long works around a bug in the HP C Compiler
19848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19850 # This bug is HP SR number 8606223364.
19851 if test "$cross_compiling" = yes; then
19852 # Depending upon the size, compute the lo and hi bounds.
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 (size_t))) >= 0)];
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_lo=0 ac_mid=0
19892 while :; do
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 int
19901 main ()
19902 {
19903 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19904 test_array [0] = 0
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19913 ac_status=$?
19914 grep -v '^ *+' conftest.er1 >conftest.err
19915 rm -f conftest.er1
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_hi=$ac_mid; break
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19935
19936 ac_lo=`expr $ac_mid + 1`
19937 if test $ac_lo -le $ac_mid; then
19938 ac_lo= ac_hi=
19939 break
19940 fi
19941 ac_mid=`expr 2 '*' $ac_mid + 1`
19942 fi
19943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19944 done
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h. */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 $ac_includes_default
19956 int
19957 main ()
19958 {
19959 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19960 test_array [0] = 0
19961
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19968 (eval $ac_compile) 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19977 (eval $ac_try) 2>&5
19978 ac_status=$?
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); }; } &&
19981 { ac_try='test -s conftest.$ac_objext'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_hi=-1 ac_mid=-1
19988 while :; do
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 $ac_includes_default
19996 int
19997 main ()
19998 {
19999 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20000 test_array [0] = 0
20001
20002 ;
20003 return 0;
20004 }
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20008 (eval $ac_compile) 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } &&
20015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20018 ac_status=$?
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try='test -s conftest.$ac_objext'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20024 ac_status=$?
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20027 ac_lo=$ac_mid; break
20028 else
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20031
20032 ac_hi=`expr '(' $ac_mid ')' - 1`
20033 if test $ac_mid -le $ac_hi; then
20034 ac_lo= ac_hi=
20035 break
20036 fi
20037 ac_mid=`expr 2 '*' $ac_mid`
20038 fi
20039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20040 done
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_lo= ac_hi=
20046 fi
20047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20048 fi
20049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20050 # Binary search between lo and hi bounds.
20051 while test "x$ac_lo" != "x$ac_hi"; do
20052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20053 cat >conftest.$ac_ext <<_ACEOF
20054 /* confdefs.h. */
20055 _ACEOF
20056 cat confdefs.h >>conftest.$ac_ext
20057 cat >>conftest.$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059 $ac_includes_default
20060 int
20061 main ()
20062 {
20063 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20064 test_array [0] = 0
20065
20066 ;
20067 return 0;
20068 }
20069 _ACEOF
20070 rm -f conftest.$ac_objext
20071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20072 (eval $ac_compile) 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } &&
20079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20082 ac_status=$?
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } &&
20085 { ac_try='test -s conftest.$ac_objext'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; }; then
20091 ac_hi=$ac_mid
20092 else
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20095
20096 ac_lo=`expr '(' $ac_mid ')' + 1`
20097 fi
20098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20099 done
20100 case $ac_lo in
20101 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20103 See \`config.log' for more details." >&5
20104 echo "$as_me: error: cannot compute sizeof (size_t), 77
20105 See \`config.log' for more details." >&2;}
20106 { (exit 1); exit 1; }; } ;;
20107 esac
20108 else
20109 if test "$cross_compiling" = yes; then
20110 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20111 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20112 { (exit 1); exit 1; }; }
20113 else
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 long longval () { return (long) (sizeof (size_t)); }
20122 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20123 #include <stdio.h>
20124 #include <stdlib.h>
20125 int
20126 main ()
20127 {
20128
20129 FILE *f = fopen ("conftest.val", "w");
20130 if (! f)
20131 exit (1);
20132 if (((long) (sizeof (size_t))) < 0)
20133 {
20134 long i = longval ();
20135 if (i != ((long) (sizeof (size_t))))
20136 exit (1);
20137 fprintf (f, "%ld\n", i);
20138 }
20139 else
20140 {
20141 unsigned long i = ulongval ();
20142 if (i != ((long) (sizeof (size_t))))
20143 exit (1);
20144 fprintf (f, "%lu\n", i);
20145 }
20146 exit (ferror (f) || fclose (f) != 0);
20147
20148 ;
20149 return 0;
20150 }
20151 _ACEOF
20152 rm -f conftest$ac_exeext
20153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20154 (eval $ac_link) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_sizeof_size_t=`cat conftest.val`
20164 else
20165 echo "$as_me: program exited with status $ac_status" >&5
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 ( exit $ac_status )
20170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20171 See \`config.log' for more details." >&5
20172 echo "$as_me: error: cannot compute sizeof (size_t), 77
20173 See \`config.log' for more details." >&2;}
20174 { (exit 1); exit 1; }; }
20175 fi
20176 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20177 fi
20178 fi
20179 rm -f conftest.val
20180 else
20181 ac_cv_sizeof_size_t=0
20182 fi
20183 fi
20184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20185 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20186 cat >>confdefs.h <<_ACEOF
20187 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20188 _ACEOF
20189
20190
20191
20192 case "${host}" in
20193 arm-*-linux* )
20194 echo "$as_me:$LINENO: checking for long long" >&5
20195 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20196 if test "${ac_cv_type_long_long+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 else
20199 cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h. */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20206 int
20207 main ()
20208 {
20209 if ((long long *) 0)
20210 return 0;
20211 if (sizeof (long long))
20212 return 0;
20213 ;
20214 return 0;
20215 }
20216 _ACEOF
20217 rm -f conftest.$ac_objext
20218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20219 (eval $ac_compile) 2>conftest.er1
20220 ac_status=$?
20221 grep -v '^ *+' conftest.er1 >conftest.err
20222 rm -f conftest.er1
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try='test -s conftest.$ac_objext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 ac_cv_type_long_long=yes
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 ac_cv_type_long_long=no
20244 fi
20245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20246 fi
20247 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20248 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20249
20250 echo "$as_me:$LINENO: checking size of long long" >&5
20251 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20252 if test "${ac_cv_sizeof_long_long+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 else
20255 if test "$ac_cv_type_long_long" = yes; then
20256 # The cast to unsigned long works around a bug in the HP C Compiler
20257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20259 # This bug is HP SR number 8606223364.
20260 if test "$cross_compiling" = yes; then
20261 # Depending upon the size, compute the lo and hi bounds.
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20281 (eval $ac_compile) 2>conftest.er1
20282 ac_status=$?
20283 grep -v '^ *+' conftest.er1 >conftest.err
20284 rm -f conftest.er1
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try='test -s conftest.$ac_objext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_lo=0 ac_mid=0
20301 while :; do
20302 cat >conftest.$ac_ext <<_ACEOF
20303 /* confdefs.h. */
20304 _ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20309 int
20310 main ()
20311 {
20312 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20313 test_array [0] = 0
20314
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20321 (eval $ac_compile) 2>conftest.er1
20322 ac_status=$?
20323 grep -v '^ *+' conftest.er1 >conftest.err
20324 rm -f conftest.er1
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } &&
20328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; } &&
20334 { ac_try='test -s conftest.$ac_objext'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; }; then
20340 ac_hi=$ac_mid; break
20341 else
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20344
20345 ac_lo=`expr $ac_mid + 1`
20346 if test $ac_lo -le $ac_mid; then
20347 ac_lo= ac_hi=
20348 break
20349 fi
20350 ac_mid=`expr 2 '*' $ac_mid + 1`
20351 fi
20352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20353 done
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20357
20358 cat >conftest.$ac_ext <<_ACEOF
20359 /* confdefs.h. */
20360 _ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 $ac_includes_default
20365 int
20366 main ()
20367 {
20368 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20369 test_array [0] = 0
20370
20371 ;
20372 return 0;
20373 }
20374 _ACEOF
20375 rm -f conftest.$ac_objext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20377 (eval $ac_compile) 2>conftest.er1
20378 ac_status=$?
20379 grep -v '^ *+' conftest.er1 >conftest.err
20380 rm -f conftest.er1
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20387 ac_status=$?
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; } &&
20390 { ac_try='test -s conftest.$ac_objext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20393 ac_status=$?
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 ac_hi=-1 ac_mid=-1
20397 while :; do
20398 cat >conftest.$ac_ext <<_ACEOF
20399 /* confdefs.h. */
20400 _ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 int
20406 main ()
20407 {
20408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20409 test_array [0] = 0
20410
20411 ;
20412 return 0;
20413 }
20414 _ACEOF
20415 rm -f conftest.$ac_objext
20416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20417 (eval $ac_compile) 2>conftest.er1
20418 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } &&
20424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; } &&
20430 { ac_try='test -s conftest.$ac_objext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20436 ac_lo=$ac_mid; break
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20440
20441 ac_hi=`expr '(' $ac_mid ')' - 1`
20442 if test $ac_mid -le $ac_hi; then
20443 ac_lo= ac_hi=
20444 break
20445 fi
20446 ac_mid=`expr 2 '*' $ac_mid`
20447 fi
20448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20449 done
20450 else
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20453
20454 ac_lo= ac_hi=
20455 fi
20456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20457 fi
20458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20459 # Binary search between lo and hi bounds.
20460 while test "x$ac_lo" != "x$ac_hi"; do
20461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20462 cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h. */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 $ac_includes_default
20469 int
20470 main ()
20471 {
20472 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20473 test_array [0] = 0
20474
20475 ;
20476 return 0;
20477 }
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20481 (eval $ac_compile) 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; } &&
20494 { ac_try='test -s conftest.$ac_objext'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20497 ac_status=$?
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20500 ac_hi=$ac_mid
20501 else
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20504
20505 ac_lo=`expr '(' $ac_mid ')' + 1`
20506 fi
20507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20508 done
20509 case $ac_lo in
20510 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20512 See \`config.log' for more details." >&5
20513 echo "$as_me: error: cannot compute sizeof (long long), 77
20514 See \`config.log' for more details." >&2;}
20515 { (exit 1); exit 1; }; } ;;
20516 esac
20517 else
20518 if test "$cross_compiling" = yes; then
20519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20521 { (exit 1); exit 1; }; }
20522 else
20523 cat >conftest.$ac_ext <<_ACEOF
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 long longval () { return (long) (sizeof (long long)); }
20531 unsigned long ulongval () { return (long) (sizeof (long long)); }
20532 #include <stdio.h>
20533 #include <stdlib.h>
20534 int
20535 main ()
20536 {
20537
20538 FILE *f = fopen ("conftest.val", "w");
20539 if (! f)
20540 exit (1);
20541 if (((long) (sizeof (long long))) < 0)
20542 {
20543 long i = longval ();
20544 if (i != ((long) (sizeof (long long))))
20545 exit (1);
20546 fprintf (f, "%ld\n", i);
20547 }
20548 else
20549 {
20550 unsigned long i = ulongval ();
20551 if (i != ((long) (sizeof (long long))))
20552 exit (1);
20553 fprintf (f, "%lu\n", i);
20554 }
20555 exit (ferror (f) || fclose (f) != 0);
20556
20557 ;
20558 return 0;
20559 }
20560 _ACEOF
20561 rm -f conftest$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563 (eval $ac_link) 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_sizeof_long_long=`cat conftest.val`
20573 else
20574 echo "$as_me: program exited with status $ac_status" >&5
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ( exit $ac_status )
20579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20580 See \`config.log' for more details." >&5
20581 echo "$as_me: error: cannot compute sizeof (long long), 77
20582 See \`config.log' for more details." >&2;}
20583 { (exit 1); exit 1; }; }
20584 fi
20585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20586 fi
20587 fi
20588 rm -f conftest.val
20589 else
20590 ac_cv_sizeof_long_long=0
20591 fi
20592 fi
20593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20594 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20595 cat >>confdefs.h <<_ACEOF
20596 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20597 _ACEOF
20598
20599
20600 ;;
20601 *-hp-hpux* )
20602 echo "$as_me:$LINENO: checking for long long" >&5
20603 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20604 if test "${ac_cv_type_long_long+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 else
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h. */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 int
20615 main ()
20616 {
20617 if ((long long *) 0)
20618 return 0;
20619 if (sizeof (long long))
20620 return 0;
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_cv_type_long_long=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_cv_type_long_long=no
20652 fi
20653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20654 fi
20655 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20656 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20657
20658 echo "$as_me:$LINENO: checking size of long long" >&5
20659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20660 if test "${ac_cv_sizeof_long_long+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 else
20663 if test "$ac_cv_type_long_long" = yes; then
20664 # The cast to unsigned long works around a bug in the HP C Compiler
20665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20667 # This bug is HP SR number 8606223364.
20668 if test "$cross_compiling" = yes; then
20669 # Depending upon the size, compute the lo and hi bounds.
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20677 int
20678 main ()
20679 {
20680 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20681 test_array [0] = 0
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20689 (eval $ac_compile) 2>conftest.er1
20690 ac_status=$?
20691 grep -v '^ *+' conftest.er1 >conftest.err
20692 rm -f conftest.er1
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try='test -s conftest.$ac_objext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 ac_lo=0 ac_mid=0
20709 while :; do
20710 cat >conftest.$ac_ext <<_ACEOF
20711 /* confdefs.h. */
20712 _ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 $ac_includes_default
20717 int
20718 main ()
20719 {
20720 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20721 test_array [0] = 0
20722
20723 ;
20724 return 0;
20725 }
20726 _ACEOF
20727 rm -f conftest.$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20739 ac_status=$?
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try='test -s conftest.$ac_objext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_hi=$ac_mid; break
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 ac_lo=`expr $ac_mid + 1`
20754 if test $ac_lo -le $ac_mid; then
20755 ac_lo= ac_hi=
20756 break
20757 fi
20758 ac_mid=`expr 2 '*' $ac_mid + 1`
20759 fi
20760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20761 done
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 $ac_includes_default
20773 int
20774 main ()
20775 {
20776 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20777 test_array [0] = 0
20778
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 rm -f conftest.$ac_objext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20785 (eval $ac_compile) 2>conftest.er1
20786 ac_status=$?
20787 grep -v '^ *+' conftest.er1 >conftest.err
20788 rm -f conftest.er1
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try='test -s conftest.$ac_objext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20804 ac_hi=-1 ac_mid=-1
20805 while :; do
20806 cat >conftest.$ac_ext <<_ACEOF
20807 /* confdefs.h. */
20808 _ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 $ac_includes_default
20813 int
20814 main ()
20815 {
20816 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20817 test_array [0] = 0
20818
20819 ;
20820 return 0;
20821 }
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825 (eval $ac_compile) 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } &&
20832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20835 ac_status=$?
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; } &&
20838 { ac_try='test -s conftest.$ac_objext'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20844 ac_lo=$ac_mid; break
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 ac_hi=`expr '(' $ac_mid ')' - 1`
20850 if test $ac_mid -le $ac_hi; then
20851 ac_lo= ac_hi=
20852 break
20853 fi
20854 ac_mid=`expr 2 '*' $ac_mid`
20855 fi
20856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20857 done
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 ac_lo= ac_hi=
20863 fi
20864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20865 fi
20866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20867 # Binary search between lo and hi bounds.
20868 while test "x$ac_lo" != "x$ac_hi"; do
20869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20870 cat >conftest.$ac_ext <<_ACEOF
20871 /* confdefs.h. */
20872 _ACEOF
20873 cat confdefs.h >>conftest.$ac_ext
20874 cat >>conftest.$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 $ac_includes_default
20877 int
20878 main ()
20879 {
20880 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20881 test_array [0] = 0
20882
20883 ;
20884 return 0;
20885 }
20886 _ACEOF
20887 rm -f conftest.$ac_objext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20889 (eval $ac_compile) 2>conftest.er1
20890 ac_status=$?
20891 grep -v '^ *+' conftest.er1 >conftest.err
20892 rm -f conftest.er1
20893 cat conftest.err >&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20899 ac_status=$?
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; } &&
20902 { ac_try='test -s conftest.$ac_objext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_hi=$ac_mid
20909 else
20910 echo "$as_me: failed program was:" >&5
20911 sed 's/^/| /' conftest.$ac_ext >&5
20912
20913 ac_lo=`expr '(' $ac_mid ')' + 1`
20914 fi
20915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20916 done
20917 case $ac_lo in
20918 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20919 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20920 See \`config.log' for more details." >&5
20921 echo "$as_me: error: cannot compute sizeof (long long), 77
20922 See \`config.log' for more details." >&2;}
20923 { (exit 1); exit 1; }; } ;;
20924 esac
20925 else
20926 if test "$cross_compiling" = yes; then
20927 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20928 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20929 { (exit 1); exit 1; }; }
20930 else
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 long longval () { return (long) (sizeof (long long)); }
20939 unsigned long ulongval () { return (long) (sizeof (long long)); }
20940 #include <stdio.h>
20941 #include <stdlib.h>
20942 int
20943 main ()
20944 {
20945
20946 FILE *f = fopen ("conftest.val", "w");
20947 if (! f)
20948 exit (1);
20949 if (((long) (sizeof (long long))) < 0)
20950 {
20951 long i = longval ();
20952 if (i != ((long) (sizeof (long long))))
20953 exit (1);
20954 fprintf (f, "%ld\n", i);
20955 }
20956 else
20957 {
20958 unsigned long i = ulongval ();
20959 if (i != ((long) (sizeof (long long))))
20960 exit (1);
20961 fprintf (f, "%lu\n", i);
20962 }
20963 exit (ferror (f) || fclose (f) != 0);
20964
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 rm -f conftest$ac_exeext
20970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20971 (eval $ac_link) 2>&5
20972 ac_status=$?
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20977 ac_status=$?
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_cv_sizeof_long_long=`cat conftest.val`
20981 else
20982 echo "$as_me: program exited with status $ac_status" >&5
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20985
20986 ( exit $ac_status )
20987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20988 See \`config.log' for more details." >&5
20989 echo "$as_me: error: cannot compute sizeof (long long), 77
20990 See \`config.log' for more details." >&2;}
20991 { (exit 1); exit 1; }; }
20992 fi
20993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20994 fi
20995 fi
20996 rm -f conftest.val
20997 else
20998 ac_cv_sizeof_long_long=0
20999 fi
21000 fi
21001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21003 cat >>confdefs.h <<_ACEOF
21004 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21005 _ACEOF
21006
21007
21008 if test "$ac_cv_sizeof_long_long" != "0"; then
21009 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21010 fi
21011 ;;
21012 * )
21013 echo "$as_me:$LINENO: checking for long long" >&5
21014 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21015 if test "${ac_cv_type_long_long+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 else
21018 cat >conftest.$ac_ext <<_ACEOF
21019 /* confdefs.h. */
21020 _ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21024 $ac_includes_default
21025 int
21026 main ()
21027 {
21028 if ((long long *) 0)
21029 return 0;
21030 if (sizeof (long long))
21031 return 0;
21032 ;
21033 return 0;
21034 }
21035 _ACEOF
21036 rm -f conftest.$ac_objext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21038 (eval $ac_compile) 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21048 ac_status=$?
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try='test -s conftest.$ac_objext'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; }; then
21057 ac_cv_type_long_long=yes
21058 else
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 ac_cv_type_long_long=no
21063 fi
21064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21065 fi
21066 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21067 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21068
21069 echo "$as_me:$LINENO: checking size of long long" >&5
21070 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21071 if test "${ac_cv_sizeof_long_long+set}" = set; then
21072 echo $ECHO_N "(cached) $ECHO_C" >&6
21073 else
21074 if test "$ac_cv_type_long_long" = yes; then
21075 # The cast to unsigned long works around a bug in the HP C Compiler
21076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21078 # This bug is HP SR number 8606223364.
21079 if test "$cross_compiling" = yes; then
21080 # Depending upon the size, compute the lo and hi bounds.
21081 cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h. */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 $ac_includes_default
21088 int
21089 main ()
21090 {
21091 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21092 test_array [0] = 0
21093
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21100 (eval $ac_compile) 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21110 ac_status=$?
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; } &&
21113 { ac_try='test -s conftest.$ac_objext'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21116 ac_status=$?
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_lo=0 ac_mid=0
21120 while :; do
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 $ac_includes_default
21128 int
21129 main ()
21130 {
21131 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21132 test_array [0] = 0
21133
21134 ;
21135 return 0;
21136 }
21137 _ACEOF
21138 rm -f conftest.$ac_objext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21140 (eval $ac_compile) 2>conftest.er1
21141 ac_status=$?
21142 grep -v '^ *+' conftest.er1 >conftest.err
21143 rm -f conftest.er1
21144 cat conftest.err >&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21150 ac_status=$?
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; } &&
21153 { ac_try='test -s conftest.$ac_objext'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_hi=$ac_mid; break
21160 else
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21163
21164 ac_lo=`expr $ac_mid + 1`
21165 if test $ac_lo -le $ac_mid; then
21166 ac_lo= ac_hi=
21167 break
21168 fi
21169 ac_mid=`expr 2 '*' $ac_mid + 1`
21170 fi
21171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21172 done
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 cat >conftest.$ac_ext <<_ACEOF
21178 /* confdefs.h. */
21179 _ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 $ac_includes_default
21184 int
21185 main ()
21186 {
21187 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21188 test_array [0] = 0
21189
21190 ;
21191 return 0;
21192 }
21193 _ACEOF
21194 rm -f conftest.$ac_objext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21196 (eval $ac_compile) 2>conftest.er1
21197 ac_status=$?
21198 grep -v '^ *+' conftest.er1 >conftest.err
21199 rm -f conftest.er1
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; } &&
21209 { ac_try='test -s conftest.$ac_objext'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21212 ac_status=$?
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; }; then
21215 ac_hi=-1 ac_mid=-1
21216 while :; do
21217 cat >conftest.$ac_ext <<_ACEOF
21218 /* confdefs.h. */
21219 _ACEOF
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 $ac_includes_default
21224 int
21225 main ()
21226 {
21227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21228 test_array [0] = 0
21229
21230 ;
21231 return 0;
21232 }
21233 _ACEOF
21234 rm -f conftest.$ac_objext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21236 (eval $ac_compile) 2>conftest.er1
21237 ac_status=$?
21238 grep -v '^ *+' conftest.er1 >conftest.err
21239 rm -f conftest.er1
21240 cat conftest.err >&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; } &&
21249 { ac_try='test -s conftest.$ac_objext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_lo=$ac_mid; break
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_hi=`expr '(' $ac_mid ')' - 1`
21261 if test $ac_mid -le $ac_hi; then
21262 ac_lo= ac_hi=
21263 break
21264 fi
21265 ac_mid=`expr 2 '*' $ac_mid`
21266 fi
21267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21268 done
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 ac_lo= ac_hi=
21274 fi
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276 fi
21277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 # Binary search between lo and hi bounds.
21279 while test "x$ac_lo" != "x$ac_hi"; do
21280 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21281 cat >conftest.$ac_ext <<_ACEOF
21282 /* confdefs.h. */
21283 _ACEOF
21284 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 $ac_includes_default
21288 int
21289 main ()
21290 {
21291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21292 test_array [0] = 0
21293
21294 ;
21295 return 0;
21296 }
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21301 ac_status=$?
21302 grep -v '^ *+' conftest.er1 >conftest.err
21303 rm -f conftest.er1
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21316 ac_status=$?
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_hi=$ac_mid
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21323
21324 ac_lo=`expr '(' $ac_mid ')' + 1`
21325 fi
21326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21327 done
21328 case $ac_lo in
21329 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21331 See \`config.log' for more details." >&5
21332 echo "$as_me: error: cannot compute sizeof (long long), 77
21333 See \`config.log' for more details." >&2;}
21334 { (exit 1); exit 1; }; } ;;
21335 esac
21336 else
21337 if test "$cross_compiling" = yes; then
21338 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21339 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21340 { (exit 1); exit 1; }; }
21341 else
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 long longval () { return (long) (sizeof (long long)); }
21350 unsigned long ulongval () { return (long) (sizeof (long long)); }
21351 #include <stdio.h>
21352 #include <stdlib.h>
21353 int
21354 main ()
21355 {
21356
21357 FILE *f = fopen ("conftest.val", "w");
21358 if (! f)
21359 exit (1);
21360 if (((long) (sizeof (long long))) < 0)
21361 {
21362 long i = longval ();
21363 if (i != ((long) (sizeof (long long))))
21364 exit (1);
21365 fprintf (f, "%ld\n", i);
21366 }
21367 else
21368 {
21369 unsigned long i = ulongval ();
21370 if (i != ((long) (sizeof (long long))))
21371 exit (1);
21372 fprintf (f, "%lu\n", i);
21373 }
21374 exit (ferror (f) || fclose (f) != 0);
21375
21376 ;
21377 return 0;
21378 }
21379 _ACEOF
21380 rm -f conftest$ac_exeext
21381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21382 (eval $ac_link) 2>&5
21383 ac_status=$?
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 ac_cv_sizeof_long_long=`cat conftest.val`
21392 else
21393 echo "$as_me: program exited with status $ac_status" >&5
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21396
21397 ( exit $ac_status )
21398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21399 See \`config.log' for more details." >&5
21400 echo "$as_me: error: cannot compute sizeof (long long), 77
21401 See \`config.log' for more details." >&2;}
21402 { (exit 1); exit 1; }; }
21403 fi
21404 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21405 fi
21406 fi
21407 rm -f conftest.val
21408 else
21409 ac_cv_sizeof_long_long=0
21410 fi
21411 fi
21412 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21413 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21414 cat >>confdefs.h <<_ACEOF
21415 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21416 _ACEOF
21417
21418
21419 esac
21420
21421 echo "$as_me:$LINENO: checking for wchar_t" >&5
21422 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21423 if test "${ac_cv_type_wchar_t+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21425 else
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432
21433 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21434 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21435 # error "fake wchar_t"
21436 #endif
21437 #ifdef HAVE_WCHAR_H
21438 # ifdef __CYGWIN__
21439 # include <stddef.h>
21440 # endif
21441 # include <wchar.h>
21442 #endif
21443 #ifdef HAVE_STDLIB_H
21444 # include <stdlib.h>
21445 #endif
21446 #include <stdio.h>
21447
21448
21449
21450 int
21451 main ()
21452 {
21453 if ((wchar_t *) 0)
21454 return 0;
21455 if (sizeof (wchar_t))
21456 return 0;
21457 ;
21458 return 0;
21459 }
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463 (eval $ac_compile) 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } &&
21470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21473 ac_status=$?
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21479 ac_status=$?
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_cv_type_wchar_t=yes
21483 else
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 ac_cv_type_wchar_t=no
21488 fi
21489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21490 fi
21491 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21492 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21493
21494 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21495 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21496 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21497 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 else
21499 if test "$ac_cv_type_wchar_t" = yes; then
21500 # The cast to unsigned long works around a bug in the HP C Compiler
21501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21503 # This bug is HP SR number 8606223364.
21504 if test "$cross_compiling" = yes; then
21505 # Depending upon the size, compute the lo and hi bounds.
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512
21513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21515 # error "fake wchar_t"
21516 #endif
21517 #ifdef HAVE_WCHAR_H
21518 # ifdef __CYGWIN__
21519 # include <stddef.h>
21520 # endif
21521 # include <wchar.h>
21522 #endif
21523 #ifdef HAVE_STDLIB_H
21524 # include <stdlib.h>
21525 #endif
21526 #include <stdio.h>
21527
21528
21529
21530 int
21531 main ()
21532 {
21533 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21534 test_array [0] = 0
21535
21536 ;
21537 return 0;
21538 }
21539 _ACEOF
21540 rm -f conftest.$ac_objext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21542 (eval $ac_compile) 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try='test -s conftest.$ac_objext'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21558 ac_status=$?
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21561 ac_lo=0 ac_mid=0
21562 while :; do
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569
21570 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21571 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21572 # error "fake wchar_t"
21573 #endif
21574 #ifdef HAVE_WCHAR_H
21575 # ifdef __CYGWIN__
21576 # include <stddef.h>
21577 # endif
21578 # include <wchar.h>
21579 #endif
21580 #ifdef HAVE_STDLIB_H
21581 # include <stdlib.h>
21582 #endif
21583 #include <stdio.h>
21584
21585
21586
21587 int
21588 main ()
21589 {
21590 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21591 test_array [0] = 0
21592
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 rm -f conftest.$ac_objext
21598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21599 (eval $ac_compile) 2>conftest.er1
21600 ac_status=$?
21601 grep -v '^ *+' conftest.er1 >conftest.err
21602 rm -f conftest.er1
21603 cat conftest.err >&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } &&
21606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21609 ac_status=$?
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try='test -s conftest.$ac_objext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_hi=$ac_mid; break
21619 else
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21622
21623 ac_lo=`expr $ac_mid + 1`
21624 if test $ac_lo -le $ac_mid; then
21625 ac_lo= ac_hi=
21626 break
21627 fi
21628 ac_mid=`expr 2 '*' $ac_mid + 1`
21629 fi
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631 done
21632 else
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h. */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642
21643 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21644 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21645 # error "fake wchar_t"
21646 #endif
21647 #ifdef HAVE_WCHAR_H
21648 # ifdef __CYGWIN__
21649 # include <stddef.h>
21650 # endif
21651 # include <wchar.h>
21652 #endif
21653 #ifdef HAVE_STDLIB_H
21654 # include <stdlib.h>
21655 #endif
21656 #include <stdio.h>
21657
21658
21659
21660 int
21661 main ()
21662 {
21663 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21664 test_array [0] = 0
21665
21666 ;
21667 return 0;
21668 }
21669 _ACEOF
21670 rm -f conftest.$ac_objext
21671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21672 (eval $ac_compile) 2>conftest.er1
21673 ac_status=$?
21674 grep -v '^ *+' conftest.er1 >conftest.err
21675 rm -f conftest.er1
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } &&
21679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21682 ac_status=$?
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_hi=-1 ac_mid=-1
21692 while :; do
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699
21700 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21701 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21702 # error "fake wchar_t"
21703 #endif
21704 #ifdef HAVE_WCHAR_H
21705 # ifdef __CYGWIN__
21706 # include <stddef.h>
21707 # endif
21708 # include <wchar.h>
21709 #endif
21710 #ifdef HAVE_STDLIB_H
21711 # include <stdlib.h>
21712 #endif
21713 #include <stdio.h>
21714
21715
21716
21717 int
21718 main ()
21719 {
21720 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21721 test_array [0] = 0
21722
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729 (eval $ac_compile) 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 ac_lo=$ac_mid; break
21749 else
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21752
21753 ac_hi=`expr '(' $ac_mid ')' - 1`
21754 if test $ac_mid -le $ac_hi; then
21755 ac_lo= ac_hi=
21756 break
21757 fi
21758 ac_mid=`expr 2 '*' $ac_mid`
21759 fi
21760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21761 done
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_lo= ac_hi=
21767 fi
21768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21769 fi
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 # Binary search between lo and hi bounds.
21772 while test "x$ac_lo" != "x$ac_hi"; do
21773 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21774 cat >conftest.$ac_ext <<_ACEOF
21775 /* confdefs.h. */
21776 _ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780
21781 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21782 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21783 # error "fake wchar_t"
21784 #endif
21785 #ifdef HAVE_WCHAR_H
21786 # ifdef __CYGWIN__
21787 # include <stddef.h>
21788 # endif
21789 # include <wchar.h>
21790 #endif
21791 #ifdef HAVE_STDLIB_H
21792 # include <stdlib.h>
21793 #endif
21794 #include <stdio.h>
21795
21796
21797
21798 int
21799 main ()
21800 {
21801 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21802 test_array [0] = 0
21803
21804 ;
21805 return 0;
21806 }
21807 _ACEOF
21808 rm -f conftest.$ac_objext
21809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21810 (eval $ac_compile) 2>conftest.er1
21811 ac_status=$?
21812 grep -v '^ *+' conftest.er1 >conftest.err
21813 rm -f conftest.er1
21814 cat conftest.err >&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } &&
21817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819 (eval $ac_try) 2>&5
21820 ac_status=$?
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; } &&
21823 { ac_try='test -s conftest.$ac_objext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then
21829 ac_hi=$ac_mid
21830 else
21831 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.$ac_ext >&5
21833
21834 ac_lo=`expr '(' $ac_mid ')' + 1`
21835 fi
21836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21837 done
21838 case $ac_lo in
21839 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21840 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21841 See \`config.log' for more details." >&5
21842 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21843 See \`config.log' for more details." >&2;}
21844 { (exit 1); exit 1; }; } ;;
21845 esac
21846 else
21847 if test "$cross_compiling" = yes; then
21848 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21849 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21850 { (exit 1); exit 1; }; }
21851 else
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858
21859 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21860 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21861 # error "fake wchar_t"
21862 #endif
21863 #ifdef HAVE_WCHAR_H
21864 # ifdef __CYGWIN__
21865 # include <stddef.h>
21866 # endif
21867 # include <wchar.h>
21868 #endif
21869 #ifdef HAVE_STDLIB_H
21870 # include <stdlib.h>
21871 #endif
21872 #include <stdio.h>
21873
21874
21875
21876 long longval () { return (long) (sizeof (wchar_t)); }
21877 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21878 #include <stdio.h>
21879 #include <stdlib.h>
21880 int
21881 main ()
21882 {
21883
21884 FILE *f = fopen ("conftest.val", "w");
21885 if (! f)
21886 exit (1);
21887 if (((long) (sizeof (wchar_t))) < 0)
21888 {
21889 long i = longval ();
21890 if (i != ((long) (sizeof (wchar_t))))
21891 exit (1);
21892 fprintf (f, "%ld\n", i);
21893 }
21894 else
21895 {
21896 unsigned long i = ulongval ();
21897 if (i != ((long) (sizeof (wchar_t))))
21898 exit (1);
21899 fprintf (f, "%lu\n", i);
21900 }
21901 exit (ferror (f) || fclose (f) != 0);
21902
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest$ac_exeext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21909 (eval $ac_link) 2>&5
21910 ac_status=$?
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 ac_cv_sizeof_wchar_t=`cat conftest.val`
21919 else
21920 echo "$as_me: program exited with status $ac_status" >&5
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21923
21924 ( exit $ac_status )
21925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21926 See \`config.log' for more details." >&5
21927 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21928 See \`config.log' for more details." >&2;}
21929 { (exit 1); exit 1; }; }
21930 fi
21931 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21932 fi
21933 fi
21934 rm -f conftest.val
21935 else
21936 ac_cv_sizeof_wchar_t=0
21937 fi
21938 fi
21939 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21940 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21941 cat >>confdefs.h <<_ACEOF
21942 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21943 _ACEOF
21944
21945
21946 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21947 wxUSE_WCHAR_T=yes
21948 else
21949 wxUSE_WCHAR_T=no
21950 fi
21951
21952 echo "$as_me:$LINENO: checking for va_copy" >&5
21953 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21954 if test "${wx_cv_func_va_copy+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21957
21958 cat >conftest.$ac_ext <<_ACEOF
21959
21960 #include <stdarg.h>
21961 void foo(char *f, ...)
21962 {
21963 va_list ap1, ap2;
21964 va_start(ap1, f);
21965 va_copy(ap2, ap1);
21966 va_end(ap2);
21967 va_end(ap1);
21968 }
21969 int main()
21970 {
21971 foo("hi", 17);
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext conftest$ac_exeext
21976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21977 (eval $ac_link) 2>conftest.er1
21978 ac_status=$?
21979 grep -v '^ *+' conftest.er1 >conftest.err
21980 rm -f conftest.er1
21981 cat conftest.err >&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } &&
21984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21987 ac_status=$?
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try='test -s conftest$ac_exeext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 wx_cv_func_va_copy=yes
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001 wx_cv_func_va_copy=no
22002
22003 fi
22004 rm -f conftest.err conftest.$ac_objext \
22005 conftest$ac_exeext conftest.$ac_ext
22006
22007
22008 fi
22009 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22010 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22011
22012 if test $wx_cv_func_va_copy = "yes"; then
22013 cat >>confdefs.h <<\_ACEOF
22014 #define HAVE_VA_COPY 1
22015 _ACEOF
22016
22017 else
22018 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22019 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22020 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 else
22023
22024 if test "$cross_compiling" = yes; then
22025 wx_cv_type_va_list_lvalue=yes
22026
22027 else
22028 cat >conftest.$ac_ext <<_ACEOF
22029
22030 #include <stdarg.h>
22031 int foo(char *f, ...)
22032 {
22033 va_list ap1, ap2;
22034 va_start(ap1, f);
22035 ap2 = ap1;
22036 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22037 return 1;
22038 va_end(ap2);
22039 va_end(ap1);
22040 return 0;
22041 }
22042 int main()
22043 {
22044 return foo("hi", 17);
22045 }
22046 _ACEOF
22047 rm -f conftest$ac_exeext
22048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22049 (eval $ac_link) 2>&5
22050 ac_status=$?
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 wx_cv_type_va_list_lvalue=yes
22059 else
22060 echo "$as_me: program exited with status $ac_status" >&5
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22063
22064 ( exit $ac_status )
22065 wx_cv_type_va_list_lvalue=no
22066 fi
22067 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22068 fi
22069
22070
22071 fi
22072 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22073 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22074
22075 if test $wx_cv_type_va_list_lvalue != "yes"; then
22076 cat >>confdefs.h <<\_ACEOF
22077 #define VA_LIST_IS_ARRAY 1
22078 _ACEOF
22079
22080 fi
22081 fi
22082
22083 # Check whether --enable-largefile or --disable-largefile was given.
22084 if test "${enable_largefile+set}" = set; then
22085 enableval="$enable_largefile"
22086
22087 fi;
22088 if test "$enable_largefile" != no; then
22089 wx_largefile=no
22090
22091 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22092 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22093 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 else
22096
22097 cat >conftest.$ac_ext <<_ACEOF
22098 /* confdefs.h. */
22099 _ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 #define _FILE_OFFSET_BITS 64
22104 #include <sys/types.h>
22105 int
22106 main ()
22107 {
22108 typedef struct {
22109 unsigned int field: sizeof(off_t) == 8;
22110 } wxlf;
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22119 ac_status=$?
22120 grep -v '^ *+' conftest.er1 >conftest.err
22121 rm -f conftest.er1
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try='test -s conftest.$ac_objext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 ac_cv_sys_file_offset_bits=64
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 ac_cv_sys_file_offset_bits=no
22143 fi
22144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22145
22146
22147 fi
22148 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22149 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22150
22151 if test "$ac_cv_sys_file_offset_bits" != no; then
22152 wx_largefile=yes
22153 cat >>confdefs.h <<_ACEOF
22154 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22155 _ACEOF
22156
22157 fi
22158
22159 if test "x$wx_largefile" != "xyes"; then
22160
22161 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22162 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22163 if test "${ac_cv_sys_large_files+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 else
22166
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 #define _LARGE_FILES 1
22174 #include <sys/types.h>
22175 int
22176 main ()
22177 {
22178 typedef struct {
22179 unsigned int field: sizeof(off_t) == 8;
22180 } wxlf;
22181
22182 ;
22183 return 0;
22184 }
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22188 (eval $ac_compile) 2>conftest.er1
22189 ac_status=$?
22190 grep -v '^ *+' conftest.er1 >conftest.err
22191 rm -f conftest.er1
22192 cat conftest.err >&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } &&
22195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22198 ac_status=$?
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try='test -s conftest.$ac_objext'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22204 ac_status=$?
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; }; then
22207 ac_cv_sys_large_files=1
22208 else
22209 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.$ac_ext >&5
22211
22212 ac_cv_sys_large_files=no
22213 fi
22214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22215
22216
22217 fi
22218 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22219 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22220
22221 if test "$ac_cv_sys_large_files" != no; then
22222 wx_largefile=yes
22223 cat >>confdefs.h <<_ACEOF
22224 #define _LARGE_FILES $ac_cv_sys_large_files
22225 _ACEOF
22226
22227 fi
22228
22229 fi
22230
22231 echo "$as_me:$LINENO: checking if large file support is available" >&5
22232 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22233 if test "x$wx_largefile" = "xyes"; then
22234 cat >>confdefs.h <<\_ACEOF
22235 #define HAVE_LARGEFILE_SUPPORT 1
22236 _ACEOF
22237
22238 fi
22239 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22240 echo "${ECHO_T}$wx_largefile" >&6
22241 fi
22242
22243
22244 if test "x$wx_largefile" = "xyes"; then
22245 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22246 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22247
22248 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22249 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22250 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22251 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22252 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 else
22254
22255 cat >conftest.$ac_ext <<_ACEOF
22256 /* confdefs.h. */
22257 _ACEOF
22258 cat confdefs.h >>conftest.$ac_ext
22259 cat >>conftest.$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22261
22262 int
22263 main ()
22264 {
22265
22266 #ifndef __STDC_EXT__
22267 choke me
22268 #endif
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22276 (eval $ac_compile) 2>conftest.er1
22277 ac_status=$?
22278 grep -v '^ *+' conftest.er1 >conftest.err
22279 rm -f conftest.er1
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try='test -s conftest.$ac_objext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 wx_cv_STDC_EXT_required=no
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 wx_cv_STDC_EXT_required=yes
22301
22302 fi
22303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22304
22305
22306 fi
22307 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22308 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22309 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22310 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22311 fi
22312 fi
22313 else
22314 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22315 fi
22316 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22317 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22318 if test "${ac_cv_sys_largefile_source+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22321 while :; do
22322 ac_cv_sys_largefile_source=no
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 #include <stdio.h>
22330 int
22331 main ()
22332 {
22333 return !fseeko;
22334 ;
22335 return 0;
22336 }
22337 _ACEOF
22338 rm -f conftest.$ac_objext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22340 (eval $ac_compile) 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } &&
22347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; } &&
22353 { ac_try='test -s conftest.$ac_objext'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; }; then
22359 break
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 fi
22365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22366 cat >conftest.$ac_ext <<_ACEOF
22367 /* confdefs.h. */
22368 _ACEOF
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 #define _LARGEFILE_SOURCE 1
22373 #include <stdio.h>
22374 int
22375 main ()
22376 {
22377 return !fseeko;
22378 ;
22379 return 0;
22380 }
22381 _ACEOF
22382 rm -f conftest.$ac_objext
22383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22384 (eval $ac_compile) 2>conftest.er1
22385 ac_status=$?
22386 grep -v '^ *+' conftest.er1 >conftest.err
22387 rm -f conftest.er1
22388 cat conftest.err >&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; } &&
22397 { ac_try='test -s conftest.$ac_objext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 ac_cv_sys_largefile_source=1; break
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 fi
22409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22410 break
22411 done
22412 fi
22413 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22414 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22415 if test "$ac_cv_sys_largefile_source" != no; then
22416
22417 cat >>confdefs.h <<_ACEOF
22418 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22419 _ACEOF
22420
22421 fi
22422 rm -f conftest*
22423
22424 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22425 # in glibc 2.1.3, but that breaks too many other things.
22426 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22427 echo "$as_me:$LINENO: checking for fseeko" >&5
22428 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22429 if test "${ac_cv_func_fseeko+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 else
22432 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 #include <stdio.h>
22439 int
22440 main ()
22441 {
22442 return fseeko && fseeko (stdin, 0, 0);
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext conftest$ac_exeext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22449 (eval $ac_link) 2>conftest.er1
22450 ac_status=$?
22451 grep -v '^ *+' conftest.er1 >conftest.err
22452 rm -f conftest.er1
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; } &&
22462 { ac_try='test -s conftest$ac_exeext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22468 ac_cv_func_fseeko=yes
22469 else
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22472
22473 ac_cv_func_fseeko=no
22474 fi
22475 rm -f conftest.err conftest.$ac_objext \
22476 conftest$ac_exeext conftest.$ac_ext
22477 fi
22478 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22479 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22480 if test $ac_cv_func_fseeko = yes; then
22481
22482 cat >>confdefs.h <<\_ACEOF
22483 #define HAVE_FSEEKO 1
22484 _ACEOF
22485
22486 fi
22487
22488 if test "$ac_cv_sys_largefile_source" != no; then
22489 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22490 fi
22491 fi
22492
22493 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22494 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22495 if test "${ac_cv_c_bigendian+set}" = set; then
22496 echo $ECHO_N "(cached) $ECHO_C" >&6
22497 else
22498 ac_cv_c_bigendian=unknown
22499 # See if sys/param.h defines the BYTE_ORDER macro.
22500 cat >conftest.$ac_ext <<_ACEOF
22501 /* confdefs.h. */
22502 _ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22506 #include <sys/types.h>
22507 #include <sys/param.h>
22508 int
22509 main ()
22510 {
22511
22512 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22513 bogus endian macros
22514 #endif
22515 ;
22516 return 0;
22517 }
22518 _ACEOF
22519 rm -f conftest.$ac_objext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22521 (eval $ac_compile) 2>conftest.er1
22522 ac_status=$?
22523 grep -v '^ *+' conftest.er1 >conftest.err
22524 rm -f conftest.er1
22525 cat conftest.err >&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } &&
22528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; } &&
22534 { ac_try='test -s conftest.$ac_objext'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; }; then
22540 # It does; now see whether it defined to BIG_ENDIAN or not.
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 #include <sys/types.h>
22548 #include <sys/param.h>
22549 int
22550 main ()
22551 {
22552
22553 #if BYTE_ORDER != BIG_ENDIAN
22554 not big endian
22555 #endif
22556 ;
22557 return 0;
22558 }
22559 _ACEOF
22560 rm -f conftest.$ac_objext
22561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22562 (eval $ac_compile) 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22572 ac_status=$?
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; } &&
22575 { ac_try='test -s conftest.$ac_objext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22581 ac_cv_c_bigendian=yes
22582 else
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22585
22586 ac_cv_c_bigendian=no
22587 fi
22588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 fi
22594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22595 if test $ac_cv_c_bigendian = unknown; then
22596 if test "$cross_compiling" = yes; then
22597 ac_cv_c_bigendian=unknown
22598 else
22599 cat >conftest.$ac_ext <<_ACEOF
22600 /* confdefs.h. */
22601 _ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 main () {
22606 /* Are we little or big endian? From Harbison&Steele. */
22607 union
22608 {
22609 long l;
22610 char c[sizeof (long)];
22611 } u;
22612 u.l = 1;
22613 exit (u.c[sizeof (long) - 1] == 1);
22614 }
22615 _ACEOF
22616 rm -f conftest$ac_exeext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22618 (eval $ac_link) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22623 (eval $ac_try) 2>&5
22624 ac_status=$?
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); }; }; then
22627 ac_cv_c_bigendian=no
22628 else
22629 echo "$as_me: program exited with status $ac_status" >&5
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ( exit $ac_status )
22634 ac_cv_c_bigendian=yes
22635 fi
22636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22637 fi
22638 fi
22639 fi
22640 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22641 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22642 if test $ac_cv_c_bigendian = unknown; then
22643 { 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
22644 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;}
22645 fi
22646 if test $ac_cv_c_bigendian = yes; then
22647 cat >>confdefs.h <<\_ACEOF
22648 #define WORDS_BIGENDIAN 1
22649 _ACEOF
22650
22651 fi
22652
22653
22654
22655
22656
22657 ac_ext=cc
22658 ac_cpp='$CXXCPP $CPPFLAGS'
22659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22662
22663
22664
22665 for ac_header in iostream
22666 do
22667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22669 echo "$as_me:$LINENO: checking for $ac_header" >&5
22670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 fi
22674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22676 else
22677 # Is the header compilable?
22678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 #include <$ac_header>
22688 _ACEOF
22689 rm -f conftest.$ac_objext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22691 (eval $ac_compile) 2>conftest.er1
22692 ac_status=$?
22693 grep -v '^ *+' conftest.er1 >conftest.err
22694 rm -f conftest.er1
22695 cat conftest.err >&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } &&
22698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700 (eval $ac_try) 2>&5
22701 ac_status=$?
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try='test -s conftest.$ac_objext'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22707 ac_status=$?
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; }; then
22710 ac_header_compiler=yes
22711 else
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22714
22715 ac_header_compiler=no
22716 fi
22717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22719 echo "${ECHO_T}$ac_header_compiler" >&6
22720
22721 # Is the header present?
22722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22724 cat >conftest.$ac_ext <<_ACEOF
22725 /* confdefs.h. */
22726 _ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 #include <$ac_header>
22731 _ACEOF
22732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22734 ac_status=$?
22735 grep -v '^ *+' conftest.er1 >conftest.err
22736 rm -f conftest.er1
22737 cat conftest.err >&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } >/dev/null; then
22740 if test -s conftest.err; then
22741 ac_cpp_err=$ac_cxx_preproc_warn_flag
22742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22743 else
22744 ac_cpp_err=
22745 fi
22746 else
22747 ac_cpp_err=yes
22748 fi
22749 if test -z "$ac_cpp_err"; then
22750 ac_header_preproc=yes
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 ac_header_preproc=no
22756 fi
22757 rm -f conftest.err conftest.$ac_ext
22758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22759 echo "${ECHO_T}$ac_header_preproc" >&6
22760
22761 # So? What about this header?
22762 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22763 yes:no: )
22764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22768 ac_header_preproc=yes
22769 ;;
22770 no:yes:* )
22771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22783 (
22784 cat <<\_ASBOX
22785 ## ----------------------------------------- ##
22786 ## Report this to wx-dev@lists.wxwidgets.org ##
22787 ## ----------------------------------------- ##
22788 _ASBOX
22789 ) |
22790 sed "s/^/$as_me: WARNING: /" >&2
22791 ;;
22792 esac
22793 echo "$as_me:$LINENO: checking for $ac_header" >&5
22794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22796 echo $ECHO_N "(cached) $ECHO_C" >&6
22797 else
22798 eval "$as_ac_Header=\$ac_header_preproc"
22799 fi
22800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22802
22803 fi
22804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22805 cat >>confdefs.h <<_ACEOF
22806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22807 _ACEOF
22808
22809 fi
22810
22811 done
22812
22813
22814 if test "$ac_cv_header_iostream" = "yes" ; then
22815 :
22816 else
22817 cat >>confdefs.h <<\_ACEOF
22818 #define wxUSE_IOSTREAMH 1
22819 _ACEOF
22820
22821 fi
22822
22823 ac_ext=cc
22824 ac_cpp='$CXXCPP $CPPFLAGS'
22825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22828
22829
22830
22831
22832 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22833 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22834 if test "${wx_cv_cpp_bool+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 else
22837
22838
22839
22840 ac_ext=cc
22841 ac_cpp='$CXXCPP $CPPFLAGS'
22842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845
22846
22847 cat >conftest.$ac_ext <<_ACEOF
22848 /* confdefs.h. */
22849 _ACEOF
22850 cat confdefs.h >>conftest.$ac_ext
22851 cat >>conftest.$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22853
22854
22855 int
22856 main ()
22857 {
22858
22859 bool b = true;
22860
22861 return 0;
22862
22863 ;
22864 return 0;
22865 }
22866 _ACEOF
22867 rm -f conftest.$ac_objext
22868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22869 (eval $ac_compile) 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; } &&
22882 { ac_try='test -s conftest.$ac_objext'
22883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22884 (eval $ac_try) 2>&5
22885 ac_status=$?
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; }; then
22888
22889 wx_cv_cpp_bool=yes
22890
22891 else
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22894
22895
22896 wx_cv_cpp_bool=no
22897
22898
22899 fi
22900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22901
22902 ac_ext=cc
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907
22908
22909 fi
22910 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22911 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22912
22913 if test "$wx_cv_cpp_bool" = "yes"; then
22914 cat >>confdefs.h <<\_ACEOF
22915 #define HAVE_BOOL 1
22916 _ACEOF
22917
22918 fi
22919
22920
22921
22922 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22923 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22924 if test "${wx_cv_explicit+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 else
22927
22928
22929
22930 ac_ext=cc
22931 ac_cpp='$CXXCPP $CPPFLAGS'
22932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22935
22936
22937 cat >conftest.$ac_ext <<_ACEOF
22938 /* confdefs.h. */
22939 _ACEOF
22940 cat confdefs.h >>conftest.$ac_ext
22941 cat >>conftest.$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943
22944 class Foo { public: explicit Foo(int) {} };
22945
22946 int
22947 main ()
22948 {
22949
22950 return 0;
22951
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 rm -f conftest.$ac_objext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22958 (eval $ac_compile) 2>conftest.er1
22959 ac_status=$?
22960 grep -v '^ *+' conftest.er1 >conftest.err
22961 rm -f conftest.er1
22962 cat conftest.err >&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977
22978 cat >conftest.$ac_ext <<_ACEOF
22979 /* confdefs.h. */
22980 _ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984
22985 class Foo { public: explicit Foo(int) {} };
22986 static void TakeFoo(const Foo& foo) { }
22987
22988 int
22989 main ()
22990 {
22991
22992 TakeFoo(17);
22993 return 0;
22994
22995 ;
22996 return 0;
22997 }
22998 _ACEOF
22999 rm -f conftest.$ac_objext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23001 (eval $ac_compile) 2>conftest.er1
23002 ac_status=$?
23003 grep -v '^ *+' conftest.er1 >conftest.err
23004 rm -f conftest.er1
23005 cat conftest.err >&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } &&
23008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010 (eval $ac_try) 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); }; } &&
23014 { ac_try='test -s conftest.$ac_objext'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; }; then
23020 wx_cv_explicit=no
23021 else
23022 echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.$ac_ext >&5
23024
23025 wx_cv_explicit=yes
23026
23027 fi
23028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23029
23030 else
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.$ac_ext >&5
23033
23034 wx_cv_explicit=no
23035
23036 fi
23037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23038
23039 ac_ext=cc
23040 ac_cpp='$CXXCPP $CPPFLAGS'
23041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044
23045
23046 fi
23047 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23048 echo "${ECHO_T}$wx_cv_explicit" >&6
23049
23050 if test "$wx_cv_explicit" = "yes"; then
23051 cat >>confdefs.h <<\_ACEOF
23052 #define HAVE_EXPLICIT 1
23053 _ACEOF
23054
23055 fi
23056
23057
23058 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23059 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23060 if test "${ac_cv_cxx_const_cast+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063
23064
23065 ac_ext=cc
23066 ac_cpp='$CXXCPP $CPPFLAGS'
23067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23070
23071 cat >conftest.$ac_ext <<_ACEOF
23072 /* confdefs.h. */
23073 _ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077
23078 int
23079 main ()
23080 {
23081 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23082 ;
23083 return 0;
23084 }
23085 _ACEOF
23086 rm -f conftest.$ac_objext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23088 (eval $ac_compile) 2>conftest.er1
23089 ac_status=$?
23090 grep -v '^ *+' conftest.er1 >conftest.err
23091 rm -f conftest.er1
23092 cat conftest.err >&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; } &&
23101 { ac_try='test -s conftest.$ac_objext'
23102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103 (eval $ac_try) 2>&5
23104 ac_status=$?
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); }; }; then
23107 ac_cv_cxx_const_cast=yes
23108 else
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23111
23112 ac_cv_cxx_const_cast=no
23113 fi
23114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23115 ac_ext=cc
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23120
23121
23122 fi
23123 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23124 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23125 if test "$ac_cv_cxx_const_cast" = yes; then
23126
23127 cat >>confdefs.h <<\_ACEOF
23128 #define HAVE_CONST_CAST
23129 _ACEOF
23130
23131 fi
23132
23133 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23134 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23135 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 else
23138
23139
23140 ac_ext=cc
23141 ac_cpp='$CXXCPP $CPPFLAGS'
23142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23145
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #include <typeinfo>
23153 class Base { public : Base () {} virtual void f () = 0;};
23154 class Derived : public Base { public : Derived () {} virtual void f () {} };
23155 class Unrelated { public : Unrelated () {} };
23156 int g (Unrelated&) { return 0; }
23157 int
23158 main ()
23159 {
23160
23161 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23162 ;
23163 return 0;
23164 }
23165 _ACEOF
23166 rm -f conftest.$ac_objext
23167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23168 (eval $ac_compile) 2>conftest.er1
23169 ac_status=$?
23170 grep -v '^ *+' conftest.er1 >conftest.err
23171 rm -f conftest.er1
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } &&
23175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23178 ac_status=$?
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; } &&
23181 { ac_try='test -s conftest.$ac_objext'
23182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23183 (eval $ac_try) 2>&5
23184 ac_status=$?
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; }; then
23187 ac_cv_cxx_reinterpret_cast=yes
23188 else
23189 echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.$ac_ext >&5
23191
23192 ac_cv_cxx_reinterpret_cast=no
23193 fi
23194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23195 ac_ext=cc
23196 ac_cpp='$CXXCPP $CPPFLAGS'
23197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23200
23201
23202 fi
23203 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23204 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23205 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23206
23207 cat >>confdefs.h <<\_ACEOF
23208 #define HAVE_REINTERPRET_CAST
23209 _ACEOF
23210
23211 fi
23212
23213 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23214 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23215 if test "${ac_cv_cxx_static_cast+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23217 else
23218
23219
23220 ac_ext=cc
23221 ac_cpp='$CXXCPP $CPPFLAGS'
23222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23225
23226 cat >conftest.$ac_ext <<_ACEOF
23227 /* confdefs.h. */
23228 _ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 #include <typeinfo>
23233 class Base { public : Base () {} virtual void f () = 0; };
23234 class Derived : public Base { public : Derived () {} virtual void f () {} };
23235 int g (Derived&) { return 0; }
23236 int
23237 main ()
23238 {
23239
23240 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23247 (eval $ac_compile) 2>conftest.er1
23248 ac_status=$?
23249 grep -v '^ *+' conftest.er1 >conftest.err
23250 rm -f conftest.er1
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23257 ac_status=$?
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try='test -s conftest.$ac_objext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23263 ac_status=$?
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 ac_cv_cxx_static_cast=yes
23267 else
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.$ac_ext >&5
23270
23271 ac_cv_cxx_static_cast=no
23272 fi
23273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23274 ac_ext=cc
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
23280
23281 fi
23282 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23283 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23284 if test "$ac_cv_cxx_static_cast" = yes; then
23285
23286 cat >>confdefs.h <<\_ACEOF
23287 #define HAVE_STATIC_CAST
23288 _ACEOF
23289
23290 fi
23291
23292
23293 if test "x$SUNCXX" = xyes; then
23294 CXXFLAGS="-features=tmplife $CXXFLAGS"
23295 fi
23296
23297 if test "x$SUNCC" = xyes; then
23298 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23299 fi
23300
23301 if test "x$SGICC" = "xyes"; then
23302 CFLAGS="-woff 3970 $CFLAGS"
23303 fi
23304 if test "x$SGICXX" = "xyes"; then
23305 CXXFLAGS="-woff 3970 $CXXFLAGS"
23306 fi
23307
23308 if test "x$HPCC" = "xyes"; then
23309 CFLAGS="+W 2011,2450 $CFLAGS"
23310 fi
23311 if test "x$HPCXX" = "xyes"; then
23312 CXXFLAGS="+W 2340 $CXXFLAGS"
23313 fi
23314
23315 if test "x$COMPAQCXX" = "xyes"; then
23316 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23317 fi
23318
23319 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23320 if test "$wxUSE_UNICODE" = "yes"; then
23321 std_string="std::wstring"
23322 char_type="wchar_t"
23323 else
23324 std_string="std::string"
23325 char_type="char"
23326 fi
23327
23328 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23329 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23330 cat >conftest.$ac_ext <<_ACEOF
23331 /* confdefs.h. */
23332 _ACEOF
23333 cat confdefs.h >>conftest.$ac_ext
23334 cat >>conftest.$ac_ext <<_ACEOF
23335 /* end confdefs.h. */
23336 #include <string>
23337 int
23338 main ()
23339 {
23340 $std_string foo;
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 rm -f conftest.$ac_objext
23346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23347 (eval $ac_compile) 2>conftest.er1
23348 ac_status=$?
23349 grep -v '^ *+' conftest.er1 >conftest.err
23350 rm -f conftest.er1
23351 cat conftest.err >&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } &&
23354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23357 ac_status=$?
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; } &&
23360 { ac_try='test -s conftest.$ac_objext'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23363 ac_status=$?
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; }; then
23366 echo "$as_me:$LINENO: result: yes" >&5
23367 echo "${ECHO_T}yes" >&6
23368 cat >>confdefs.h <<\_ACEOF
23369 #define HAVE_STD_WSTRING 1
23370 _ACEOF
23371
23372 else
23373 echo "$as_me: failed program was:" >&5
23374 sed 's/^/| /' conftest.$ac_ext >&5
23375
23376 echo "$as_me:$LINENO: result: no" >&5
23377 echo "${ECHO_T}no" >&6
23378 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23379 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386
23387 #ifdef HAVE_WCHAR_H
23388 # ifdef __CYGWIN__
23389 # include <stddef.h>
23390 # endif
23391 # include <wchar.h>
23392 #endif
23393 #ifdef HAVE_STDLIB_H
23394 # include <stdlib.h>
23395 #endif
23396 #include <stdio.h>
23397 #include <string>
23398
23399 int
23400 main ()
23401 {
23402 std::basic_string<$char_type> foo;
23403 const $char_type* dummy = foo.c_str();
23404 ;
23405 return 0;
23406 }
23407 _ACEOF
23408 rm -f conftest.$ac_objext
23409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23410 (eval $ac_compile) 2>conftest.er1
23411 ac_status=$?
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; } &&
23423 { ac_try='test -s conftest.$ac_objext'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23426 ac_status=$?
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 echo "$as_me:$LINENO: result: yes" >&5
23430 echo "${ECHO_T}yes" >&6
23431 else
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23434
23435 echo "$as_me:$LINENO: result: no" >&5
23436 echo "${ECHO_T}no" >&6
23437 if test "$wxUSE_STL" = "yes"; then
23438 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23439 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23440 { (exit 1); exit 1; }; }
23441 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23442 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23443 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23444 { (exit 1); exit 1; }; }
23445 else
23446 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23447 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23448 wxUSE_STD_STRING=no
23449 fi
23450
23451
23452 fi
23453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23454
23455 fi
23456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23457 fi
23458
23459 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23460 echo "$as_me:$LINENO: checking for std::istream" >&5
23461 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23462 if test "${ac_cv_type_std__istream+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 else
23465 cat >conftest.$ac_ext <<_ACEOF
23466 /* confdefs.h. */
23467 _ACEOF
23468 cat confdefs.h >>conftest.$ac_ext
23469 cat >>conftest.$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 #include <iostream>
23472
23473 int
23474 main ()
23475 {
23476 if ((std::istream *) 0)
23477 return 0;
23478 if (sizeof (std::istream))
23479 return 0;
23480 ;
23481 return 0;
23482 }
23483 _ACEOF
23484 rm -f conftest.$ac_objext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23486 (eval $ac_compile) 2>conftest.er1
23487 ac_status=$?
23488 grep -v '^ *+' conftest.er1 >conftest.err
23489 rm -f conftest.er1
23490 cat conftest.err >&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23496 ac_status=$?
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try='test -s conftest.$ac_objext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_type_std__istream=yes
23506 else
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 ac_cv_type_std__istream=no
23511 fi
23512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23513 fi
23514 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23515 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23516 if test $ac_cv_type_std__istream = yes; then
23517
23518 cat >>confdefs.h <<_ACEOF
23519 #define HAVE_STD__ISTREAM 1
23520 _ACEOF
23521
23522
23523 else
23524 wxUSE_STD_IOSTREAM=no
23525 fi
23526 echo "$as_me:$LINENO: checking for std::ostream" >&5
23527 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23528 if test "${ac_cv_type_std__ostream+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 else
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 #include <iostream>
23538
23539 int
23540 main ()
23541 {
23542 if ((std::ostream *) 0)
23543 return 0;
23544 if (sizeof (std::ostream))
23545 return 0;
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext
23551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23552 (eval $ac_compile) 2>conftest.er1
23553 ac_status=$?
23554 grep -v '^ *+' conftest.er1 >conftest.err
23555 rm -f conftest.er1
23556 cat conftest.err >&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); } &&
23559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23562 ac_status=$?
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; } &&
23565 { ac_try='test -s conftest.$ac_objext'
23566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23567 (eval $ac_try) 2>&5
23568 ac_status=$?
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); }; }; then
23571 ac_cv_type_std__ostream=yes
23572 else
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.$ac_ext >&5
23575
23576 ac_cv_type_std__ostream=no
23577 fi
23578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23579 fi
23580 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23581 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23582 if test $ac_cv_type_std__ostream = yes; then
23583
23584 cat >>confdefs.h <<_ACEOF
23585 #define HAVE_STD__OSTREAM 1
23586 _ACEOF
23587
23588
23589 else
23590 wxUSE_STD_IOSTREAM=no
23591 fi
23592
23593
23594 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23595 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23596 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23597 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23598 { (exit 1); exit 1; }; }
23599 else
23600 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23601 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23602 fi
23603 fi
23604 fi
23605
23606 if test "$wxUSE_STL" = "yes"; then
23607 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23608 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23609 cat >conftest.$ac_ext <<_ACEOF
23610 /* confdefs.h. */
23611 _ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615 #include <string>
23616 #include <functional>
23617 #include <algorithm>
23618 #include <vector>
23619 #include <list>
23620 int
23621 main ()
23622 {
23623 std::vector<int> moo;
23624 std::list<int> foo;
23625 std::vector<int>::iterator it =
23626 std::find_if(moo.begin(), moo.end(),
23627 std::bind2nd(std::less<int>(), 3));
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23634 (eval $ac_compile) 2>conftest.er1
23635 ac_status=$?
23636 grep -v '^ *+' conftest.er1 >conftest.err
23637 rm -f conftest.er1
23638 cat conftest.err >&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try='test -s conftest.$ac_objext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 echo "$as_me:$LINENO: result: yes" >&5
23654 echo "${ECHO_T}yes" >&6
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 echo "$as_me:$LINENO: result: no" >&5
23660 echo "${ECHO_T}no" >&6
23661 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23662 echo "$as_me: error: Basic STL functionality missing" >&2;}
23663 { (exit 1); exit 1; }; }
23664 fi
23665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23666
23667 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23668 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23669 cat >conftest.$ac_ext <<_ACEOF
23670 /* confdefs.h. */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 #include <string>
23676 int
23677 main ()
23678 {
23679 std::string foo, bar;
23680 foo.compare(bar);
23681 foo.compare(1, 1, bar);
23682 foo.compare(1, 1, bar, 1, 1);
23683 foo.compare("");
23684 foo.compare(1, 1, "");
23685 foo.compare(1, 1, "", 2);
23686 ;
23687 return 0;
23688 }
23689 _ACEOF
23690 rm -f conftest.$ac_objext
23691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23692 (eval $ac_compile) 2>conftest.er1
23693 ac_status=$?
23694 grep -v '^ *+' conftest.er1 >conftest.err
23695 rm -f conftest.er1
23696 cat conftest.err >&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); } &&
23699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23701 (eval $ac_try) 2>&5
23702 ac_status=$?
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); }; } &&
23705 { ac_try='test -s conftest.$ac_objext'
23706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707 (eval $ac_try) 2>&5
23708 ac_status=$?
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); }; }; then
23711 echo "$as_me:$LINENO: result: yes" >&5
23712 echo "${ECHO_T}yes" >&6
23713 cat >>confdefs.h <<\_ACEOF
23714 #define HAVE_STD_STRING_COMPARE 1
23715 _ACEOF
23716
23717 else
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.$ac_ext >&5
23720
23721 echo "$as_me:$LINENO: result: no" >&5
23722 echo "${ECHO_T}no" >&6
23723 fi
23724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23725
23726 if test "${ac_cv_header_hash_map+set}" = set; then
23727 echo "$as_me:$LINENO: checking for hash_map" >&5
23728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23729 if test "${ac_cv_header_hash_map+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 fi
23732 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23733 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23734 else
23735 # Is the header compilable?
23736 echo "$as_me:$LINENO: checking hash_map usability" >&5
23737 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23738 cat >conftest.$ac_ext <<_ACEOF
23739 /* confdefs.h. */
23740 _ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23744 $ac_includes_default
23745 #include <hash_map>
23746 _ACEOF
23747 rm -f conftest.$ac_objext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23749 (eval $ac_compile) 2>conftest.er1
23750 ac_status=$?
23751 grep -v '^ *+' conftest.er1 >conftest.err
23752 rm -f conftest.er1
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23759 ac_status=$?
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; } &&
23762 { ac_try='test -s conftest.$ac_objext'
23763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23764 (eval $ac_try) 2>&5
23765 ac_status=$?
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); }; }; then
23768 ac_header_compiler=yes
23769 else
23770 echo "$as_me: failed program was:" >&5
23771 sed 's/^/| /' conftest.$ac_ext >&5
23772
23773 ac_header_compiler=no
23774 fi
23775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23777 echo "${ECHO_T}$ac_header_compiler" >&6
23778
23779 # Is the header present?
23780 echo "$as_me:$LINENO: checking hash_map presence" >&5
23781 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23782 cat >conftest.$ac_ext <<_ACEOF
23783 /* confdefs.h. */
23784 _ACEOF
23785 cat confdefs.h >>conftest.$ac_ext
23786 cat >>conftest.$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23788 #include <hash_map>
23789 _ACEOF
23790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } >/dev/null; then
23798 if test -s conftest.err; then
23799 ac_cpp_err=$ac_cxx_preproc_warn_flag
23800 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23801 else
23802 ac_cpp_err=
23803 fi
23804 else
23805 ac_cpp_err=yes
23806 fi
23807 if test -z "$ac_cpp_err"; then
23808 ac_header_preproc=yes
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 ac_header_preproc=no
23814 fi
23815 rm -f conftest.err conftest.$ac_ext
23816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23817 echo "${ECHO_T}$ac_header_preproc" >&6
23818
23819 # So? What about this header?
23820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23821 yes:no: )
23822 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23823 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23825 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23826 ac_header_preproc=yes
23827 ;;
23828 no:yes:* )
23829 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23830 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23832 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23833 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23834 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23835 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23836 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23837 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23838 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23839 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23840 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23841 (
23842 cat <<\_ASBOX
23843 ## ----------------------------------------- ##
23844 ## Report this to wx-dev@lists.wxwidgets.org ##
23845 ## ----------------------------------------- ##
23846 _ASBOX
23847 ) |
23848 sed "s/^/$as_me: WARNING: /" >&2
23849 ;;
23850 esac
23851 echo "$as_me:$LINENO: checking for hash_map" >&5
23852 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23853 if test "${ac_cv_header_hash_map+set}" = set; then
23854 echo $ECHO_N "(cached) $ECHO_C" >&6
23855 else
23856 ac_cv_header_hash_map=$ac_header_preproc
23857 fi
23858 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23859 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23860
23861 fi
23862 if test $ac_cv_header_hash_map = yes; then
23863 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23864 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23865 cat >conftest.$ac_ext <<_ACEOF
23866 /* confdefs.h. */
23867 _ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23871 #include <hash_map>
23872 #include <hash_set>
23873 int
23874 main ()
23875 {
23876 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23877 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23878 ;
23879 return 0;
23880 }
23881 _ACEOF
23882 rm -f conftest.$ac_objext
23883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23884 (eval $ac_compile) 2>conftest.er1
23885 ac_status=$?
23886 grep -v '^ *+' conftest.er1 >conftest.err
23887 rm -f conftest.er1
23888 cat conftest.err >&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } &&
23891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23894 ac_status=$?
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; } &&
23897 { ac_try='test -s conftest.$ac_objext'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23900 ac_status=$?
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; }; then
23903 echo "$as_me:$LINENO: result: yes" >&5
23904 echo "${ECHO_T}yes" >&6
23905 cat >>confdefs.h <<\_ACEOF
23906 #define HAVE_HASH_MAP 1
23907 _ACEOF
23908
23909 cat >>confdefs.h <<\_ACEOF
23910 #define HAVE_STD_HASH_MAP 1
23911 _ACEOF
23912
23913 else
23914 echo "$as_me: failed program was:" >&5
23915 sed 's/^/| /' conftest.$ac_ext >&5
23916
23917 echo "$as_me:$LINENO: result: no" >&5
23918 echo "${ECHO_T}no" >&6
23919 fi
23920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23921
23922 fi
23923
23924
23925
23926 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23927 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23928 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23929 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 fi
23932 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23933 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23934 else
23935 # Is the header compilable?
23936 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23937 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 #include <ext/hash_map>
23946 _ACEOF
23947 rm -f conftest.$ac_objext
23948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23949 (eval $ac_compile) 2>conftest.er1
23950 ac_status=$?
23951 grep -v '^ *+' conftest.er1 >conftest.err
23952 rm -f conftest.er1
23953 cat conftest.err >&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } &&
23956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23959 ac_status=$?
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try='test -s conftest.$ac_objext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23965 ac_status=$?
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 ac_header_compiler=yes
23969 else
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.$ac_ext >&5
23972
23973 ac_header_compiler=no
23974 fi
23975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23977 echo "${ECHO_T}$ac_header_compiler" >&6
23978
23979 # Is the header present?
23980 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23981 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <ext/hash_map>
23989 _ACEOF
23990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23992 ac_status=$?
23993 grep -v '^ *+' conftest.er1 >conftest.err
23994 rm -f conftest.er1
23995 cat conftest.err >&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } >/dev/null; then
23998 if test -s conftest.err; then
23999 ac_cpp_err=$ac_cxx_preproc_warn_flag
24000 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24001 else
24002 ac_cpp_err=
24003 fi
24004 else
24005 ac_cpp_err=yes
24006 fi
24007 if test -z "$ac_cpp_err"; then
24008 ac_header_preproc=yes
24009 else
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 ac_header_preproc=no
24014 fi
24015 rm -f conftest.err conftest.$ac_ext
24016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24017 echo "${ECHO_T}$ac_header_preproc" >&6
24018
24019 # So? What about this header?
24020 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24021 yes:no: )
24022 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24023 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24024 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24025 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24026 ac_header_preproc=yes
24027 ;;
24028 no:yes:* )
24029 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24030 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24031 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24032 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24033 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24034 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24036 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24037 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24038 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24039 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24040 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24041 (
24042 cat <<\_ASBOX
24043 ## ----------------------------------------- ##
24044 ## Report this to wx-dev@lists.wxwidgets.org ##
24045 ## ----------------------------------------- ##
24046 _ASBOX
24047 ) |
24048 sed "s/^/$as_me: WARNING: /" >&2
24049 ;;
24050 esac
24051 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24052 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24053 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24054 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 else
24056 ac_cv_header_ext_hash_map=$ac_header_preproc
24057 fi
24058 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24059 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24060
24061 fi
24062 if test $ac_cv_header_ext_hash_map = yes; then
24063 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24064 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24065 cat >conftest.$ac_ext <<_ACEOF
24066 /* confdefs.h. */
24067 _ACEOF
24068 cat confdefs.h >>conftest.$ac_ext
24069 cat >>conftest.$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24071 #include <ext/hash_map>
24072 #include <ext/hash_set>
24073 int
24074 main ()
24075 {
24076 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24077 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24078 ;
24079 return 0;
24080 }
24081 _ACEOF
24082 rm -f conftest.$ac_objext
24083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24084 (eval $ac_compile) 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24094 ac_status=$?
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; } &&
24097 { ac_try='test -s conftest.$ac_objext'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24100 ac_status=$?
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; }; then
24103 echo "$as_me:$LINENO: result: yes" >&5
24104 echo "${ECHO_T}yes" >&6
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE_EXT_HASH_MAP 1
24107 _ACEOF
24108
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE_GNU_CXX_HASH_MAP 1
24111 _ACEOF
24112
24113 else
24114 echo "$as_me: failed program was:" >&5
24115 sed 's/^/| /' conftest.$ac_ext >&5
24116
24117 echo "$as_me:$LINENO: result: no" >&5
24118 echo "${ECHO_T}no" >&6
24119 fi
24120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24121
24122 fi
24123
24124
24125 fi
24126
24127
24128 SEARCH_INCLUDE="\
24129 /usr/local/include \
24130 \
24131 /usr/Motif-2.1/include \
24132 /usr/Motif-1.2/include \
24133 /usr/include/Motif1.2 \
24134 \
24135 /usr/dt/include \
24136 /usr/openwin/include \
24137 \
24138 /usr/include/Xm \
24139 \
24140 /usr/X11R6/include \
24141 /usr/X11R6.4/include \
24142 /usr/X11R5/include \
24143 /usr/X11R4/include \
24144 \
24145 /usr/include/X11R6 \
24146 /usr/include/X11R5 \
24147 /usr/include/X11R4 \
24148 \
24149 /usr/local/X11R6/include \
24150 /usr/local/X11R5/include \
24151 /usr/local/X11R4/include \
24152 \
24153 /usr/local/include/X11R6 \
24154 /usr/local/include/X11R5 \
24155 /usr/local/include/X11R4 \
24156 \
24157 /usr/X11/include \
24158 /usr/include/X11 \
24159 /usr/local/X11/include \
24160 /usr/local/include/X11 \
24161 \
24162 /usr/XFree86/include/X11 \
24163 /usr/pkg/include \
24164 \
24165 /usr/openwin/share/include"
24166
24167 echo "$as_me:$LINENO: checking for libraries directory" >&5
24168 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24169
24170 case "${host}" in
24171 *-*-irix6* )
24172 if test "${wx_cv_std_libpath+set}" = set; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 else
24175
24176 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24177 for e in a so sl dylib dll.a; do
24178 libc="$d/libc.$e"
24179 if test -f $libc; then
24180 save_LIBS="$LIBS"
24181 LIBS="$libc"
24182 cat >conftest.$ac_ext <<_ACEOF
24183 int main() { return 0; }
24184 _ACEOF
24185 rm -f conftest.$ac_objext conftest$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24188 ac_status=$?
24189 grep -v '^ *+' conftest.er1 >conftest.err
24190 rm -f conftest.er1
24191 cat conftest.err >&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; } &&
24200 { ac_try='test -s conftest$ac_exeext'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; }; then
24206 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24207 else
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24210
24211 fi
24212 rm -f conftest.err conftest.$ac_objext \
24213 conftest$ac_exeext conftest.$ac_ext
24214 LIBS="$save_LIBS"
24215 if test "x$wx_cv_std_libpath" != "x"; then
24216 break 2
24217 fi
24218 fi
24219 done
24220 done
24221 if test "x$wx_cv_std_libpath" = "x"; then
24222 wx_cv_std_libpath="lib"
24223 fi
24224
24225
24226 fi
24227
24228 ;;
24229
24230 *-*-solaris2* )
24231 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24232 wx_cv_std_libpath="lib/64"
24233 else
24234 wx_cv_std_libpath="lib"
24235 fi
24236 ;;
24237
24238 *-*-linux* )
24239 if test "$ac_cv_sizeof_void_p" = 8 -a \
24240 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24241 wx_cv_std_libpath="lib64"
24242 else
24243 wx_cv_std_libpath="lib"
24244 fi
24245 ;;
24246
24247 *)
24248 wx_cv_std_libpath="lib";
24249 ;;
24250 esac
24251
24252 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24253 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24254
24255 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24256
24257 if test "$build" != "$host" -a "$GCC" = yes; then
24258 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24259 cross_root=`dirname $cross_root`
24260 cross_root=`dirname $cross_root`
24261
24262 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24263 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24264 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24265
24266 if test -z "$PKG_CONFIG_PATH"; then
24267 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24268 export PKG_CONFIG_PATH
24269 fi
24270
24271 if test -z "$x_includes" -o "$x_includes" = NONE; then
24272
24273 ac_find_includes=
24274 for ac_dir in $SEARCH_INCLUDE /usr/include;
24275 do
24276 if test -f "$ac_dir/X11/Intrinsic.h"; then
24277 ac_find_includes=$ac_dir
24278 break
24279 fi
24280 done
24281
24282 x_includes=$ac_find_includes
24283 fi
24284 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24285
24286 ac_find_libraries=
24287 for ac_dir in $SEARCH_LIB;
24288 do
24289 for ac_extension in a so sl dylib dll.a; do
24290 if test -f "$ac_dir/libXt.$ac_extension"; then
24291 ac_find_libraries=$ac_dir
24292 break 2
24293 fi
24294 done
24295 done
24296
24297 x_libraries=$ac_find_libraries
24298 fi
24299 fi
24300 fi
24301
24302
24303 cat >confcache <<\_ACEOF
24304 # This file is a shell script that caches the results of configure
24305 # tests run on this system so they can be shared between configure
24306 # scripts and configure runs, see configure's option --config-cache.
24307 # It is not useful on other systems. If it contains results you don't
24308 # want to keep, you may remove or edit it.
24309 #
24310 # config.status only pays attention to the cache file if you give it
24311 # the --recheck option to rerun configure.
24312 #
24313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24315 # following values.
24316
24317 _ACEOF
24318
24319 # The following way of writing the cache mishandles newlines in values,
24320 # but we know of no workaround that is simple, portable, and efficient.
24321 # So, don't put newlines in cache variables' values.
24322 # Ultrix sh set writes to stderr and can't be redirected directly,
24323 # and sets the high bit in the cache file unless we assign to the vars.
24324 {
24325 (set) 2>&1 |
24326 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24327 *ac_space=\ *)
24328 # `set' does not quote correctly, so add quotes (double-quote
24329 # substitution turns \\\\ into \\, and sed turns \\ into \).
24330 sed -n \
24331 "s/'/'\\\\''/g;
24332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24333 ;;
24334 *)
24335 # `set' quotes correctly as required by POSIX, so do not add quotes.
24336 sed -n \
24337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24338 ;;
24339 esac;
24340 } |
24341 sed '
24342 t clear
24343 : clear
24344 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24345 t end
24346 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24347 : end' >>confcache
24348 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24349 if test -w $cache_file; then
24350 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24351 cat confcache >$cache_file
24352 else
24353 echo "not updating unwritable cache $cache_file"
24354 fi
24355 fi
24356 rm -f confcache
24357
24358 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24359 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24360 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24361 if test "${wx_cv_lib_glibc21+set}" = set; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364
24365 cat >conftest.$ac_ext <<_ACEOF
24366 /* confdefs.h. */
24367 _ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 #include <features.h>
24372 int
24373 main ()
24374 {
24375
24376 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24377 not glibc 2.1
24378 #endif
24379
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 rm -f conftest.$ac_objext
24385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24386 (eval $ac_compile) 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } &&
24393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395 (eval $ac_try) 2>&5
24396 ac_status=$?
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; } &&
24399 { ac_try='test -s conftest.$ac_objext'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24402 ac_status=$?
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; }; then
24405
24406 wx_cv_lib_glibc21=yes
24407
24408 else
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.$ac_ext >&5
24411
24412
24413 wx_cv_lib_glibc21=no
24414
24415
24416 fi
24417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24418
24419 fi
24420 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24421 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24422 if test "$wx_cv_lib_glibc21" = "yes"; then
24423 cat >>confdefs.h <<\_ACEOF
24424 #define wxHAVE_GLIBC2 1
24425 _ACEOF
24426
24427 fi
24428 fi
24429
24430 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24431 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24432 cat >>confdefs.h <<\_ACEOF
24433 #define _GNU_SOURCE 1
24434 _ACEOF
24435
24436 fi
24437 fi
24438
24439 have_cos=0
24440 have_floor=0
24441
24442 for ac_func in cos
24443 do
24444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24445 echo "$as_me:$LINENO: checking for $ac_func" >&5
24446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24447 if eval "test \"\${$as_ac_var+set}\" = set"; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24449 else
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24458 #define $ac_func innocuous_$ac_func
24459
24460 /* System header to define __stub macros and hopefully few prototypes,
24461 which can conflict with char $ac_func (); below.
24462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24463 <limits.h> exists even on freestanding compilers. */
24464
24465 #ifdef __STDC__
24466 # include <limits.h>
24467 #else
24468 # include <assert.h>
24469 #endif
24470
24471 #undef $ac_func
24472
24473 /* Override any gcc2 internal prototype to avoid an error. */
24474 #ifdef __cplusplus
24475 extern "C"
24476 {
24477 #endif
24478 /* We use char because int might match the return type of a gcc2
24479 builtin and then its argument prototype would still apply. */
24480 char $ac_func ();
24481 /* The GNU C library defines this for functions which it implements
24482 to always fail with ENOSYS. Some functions are actually named
24483 something starting with __ and the normal name is an alias. */
24484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24485 choke me
24486 #else
24487 char (*f) () = $ac_func;
24488 #endif
24489 #ifdef __cplusplus
24490 }
24491 #endif
24492
24493 int
24494 main ()
24495 {
24496 return f != $ac_func;
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 rm -f conftest.$ac_objext conftest$ac_exeext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24503 (eval $ac_link) 2>conftest.er1
24504 ac_status=$?
24505 grep -v '^ *+' conftest.er1 >conftest.err
24506 rm -f conftest.er1
24507 cat conftest.err >&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } &&
24510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24512 (eval $ac_try) 2>&5
24513 ac_status=$?
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); }; } &&
24516 { ac_try='test -s conftest$ac_exeext'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24519 ac_status=$?
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; }; then
24522 eval "$as_ac_var=yes"
24523 else
24524 echo "$as_me: failed program was:" >&5
24525 sed 's/^/| /' conftest.$ac_ext >&5
24526
24527 eval "$as_ac_var=no"
24528 fi
24529 rm -f conftest.err conftest.$ac_objext \
24530 conftest$ac_exeext conftest.$ac_ext
24531 fi
24532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24534 if test `eval echo '${'$as_ac_var'}'` = yes; then
24535 cat >>confdefs.h <<_ACEOF
24536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24537 _ACEOF
24538 have_cos=1
24539 fi
24540 done
24541
24542
24543 for ac_func in floor
24544 do
24545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24546 echo "$as_me:$LINENO: checking for $ac_func" >&5
24547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24548 if eval "test \"\${$as_ac_var+set}\" = set"; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 else
24551 cat >conftest.$ac_ext <<_ACEOF
24552 /* confdefs.h. */
24553 _ACEOF
24554 cat confdefs.h >>conftest.$ac_ext
24555 cat >>conftest.$ac_ext <<_ACEOF
24556 /* end confdefs.h. */
24557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24559 #define $ac_func innocuous_$ac_func
24560
24561 /* System header to define __stub macros and hopefully few prototypes,
24562 which can conflict with char $ac_func (); below.
24563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24564 <limits.h> exists even on freestanding compilers. */
24565
24566 #ifdef __STDC__
24567 # include <limits.h>
24568 #else
24569 # include <assert.h>
24570 #endif
24571
24572 #undef $ac_func
24573
24574 /* Override any gcc2 internal prototype to avoid an error. */
24575 #ifdef __cplusplus
24576 extern "C"
24577 {
24578 #endif
24579 /* We use char because int might match the return type of a gcc2
24580 builtin and then its argument prototype would still apply. */
24581 char $ac_func ();
24582 /* The GNU C library defines this for functions which it implements
24583 to always fail with ENOSYS. Some functions are actually named
24584 something starting with __ and the normal name is an alias. */
24585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24586 choke me
24587 #else
24588 char (*f) () = $ac_func;
24589 #endif
24590 #ifdef __cplusplus
24591 }
24592 #endif
24593
24594 int
24595 main ()
24596 {
24597 return f != $ac_func;
24598 ;
24599 return 0;
24600 }
24601 _ACEOF
24602 rm -f conftest.$ac_objext conftest$ac_exeext
24603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24604 (eval $ac_link) 2>conftest.er1
24605 ac_status=$?
24606 grep -v '^ *+' conftest.er1 >conftest.err
24607 rm -f conftest.er1
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } &&
24611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24614 ac_status=$?
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; } &&
24617 { ac_try='test -s conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24620 ac_status=$?
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 eval "$as_ac_var=yes"
24624 else
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24627
24628 eval "$as_ac_var=no"
24629 fi
24630 rm -f conftest.err conftest.$ac_objext \
24631 conftest$ac_exeext conftest.$ac_ext
24632 fi
24633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24635 if test `eval echo '${'$as_ac_var'}'` = yes; then
24636 cat >>confdefs.h <<_ACEOF
24637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24638 _ACEOF
24639 have_floor=1
24640 fi
24641 done
24642
24643 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24644 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24645 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24646 echo "$as_me:$LINENO: result: yes" >&5
24647 echo "${ECHO_T}yes" >&6
24648 else
24649 echo "$as_me:$LINENO: result: no" >&5
24650 echo "${ECHO_T}no" >&6
24651 LIBS="$LIBS -lm"
24652 # use different functions to avoid configure caching
24653 have_sin=0
24654 have_ceil=0
24655
24656 for ac_func in sin
24657 do
24658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24659 echo "$as_me:$LINENO: checking for $ac_func" >&5
24660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24661 if eval "test \"\${$as_ac_var+set}\" = set"; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24672 #define $ac_func innocuous_$ac_func
24673
24674 /* System header to define __stub macros and hopefully few prototypes,
24675 which can conflict with char $ac_func (); below.
24676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24677 <limits.h> exists even on freestanding compilers. */
24678
24679 #ifdef __STDC__
24680 # include <limits.h>
24681 #else
24682 # include <assert.h>
24683 #endif
24684
24685 #undef $ac_func
24686
24687 /* Override any gcc2 internal prototype to avoid an error. */
24688 #ifdef __cplusplus
24689 extern "C"
24690 {
24691 #endif
24692 /* We use char because int might match the return type of a gcc2
24693 builtin and then its argument prototype would still apply. */
24694 char $ac_func ();
24695 /* The GNU C library defines this for functions which it implements
24696 to always fail with ENOSYS. Some functions are actually named
24697 something starting with __ and the normal name is an alias. */
24698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24699 choke me
24700 #else
24701 char (*f) () = $ac_func;
24702 #endif
24703 #ifdef __cplusplus
24704 }
24705 #endif
24706
24707 int
24708 main ()
24709 {
24710 return f != $ac_func;
24711 ;
24712 return 0;
24713 }
24714 _ACEOF
24715 rm -f conftest.$ac_objext conftest$ac_exeext
24716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24717 (eval $ac_link) 2>conftest.er1
24718 ac_status=$?
24719 grep -v '^ *+' conftest.er1 >conftest.err
24720 rm -f conftest.er1
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24727 ac_status=$?
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 eval "$as_ac_var=yes"
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 eval "$as_ac_var=no"
24742 fi
24743 rm -f conftest.err conftest.$ac_objext \
24744 conftest$ac_exeext conftest.$ac_ext
24745 fi
24746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24748 if test `eval echo '${'$as_ac_var'}'` = yes; then
24749 cat >>confdefs.h <<_ACEOF
24750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24751 _ACEOF
24752 have_sin=1
24753 fi
24754 done
24755
24756
24757 for ac_func in ceil
24758 do
24759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24760 echo "$as_me:$LINENO: checking for $ac_func" >&5
24761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24762 if eval "test \"\${$as_ac_var+set}\" = set"; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24773 #define $ac_func innocuous_$ac_func
24774
24775 /* System header to define __stub macros and hopefully few prototypes,
24776 which can conflict with char $ac_func (); below.
24777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24778 <limits.h> exists even on freestanding compilers. */
24779
24780 #ifdef __STDC__
24781 # include <limits.h>
24782 #else
24783 # include <assert.h>
24784 #endif
24785
24786 #undef $ac_func
24787
24788 /* Override any gcc2 internal prototype to avoid an error. */
24789 #ifdef __cplusplus
24790 extern "C"
24791 {
24792 #endif
24793 /* We use char because int might match the return type of a gcc2
24794 builtin and then its argument prototype would still apply. */
24795 char $ac_func ();
24796 /* The GNU C library defines this for functions which it implements
24797 to always fail with ENOSYS. Some functions are actually named
24798 something starting with __ and the normal name is an alias. */
24799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24800 choke me
24801 #else
24802 char (*f) () = $ac_func;
24803 #endif
24804 #ifdef __cplusplus
24805 }
24806 #endif
24807
24808 int
24809 main ()
24810 {
24811 return f != $ac_func;
24812 ;
24813 return 0;
24814 }
24815 _ACEOF
24816 rm -f conftest.$ac_objext conftest$ac_exeext
24817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24818 (eval $ac_link) 2>conftest.er1
24819 ac_status=$?
24820 grep -v '^ *+' conftest.er1 >conftest.err
24821 rm -f conftest.er1
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } &&
24825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24827 (eval $ac_try) 2>&5
24828 ac_status=$?
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); }; } &&
24831 { ac_try='test -s conftest$ac_exeext'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; }; then
24837 eval "$as_ac_var=yes"
24838 else
24839 echo "$as_me: failed program was:" >&5
24840 sed 's/^/| /' conftest.$ac_ext >&5
24841
24842 eval "$as_ac_var=no"
24843 fi
24844 rm -f conftest.err conftest.$ac_objext \
24845 conftest$ac_exeext conftest.$ac_ext
24846 fi
24847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24849 if test `eval echo '${'$as_ac_var'}'` = yes; then
24850 cat >>confdefs.h <<_ACEOF
24851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24852 _ACEOF
24853 have_ceil=1
24854 fi
24855 done
24856
24857 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24858 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24859 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24860 echo "$as_me:$LINENO: result: yes" >&5
24861 echo "${ECHO_T}yes" >&6
24862 else
24863 echo "$as_me:$LINENO: result: no" >&5
24864 echo "${ECHO_T}no" >&6
24865 # not sure we should warn the user, crash, etc.
24866 fi
24867 fi
24868
24869
24870
24871 if test "$wxUSE_REGEX" != "no"; then
24872 cat >>confdefs.h <<\_ACEOF
24873 #define wxUSE_REGEX 1
24874 _ACEOF
24875
24876
24877 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24878 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24879 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24880 wxUSE_REGEX=builtin
24881 fi
24882
24883 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24884 if test "${ac_cv_header_regex_h+set}" = set; then
24885 echo "$as_me:$LINENO: checking for regex.h" >&5
24886 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24887 if test "${ac_cv_header_regex_h+set}" = set; then
24888 echo $ECHO_N "(cached) $ECHO_C" >&6
24889 fi
24890 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24891 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24892 else
24893 # Is the header compilable?
24894 echo "$as_me:$LINENO: checking regex.h usability" >&5
24895 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24896 cat >conftest.$ac_ext <<_ACEOF
24897 /* confdefs.h. */
24898 _ACEOF
24899 cat confdefs.h >>conftest.$ac_ext
24900 cat >>conftest.$ac_ext <<_ACEOF
24901 /* end confdefs.h. */
24902 $ac_includes_default
24903 #include <regex.h>
24904 _ACEOF
24905 rm -f conftest.$ac_objext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24907 (eval $ac_compile) 2>conftest.er1
24908 ac_status=$?
24909 grep -v '^ *+' conftest.er1 >conftest.err
24910 rm -f conftest.er1
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24917 ac_status=$?
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try='test -s conftest.$ac_objext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24923 ac_status=$?
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926 ac_header_compiler=yes
24927 else
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.$ac_ext >&5
24930
24931 ac_header_compiler=no
24932 fi
24933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24935 echo "${ECHO_T}$ac_header_compiler" >&6
24936
24937 # Is the header present?
24938 echo "$as_me:$LINENO: checking regex.h presence" >&5
24939 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24940 cat >conftest.$ac_ext <<_ACEOF
24941 /* confdefs.h. */
24942 _ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 #include <regex.h>
24947 _ACEOF
24948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24950 ac_status=$?
24951 grep -v '^ *+' conftest.er1 >conftest.err
24952 rm -f conftest.er1
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } >/dev/null; then
24956 if test -s conftest.err; then
24957 ac_cpp_err=$ac_cxx_preproc_warn_flag
24958 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24959 else
24960 ac_cpp_err=
24961 fi
24962 else
24963 ac_cpp_err=yes
24964 fi
24965 if test -z "$ac_cpp_err"; then
24966 ac_header_preproc=yes
24967 else
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24970
24971 ac_header_preproc=no
24972 fi
24973 rm -f conftest.err conftest.$ac_ext
24974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24975 echo "${ECHO_T}$ac_header_preproc" >&6
24976
24977 # So? What about this header?
24978 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24979 yes:no: )
24980 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24981 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24982 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24983 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24984 ac_header_preproc=yes
24985 ;;
24986 no:yes:* )
24987 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24988 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24989 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24990 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24991 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24992 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24993 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24994 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24995 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24996 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24997 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24998 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24999 (
25000 cat <<\_ASBOX
25001 ## ----------------------------------------- ##
25002 ## Report this to wx-dev@lists.wxwidgets.org ##
25003 ## ----------------------------------------- ##
25004 _ASBOX
25005 ) |
25006 sed "s/^/$as_me: WARNING: /" >&2
25007 ;;
25008 esac
25009 echo "$as_me:$LINENO: checking for regex.h" >&5
25010 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25011 if test "${ac_cv_header_regex_h+set}" = set; then
25012 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 else
25014 ac_cv_header_regex_h=$ac_header_preproc
25015 fi
25016 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25017 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25018
25019 fi
25020 if test $ac_cv_header_regex_h = yes; then
25021
25022
25023 for ac_func in regcomp re_search
25024 do
25025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25026 echo "$as_me:$LINENO: checking for $ac_func" >&5
25027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25028 if eval "test \"\${$as_ac_var+set}\" = set"; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 else
25031 cat >conftest.$ac_ext <<_ACEOF
25032 /* confdefs.h. */
25033 _ACEOF
25034 cat confdefs.h >>conftest.$ac_ext
25035 cat >>conftest.$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25039 #define $ac_func innocuous_$ac_func
25040
25041 /* System header to define __stub macros and hopefully few prototypes,
25042 which can conflict with char $ac_func (); below.
25043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25044 <limits.h> exists even on freestanding compilers. */
25045
25046 #ifdef __STDC__
25047 # include <limits.h>
25048 #else
25049 # include <assert.h>
25050 #endif
25051
25052 #undef $ac_func
25053
25054 /* Override any gcc2 internal prototype to avoid an error. */
25055 #ifdef __cplusplus
25056 extern "C"
25057 {
25058 #endif
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25061 char $ac_func ();
25062 /* The GNU C library defines this for functions which it implements
25063 to always fail with ENOSYS. Some functions are actually named
25064 something starting with __ and the normal name is an alias. */
25065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25066 choke me
25067 #else
25068 char (*f) () = $ac_func;
25069 #endif
25070 #ifdef __cplusplus
25071 }
25072 #endif
25073
25074 int
25075 main ()
25076 {
25077 return f != $ac_func;
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 eval "$as_ac_var=yes"
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 eval "$as_ac_var=no"
25109 fi
25110 rm -f conftest.err conftest.$ac_objext \
25111 conftest$ac_exeext conftest.$ac_ext
25112 fi
25113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25115 if test `eval echo '${'$as_ac_var'}'` = yes; then
25116 cat >>confdefs.h <<_ACEOF
25117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25118 _ACEOF
25119
25120 fi
25121 done
25122
25123 fi
25124
25125
25126
25127 if test "x$ac_cv_func_regcomp" != "xyes"; then
25128 if test "$wxUSE_REGEX" = "sys" ; then
25129 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25130 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25131 { (exit 1); exit 1; }; }
25132 else
25133 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25134 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25135 wxUSE_REGEX=builtin
25136 fi
25137 else
25138 wxUSE_REGEX=sys
25139 cat >>confdefs.h <<\_ACEOF
25140 #define WX_NO_REGEX_ADVANCED 1
25141 _ACEOF
25142
25143 fi
25144 fi
25145 fi
25146
25147
25148 ZLIB_LINK=
25149 if test "$wxUSE_ZLIB" != "no" ; then
25150 cat >>confdefs.h <<\_ACEOF
25151 #define wxUSE_ZLIB 1
25152 _ACEOF
25153
25154
25155 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25156 if test "$USE_DARWIN" = 1; then
25157 system_zlib_h_ok="yes"
25158 else
25159 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25160 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25161 if test "${ac_cv_header_zlib_h+set}" = set; then
25162 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 else
25164 if test "$cross_compiling" = yes; then
25165 unset ac_cv_header_zlib_h
25166
25167 else
25168 cat >conftest.$ac_ext <<_ACEOF
25169 /* confdefs.h. */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174
25175 #include <zlib.h>
25176 #include <stdio.h>
25177
25178 int main()
25179 {
25180 FILE *f=fopen("conftestval", "w");
25181 if (!f) exit(1);
25182 fprintf(f, "%s",
25183 ZLIB_VERSION[0] == '1' &&
25184 (ZLIB_VERSION[2] > '1' ||
25185 (ZLIB_VERSION[2] == '1' &&
25186 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25187 exit(0);
25188 }
25189
25190 _ACEOF
25191 rm -f conftest$ac_exeext
25192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25193 (eval $ac_link) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25199 ac_status=$?
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 ac_cv_header_zlib_h=`cat conftestval`
25203 else
25204 echo "$as_me: program exited with status $ac_status" >&5
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 ( exit $ac_status )
25209 ac_cv_header_zlib_h=no
25210 fi
25211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25212 fi
25213
25214 fi
25215 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25217 if test "${ac_cv_header_zlib_h+set}" = set; then
25218 echo "$as_me:$LINENO: checking for zlib.h" >&5
25219 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25220 if test "${ac_cv_header_zlib_h+set}" = set; then
25221 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 fi
25223 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25224 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25225 else
25226 # Is the header compilable?
25227 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25228 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25229 cat >conftest.$ac_ext <<_ACEOF
25230 /* confdefs.h. */
25231 _ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 $ac_includes_default
25236 #include <zlib.h>
25237 _ACEOF
25238 rm -f conftest.$ac_objext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25240 (eval $ac_compile) 2>conftest.er1
25241 ac_status=$?
25242 grep -v '^ *+' conftest.er1 >conftest.err
25243 rm -f conftest.er1
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } &&
25247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25250 ac_status=$?
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try='test -s conftest.$ac_objext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25256 ac_status=$?
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 ac_header_compiler=yes
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 ac_header_compiler=no
25265 fi
25266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25268 echo "${ECHO_T}$ac_header_compiler" >&6
25269
25270 # Is the header present?
25271 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25272 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25273 cat >conftest.$ac_ext <<_ACEOF
25274 /* confdefs.h. */
25275 _ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 #include <zlib.h>
25280 _ACEOF
25281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25283 ac_status=$?
25284 grep -v '^ *+' conftest.er1 >conftest.err
25285 rm -f conftest.er1
25286 cat conftest.err >&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); } >/dev/null; then
25289 if test -s conftest.err; then
25290 ac_cpp_err=$ac_cxx_preproc_warn_flag
25291 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25292 else
25293 ac_cpp_err=
25294 fi
25295 else
25296 ac_cpp_err=yes
25297 fi
25298 if test -z "$ac_cpp_err"; then
25299 ac_header_preproc=yes
25300 else
25301 echo "$as_me: failed program was:" >&5
25302 sed 's/^/| /' conftest.$ac_ext >&5
25303
25304 ac_header_preproc=no
25305 fi
25306 rm -f conftest.err conftest.$ac_ext
25307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25308 echo "${ECHO_T}$ac_header_preproc" >&6
25309
25310 # So? What about this header?
25311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25312 yes:no: )
25313 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25314 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25315 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25316 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25317 ac_header_preproc=yes
25318 ;;
25319 no:yes:* )
25320 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25321 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25322 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25323 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25324 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25325 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25326 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25327 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25328 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25329 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25331 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25332 (
25333 cat <<\_ASBOX
25334 ## ----------------------------------------- ##
25335 ## Report this to wx-dev@lists.wxwidgets.org ##
25336 ## ----------------------------------------- ##
25337 _ASBOX
25338 ) |
25339 sed "s/^/$as_me: WARNING: /" >&2
25340 ;;
25341 esac
25342 echo "$as_me:$LINENO: checking for zlib.h" >&5
25343 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25344 if test "${ac_cv_header_zlib_h+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 else
25347 ac_cv_header_zlib_h=$ac_header_preproc
25348 fi
25349 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25350 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25351
25352 fi
25353
25354
25355
25356 system_zlib_h_ok=$ac_cv_header_zlib_h
25357 fi
25358
25359 if test "$system_zlib_h_ok" = "yes"; then
25360 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25361 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25362 if test "${ac_cv_lib_z_deflate+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25365 ac_check_lib_save_LIBS=$LIBS
25366 LIBS="-lz $LIBS"
25367 cat >conftest.$ac_ext <<_ACEOF
25368 /* confdefs.h. */
25369 _ACEOF
25370 cat confdefs.h >>conftest.$ac_ext
25371 cat >>conftest.$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25373
25374 /* Override any gcc2 internal prototype to avoid an error. */
25375 #ifdef __cplusplus
25376 extern "C"
25377 #endif
25378 /* We use char because int might match the return type of a gcc2
25379 builtin and then its argument prototype would still apply. */
25380 char deflate ();
25381 int
25382 main ()
25383 {
25384 deflate ();
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 rm -f conftest.$ac_objext conftest$ac_exeext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25391 (eval $ac_link) 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25401 ac_status=$?
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; } &&
25404 { ac_try='test -s conftest$ac_exeext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 ac_cv_lib_z_deflate=yes
25411 else
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25414
25415 ac_cv_lib_z_deflate=no
25416 fi
25417 rm -f conftest.err conftest.$ac_objext \
25418 conftest$ac_exeext conftest.$ac_ext
25419 LIBS=$ac_check_lib_save_LIBS
25420 fi
25421 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25422 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25423 if test $ac_cv_lib_z_deflate = yes; then
25424 ZLIB_LINK=" -lz"
25425 fi
25426
25427 fi
25428
25429 if test "x$ZLIB_LINK" = "x" ; then
25430 if test "$wxUSE_ZLIB" = "sys" ; then
25431 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25432 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25433 { (exit 1); exit 1; }; }
25434 else
25435 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25436 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25437 wxUSE_ZLIB=builtin
25438 fi
25439 else
25440 wxUSE_ZLIB=sys
25441 fi
25442 fi
25443 fi
25444
25445
25446 PNG_LINK=
25447 if test "$wxUSE_LIBPNG" != "no" ; then
25448 cat >>confdefs.h <<\_ACEOF
25449 #define wxUSE_LIBPNG 1
25450 _ACEOF
25451
25452
25453 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25454 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25455 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25456 wxUSE_LIBPNG=sys
25457 fi
25458
25459 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25460 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25461 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25462 wxUSE_LIBPNG=builtin
25463 fi
25464
25465 if test "$wxUSE_MGL" != 1 ; then
25466 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25467 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25468 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25469 if test "${ac_cv_header_png_h+set}" = set; then
25470 echo $ECHO_N "(cached) $ECHO_C" >&6
25471 else
25472 if test "$cross_compiling" = yes; then
25473 unset ac_cv_header_png_h
25474
25475 else
25476 cat >conftest.$ac_ext <<_ACEOF
25477 /* confdefs.h. */
25478 _ACEOF
25479 cat confdefs.h >>conftest.$ac_ext
25480 cat >>conftest.$ac_ext <<_ACEOF
25481 /* end confdefs.h. */
25482
25483 #include <png.h>
25484 #include <stdio.h>
25485
25486 int main()
25487 {
25488 FILE *f=fopen("conftestval", "w");
25489 if (!f) exit(1);
25490 fprintf(f, "%s",
25491 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25492 exit(0);
25493 }
25494
25495 _ACEOF
25496 rm -f conftest$ac_exeext
25497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25498 (eval $ac_link) 2>&5
25499 ac_status=$?
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25503 (eval $ac_try) 2>&5
25504 ac_status=$?
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; }; then
25507 ac_cv_header_png_h=`cat conftestval`
25508 else
25509 echo "$as_me: program exited with status $ac_status" >&5
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25512
25513 ( exit $ac_status )
25514 ac_cv_header_png_h=no
25515 fi
25516 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25517 fi
25518
25519 fi
25520 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25522 if test "${ac_cv_header_png_h+set}" = set; then
25523 echo "$as_me:$LINENO: checking for png.h" >&5
25524 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25525 if test "${ac_cv_header_png_h+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 fi
25528 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25529 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25530 else
25531 # Is the header compilable?
25532 echo "$as_me:$LINENO: checking png.h usability" >&5
25533 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 $ac_includes_default
25541 #include <png.h>
25542 _ACEOF
25543 rm -f conftest.$ac_objext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25545 (eval $ac_compile) 2>conftest.er1
25546 ac_status=$?
25547 grep -v '^ *+' conftest.er1 >conftest.err
25548 rm -f conftest.er1
25549 cat conftest.err >&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25555 ac_status=$?
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; } &&
25558 { ac_try='test -s conftest.$ac_objext'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_header_compiler=yes
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 ac_header_compiler=no
25570 fi
25571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25573 echo "${ECHO_T}$ac_header_compiler" >&6
25574
25575 # Is the header present?
25576 echo "$as_me:$LINENO: checking png.h presence" >&5
25577 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25578 cat >conftest.$ac_ext <<_ACEOF
25579 /* confdefs.h. */
25580 _ACEOF
25581 cat confdefs.h >>conftest.$ac_ext
25582 cat >>conftest.$ac_ext <<_ACEOF
25583 /* end confdefs.h. */
25584 #include <png.h>
25585 _ACEOF
25586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25588 ac_status=$?
25589 grep -v '^ *+' conftest.er1 >conftest.err
25590 rm -f conftest.er1
25591 cat conftest.err >&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } >/dev/null; then
25594 if test -s conftest.err; then
25595 ac_cpp_err=$ac_cxx_preproc_warn_flag
25596 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25597 else
25598 ac_cpp_err=
25599 fi
25600 else
25601 ac_cpp_err=yes
25602 fi
25603 if test -z "$ac_cpp_err"; then
25604 ac_header_preproc=yes
25605 else
25606 echo "$as_me: failed program was:" >&5
25607 sed 's/^/| /' conftest.$ac_ext >&5
25608
25609 ac_header_preproc=no
25610 fi
25611 rm -f conftest.err conftest.$ac_ext
25612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25613 echo "${ECHO_T}$ac_header_preproc" >&6
25614
25615 # So? What about this header?
25616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25617 yes:no: )
25618 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25619 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25620 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25621 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25622 ac_header_preproc=yes
25623 ;;
25624 no:yes:* )
25625 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25626 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25628 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25629 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25630 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25631 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25632 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25633 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25634 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25635 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25636 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25637 (
25638 cat <<\_ASBOX
25639 ## ----------------------------------------- ##
25640 ## Report this to wx-dev@lists.wxwidgets.org ##
25641 ## ----------------------------------------- ##
25642 _ASBOX
25643 ) |
25644 sed "s/^/$as_me: WARNING: /" >&2
25645 ;;
25646 esac
25647 echo "$as_me:$LINENO: checking for png.h" >&5
25648 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25649 if test "${ac_cv_header_png_h+set}" = set; then
25650 echo $ECHO_N "(cached) $ECHO_C" >&6
25651 else
25652 ac_cv_header_png_h=$ac_header_preproc
25653 fi
25654 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25655 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25656
25657 fi
25658
25659
25660
25661 if test "$ac_cv_header_png_h" = "yes"; then
25662 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25663 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25664 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25665 echo $ECHO_N "(cached) $ECHO_C" >&6
25666 else
25667 ac_check_lib_save_LIBS=$LIBS
25668 LIBS="-lpng -lz -lm $LIBS"
25669 cat >conftest.$ac_ext <<_ACEOF
25670 /* confdefs.h. */
25671 _ACEOF
25672 cat confdefs.h >>conftest.$ac_ext
25673 cat >>conftest.$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25675
25676 /* Override any gcc2 internal prototype to avoid an error. */
25677 #ifdef __cplusplus
25678 extern "C"
25679 #endif
25680 /* We use char because int might match the return type of a gcc2
25681 builtin and then its argument prototype would still apply. */
25682 char png_check_sig ();
25683 int
25684 main ()
25685 {
25686 png_check_sig ();
25687 ;
25688 return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext conftest$ac_exeext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25693 (eval $ac_link) 2>conftest.er1
25694 ac_status=$?
25695 grep -v '^ *+' conftest.er1 >conftest.err
25696 rm -f conftest.er1
25697 cat conftest.err >&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } &&
25700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25702 (eval $ac_try) 2>&5
25703 ac_status=$?
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); }; } &&
25706 { ac_try='test -s conftest$ac_exeext'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25709 ac_status=$?
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; }; then
25712 ac_cv_lib_png_png_check_sig=yes
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 ac_cv_lib_png_png_check_sig=no
25718 fi
25719 rm -f conftest.err conftest.$ac_objext \
25720 conftest$ac_exeext conftest.$ac_ext
25721 LIBS=$ac_check_lib_save_LIBS
25722 fi
25723 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25725 if test $ac_cv_lib_png_png_check_sig = yes; then
25726 PNG_LINK=" -lpng -lz"
25727 fi
25728
25729 fi
25730
25731 if test "x$PNG_LINK" = "x" ; then
25732 if test "$wxUSE_LIBPNG" = "sys" ; then
25733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25735 { (exit 1); exit 1; }; }
25736 else
25737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25739 wxUSE_LIBPNG=builtin
25740 fi
25741 else
25742 wxUSE_LIBPNG=sys
25743 fi
25744 fi
25745 fi
25746
25747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25748 fi
25749
25750
25751 JPEG_LINK=
25752 if test "$wxUSE_LIBJPEG" != "no" ; then
25753 cat >>confdefs.h <<\_ACEOF
25754 #define wxUSE_LIBJPEG 1
25755 _ACEOF
25756
25757
25758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25761 wxUSE_LIBJPEG=sys
25762 fi
25763
25764 if test "$wxUSE_MGL" != 1 ; then
25765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25766 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 else
25771 cat >conftest.$ac_ext <<_ACEOF
25772 /* confdefs.h. */
25773 _ACEOF
25774 cat confdefs.h >>conftest.$ac_ext
25775 cat >>conftest.$ac_ext <<_ACEOF
25776 /* end confdefs.h. */
25777
25778 #undef HAVE_STDLIB_H
25779 #include <stdio.h>
25780 #include <jpeglib.h>
25781
25782 int
25783 main ()
25784 {
25785
25786
25787 ;
25788 return 0;
25789 }
25790 _ACEOF
25791 rm -f conftest.$ac_objext
25792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25793 (eval $ac_compile) 2>conftest.er1
25794 ac_status=$?
25795 grep -v '^ *+' conftest.er1 >conftest.err
25796 rm -f conftest.er1
25797 cat conftest.err >&5
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } &&
25800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25803 ac_status=$?
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; } &&
25806 { ac_try='test -s conftest.$ac_objext'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25809 ac_status=$?
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25812 ac_cv_header_jpeglib_h=yes
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817 ac_cv_header_jpeglib_h=no
25818
25819 fi
25820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25821
25822 fi
25823
25824 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25825 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25826
25827 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25828 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25829 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25830 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 else
25833 ac_check_lib_save_LIBS=$LIBS
25834 LIBS="-ljpeg $LIBS"
25835 cat >conftest.$ac_ext <<_ACEOF
25836 /* confdefs.h. */
25837 _ACEOF
25838 cat confdefs.h >>conftest.$ac_ext
25839 cat >>conftest.$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25841
25842 /* Override any gcc2 internal prototype to avoid an error. */
25843 #ifdef __cplusplus
25844 extern "C"
25845 #endif
25846 /* We use char because int might match the return type of a gcc2
25847 builtin and then its argument prototype would still apply. */
25848 char jpeg_read_header ();
25849 int
25850 main ()
25851 {
25852 jpeg_read_header ();
25853 ;
25854 return 0;
25855 }
25856 _ACEOF
25857 rm -f conftest.$ac_objext conftest$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try='test -s conftest$ac_exeext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_lib_jpeg_jpeg_read_header=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 ac_cv_lib_jpeg_jpeg_read_header=no
25884 fi
25885 rm -f conftest.err conftest.$ac_objext \
25886 conftest$ac_exeext conftest.$ac_ext
25887 LIBS=$ac_check_lib_save_LIBS
25888 fi
25889 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25890 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25891 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25892 JPEG_LINK=" -ljpeg"
25893 fi
25894
25895 fi
25896
25897 if test "x$JPEG_LINK" = "x" ; then
25898 if test "$wxUSE_LIBJPEG" = "sys" ; then
25899 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25900 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25901 { (exit 1); exit 1; }; }
25902 else
25903 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25904 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25905 wxUSE_LIBJPEG=builtin
25906 fi
25907 else
25908 wxUSE_LIBJPEG=sys
25909 fi
25910 fi
25911 fi
25912 fi
25913
25914
25915 TIFF_LINK=
25916 TIFF_PREREQ_LINKS=-lm
25917 if test "$wxUSE_LIBTIFF" != "no" ; then
25918 cat >>confdefs.h <<\_ACEOF
25919 #define wxUSE_LIBTIFF 1
25920 _ACEOF
25921
25922
25923 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25924 if test "$wxUSE_LIBJPEG" = "sys"; then
25925 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25926 fi
25927 if test "$wxUSE_ZLIB" = "sys"; then
25928 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25929 fi
25930 if test "${ac_cv_header_tiffio_h+set}" = set; then
25931 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25932 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25933 if test "${ac_cv_header_tiffio_h+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 fi
25936 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25937 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25938 else
25939 # Is the header compilable?
25940 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25941 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25942 cat >conftest.$ac_ext <<_ACEOF
25943 /* confdefs.h. */
25944 _ACEOF
25945 cat confdefs.h >>conftest.$ac_ext
25946 cat >>conftest.$ac_ext <<_ACEOF
25947 /* end confdefs.h. */
25948 $ac_includes_default
25949 #include <tiffio.h>
25950 _ACEOF
25951 rm -f conftest.$ac_objext
25952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25953 (eval $ac_compile) 2>conftest.er1
25954 ac_status=$?
25955 grep -v '^ *+' conftest.er1 >conftest.err
25956 rm -f conftest.er1
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } &&
25960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try='test -s conftest.$ac_objext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 ac_header_compiler=yes
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 ac_header_compiler=no
25978 fi
25979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25981 echo "${ECHO_T}$ac_header_compiler" >&6
25982
25983 # Is the header present?
25984 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25985 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <tiffio.h>
25993 _ACEOF
25994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25996 ac_status=$?
25997 grep -v '^ *+' conftest.er1 >conftest.err
25998 rm -f conftest.er1
25999 cat conftest.err >&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } >/dev/null; then
26002 if test -s conftest.err; then
26003 ac_cpp_err=$ac_cxx_preproc_warn_flag
26004 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26005 else
26006 ac_cpp_err=
26007 fi
26008 else
26009 ac_cpp_err=yes
26010 fi
26011 if test -z "$ac_cpp_err"; then
26012 ac_header_preproc=yes
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017 ac_header_preproc=no
26018 fi
26019 rm -f conftest.err conftest.$ac_ext
26020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26021 echo "${ECHO_T}$ac_header_preproc" >&6
26022
26023 # So? What about this header?
26024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26025 yes:no: )
26026 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26027 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26028 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26029 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26030 ac_header_preproc=yes
26031 ;;
26032 no:yes:* )
26033 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26034 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26035 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26036 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26038 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26040 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26042 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26044 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26045 (
26046 cat <<\_ASBOX
26047 ## ----------------------------------------- ##
26048 ## Report this to wx-dev@lists.wxwidgets.org ##
26049 ## ----------------------------------------- ##
26050 _ASBOX
26051 ) |
26052 sed "s/^/$as_me: WARNING: /" >&2
26053 ;;
26054 esac
26055 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26056 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26057 if test "${ac_cv_header_tiffio_h+set}" = set; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 else
26060 ac_cv_header_tiffio_h=$ac_header_preproc
26061 fi
26062 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26063 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26064
26065 fi
26066 if test $ac_cv_header_tiffio_h = yes; then
26067
26068 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26069 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26070 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 else
26073 ac_check_lib_save_LIBS=$LIBS
26074 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081
26082 /* Override any gcc2 internal prototype to avoid an error. */
26083 #ifdef __cplusplus
26084 extern "C"
26085 #endif
26086 /* We use char because int might match the return type of a gcc2
26087 builtin and then its argument prototype would still apply. */
26088 char TIFFError ();
26089 int
26090 main ()
26091 {
26092 TIFFError ();
26093 ;
26094 return 0;
26095 }
26096 _ACEOF
26097 rm -f conftest.$ac_objext conftest$ac_exeext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26099 (eval $ac_link) 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; } &&
26112 { ac_try='test -s conftest$ac_exeext'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26115 ac_status=$?
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; }; then
26118 ac_cv_lib_tiff_TIFFError=yes
26119 else
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26122
26123 ac_cv_lib_tiff_TIFFError=no
26124 fi
26125 rm -f conftest.err conftest.$ac_objext \
26126 conftest$ac_exeext conftest.$ac_ext
26127 LIBS=$ac_check_lib_save_LIBS
26128 fi
26129 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26130 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26131 if test $ac_cv_lib_tiff_TIFFError = yes; then
26132 TIFF_LINK=" -ltiff"
26133 fi
26134
26135
26136
26137 fi
26138
26139
26140
26141 if test "x$TIFF_LINK" = "x" ; then
26142 if test "$wxUSE_LIBTIFF" = "sys" ; then
26143 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26144 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26145 { (exit 1); exit 1; }; }
26146 else
26147 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26148 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26149 wxUSE_LIBTIFF=builtin
26150 fi
26151 else
26152 wxUSE_LIBTIFF=sys
26153 fi
26154 fi
26155 fi
26156
26157
26158 if test "$wxUSE_WCHAR_T" != "yes"; then
26159 if test "$wxUSE_EXPAT" != "no"; then
26160 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26161 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26162 wxUSE_EXPAT=no
26163 fi
26164 if test "$wxUSE_XML" != "no"; then
26165 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26166 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26167 wxUSE_XML=no
26168 fi
26169 fi
26170
26171 if test "$wxUSE_EXPAT" != "no"; then
26172 wxUSE_XML=yes
26173 cat >>confdefs.h <<\_ACEOF
26174 #define wxUSE_EXPAT 1
26175 _ACEOF
26176
26177 cat >>confdefs.h <<\_ACEOF
26178 #define wxUSE_XML 1
26179 _ACEOF
26180
26181
26182 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26183 if test "${ac_cv_header_expat_h+set}" = set; then
26184 echo "$as_me:$LINENO: checking for expat.h" >&5
26185 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26186 if test "${ac_cv_header_expat_h+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 fi
26189 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26190 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26191 else
26192 # Is the header compilable?
26193 echo "$as_me:$LINENO: checking expat.h usability" >&5
26194 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26195 cat >conftest.$ac_ext <<_ACEOF
26196 /* confdefs.h. */
26197 _ACEOF
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201 $ac_includes_default
26202 #include <expat.h>
26203 _ACEOF
26204 rm -f conftest.$ac_objext
26205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26206 (eval $ac_compile) 2>conftest.er1
26207 ac_status=$?
26208 grep -v '^ *+' conftest.er1 >conftest.err
26209 rm -f conftest.er1
26210 cat conftest.err >&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); } &&
26213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; } &&
26219 { ac_try='test -s conftest.$ac_objext'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26222 ac_status=$?
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; }; then
26225 ac_header_compiler=yes
26226 else
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26229
26230 ac_header_compiler=no
26231 fi
26232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26234 echo "${ECHO_T}$ac_header_compiler" >&6
26235
26236 # Is the header present?
26237 echo "$as_me:$LINENO: checking expat.h presence" >&5
26238 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26239 cat >conftest.$ac_ext <<_ACEOF
26240 /* confdefs.h. */
26241 _ACEOF
26242 cat confdefs.h >>conftest.$ac_ext
26243 cat >>conftest.$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26245 #include <expat.h>
26246 _ACEOF
26247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26249 ac_status=$?
26250 grep -v '^ *+' conftest.er1 >conftest.err
26251 rm -f conftest.er1
26252 cat conftest.err >&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } >/dev/null; then
26255 if test -s conftest.err; then
26256 ac_cpp_err=$ac_cxx_preproc_warn_flag
26257 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26258 else
26259 ac_cpp_err=
26260 fi
26261 else
26262 ac_cpp_err=yes
26263 fi
26264 if test -z "$ac_cpp_err"; then
26265 ac_header_preproc=yes
26266 else
26267 echo "$as_me: failed program was:" >&5
26268 sed 's/^/| /' conftest.$ac_ext >&5
26269
26270 ac_header_preproc=no
26271 fi
26272 rm -f conftest.err conftest.$ac_ext
26273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26274 echo "${ECHO_T}$ac_header_preproc" >&6
26275
26276 # So? What about this header?
26277 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26278 yes:no: )
26279 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26280 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26282 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26283 ac_header_preproc=yes
26284 ;;
26285 no:yes:* )
26286 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26287 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26289 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26290 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26291 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26292 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26293 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26294 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26295 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26296 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26297 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26298 (
26299 cat <<\_ASBOX
26300 ## ----------------------------------------- ##
26301 ## Report this to wx-dev@lists.wxwidgets.org ##
26302 ## ----------------------------------------- ##
26303 _ASBOX
26304 ) |
26305 sed "s/^/$as_me: WARNING: /" >&2
26306 ;;
26307 esac
26308 echo "$as_me:$LINENO: checking for expat.h" >&5
26309 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26310 if test "${ac_cv_header_expat_h+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 else
26313 ac_cv_header_expat_h=$ac_header_preproc
26314 fi
26315 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26316 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26317
26318 fi
26319 if test $ac_cv_header_expat_h = yes; then
26320 found_expat_h=1
26321 fi
26322
26323
26324 if test "x$found_expat_h" = "x1"; then
26325 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26326 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26327 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26328 echo $ECHO_N "(cached) $ECHO_C" >&6
26329 else
26330
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h. */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337 #include <expat.h>
26338 int
26339 main ()
26340 {
26341
26342 ;
26343 return 0;
26344 }
26345 _ACEOF
26346 rm -f conftest.$ac_objext
26347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26348 (eval $ac_compile) 2>conftest.er1
26349 ac_status=$?
26350 grep -v '^ *+' conftest.er1 >conftest.err
26351 rm -f conftest.er1
26352 cat conftest.err >&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); } &&
26355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26358 ac_status=$?
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; } &&
26361 { ac_try='test -s conftest.$ac_objext'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26364 ac_status=$?
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; }; then
26367 wx_cv_expat_is_not_broken=yes
26368 else
26369 echo "$as_me: failed program was:" >&5
26370 sed 's/^/| /' conftest.$ac_ext >&5
26371
26372 wx_cv_expat_is_not_broken=no
26373
26374 fi
26375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26376
26377
26378 fi
26379 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26380 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26381 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26382 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26383 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26384 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387 ac_check_lib_save_LIBS=$LIBS
26388 LIBS="-lexpat $LIBS"
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395
26396 /* Override any gcc2 internal prototype to avoid an error. */
26397 #ifdef __cplusplus
26398 extern "C"
26399 #endif
26400 /* We use char because int might match the return type of a gcc2
26401 builtin and then its argument prototype would still apply. */
26402 char XML_ParserCreate ();
26403 int
26404 main ()
26405 {
26406 XML_ParserCreate ();
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 rm -f conftest.$ac_objext conftest$ac_exeext
26412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26413 (eval $ac_link) 2>conftest.er1
26414 ac_status=$?
26415 grep -v '^ *+' conftest.er1 >conftest.err
26416 rm -f conftest.er1
26417 cat conftest.err >&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } &&
26420 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 (eval $ac_try) 2>&5
26423 ac_status=$?
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; } &&
26426 { ac_try='test -s conftest$ac_exeext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 ac_cv_lib_expat_XML_ParserCreate=yes
26433 else
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.$ac_ext >&5
26436
26437 ac_cv_lib_expat_XML_ParserCreate=no
26438 fi
26439 rm -f conftest.err conftest.$ac_objext \
26440 conftest$ac_exeext conftest.$ac_ext
26441 LIBS=$ac_check_lib_save_LIBS
26442 fi
26443 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26444 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26445 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26446 EXPAT_LINK=" -lexpat"
26447 fi
26448
26449 fi
26450 fi
26451 if test "x$EXPAT_LINK" = "x" ; then
26452 if test "$wxUSE_EXPAT" = "sys" ; then
26453 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26454 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26455 { (exit 1); exit 1; }; }
26456 else
26457 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26458 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26459 wxUSE_EXPAT=builtin
26460 fi
26461 else
26462 wxUSE_EXPAT=sys
26463 fi
26464 fi
26465 if test "$wxUSE_EXPAT" = "builtin" ; then
26466
26467
26468 subdirs="$subdirs src/expat"
26469
26470 fi
26471 fi
26472
26473
26474
26475 if test "$wxUSE_LIBMSPACK" != "no"; then
26476 if test "${ac_cv_header_mspack_h+set}" = set; then
26477 echo "$as_me:$LINENO: checking for mspack.h" >&5
26478 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26479 if test "${ac_cv_header_mspack_h+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26481 fi
26482 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26483 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26484 else
26485 # Is the header compilable?
26486 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26487 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26488 cat >conftest.$ac_ext <<_ACEOF
26489 /* confdefs.h. */
26490 _ACEOF
26491 cat confdefs.h >>conftest.$ac_ext
26492 cat >>conftest.$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26494 $ac_includes_default
26495 #include <mspack.h>
26496 _ACEOF
26497 rm -f conftest.$ac_objext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26499 (eval $ac_compile) 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_header_compiler=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 ac_header_compiler=no
26524 fi
26525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26527 echo "${ECHO_T}$ac_header_compiler" >&6
26528
26529 # Is the header present?
26530 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26531 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26532 cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <mspack.h>
26539 _ACEOF
26540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26542 ac_status=$?
26543 grep -v '^ *+' conftest.er1 >conftest.err
26544 rm -f conftest.er1
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } >/dev/null; then
26548 if test -s conftest.err; then
26549 ac_cpp_err=$ac_cxx_preproc_warn_flag
26550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26551 else
26552 ac_cpp_err=
26553 fi
26554 else
26555 ac_cpp_err=yes
26556 fi
26557 if test -z "$ac_cpp_err"; then
26558 ac_header_preproc=yes
26559 else
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 ac_header_preproc=no
26564 fi
26565 rm -f conftest.err conftest.$ac_ext
26566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26567 echo "${ECHO_T}$ac_header_preproc" >&6
26568
26569 # So? What about this header?
26570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26571 yes:no: )
26572 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26573 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26574 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26575 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26576 ac_header_preproc=yes
26577 ;;
26578 no:yes:* )
26579 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26580 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26581 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26582 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26583 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26584 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26585 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26586 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26587 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26588 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26589 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26590 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26591 (
26592 cat <<\_ASBOX
26593 ## ----------------------------------------- ##
26594 ## Report this to wx-dev@lists.wxwidgets.org ##
26595 ## ----------------------------------------- ##
26596 _ASBOX
26597 ) |
26598 sed "s/^/$as_me: WARNING: /" >&2
26599 ;;
26600 esac
26601 echo "$as_me:$LINENO: checking for mspack.h" >&5
26602 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26603 if test "${ac_cv_header_mspack_h+set}" = set; then
26604 echo $ECHO_N "(cached) $ECHO_C" >&6
26605 else
26606 ac_cv_header_mspack_h=$ac_header_preproc
26607 fi
26608 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26609 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26610
26611 fi
26612 if test $ac_cv_header_mspack_h = yes; then
26613 found_mspack_h=1
26614 fi
26615
26616
26617 if test "x$found_mspack_h" = "x1"; then
26618 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26619 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26620 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26621 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 else
26623 ac_check_lib_save_LIBS=$LIBS
26624 LIBS="-lmspack $LIBS"
26625 cat >conftest.$ac_ext <<_ACEOF
26626 /* confdefs.h. */
26627 _ACEOF
26628 cat confdefs.h >>conftest.$ac_ext
26629 cat >>conftest.$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631
26632 /* Override any gcc2 internal prototype to avoid an error. */
26633 #ifdef __cplusplus
26634 extern "C"
26635 #endif
26636 /* We use char because int might match the return type of a gcc2
26637 builtin and then its argument prototype would still apply. */
26638 char mspack_create_chm_decompressor ();
26639 int
26640 main ()
26641 {
26642 mspack_create_chm_decompressor ();
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>conftest.er1
26650 ac_status=$?
26651 grep -v '^ *+' conftest.er1 >conftest.err
26652 rm -f conftest.er1
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26659 ac_status=$?
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; } &&
26662 { ac_try='test -s conftest$ac_exeext'
26663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664 (eval $ac_try) 2>&5
26665 ac_status=$?
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); }; }; then
26668 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26669 else
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.$ac_ext >&5
26672
26673 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26674 fi
26675 rm -f conftest.err conftest.$ac_objext \
26676 conftest$ac_exeext conftest.$ac_ext
26677 LIBS=$ac_check_lib_save_LIBS
26678 fi
26679 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26680 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26681 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26682 MSPACK_LINK=" -lmspack"
26683 fi
26684
26685 fi
26686 if test "x$MSPACK_LINK" = "x" ; then
26687 wxUSE_LIBMSPACK=no
26688 fi
26689 fi
26690
26691 if test "$wxUSE_LIBMSPACK" != "no"; then
26692 cat >>confdefs.h <<\_ACEOF
26693 #define wxUSE_LIBMSPACK 1
26694 _ACEOF
26695
26696 fi
26697
26698
26699
26700 AFMINSTALL=
26701 WIN32INSTALL=
26702
26703 TOOLKIT=
26704 TOOLKIT_INCLUDE=
26705 WIDGET_SET=
26706
26707 if test "$USE_WIN32" = 1 ; then
26708
26709 for ac_header in w32api.h
26710 do
26711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26713 echo "$as_me:$LINENO: checking for $ac_header" >&5
26714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 fi
26718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26720 else
26721 # Is the header compilable?
26722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 $ac_includes_default
26731 #include <$ac_header>
26732 _ACEOF
26733 rm -f conftest.$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 ac_header_compiler=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 ac_header_compiler=no
26760 fi
26761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26763 echo "${ECHO_T}$ac_header_compiler" >&6
26764
26765 # Is the header present?
26766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h. */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 #include <$ac_header>
26775 _ACEOF
26776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26778 ac_status=$?
26779 grep -v '^ *+' conftest.er1 >conftest.err
26780 rm -f conftest.er1
26781 cat conftest.err >&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } >/dev/null; then
26784 if test -s conftest.err; then
26785 ac_cpp_err=$ac_cxx_preproc_warn_flag
26786 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26787 else
26788 ac_cpp_err=
26789 fi
26790 else
26791 ac_cpp_err=yes
26792 fi
26793 if test -z "$ac_cpp_err"; then
26794 ac_header_preproc=yes
26795 else
26796 echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.$ac_ext >&5
26798
26799 ac_header_preproc=no
26800 fi
26801 rm -f conftest.err conftest.$ac_ext
26802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26803 echo "${ECHO_T}$ac_header_preproc" >&6
26804
26805 # So? What about this header?
26806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26807 yes:no: )
26808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26812 ac_header_preproc=yes
26813 ;;
26814 no:yes:* )
26815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26827 (
26828 cat <<\_ASBOX
26829 ## ----------------------------------------- ##
26830 ## Report this to wx-dev@lists.wxwidgets.org ##
26831 ## ----------------------------------------- ##
26832 _ASBOX
26833 ) |
26834 sed "s/^/$as_me: WARNING: /" >&2
26835 ;;
26836 esac
26837 echo "$as_me:$LINENO: checking for $ac_header" >&5
26838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 else
26842 eval "$as_ac_Header=\$ac_header_preproc"
26843 fi
26844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26846
26847 fi
26848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26849 cat >>confdefs.h <<_ACEOF
26850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26851 _ACEOF
26852
26853 fi
26854
26855 done
26856
26857 if test "${ac_cv_header_windows_h+set}" = set; then
26858 echo "$as_me:$LINENO: checking for windows.h" >&5
26859 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26860 if test "${ac_cv_header_windows_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 fi
26863 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26865 else
26866 # Is the header compilable?
26867 echo "$as_me:$LINENO: checking windows.h usability" >&5
26868 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 $ac_includes_default
26876 #include <windows.h>
26877 _ACEOF
26878 rm -f conftest.$ac_objext
26879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26880 (eval $ac_compile) 2>conftest.er1
26881 ac_status=$?
26882 grep -v '^ *+' conftest.er1 >conftest.err
26883 rm -f conftest.er1
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } &&
26887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26890 ac_status=$?
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try='test -s conftest.$ac_objext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 ac_header_compiler=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 ac_header_compiler=no
26905 fi
26906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26908 echo "${ECHO_T}$ac_header_compiler" >&6
26909
26910 # Is the header present?
26911 echo "$as_me:$LINENO: checking windows.h presence" >&5
26912 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 #include <windows.h>
26920 _ACEOF
26921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26923 ac_status=$?
26924 grep -v '^ *+' conftest.er1 >conftest.err
26925 rm -f conftest.er1
26926 cat conftest.err >&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } >/dev/null; then
26929 if test -s conftest.err; then
26930 ac_cpp_err=$ac_cxx_preproc_warn_flag
26931 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26932 else
26933 ac_cpp_err=
26934 fi
26935 else
26936 ac_cpp_err=yes
26937 fi
26938 if test -z "$ac_cpp_err"; then
26939 ac_header_preproc=yes
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944 ac_header_preproc=no
26945 fi
26946 rm -f conftest.err conftest.$ac_ext
26947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26948 echo "${ECHO_T}$ac_header_preproc" >&6
26949
26950 # So? What about this header?
26951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26952 yes:no: )
26953 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26954 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26956 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26957 ac_header_preproc=yes
26958 ;;
26959 no:yes:* )
26960 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26961 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26962 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26963 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26965 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26967 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26969 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26971 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26972 (
26973 cat <<\_ASBOX
26974 ## ----------------------------------------- ##
26975 ## Report this to wx-dev@lists.wxwidgets.org ##
26976 ## ----------------------------------------- ##
26977 _ASBOX
26978 ) |
26979 sed "s/^/$as_me: WARNING: /" >&2
26980 ;;
26981 esac
26982 echo "$as_me:$LINENO: checking for windows.h" >&5
26983 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26984 if test "${ac_cv_header_windows_h+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 else
26987 ac_cv_header_windows_h=$ac_header_preproc
26988 fi
26989 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26990 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26991
26992 fi
26993 if test $ac_cv_header_windows_h = yes; then
26994 :
26995 else
26996
26997 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26998 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26999 { (exit 1); exit 1; }; }
27000
27001 fi
27002
27003
27004
27005 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27006
27007 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27008 LIBS="$LIBS -loleacc"
27009 fi
27010
27011 case "${host}" in
27012 *-*-cygwin* )
27013 LIBS="$LIBS -lkernel32 -luser32"
27014 esac
27015
27016 if test "$wxUSE_ODBC" = "sys" ; then
27017 wxUSE_ODBC = "yes"
27018 fi
27019 if test "$wxUSE_ODBC" = "yes" ; then
27020 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27021 cat >>confdefs.h <<\_ACEOF
27022 #define wxUSE_ODBC 1
27023 _ACEOF
27024
27025 fi
27026
27027 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27028 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27029
27030 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27031
27032 WIN32INSTALL=win32install
27033 fi
27034
27035 if test "$wxUSE_GUI" = "yes"; then
27036 USE_GUI=1
27037
27038 GUI_TK_LIBRARY=
27039
27040 WXGTK12=
27041 WXGTK127=
27042 WXGTK20=
27043 WXGPE=
27044
27045 if test "$wxUSE_COCOA" = 1 ; then
27046 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27047 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27048 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27049 wxUSE_PRINTING_ARCHITECTURE=no
27050 fi
27051 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27052 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27053 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27054 wxUSE_DRAG_AND_DROP=no
27055 fi
27056 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27057 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27058 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27059 wxUSE_DRAGIMAGE=no
27060 fi
27061 fi
27062
27063 if test "$wxUSE_MSW" = 1 ; then
27064 TOOLKIT=MSW
27065 GUIDIST=MSW_DIST
27066
27067 case "${host}" in
27068 *-*-mingw32* )
27069 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27070 esac
27071 fi
27072
27073 if test "$wxUSE_GTK" = 1; then
27074 ac_ext=c
27075 ac_cpp='$CPP $CPPFLAGS'
27076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27079
27080
27081 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27082 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27083
27084 gtk_version_cached=1
27085 if test "${wx_cv_lib_gtk+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27087 else
27088
27089 gtk_version_cached=0
27090 echo "$as_me:$LINENO: result: " >&5
27091 echo "${ECHO_T}" >&6
27092
27093 GTK_MODULES=
27094 if test "$wxUSE_THREADS" = "yes"; then
27095 GTK_MODULES=gthread
27096 fi
27097
27098 wx_cv_lib_gtk=
27099 if test "x$wxGTK_VERSION" != "x1"
27100 then
27101 case "${host}" in
27102 *-*-solaris2* )
27103 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27104 enable_gtktest=no
27105 fi
27106 esac
27107
27108 # Check whether --enable-gtktest or --disable-gtktest was given.
27109 if test "${enable_gtktest+set}" = set; then
27110 enableval="$enable_gtktest"
27111
27112 else
27113 enable_gtktest=yes
27114 fi;
27115
27116 pkg_config_args=gtk+-2.0
27117 for module in . $GTK_MODULES
27118 do
27119 case "$module" in
27120 gthread)
27121 pkg_config_args="$pkg_config_args gthread-2.0"
27122 ;;
27123 esac
27124 done
27125
27126 no_gtk=""
27127
27128 # Extract the first word of "pkg-config", so it can be a program name with args.
27129 set dummy pkg-config; ac_word=$2
27130 echo "$as_me:$LINENO: checking for $ac_word" >&5
27131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27132 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27133 echo $ECHO_N "(cached) $ECHO_C" >&6
27134 else
27135 case $PKG_CONFIG in
27136 [\\/]* | ?:[\\/]*)
27137 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27138 ;;
27139 *)
27140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27141 for as_dir in $PATH
27142 do
27143 IFS=$as_save_IFS
27144 test -z "$as_dir" && as_dir=.
27145 for ac_exec_ext in '' $ac_executable_extensions; do
27146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27147 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27149 break 2
27150 fi
27151 done
27152 done
27153
27154 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27155 ;;
27156 esac
27157 fi
27158 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27159
27160 if test -n "$PKG_CONFIG"; then
27161 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27162 echo "${ECHO_T}$PKG_CONFIG" >&6
27163 else
27164 echo "$as_me:$LINENO: result: no" >&5
27165 echo "${ECHO_T}no" >&6
27166 fi
27167
27168
27169 if test x$PKG_CONFIG != xno ; then
27170 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27171 :
27172 else
27173 echo "*** pkg-config too old; version 0.7 or better required."
27174 no_gtk=yes
27175 PKG_CONFIG=no
27176 fi
27177 else
27178 no_gtk=yes
27179 fi
27180
27181 min_gtk_version=2.0.0
27182 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27183 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27184
27185 if test x$PKG_CONFIG != xno ; then
27186 ## don't try to run the test against uninstalled libtool libs
27187 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27188 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27189 enable_gtktest=no
27190 fi
27191
27192 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27193 :
27194 else
27195 no_gtk=yes
27196 fi
27197 fi
27198
27199 if test x"$no_gtk" = x ; then
27200 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27201 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27202 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27204 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27206 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27208 if test "x$enable_gtktest" = "xyes" ; then
27209 ac_save_CFLAGS="$CFLAGS"
27210 ac_save_LIBS="$LIBS"
27211 CFLAGS="$CFLAGS $GTK_CFLAGS"
27212 LIBS="$GTK_LIBS $LIBS"
27213 rm -f conf.gtktest
27214 if test "$cross_compiling" = yes; then
27215 echo $ac_n "cross compiling; assumed OK... $ac_c"
27216 else
27217 cat >conftest.$ac_ext <<_ACEOF
27218 /* confdefs.h. */
27219 _ACEOF
27220 cat confdefs.h >>conftest.$ac_ext
27221 cat >>conftest.$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27223
27224 #include <gtk/gtk.h>
27225 #include <stdio.h>
27226 #include <stdlib.h>
27227
27228 int
27229 main ()
27230 {
27231 int major, minor, micro;
27232 char *tmp_version;
27233
27234 system ("touch conf.gtktest");
27235
27236 /* HP/UX 9 (%@#!) writes to sscanf strings */
27237 tmp_version = g_strdup("$min_gtk_version");
27238 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27239 printf("%s, bad version string\n", "$min_gtk_version");
27240 exit(1);
27241 }
27242
27243 if ((gtk_major_version != $gtk_config_major_version) ||
27244 (gtk_minor_version != $gtk_config_minor_version) ||
27245 (gtk_micro_version != $gtk_config_micro_version))
27246 {
27247 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27248 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27249 gtk_major_version, gtk_minor_version, gtk_micro_version);
27250 printf ("*** was found! If pkg-config was correct, then it is best\n");
27251 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27252 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27253 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27254 printf("*** required on your system.\n");
27255 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27256 printf("*** to point to the correct configuration files\n");
27257 }
27258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27259 (gtk_minor_version != GTK_MINOR_VERSION) ||
27260 (gtk_micro_version != GTK_MICRO_VERSION))
27261 {
27262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27264 printf("*** library (version %d.%d.%d)\n",
27265 gtk_major_version, gtk_minor_version, gtk_micro_version);
27266 }
27267 else
27268 {
27269 if ((gtk_major_version > major) ||
27270 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27271 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27272 {
27273 return 0;
27274 }
27275 else
27276 {
27277 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27278 gtk_major_version, gtk_minor_version, gtk_micro_version);
27279 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27280 major, minor, micro);
27281 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27282 printf("***\n");
27283 printf("*** If you have already installed a sufficiently new version, this error\n");
27284 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27285 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27286 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27287 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27288 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27289 printf("*** so that the correct libraries are found at run-time))\n");
27290 }
27291 }
27292 return 1;
27293 }
27294
27295 _ACEOF
27296 rm -f conftest$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298 (eval $ac_link) 2>&5
27299 ac_status=$?
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 :
27308 else
27309 echo "$as_me: program exited with status $ac_status" >&5
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 ( exit $ac_status )
27314 no_gtk=yes
27315 fi
27316 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27317 fi
27318 CFLAGS="$ac_save_CFLAGS"
27319 LIBS="$ac_save_LIBS"
27320 fi
27321 fi
27322 if test "x$no_gtk" = x ; then
27323 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27324 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27325 wx_cv_lib_gtk=2.0
27326 else
27327 echo "$as_me:$LINENO: result: no" >&5
27328 echo "${ECHO_T}no" >&6
27329 if test "$PKG_CONFIG" = "no" ; then
27330 echo "*** A new enough version of pkg-config was not found."
27331 echo "*** See http://pkgconfig.sourceforge.net"
27332 else
27333 if test -f conf.gtktest ; then
27334 :
27335 else
27336 echo "*** Could not run GTK+ test program, checking why..."
27337 ac_save_CFLAGS="$CFLAGS"
27338 ac_save_LIBS="$LIBS"
27339 CFLAGS="$CFLAGS $GTK_CFLAGS"
27340 LIBS="$LIBS $GTK_LIBS"
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347
27348 #include <gtk/gtk.h>
27349 #include <stdio.h>
27350
27351 int
27352 main ()
27353 {
27354 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27355 ;
27356 return 0;
27357 }
27358 _ACEOF
27359 rm -f conftest.$ac_objext conftest$ac_exeext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27361 (eval $ac_link) 2>conftest.er1
27362 ac_status=$?
27363 grep -v '^ *+' conftest.er1 >conftest.err
27364 rm -f conftest.er1
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27371 ac_status=$?
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try='test -s conftest$ac_exeext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27377 ac_status=$?
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 echo "*** The test program compiled, but did not run. This usually means"
27381 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27382 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27383 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27384 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27385 echo "*** is required on your system"
27386 echo "***"
27387 echo "*** If you have an old version installed, it is best to remove it, although"
27388 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27389 else
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27392
27393 echo "*** The test program failed to compile or link. See the file config.log for the"
27394 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27395 fi
27396 rm -f conftest.err conftest.$ac_objext \
27397 conftest$ac_exeext conftest.$ac_ext
27398 CFLAGS="$ac_save_CFLAGS"
27399 LIBS="$ac_save_LIBS"
27400 fi
27401 fi
27402 GTK_CFLAGS=""
27403 GTK_LIBS=""
27404 :
27405 fi
27406
27407
27408 rm -f conf.gtktest
27409
27410
27411 case "${host}" in
27412 *-*-solaris2* )
27413 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27414 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27415 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27416 fi
27417 if test "$wxUSE_SHARED" != "yes"; then
27418 GTK_LIBS="$GTK_LIBS -lX11"
27419 fi
27420 esac
27421 fi
27422
27423 if test -z "$wx_cv_lib_gtk"; then
27424 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27425
27426 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27427 if test "${with_gtk_prefix+set}" = set; then
27428 withval="$with_gtk_prefix"
27429 gtk_config_prefix="$withval"
27430 else
27431 gtk_config_prefix=""
27432 fi;
27433
27434 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27435 if test "${with_gtk_exec_prefix+set}" = set; then
27436 withval="$with_gtk_exec_prefix"
27437 gtk_config_exec_prefix="$withval"
27438 else
27439 gtk_config_exec_prefix=""
27440 fi;
27441 # Check whether --enable-gtktest or --disable-gtktest was given.
27442 if test "${enable_gtktest+set}" = set; then
27443 enableval="$enable_gtktest"
27444
27445 else
27446 enable_gtktest=yes
27447 fi;
27448
27449 for module in . $GTK_MODULES
27450 do
27451 case "$module" in
27452 gthread)
27453 gtk_config_args="$gtk_config_args gthread"
27454 ;;
27455 esac
27456 done
27457
27458 if test x$gtk_config_exec_prefix != x ; then
27459 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27460 if test x${GTK_CONFIG+set} != xset ; then
27461 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27462 fi
27463 fi
27464 if test x$gtk_config_prefix != x ; then
27465 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27466 if test x${GTK_CONFIG+set} != xset ; then
27467 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27468 fi
27469 fi
27470
27471 # Extract the first word of "gtk-config", so it can be a program name with args.
27472 set dummy gtk-config; ac_word=$2
27473 echo "$as_me:$LINENO: checking for $ac_word" >&5
27474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27475 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 case $GTK_CONFIG in
27479 [\\/]* | ?:[\\/]*)
27480 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27481 ;;
27482 *)
27483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27484 for as_dir in $PATH
27485 do
27486 IFS=$as_save_IFS
27487 test -z "$as_dir" && as_dir=.
27488 for ac_exec_ext in '' $ac_executable_extensions; do
27489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27490 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27492 break 2
27493 fi
27494 done
27495 done
27496
27497 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27498 ;;
27499 esac
27500 fi
27501 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27502
27503 if test -n "$GTK_CONFIG"; then
27504 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27505 echo "${ECHO_T}$GTK_CONFIG" >&6
27506 else
27507 echo "$as_me:$LINENO: result: no" >&5
27508 echo "${ECHO_T}no" >&6
27509 fi
27510
27511 min_gtk_version=1.2.7
27512 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27513 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27514 no_gtk=""
27515 if test "$GTK_CONFIG" = "no" ; then
27516 no_gtk=yes
27517 else
27518 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27519 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27520 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27522 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27524 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27526 if test "x$enable_gtktest" = "xyes" ; then
27527 ac_save_CFLAGS="$CFLAGS"
27528 ac_save_LIBS="$LIBS"
27529 CFLAGS="$CFLAGS $GTK_CFLAGS"
27530 LIBS="$GTK_LIBS $LIBS"
27531 rm -f conf.gtktest
27532 if test "$cross_compiling" = yes; then
27533 echo $ac_n "cross compiling; assumed OK... $ac_c"
27534 else
27535 cat >conftest.$ac_ext <<_ACEOF
27536 /* confdefs.h. */
27537 _ACEOF
27538 cat confdefs.h >>conftest.$ac_ext
27539 cat >>conftest.$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27541
27542 #include <gtk/gtk.h>
27543 #include <stdio.h>
27544 #include <stdlib.h>
27545
27546 int
27547 main ()
27548 {
27549 int major, minor, micro;
27550 char *tmp_version;
27551
27552 system ("touch conf.gtktest");
27553
27554 /* HP/UX 9 (%@#!) writes to sscanf strings */
27555 tmp_version = g_strdup("$min_gtk_version");
27556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27557 printf("%s, bad version string\n", "$min_gtk_version");
27558 exit(1);
27559 }
27560
27561 if ((gtk_major_version != $gtk_config_major_version) ||
27562 (gtk_minor_version != $gtk_config_minor_version) ||
27563 (gtk_micro_version != $gtk_config_micro_version))
27564 {
27565 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27567 gtk_major_version, gtk_minor_version, gtk_micro_version);
27568 printf ("*** was found! If gtk-config was correct, then it is best\n");
27569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27572 printf("*** required on your system.\n");
27573 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27574 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27575 printf("*** before re-running configure\n");
27576 }
27577 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27578 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27579 (gtk_minor_version != GTK_MINOR_VERSION) ||
27580 (gtk_micro_version != GTK_MICRO_VERSION))
27581 {
27582 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27583 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27584 printf("*** library (version %d.%d.%d)\n",
27585 gtk_major_version, gtk_minor_version, gtk_micro_version);
27586 }
27587 #endif /* defined (GTK_MAJOR_VERSION) ... */
27588 else
27589 {
27590 if ((gtk_major_version > major) ||
27591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27593 {
27594 return 0;
27595 }
27596 else
27597 {
27598 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27599 gtk_major_version, gtk_minor_version, gtk_micro_version);
27600 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27601 major, minor, micro);
27602 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27603 printf("***\n");
27604 printf("*** If you have already installed a sufficiently new version, this error\n");
27605 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27606 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27607 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27608 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27609 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27610 printf("*** so that the correct libraries are found at run-time))\n");
27611 }
27612 }
27613 return 1;
27614 }
27615
27616 _ACEOF
27617 rm -f conftest$ac_exeext
27618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27619 (eval $ac_link) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624 (eval $ac_try) 2>&5
27625 ac_status=$?
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); }; }; then
27628 :
27629 else
27630 echo "$as_me: program exited with status $ac_status" >&5
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.$ac_ext >&5
27633
27634 ( exit $ac_status )
27635 no_gtk=yes
27636 fi
27637 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27638 fi
27639 CFLAGS="$ac_save_CFLAGS"
27640 LIBS="$ac_save_LIBS"
27641 fi
27642 fi
27643 if test "x$no_gtk" = x ; then
27644 echo "$as_me:$LINENO: result: yes" >&5
27645 echo "${ECHO_T}yes" >&6
27646 wx_cv_lib_gtk=1.2.7
27647 else
27648 echo "$as_me:$LINENO: result: no" >&5
27649 echo "${ECHO_T}no" >&6
27650 if test "$GTK_CONFIG" = "no" ; then
27651 echo "*** The gtk-config script installed by GTK could not be found"
27652 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27653 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27654 echo "*** full path to gtk-config."
27655 else
27656 if test -f conf.gtktest ; then
27657 :
27658 else
27659 echo "*** Could not run GTK test program, checking why..."
27660 CFLAGS="$CFLAGS $GTK_CFLAGS"
27661 LIBS="$LIBS $GTK_LIBS"
27662 cat >conftest.$ac_ext <<_ACEOF
27663 /* confdefs.h. */
27664 _ACEOF
27665 cat confdefs.h >>conftest.$ac_ext
27666 cat >>conftest.$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27668
27669 #include <gtk/gtk.h>
27670 #include <stdio.h>
27671
27672 int
27673 main ()
27674 {
27675 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27676 ;
27677 return 0;
27678 }
27679 _ACEOF
27680 rm -f conftest.$ac_objext conftest$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682 (eval $ac_link) 2>conftest.er1
27683 ac_status=$?
27684 grep -v '^ *+' conftest.er1 >conftest.err
27685 rm -f conftest.er1
27686 cat conftest.err >&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); } &&
27689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27692 ac_status=$?
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; } &&
27695 { ac_try='test -s conftest$ac_exeext'
27696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27697 (eval $ac_try) 2>&5
27698 ac_status=$?
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; }; then
27701 echo "*** The test program compiled, but did not run. This usually means"
27702 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27703 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27704 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27705 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27706 echo "*** is required on your system"
27707 echo "***"
27708 echo "*** If you have an old version installed, it is best to remove it, although"
27709 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27710 echo "***"
27711 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27712 echo "*** came with the system with the command"
27713 echo "***"
27714 echo "*** rpm --erase --nodeps gtk gtk-devel"
27715 else
27716 echo "$as_me: failed program was:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27718
27719 echo "*** The test program failed to compile or link. See the file config.log for the"
27720 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27721 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27722 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27723 fi
27724 rm -f conftest.err conftest.$ac_objext \
27725 conftest$ac_exeext conftest.$ac_ext
27726 CFLAGS="$ac_save_CFLAGS"
27727 LIBS="$ac_save_LIBS"
27728 fi
27729 fi
27730 GTK_CFLAGS=""
27731 GTK_LIBS=""
27732 :
27733 fi
27734
27735
27736 rm -f conf.gtktest
27737
27738
27739 if test -z "$wx_cv_lib_gtk"; then
27740
27741 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27742 if test "${with_gtk_prefix+set}" = set; then
27743 withval="$with_gtk_prefix"
27744 gtk_config_prefix="$withval"
27745 else
27746 gtk_config_prefix=""
27747 fi;
27748
27749 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27750 if test "${with_gtk_exec_prefix+set}" = set; then
27751 withval="$with_gtk_exec_prefix"
27752 gtk_config_exec_prefix="$withval"
27753 else
27754 gtk_config_exec_prefix=""
27755 fi;
27756 # Check whether --enable-gtktest or --disable-gtktest was given.
27757 if test "${enable_gtktest+set}" = set; then
27758 enableval="$enable_gtktest"
27759
27760 else
27761 enable_gtktest=yes
27762 fi;
27763
27764 for module in . $GTK_MODULES
27765 do
27766 case "$module" in
27767 gthread)
27768 gtk_config_args="$gtk_config_args gthread"
27769 ;;
27770 esac
27771 done
27772
27773 if test x$gtk_config_exec_prefix != x ; then
27774 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27775 if test x${GTK_CONFIG+set} != xset ; then
27776 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27777 fi
27778 fi
27779 if test x$gtk_config_prefix != x ; then
27780 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27781 if test x${GTK_CONFIG+set} != xset ; then
27782 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27783 fi
27784 fi
27785
27786 # Extract the first word of "gtk-config", so it can be a program name with args.
27787 set dummy gtk-config; ac_word=$2
27788 echo "$as_me:$LINENO: checking for $ac_word" >&5
27789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27790 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27791 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 else
27793 case $GTK_CONFIG in
27794 [\\/]* | ?:[\\/]*)
27795 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27796 ;;
27797 *)
27798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27799 for as_dir in $PATH
27800 do
27801 IFS=$as_save_IFS
27802 test -z "$as_dir" && as_dir=.
27803 for ac_exec_ext in '' $ac_executable_extensions; do
27804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27805 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27807 break 2
27808 fi
27809 done
27810 done
27811
27812 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27813 ;;
27814 esac
27815 fi
27816 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27817
27818 if test -n "$GTK_CONFIG"; then
27819 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27820 echo "${ECHO_T}$GTK_CONFIG" >&6
27821 else
27822 echo "$as_me:$LINENO: result: no" >&5
27823 echo "${ECHO_T}no" >&6
27824 fi
27825
27826 min_gtk_version=1.2.3
27827 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27828 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27829 no_gtk=""
27830 if test "$GTK_CONFIG" = "no" ; then
27831 no_gtk=yes
27832 else
27833 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27834 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27835 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27837 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27839 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27841 if test "x$enable_gtktest" = "xyes" ; then
27842 ac_save_CFLAGS="$CFLAGS"
27843 ac_save_LIBS="$LIBS"
27844 CFLAGS="$CFLAGS $GTK_CFLAGS"
27845 LIBS="$GTK_LIBS $LIBS"
27846 rm -f conf.gtktest
27847 if test "$cross_compiling" = yes; then
27848 echo $ac_n "cross compiling; assumed OK... $ac_c"
27849 else
27850 cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856
27857 #include <gtk/gtk.h>
27858 #include <stdio.h>
27859 #include <stdlib.h>
27860
27861 int
27862 main ()
27863 {
27864 int major, minor, micro;
27865 char *tmp_version;
27866
27867 system ("touch conf.gtktest");
27868
27869 /* HP/UX 9 (%@#!) writes to sscanf strings */
27870 tmp_version = g_strdup("$min_gtk_version");
27871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27872 printf("%s, bad version string\n", "$min_gtk_version");
27873 exit(1);
27874 }
27875
27876 if ((gtk_major_version != $gtk_config_major_version) ||
27877 (gtk_minor_version != $gtk_config_minor_version) ||
27878 (gtk_micro_version != $gtk_config_micro_version))
27879 {
27880 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27881 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27882 gtk_major_version, gtk_minor_version, gtk_micro_version);
27883 printf ("*** was found! If gtk-config was correct, then it is best\n");
27884 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27885 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27886 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27887 printf("*** required on your system.\n");
27888 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27889 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27890 printf("*** before re-running configure\n");
27891 }
27892 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27893 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27894 (gtk_minor_version != GTK_MINOR_VERSION) ||
27895 (gtk_micro_version != GTK_MICRO_VERSION))
27896 {
27897 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27898 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27899 printf("*** library (version %d.%d.%d)\n",
27900 gtk_major_version, gtk_minor_version, gtk_micro_version);
27901 }
27902 #endif /* defined (GTK_MAJOR_VERSION) ... */
27903 else
27904 {
27905 if ((gtk_major_version > major) ||
27906 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27907 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27908 {
27909 return 0;
27910 }
27911 else
27912 {
27913 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27914 gtk_major_version, gtk_minor_version, gtk_micro_version);
27915 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27916 major, minor, micro);
27917 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27918 printf("***\n");
27919 printf("*** If you have already installed a sufficiently new version, this error\n");
27920 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27921 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27922 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27923 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27924 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27925 printf("*** so that the correct libraries are found at run-time))\n");
27926 }
27927 }
27928 return 1;
27929 }
27930
27931 _ACEOF
27932 rm -f conftest$ac_exeext
27933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27934 (eval $ac_link) 2>&5
27935 ac_status=$?
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27940 ac_status=$?
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; }; then
27943 :
27944 else
27945 echo "$as_me: program exited with status $ac_status" >&5
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27948
27949 ( exit $ac_status )
27950 no_gtk=yes
27951 fi
27952 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27953 fi
27954 CFLAGS="$ac_save_CFLAGS"
27955 LIBS="$ac_save_LIBS"
27956 fi
27957 fi
27958 if test "x$no_gtk" = x ; then
27959 echo "$as_me:$LINENO: result: yes" >&5
27960 echo "${ECHO_T}yes" >&6
27961 wx_cv_lib_gtk=1.2.3
27962 else
27963 echo "$as_me:$LINENO: result: no" >&5
27964 echo "${ECHO_T}no" >&6
27965 if test "$GTK_CONFIG" = "no" ; then
27966 echo "*** The gtk-config script installed by GTK could not be found"
27967 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27968 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27969 echo "*** full path to gtk-config."
27970 else
27971 if test -f conf.gtktest ; then
27972 :
27973 else
27974 echo "*** Could not run GTK test program, checking why..."
27975 CFLAGS="$CFLAGS $GTK_CFLAGS"
27976 LIBS="$LIBS $GTK_LIBS"
27977 cat >conftest.$ac_ext <<_ACEOF
27978 /* confdefs.h. */
27979 _ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27983
27984 #include <gtk/gtk.h>
27985 #include <stdio.h>
27986
27987 int
27988 main ()
27989 {
27990 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27991 ;
27992 return 0;
27993 }
27994 _ACEOF
27995 rm -f conftest.$ac_objext conftest$ac_exeext
27996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27997 (eval $ac_link) 2>conftest.er1
27998 ac_status=$?
27999 grep -v '^ *+' conftest.er1 >conftest.err
28000 rm -f conftest.er1
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28007 ac_status=$?
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28013 ac_status=$?
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 echo "*** The test program compiled, but did not run. This usually means"
28017 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28018 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28019 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28020 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28021 echo "*** is required on your system"
28022 echo "***"
28023 echo "*** If you have an old version installed, it is best to remove it, although"
28024 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28025 echo "***"
28026 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28027 echo "*** came with the system with the command"
28028 echo "***"
28029 echo "*** rpm --erase --nodeps gtk gtk-devel"
28030 else
28031 echo "$as_me: failed program was:" >&5
28032 sed 's/^/| /' conftest.$ac_ext >&5
28033
28034 echo "*** The test program failed to compile or link. See the file config.log for the"
28035 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28036 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28037 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28038 fi
28039 rm -f conftest.err conftest.$ac_objext \
28040 conftest$ac_exeext conftest.$ac_ext
28041 CFLAGS="$ac_save_CFLAGS"
28042 LIBS="$ac_save_LIBS"
28043 fi
28044 fi
28045 GTK_CFLAGS=""
28046 GTK_LIBS=""
28047 :
28048 fi
28049
28050
28051 rm -f conf.gtktest
28052
28053 fi
28054 fi
28055 fi
28056
28057 if test -z "$wx_cv_lib_gtk"; then
28058 wx_cv_lib_gtk=none
28059 else
28060 wx_cv_cflags_gtk=$GTK_CFLAGS
28061 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28062 fi
28063
28064
28065 fi
28066
28067
28068 if test "$gtk_version_cached" = 1; then
28069 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28070 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28071 fi
28072
28073 case "$wx_cv_lib_gtk" in
28074 2.0) WXGTK20=1
28075 TOOLKIT_VERSION=2
28076 ;;
28077 1.2.7) WXGTK127=1
28078 WXGTK12=1
28079 ;;
28080 1.2.3) WXGTK12=1
28081 ;;
28082 *) { { echo "$as_me:$LINENO: error:
28083 The development files for GTK+ were not found. For GTK+ 2, please
28084 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28085 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28086 and that the version is 1.2.3 or above. Also check that the
28087 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28088 --libs' are in the LD_LIBRARY_PATH or equivalent.
28089 " >&5
28090 echo "$as_me: error:
28091 The development files for GTK+ were not found. For GTK+ 2, please
28092 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28093 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28094 and that the version is 1.2.3 or above. Also check that the
28095 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28096 --libs' are in the LD_LIBRARY_PATH or equivalent.
28097 " >&2;}
28098 { (exit 1); exit 1; }; }
28099 ;;
28100 esac
28101
28102 if test "$WXGTK20" = 1; then
28103 save_CFLAGS="$CFLAGS"
28104 save_LIBS="$LIBS"
28105 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28106 LIBS="$LIBS $wx_cv_libs_gtk"
28107
28108 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28109 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28111 /* confdefs.h. */
28112 _ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116
28117 #include <gtk/gtk.h>
28118
28119 int
28120 main ()
28121 {
28122
28123 void *f = gtk_icon_size_lookup;
28124
28125 ;
28126 return 0;
28127 }
28128 _ACEOF
28129 rm -f conftest.$ac_objext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28131 (eval $ac_compile) 2>conftest.er1
28132 ac_status=$?
28133 grep -v '^ *+' conftest.er1 >conftest.err
28134 rm -f conftest.er1
28135 cat conftest.err >&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); } &&
28138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28141 ac_status=$?
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try='test -s conftest.$ac_objext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150
28151 echo "$as_me:$LINENO: result: no" >&5
28152 echo "${ECHO_T}no" >&6
28153
28154 else
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28157
28158
28159 cat >>confdefs.h <<\_ACEOF
28160 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28161 _ACEOF
28162
28163 echo "$as_me:$LINENO: result: yes" >&5
28164 echo "${ECHO_T}yes" >&6
28165
28166 fi
28167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28168
28169 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28170 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28171 cat >conftest.$ac_ext <<_ACEOF
28172 /* confdefs.h. */
28173 _ACEOF
28174 cat confdefs.h >>conftest.$ac_ext
28175 cat >>conftest.$ac_ext <<_ACEOF
28176 /* end confdefs.h. */
28177
28178 #include <gtk/gtk.h>
28179
28180 int
28181 main ()
28182 {
28183
28184 #if !GTK_CHECK_VERSION(2,6,0)
28185 Not GTK+ 2.6
28186 #endif
28187
28188 ;
28189 return 0;
28190 }
28191 _ACEOF
28192 rm -f conftest.$ac_objext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28194 (eval $ac_compile) 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try='test -s conftest.$ac_objext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28210 ac_status=$?
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28213
28214 cat >>confdefs.h <<\_ACEOF
28215 #define __WXGTK26__ 1
28216 _ACEOF
28217
28218 cat >>confdefs.h <<\_ACEOF
28219 #define __WXGTK24__ 1
28220 _ACEOF
28221
28222 echo "$as_me:$LINENO: result: yes" >&5
28223 echo "${ECHO_T}yes" >&6
28224 ac_wxgtk26=1
28225
28226 else
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.$ac_ext >&5
28229
28230
28231 echo "$as_me:$LINENO: result: no" >&5
28232 echo "${ECHO_T}no" >&6
28233 ac_wxgtk26=0
28234
28235 fi
28236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28237
28238 if test "$ac_wxgtk26" = 0; then
28239 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28240 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28241 cat >conftest.$ac_ext <<_ACEOF
28242 /* confdefs.h. */
28243 _ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247
28248 #include <gtk/gtk.h>
28249
28250 int
28251 main ()
28252 {
28253
28254 #if !GTK_CHECK_VERSION(2,4,0)
28255 Not GTK+ 2.4
28256 #endif
28257
28258 ;
28259 return 0;
28260 }
28261 _ACEOF
28262 rm -f conftest.$ac_objext
28263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28264 (eval $ac_compile) 2>conftest.er1
28265 ac_status=$?
28266 grep -v '^ *+' conftest.er1 >conftest.err
28267 rm -f conftest.er1
28268 cat conftest.err >&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } &&
28271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28273 (eval $ac_try) 2>&5
28274 ac_status=$?
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); }; } &&
28277 { ac_try='test -s conftest.$ac_objext'
28278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28279 (eval $ac_try) 2>&5
28280 ac_status=$?
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; }; then
28283
28284 cat >>confdefs.h <<\_ACEOF
28285 #define __WXGTK24__ 1
28286 _ACEOF
28287
28288 echo "$as_me:$LINENO: result: yes" >&5
28289 echo "${ECHO_T}yes" >&6
28290
28291 else
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28294
28295
28296 echo "$as_me:$LINENO: result: no" >&5
28297 echo "${ECHO_T}no" >&6
28298
28299 fi
28300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28301 fi
28302
28303 CFLAGS="$save_CFLAGS"
28304 LIBS="$save_LIBS"
28305 else
28306 if test "$wxUSE_UNICODE" = "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28308 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28309 wxUSE_UNICODE=no
28310 fi
28311 fi
28312
28313 ac_ext=cc
28314 ac_cpp='$CXXCPP $CPPFLAGS'
28315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28318
28319
28320 if test "$USE_DARWIN" != 1; then
28321
28322 for ac_func in poll
28323 do
28324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28325 echo "$as_me:$LINENO: checking for $ac_func" >&5
28326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28327 if eval "test \"\${$as_ac_var+set}\" = set"; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28338 #define $ac_func innocuous_$ac_func
28339
28340 /* System header to define __stub macros and hopefully few prototypes,
28341 which can conflict with char $ac_func (); below.
28342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28343 <limits.h> exists even on freestanding compilers. */
28344
28345 #ifdef __STDC__
28346 # include <limits.h>
28347 #else
28348 # include <assert.h>
28349 #endif
28350
28351 #undef $ac_func
28352
28353 /* Override any gcc2 internal prototype to avoid an error. */
28354 #ifdef __cplusplus
28355 extern "C"
28356 {
28357 #endif
28358 /* We use char because int might match the return type of a gcc2
28359 builtin and then its argument prototype would still apply. */
28360 char $ac_func ();
28361 /* The GNU C library defines this for functions which it implements
28362 to always fail with ENOSYS. Some functions are actually named
28363 something starting with __ and the normal name is an alias. */
28364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28365 choke me
28366 #else
28367 char (*f) () = $ac_func;
28368 #endif
28369 #ifdef __cplusplus
28370 }
28371 #endif
28372
28373 int
28374 main ()
28375 {
28376 return f != $ac_func;
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 eval "$as_ac_var=yes"
28403 else
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28406
28407 eval "$as_ac_var=no"
28408 fi
28409 rm -f conftest.err conftest.$ac_objext \
28410 conftest$ac_exeext conftest.$ac_ext
28411 fi
28412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28414 if test `eval echo '${'$as_ac_var'}'` = yes; then
28415 cat >>confdefs.h <<_ACEOF
28416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28418
28419 fi
28420 done
28421
28422 fi
28423
28424 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28425 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28426
28427 AFMINSTALL=afminstall
28428 TOOLKIT=GTK
28429 GUIDIST=GTK_DIST
28430
28431 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28432 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28433 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436 ac_check_lib_save_LIBS=$LIBS
28437 LIBS="-lgdk $LIBS"
28438 cat >conftest.$ac_ext <<_ACEOF
28439 /* confdefs.h. */
28440 _ACEOF
28441 cat confdefs.h >>conftest.$ac_ext
28442 cat >>conftest.$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28444
28445 /* Override any gcc2 internal prototype to avoid an error. */
28446 #ifdef __cplusplus
28447 extern "C"
28448 #endif
28449 /* We use char because int might match the return type of a gcc2
28450 builtin and then its argument prototype would still apply. */
28451 char gdk_im_open ();
28452 int
28453 main ()
28454 {
28455 gdk_im_open ();
28456 ;
28457 return 0;
28458 }
28459 _ACEOF
28460 rm -f conftest.$ac_objext conftest$ac_exeext
28461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28462 (eval $ac_link) 2>conftest.er1
28463 ac_status=$?
28464 grep -v '^ *+' conftest.er1 >conftest.err
28465 rm -f conftest.er1
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try='test -s conftest$ac_exeext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_cv_lib_gdk_gdk_im_open=yes
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28485
28486 ac_cv_lib_gdk_gdk_im_open=no
28487 fi
28488 rm -f conftest.err conftest.$ac_objext \
28489 conftest$ac_exeext conftest.$ac_ext
28490 LIBS=$ac_check_lib_save_LIBS
28491 fi
28492 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28493 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28494 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28495 cat >>confdefs.h <<\_ACEOF
28496 #define HAVE_XIM 1
28497 _ACEOF
28498
28499 fi
28500
28501
28502
28503 if test "$wxUSE_GPE" = "yes"; then
28504 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28505 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28506
28507 ac_find_libraries=
28508 for ac_dir in $SEARCH_LIB;
28509 do
28510 for ac_extension in a so sl dylib dll.a; do
28511 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28512 ac_find_libraries=$ac_dir
28513 break 2
28514 fi
28515 done
28516 done
28517
28518 if test "$ac_find_libraries" != "" ; then
28519
28520 if test "$ac_find_libraries" = "default location"; then
28521 ac_path_to_link=""
28522 else
28523 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28524 result=$?
28525 if test $result = 0; then
28526 ac_path_to_link=""
28527 else
28528 ac_path_to_link=" -L$ac_find_libraries"
28529 fi
28530 fi
28531
28532 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28533 WXGPE=1
28534 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28535 echo "${ECHO_T}found in $ac_find_libraries" >&6
28536 else
28537 echo "$as_me:$LINENO: result: not found" >&5
28538 echo "${ECHO_T}not found" >&6
28539 fi
28540
28541 fi
28542 fi
28543
28544 if test "$wxUSE_MGL" = 1; then
28545 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28546 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28547 if test "x$MGL_ROOT" = x ; then
28548 echo "$as_me:$LINENO: result: not found" >&5
28549 echo "${ECHO_T}not found" >&6
28550 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28551 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28552 { (exit 1); exit 1; }; }
28553 else
28554 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28555 echo "${ECHO_T}$MGL_ROOT" >&6
28556 fi
28557
28558 echo "$as_me:$LINENO: checking for libmgl location" >&5
28559 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28560 case "${host}" in
28561 *-*-linux* )
28562 if test "x$wxUSE_SHARED" = xyes ; then
28563 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28564 else
28565 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28566 fi
28567 ;;
28568 *-pc-msdosdjgpp )
28569 mgl_os_candidates="dos32/dj2"
28570 ;;
28571 *)
28572 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28573 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28574 { (exit 1); exit 1; }; }
28575 esac
28576
28577 mgl_lib_type=""
28578 mgl_os=""
28579
28580 for mgl_os_i in $mgl_os_candidates ; do
28581 if test "x$mgl_os" = x ; then
28582 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28583 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28584 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28585 mgl_lib_type=debug
28586 mgl_os=$mgl_os_i
28587 fi
28588 fi
28589 if test "x$mgl_lib_type" = x ; then
28590 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28591 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28592 mgl_lib_type=release
28593 mgl_os=$mgl_os_i
28594 fi
28595 fi
28596 fi
28597 done
28598
28599 if test "x$mgl_os" = x ; then
28600 echo "$as_me:$LINENO: result: not found" >&5
28601 echo "${ECHO_T}not found" >&6
28602 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28603 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28604 { (exit 1); exit 1; }; }
28605 fi
28606 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28607 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28608
28609 wxUSE_UNIVERSAL="yes"
28610
28611 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28612 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28613
28614 AFMINSTALL=afminstall
28615 TOOLKIT=MGL
28616 GUIDIST=MGL_DIST
28617 fi
28618
28619 if test "$wxUSE_MICROWIN" = 1; then
28620 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28621 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28622 if test "x$MICROWINDOWS" = x ; then
28623 echo "$as_me:$LINENO: result: not found" >&5
28624 echo "${ECHO_T}not found" >&6
28625 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28626 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28627 { (exit 1); exit 1; }; }
28628 else
28629 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28630 echo "${ECHO_T}$MICROWINDOWS" >&6
28631 fi
28632
28633 if test -f $MICROWINDOWS/lib/libmwin.a; then
28634 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28635 echo "${ECHO_T}MicroWindows' libraries found." >&6
28636 else
28637 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28638 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28639 { (exit 1); exit 1; }; }
28640 fi
28641
28642 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28643 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28644
28645 wxUSE_UNIVERSAL="yes"
28646
28647 AFMINSTALL=afminstall
28648 TOOLKIT=MICROWIN
28649 GUIDIST=MICROWIN_DIST
28650
28651 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28652 fi
28653
28654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28655
28656 if test "x$ac_path_x_has_been_run" != xyes; then
28657 echo "$as_me:$LINENO: checking for X" >&5
28658 echo $ECHO_N "checking for X... $ECHO_C" >&6
28659
28660 ac_path_x_has_been_run=yes
28661
28662 # Check whether --with-x or --without-x was given.
28663 if test "${with_x+set}" = set; then
28664 withval="$with_x"
28665
28666 fi;
28667 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28668 if test "x$with_x" = xno; then
28669 # The user explicitly disabled X.
28670 have_x=disabled
28671 else
28672 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28673 # Both variables are already set.
28674 have_x=yes
28675 else
28676 if test "${ac_cv_have_x+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28678 else
28679 # One or both of the vars are not set, and there is no cached value.
28680 ac_x_includes=no ac_x_libraries=no
28681 rm -fr conftest.dir
28682 if mkdir conftest.dir; then
28683 cd conftest.dir
28684 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28685 cat >Imakefile <<'_ACEOF'
28686 acfindx:
28687 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28688 _ACEOF
28689 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28690 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28691 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28692 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28693 for ac_extension in a so sl; do
28694 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28695 test -f $ac_im_libdir/libX11.$ac_extension; then
28696 ac_im_usrlibdir=$ac_im_libdir; break
28697 fi
28698 done
28699 # Screen out bogus values from the imake configuration. They are
28700 # bogus both because they are the default anyway, and because
28701 # using them would break gcc on systems where it needs fixed includes.
28702 case $ac_im_incroot in
28703 /usr/include) ;;
28704 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28705 esac
28706 case $ac_im_usrlibdir in
28707 /usr/lib | /lib) ;;
28708 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28709 esac
28710 fi
28711 cd ..
28712 rm -fr conftest.dir
28713 fi
28714
28715 # Standard set of common directories for X headers.
28716 # Check X11 before X11Rn because it is often a symlink to the current release.
28717 ac_x_header_dirs='
28718 /usr/X11/include
28719 /usr/X11R6/include
28720 /usr/X11R5/include
28721 /usr/X11R4/include
28722
28723 /usr/include/X11
28724 /usr/include/X11R6
28725 /usr/include/X11R5
28726 /usr/include/X11R4
28727
28728 /usr/local/X11/include
28729 /usr/local/X11R6/include
28730 /usr/local/X11R5/include
28731 /usr/local/X11R4/include
28732
28733 /usr/local/include/X11
28734 /usr/local/include/X11R6
28735 /usr/local/include/X11R5
28736 /usr/local/include/X11R4
28737
28738 /usr/X386/include
28739 /usr/x386/include
28740 /usr/XFree86/include/X11
28741
28742 /usr/include
28743 /usr/local/include
28744 /usr/unsupported/include
28745 /usr/athena/include
28746 /usr/local/x11r5/include
28747 /usr/lpp/Xamples/include
28748
28749 /usr/openwin/include
28750 /usr/openwin/share/include'
28751
28752 if test "$ac_x_includes" = no; then
28753 # Guess where to find include files, by looking for a specified header file.
28754 # First, try using that file with no special directory specified.
28755 cat >conftest.$ac_ext <<_ACEOF
28756 /* confdefs.h. */
28757 _ACEOF
28758 cat confdefs.h >>conftest.$ac_ext
28759 cat >>conftest.$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761 #include <X11/Intrinsic.h>
28762 _ACEOF
28763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28765 ac_status=$?
28766 grep -v '^ *+' conftest.er1 >conftest.err
28767 rm -f conftest.er1
28768 cat conftest.err >&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); } >/dev/null; then
28771 if test -s conftest.err; then
28772 ac_cpp_err=$ac_cxx_preproc_warn_flag
28773 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28774 else
28775 ac_cpp_err=
28776 fi
28777 else
28778 ac_cpp_err=yes
28779 fi
28780 if test -z "$ac_cpp_err"; then
28781 # We can compile using X headers with no special include directory.
28782 ac_x_includes=
28783 else
28784 echo "$as_me: failed program was:" >&5
28785 sed 's/^/| /' conftest.$ac_ext >&5
28786
28787 for ac_dir in $ac_x_header_dirs; do
28788 if test -r "$ac_dir/X11/Intrinsic.h"; then
28789 ac_x_includes=$ac_dir
28790 break
28791 fi
28792 done
28793 fi
28794 rm -f conftest.err conftest.$ac_ext
28795 fi # $ac_x_includes = no
28796
28797 if test "$ac_x_libraries" = no; then
28798 # Check for the libraries.
28799 # See if we find them without any special options.
28800 # Don't add to $LIBS permanently.
28801 ac_save_LIBS=$LIBS
28802 LIBS="-lXt $LIBS"
28803 cat >conftest.$ac_ext <<_ACEOF
28804 /* confdefs.h. */
28805 _ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 #include <X11/Intrinsic.h>
28810 int
28811 main ()
28812 {
28813 XtMalloc (0)
28814 ;
28815 return 0;
28816 }
28817 _ACEOF
28818 rm -f conftest.$ac_objext conftest$ac_exeext
28819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28820 (eval $ac_link) 2>conftest.er1
28821 ac_status=$?
28822 grep -v '^ *+' conftest.er1 >conftest.err
28823 rm -f conftest.er1
28824 cat conftest.err >&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } &&
28827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28830 ac_status=$?
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; } &&
28833 { ac_try='test -s conftest$ac_exeext'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28836 ac_status=$?
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; }; then
28839 LIBS=$ac_save_LIBS
28840 # We can link X programs with no special library path.
28841 ac_x_libraries=
28842 else
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.$ac_ext >&5
28845
28846 LIBS=$ac_save_LIBS
28847 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28848 do
28849 # Don't even attempt the hair of trying to link an X program!
28850 for ac_extension in a so sl; do
28851 if test -r $ac_dir/libXt.$ac_extension; then
28852 ac_x_libraries=$ac_dir
28853 break 2
28854 fi
28855 done
28856 done
28857 fi
28858 rm -f conftest.err conftest.$ac_objext \
28859 conftest$ac_exeext conftest.$ac_ext
28860 fi # $ac_x_libraries = no
28861
28862 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28863 # Didn't find X anywhere. Cache the known absence of X.
28864 ac_cv_have_x="have_x=no"
28865 else
28866 # Record where we found X for the cache.
28867 ac_cv_have_x="have_x=yes \
28868 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28869 fi
28870 fi
28871
28872 fi
28873 eval "$ac_cv_have_x"
28874 fi # $with_x != no
28875
28876 if test "$have_x" != yes; then
28877 echo "$as_me:$LINENO: result: $have_x" >&5
28878 echo "${ECHO_T}$have_x" >&6
28879 no_x=yes
28880 else
28881 # If each of the values was on the command line, it overrides each guess.
28882 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28883 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28884 # Update the cache value to reflect the command line values.
28885 ac_cv_have_x="have_x=yes \
28886 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28887 # It might be that x_includes is empty (headers are found in the
28888 # standard search path. Then output the corresponding message
28889 ac_out_x_includes=$x_includes
28890 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
28891 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28892 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28893 fi
28894
28895 fi
28896 if test "$no_x" = yes; then
28897 # Not all programs may use this symbol, but it does not hurt to define it.
28898
28899 cat >>confdefs.h <<\_ACEOF
28900 #define X_DISPLAY_MISSING 1
28901 _ACEOF
28902
28903 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28904 else
28905 if test -n "$x_includes"; then
28906 X_CFLAGS="$X_CFLAGS -I$x_includes"
28907 fi
28908
28909 # It would also be nice to do this for all -L options, not just this one.
28910 if test -n "$x_libraries"; then
28911 X_LIBS="$X_LIBS -L$x_libraries"
28912 # For Solaris; some versions of Sun CC require a space after -R and
28913 # others require no space. Words are not sufficient . . . .
28914 case `(uname -sr) 2>/dev/null` in
28915 "SunOS 5"*)
28916 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28917 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28918 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28919 cat >conftest.$ac_ext <<_ACEOF
28920 /* confdefs.h. */
28921 _ACEOF
28922 cat confdefs.h >>conftest.$ac_ext
28923 cat >>conftest.$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925
28926 int
28927 main ()
28928 {
28929
28930 ;
28931 return 0;
28932 }
28933 _ACEOF
28934 rm -f conftest.$ac_objext conftest$ac_exeext
28935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28936 (eval $ac_link) 2>conftest.er1
28937 ac_status=$?
28938 grep -v '^ *+' conftest.er1 >conftest.err
28939 rm -f conftest.er1
28940 cat conftest.err >&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } &&
28943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28946 ac_status=$?
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; } &&
28949 { ac_try='test -s conftest$ac_exeext'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28952 ac_status=$?
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; }; then
28955 ac_R_nospace=yes
28956 else
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.$ac_ext >&5
28959
28960 ac_R_nospace=no
28961 fi
28962 rm -f conftest.err conftest.$ac_objext \
28963 conftest$ac_exeext conftest.$ac_ext
28964 if test $ac_R_nospace = yes; then
28965 echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6
28967 X_LIBS="$X_LIBS -R$x_libraries"
28968 else
28969 LIBS="$ac_xsave_LIBS -R $x_libraries"
28970 cat >conftest.$ac_ext <<_ACEOF
28971 /* confdefs.h. */
28972 _ACEOF
28973 cat confdefs.h >>conftest.$ac_ext
28974 cat >>conftest.$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28976
28977 int
28978 main ()
28979 {
28980
28981 ;
28982 return 0;
28983 }
28984 _ACEOF
28985 rm -f conftest.$ac_objext conftest$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>conftest.er1
28988 ac_status=$?
28989 grep -v '^ *+' conftest.er1 >conftest.err
28990 rm -f conftest.er1
28991 cat conftest.err >&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } &&
28994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28997 ac_status=$?
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; } &&
29000 { ac_try='test -s conftest$ac_exeext'
29001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002 (eval $ac_try) 2>&5
29003 ac_status=$?
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; }; then
29006 ac_R_space=yes
29007 else
29008 echo "$as_me: failed program was:" >&5
29009 sed 's/^/| /' conftest.$ac_ext >&5
29010
29011 ac_R_space=no
29012 fi
29013 rm -f conftest.err conftest.$ac_objext \
29014 conftest$ac_exeext conftest.$ac_ext
29015 if test $ac_R_space = yes; then
29016 echo "$as_me:$LINENO: result: yes" >&5
29017 echo "${ECHO_T}yes" >&6
29018 X_LIBS="$X_LIBS -R $x_libraries"
29019 else
29020 echo "$as_me:$LINENO: result: neither works" >&5
29021 echo "${ECHO_T}neither works" >&6
29022 fi
29023 fi
29024 LIBS=$ac_xsave_LIBS
29025 esac
29026 fi
29027
29028 # Check for system-dependent libraries X programs must link with.
29029 # Do this before checking for the system-independent R6 libraries
29030 # (-lICE), since we may need -lsocket or whatever for X linking.
29031
29032 if test "$ISC" = yes; then
29033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29034 else
29035 # Martyn Johnson says this is needed for Ultrix, if the X
29036 # libraries were built with DECnet support. And Karl Berry says
29037 # the Alpha needs dnet_stub (dnet does not exist).
29038 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29039 cat >conftest.$ac_ext <<_ACEOF
29040 /* confdefs.h. */
29041 _ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045
29046 /* Override any gcc2 internal prototype to avoid an error. */
29047 #ifdef __cplusplus
29048 extern "C"
29049 #endif
29050 /* We use char because int might match the return type of a gcc2
29051 builtin and then its argument prototype would still apply. */
29052 char XOpenDisplay ();
29053 int
29054 main ()
29055 {
29056 XOpenDisplay ();
29057 ;
29058 return 0;
29059 }
29060 _ACEOF
29061 rm -f conftest.$ac_objext conftest$ac_exeext
29062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29063 (eval $ac_link) 2>conftest.er1
29064 ac_status=$?
29065 grep -v '^ *+' conftest.er1 >conftest.err
29066 rm -f conftest.er1
29067 cat conftest.err >&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); } &&
29070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; } &&
29076 { ac_try='test -s conftest$ac_exeext'
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; }; then
29082 :
29083 else
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29086
29087 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29088 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29089 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 else
29092 ac_check_lib_save_LIBS=$LIBS
29093 LIBS="-ldnet $LIBS"
29094 cat >conftest.$ac_ext <<_ACEOF
29095 /* confdefs.h. */
29096 _ACEOF
29097 cat confdefs.h >>conftest.$ac_ext
29098 cat >>conftest.$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29100
29101 /* Override any gcc2 internal prototype to avoid an error. */
29102 #ifdef __cplusplus
29103 extern "C"
29104 #endif
29105 /* We use char because int might match the return type of a gcc2
29106 builtin and then its argument prototype would still apply. */
29107 char dnet_ntoa ();
29108 int
29109 main ()
29110 {
29111 dnet_ntoa ();
29112 ;
29113 return 0;
29114 }
29115 _ACEOF
29116 rm -f conftest.$ac_objext conftest$ac_exeext
29117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29118 (eval $ac_link) 2>conftest.er1
29119 ac_status=$?
29120 grep -v '^ *+' conftest.er1 >conftest.err
29121 rm -f conftest.er1
29122 cat conftest.err >&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } &&
29125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29128 ac_status=$?
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try='test -s conftest$ac_exeext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29134 ac_status=$?
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 ac_cv_lib_dnet_dnet_ntoa=yes
29138 else
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29141
29142 ac_cv_lib_dnet_dnet_ntoa=no
29143 fi
29144 rm -f conftest.err conftest.$ac_objext \
29145 conftest$ac_exeext conftest.$ac_ext
29146 LIBS=$ac_check_lib_save_LIBS
29147 fi
29148 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29149 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29150 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29151 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29152 fi
29153
29154 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29155 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29156 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29157 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29159 else
29160 ac_check_lib_save_LIBS=$LIBS
29161 LIBS="-ldnet_stub $LIBS"
29162 cat >conftest.$ac_ext <<_ACEOF
29163 /* confdefs.h. */
29164 _ACEOF
29165 cat confdefs.h >>conftest.$ac_ext
29166 cat >>conftest.$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29168
29169 /* Override any gcc2 internal prototype to avoid an error. */
29170 #ifdef __cplusplus
29171 extern "C"
29172 #endif
29173 /* We use char because int might match the return type of a gcc2
29174 builtin and then its argument prototype would still apply. */
29175 char dnet_ntoa ();
29176 int
29177 main ()
29178 {
29179 dnet_ntoa ();
29180 ;
29181 return 0;
29182 }
29183 _ACEOF
29184 rm -f conftest.$ac_objext conftest$ac_exeext
29185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29186 (eval $ac_link) 2>conftest.er1
29187 ac_status=$?
29188 grep -v '^ *+' conftest.er1 >conftest.err
29189 rm -f conftest.er1
29190 cat conftest.err >&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } &&
29193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29196 ac_status=$?
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; } &&
29199 { ac_try='test -s conftest$ac_exeext'
29200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201 (eval $ac_try) 2>&5
29202 ac_status=$?
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); }; }; then
29205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29206 else
29207 echo "$as_me: failed program was:" >&5
29208 sed 's/^/| /' conftest.$ac_ext >&5
29209
29210 ac_cv_lib_dnet_stub_dnet_ntoa=no
29211 fi
29212 rm -f conftest.err conftest.$ac_objext \
29213 conftest$ac_exeext conftest.$ac_ext
29214 LIBS=$ac_check_lib_save_LIBS
29215 fi
29216 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29217 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29218 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29219 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29220 fi
29221
29222 fi
29223 fi
29224 rm -f conftest.err conftest.$ac_objext \
29225 conftest$ac_exeext conftest.$ac_ext
29226 LIBS="$ac_xsave_LIBS"
29227
29228 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29229 # to get the SysV transport functions.
29230 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29231 # needs -lnsl.
29232 # The nsl library prevents programs from opening the X display
29233 # on Irix 5.2, according to T.E. Dickey.
29234 # The functions gethostbyname, getservbyname, and inet_addr are
29235 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29236 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29237 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29238 if test "${ac_cv_func_gethostbyname+set}" = set; then
29239 echo $ECHO_N "(cached) $ECHO_C" >&6
29240 else
29241 cat >conftest.$ac_ext <<_ACEOF
29242 /* confdefs.h. */
29243 _ACEOF
29244 cat confdefs.h >>conftest.$ac_ext
29245 cat >>conftest.$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29249 #define gethostbyname innocuous_gethostbyname
29250
29251 /* System header to define __stub macros and hopefully few prototypes,
29252 which can conflict with char gethostbyname (); below.
29253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29254 <limits.h> exists even on freestanding compilers. */
29255
29256 #ifdef __STDC__
29257 # include <limits.h>
29258 #else
29259 # include <assert.h>
29260 #endif
29261
29262 #undef gethostbyname
29263
29264 /* Override any gcc2 internal prototype to avoid an error. */
29265 #ifdef __cplusplus
29266 extern "C"
29267 {
29268 #endif
29269 /* We use char because int might match the return type of a gcc2
29270 builtin and then its argument prototype would still apply. */
29271 char gethostbyname ();
29272 /* The GNU C library defines this for functions which it implements
29273 to always fail with ENOSYS. Some functions are actually named
29274 something starting with __ and the normal name is an alias. */
29275 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29276 choke me
29277 #else
29278 char (*f) () = gethostbyname;
29279 #endif
29280 #ifdef __cplusplus
29281 }
29282 #endif
29283
29284 int
29285 main ()
29286 {
29287 return f != gethostbyname;
29288 ;
29289 return 0;
29290 }
29291 _ACEOF
29292 rm -f conftest.$ac_objext conftest$ac_exeext
29293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>conftest.er1
29295 ac_status=$?
29296 grep -v '^ *+' conftest.er1 >conftest.err
29297 rm -f conftest.er1
29298 cat conftest.err >&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29304 ac_status=$?
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; } &&
29307 { ac_try='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_func_gethostbyname=yes
29314 else
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29317
29318 ac_cv_func_gethostbyname=no
29319 fi
29320 rm -f conftest.err conftest.$ac_objext \
29321 conftest$ac_exeext conftest.$ac_ext
29322 fi
29323 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29324 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29325
29326 if test $ac_cv_func_gethostbyname = no; then
29327 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29328 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29329 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29332 ac_check_lib_save_LIBS=$LIBS
29333 LIBS="-lnsl $LIBS"
29334 cat >conftest.$ac_ext <<_ACEOF
29335 /* confdefs.h. */
29336 _ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29340
29341 /* Override any gcc2 internal prototype to avoid an error. */
29342 #ifdef __cplusplus
29343 extern "C"
29344 #endif
29345 /* We use char because int might match the return type of a gcc2
29346 builtin and then its argument prototype would still apply. */
29347 char gethostbyname ();
29348 int
29349 main ()
29350 {
29351 gethostbyname ();
29352 ;
29353 return 0;
29354 }
29355 _ACEOF
29356 rm -f conftest.$ac_objext conftest$ac_exeext
29357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29358 (eval $ac_link) 2>conftest.er1
29359 ac_status=$?
29360 grep -v '^ *+' conftest.er1 >conftest.err
29361 rm -f conftest.er1
29362 cat conftest.err >&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); } &&
29365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367 (eval $ac_try) 2>&5
29368 ac_status=$?
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); }; } &&
29371 { ac_try='test -s conftest$ac_exeext'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; }; then
29377 ac_cv_lib_nsl_gethostbyname=yes
29378 else
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.$ac_ext >&5
29381
29382 ac_cv_lib_nsl_gethostbyname=no
29383 fi
29384 rm -f conftest.err conftest.$ac_objext \
29385 conftest$ac_exeext conftest.$ac_ext
29386 LIBS=$ac_check_lib_save_LIBS
29387 fi
29388 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29389 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29390 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29391 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29392 fi
29393
29394 if test $ac_cv_lib_nsl_gethostbyname = no; then
29395 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29396 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29397 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 else
29400 ac_check_lib_save_LIBS=$LIBS
29401 LIBS="-lbsd $LIBS"
29402 cat >conftest.$ac_ext <<_ACEOF
29403 /* confdefs.h. */
29404 _ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29408
29409 /* Override any gcc2 internal prototype to avoid an error. */
29410 #ifdef __cplusplus
29411 extern "C"
29412 #endif
29413 /* We use char because int might match the return type of a gcc2
29414 builtin and then its argument prototype would still apply. */
29415 char gethostbyname ();
29416 int
29417 main ()
29418 {
29419 gethostbyname ();
29420 ;
29421 return 0;
29422 }
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>conftest.er1
29427 ac_status=$?
29428 grep -v '^ *+' conftest.er1 >conftest.err
29429 rm -f conftest.er1
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29436 ac_status=$?
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; } &&
29439 { ac_try='test -s conftest$ac_exeext'
29440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441 (eval $ac_try) 2>&5
29442 ac_status=$?
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); }; }; then
29445 ac_cv_lib_bsd_gethostbyname=yes
29446 else
29447 echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.$ac_ext >&5
29449
29450 ac_cv_lib_bsd_gethostbyname=no
29451 fi
29452 rm -f conftest.err conftest.$ac_objext \
29453 conftest$ac_exeext conftest.$ac_ext
29454 LIBS=$ac_check_lib_save_LIBS
29455 fi
29456 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29457 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29458 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29460 fi
29461
29462 fi
29463 fi
29464
29465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29466 # socket/setsockopt and other routines are undefined under SCO ODT
29467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29468 # on later versions), says Simon Leinen: it contains gethostby*
29469 # variants that don't use the name server (or something). -lsocket
29470 # must be given before -lnsl if both are needed. We assume that
29471 # if connect needs -lnsl, so does gethostbyname.
29472 echo "$as_me:$LINENO: checking for connect" >&5
29473 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29474 if test "${ac_cv_func_connect+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29476 else
29477 cat >conftest.$ac_ext <<_ACEOF
29478 /* confdefs.h. */
29479 _ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29485 #define connect innocuous_connect
29486
29487 /* System header to define __stub macros and hopefully few prototypes,
29488 which can conflict with char connect (); below.
29489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29490 <limits.h> exists even on freestanding compilers. */
29491
29492 #ifdef __STDC__
29493 # include <limits.h>
29494 #else
29495 # include <assert.h>
29496 #endif
29497
29498 #undef connect
29499
29500 /* Override any gcc2 internal prototype to avoid an error. */
29501 #ifdef __cplusplus
29502 extern "C"
29503 {
29504 #endif
29505 /* We use char because int might match the return type of a gcc2
29506 builtin and then its argument prototype would still apply. */
29507 char connect ();
29508 /* The GNU C library defines this for functions which it implements
29509 to always fail with ENOSYS. Some functions are actually named
29510 something starting with __ and the normal name is an alias. */
29511 #if defined (__stub_connect) || defined (__stub___connect)
29512 choke me
29513 #else
29514 char (*f) () = connect;
29515 #endif
29516 #ifdef __cplusplus
29517 }
29518 #endif
29519
29520 int
29521 main ()
29522 {
29523 return f != connect;
29524 ;
29525 return 0;
29526 }
29527 _ACEOF
29528 rm -f conftest.$ac_objext conftest$ac_exeext
29529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29530 (eval $ac_link) 2>conftest.er1
29531 ac_status=$?
29532 grep -v '^ *+' conftest.er1 >conftest.err
29533 rm -f conftest.er1
29534 cat conftest.err >&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } &&
29537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29540 ac_status=$?
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; } &&
29543 { ac_try='test -s conftest$ac_exeext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29546 ac_status=$?
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29549 ac_cv_func_connect=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_cv_func_connect=no
29555 fi
29556 rm -f conftest.err conftest.$ac_objext \
29557 conftest$ac_exeext conftest.$ac_ext
29558 fi
29559 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29560 echo "${ECHO_T}$ac_cv_func_connect" >&6
29561
29562 if test $ac_cv_func_connect = no; then
29563 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29564 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29565 if test "${ac_cv_lib_socket_connect+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 else
29568 ac_check_lib_save_LIBS=$LIBS
29569 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29570 cat >conftest.$ac_ext <<_ACEOF
29571 /* confdefs.h. */
29572 _ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29576
29577 /* Override any gcc2 internal prototype to avoid an error. */
29578 #ifdef __cplusplus
29579 extern "C"
29580 #endif
29581 /* We use char because int might match the return type of a gcc2
29582 builtin and then its argument prototype would still apply. */
29583 char connect ();
29584 int
29585 main ()
29586 {
29587 connect ();
29588 ;
29589 return 0;
29590 }
29591 _ACEOF
29592 rm -f conftest.$ac_objext conftest$ac_exeext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29594 (eval $ac_link) 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; } &&
29607 { ac_try='test -s conftest$ac_exeext'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29610 ac_status=$?
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; }; then
29613 ac_cv_lib_socket_connect=yes
29614 else
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.$ac_ext >&5
29617
29618 ac_cv_lib_socket_connect=no
29619 fi
29620 rm -f conftest.err conftest.$ac_objext \
29621 conftest$ac_exeext conftest.$ac_ext
29622 LIBS=$ac_check_lib_save_LIBS
29623 fi
29624 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29625 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29626 if test $ac_cv_lib_socket_connect = yes; then
29627 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29628 fi
29629
29630 fi
29631
29632 # Guillermo Gomez says -lposix is necessary on A/UX.
29633 echo "$as_me:$LINENO: checking for remove" >&5
29634 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29635 if test "${ac_cv_func_remove+set}" = set; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 else
29638 cat >conftest.$ac_ext <<_ACEOF
29639 /* confdefs.h. */
29640 _ACEOF
29641 cat confdefs.h >>conftest.$ac_ext
29642 cat >>conftest.$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29644 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29646 #define remove innocuous_remove
29647
29648 /* System header to define __stub macros and hopefully few prototypes,
29649 which can conflict with char remove (); below.
29650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29651 <limits.h> exists even on freestanding compilers. */
29652
29653 #ifdef __STDC__
29654 # include <limits.h>
29655 #else
29656 # include <assert.h>
29657 #endif
29658
29659 #undef remove
29660
29661 /* Override any gcc2 internal prototype to avoid an error. */
29662 #ifdef __cplusplus
29663 extern "C"
29664 {
29665 #endif
29666 /* We use char because int might match the return type of a gcc2
29667 builtin and then its argument prototype would still apply. */
29668 char remove ();
29669 /* The GNU C library defines this for functions which it implements
29670 to always fail with ENOSYS. Some functions are actually named
29671 something starting with __ and the normal name is an alias. */
29672 #if defined (__stub_remove) || defined (__stub___remove)
29673 choke me
29674 #else
29675 char (*f) () = remove;
29676 #endif
29677 #ifdef __cplusplus
29678 }
29679 #endif
29680
29681 int
29682 main ()
29683 {
29684 return f != remove;
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext conftest$ac_exeext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29691 (eval $ac_link) 2>conftest.er1
29692 ac_status=$?
29693 grep -v '^ *+' conftest.er1 >conftest.err
29694 rm -f conftest.er1
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29701 ac_status=$?
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try='test -s conftest$ac_exeext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 ac_cv_func_remove=yes
29711 else
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.$ac_ext >&5
29714
29715 ac_cv_func_remove=no
29716 fi
29717 rm -f conftest.err conftest.$ac_objext \
29718 conftest$ac_exeext conftest.$ac_ext
29719 fi
29720 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29721 echo "${ECHO_T}$ac_cv_func_remove" >&6
29722
29723 if test $ac_cv_func_remove = no; then
29724 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29725 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29726 if test "${ac_cv_lib_posix_remove+set}" = set; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29728 else
29729 ac_check_lib_save_LIBS=$LIBS
29730 LIBS="-lposix $LIBS"
29731 cat >conftest.$ac_ext <<_ACEOF
29732 /* confdefs.h. */
29733 _ACEOF
29734 cat confdefs.h >>conftest.$ac_ext
29735 cat >>conftest.$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29737
29738 /* Override any gcc2 internal prototype to avoid an error. */
29739 #ifdef __cplusplus
29740 extern "C"
29741 #endif
29742 /* We use char because int might match the return type of a gcc2
29743 builtin and then its argument prototype would still apply. */
29744 char remove ();
29745 int
29746 main ()
29747 {
29748 remove ();
29749 ;
29750 return 0;
29751 }
29752 _ACEOF
29753 rm -f conftest.$ac_objext conftest$ac_exeext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29755 (eval $ac_link) 2>conftest.er1
29756 ac_status=$?
29757 grep -v '^ *+' conftest.er1 >conftest.err
29758 rm -f conftest.er1
29759 cat conftest.err >&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29765 ac_status=$?
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try='test -s conftest$ac_exeext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774 ac_cv_lib_posix_remove=yes
29775 else
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779 ac_cv_lib_posix_remove=no
29780 fi
29781 rm -f conftest.err conftest.$ac_objext \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29784 fi
29785 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29786 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29787 if test $ac_cv_lib_posix_remove = yes; then
29788 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29789 fi
29790
29791 fi
29792
29793 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29794 echo "$as_me:$LINENO: checking for shmat" >&5
29795 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29796 if test "${ac_cv_func_shmat+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 cat >conftest.$ac_ext <<_ACEOF
29800 /* confdefs.h. */
29801 _ACEOF
29802 cat confdefs.h >>conftest.$ac_ext
29803 cat >>conftest.$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29807 #define shmat innocuous_shmat
29808
29809 /* System header to define __stub macros and hopefully few prototypes,
29810 which can conflict with char shmat (); below.
29811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29812 <limits.h> exists even on freestanding compilers. */
29813
29814 #ifdef __STDC__
29815 # include <limits.h>
29816 #else
29817 # include <assert.h>
29818 #endif
29819
29820 #undef shmat
29821
29822 /* Override any gcc2 internal prototype to avoid an error. */
29823 #ifdef __cplusplus
29824 extern "C"
29825 {
29826 #endif
29827 /* We use char because int might match the return type of a gcc2
29828 builtin and then its argument prototype would still apply. */
29829 char shmat ();
29830 /* The GNU C library defines this for functions which it implements
29831 to always fail with ENOSYS. Some functions are actually named
29832 something starting with __ and the normal name is an alias. */
29833 #if defined (__stub_shmat) || defined (__stub___shmat)
29834 choke me
29835 #else
29836 char (*f) () = shmat;
29837 #endif
29838 #ifdef __cplusplus
29839 }
29840 #endif
29841
29842 int
29843 main ()
29844 {
29845 return f != shmat;
29846 ;
29847 return 0;
29848 }
29849 _ACEOF
29850 rm -f conftest.$ac_objext conftest$ac_exeext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29852 (eval $ac_link) 2>conftest.er1
29853 ac_status=$?
29854 grep -v '^ *+' conftest.er1 >conftest.err
29855 rm -f conftest.er1
29856 cat conftest.err >&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861 (eval $ac_try) 2>&5
29862 ac_status=$?
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); }; } &&
29865 { ac_try='test -s conftest$ac_exeext'
29866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29867 (eval $ac_try) 2>&5
29868 ac_status=$?
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; }; then
29871 ac_cv_func_shmat=yes
29872 else
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.$ac_ext >&5
29875
29876 ac_cv_func_shmat=no
29877 fi
29878 rm -f conftest.err conftest.$ac_objext \
29879 conftest$ac_exeext conftest.$ac_ext
29880 fi
29881 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29882 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29883
29884 if test $ac_cv_func_shmat = no; then
29885 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29886 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29887 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29889 else
29890 ac_check_lib_save_LIBS=$LIBS
29891 LIBS="-lipc $LIBS"
29892 cat >conftest.$ac_ext <<_ACEOF
29893 /* confdefs.h. */
29894 _ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898
29899 /* Override any gcc2 internal prototype to avoid an error. */
29900 #ifdef __cplusplus
29901 extern "C"
29902 #endif
29903 /* We use char because int might match the return type of a gcc2
29904 builtin and then its argument prototype would still apply. */
29905 char shmat ();
29906 int
29907 main ()
29908 {
29909 shmat ();
29910 ;
29911 return 0;
29912 }
29913 _ACEOF
29914 rm -f conftest.$ac_objext conftest$ac_exeext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29916 (eval $ac_link) 2>conftest.er1
29917 ac_status=$?
29918 grep -v '^ *+' conftest.er1 >conftest.err
29919 rm -f conftest.er1
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29926 ac_status=$?
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; } &&
29929 { ac_try='test -s conftest$ac_exeext'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29932 ac_status=$?
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; }; then
29935 ac_cv_lib_ipc_shmat=yes
29936 else
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29939
29940 ac_cv_lib_ipc_shmat=no
29941 fi
29942 rm -f conftest.err conftest.$ac_objext \
29943 conftest$ac_exeext conftest.$ac_ext
29944 LIBS=$ac_check_lib_save_LIBS
29945 fi
29946 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29947 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29948 if test $ac_cv_lib_ipc_shmat = yes; then
29949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29950 fi
29951
29952 fi
29953 fi
29954
29955 # Check for libraries that X11R6 Xt/Xaw programs need.
29956 ac_save_LDFLAGS=$LDFLAGS
29957 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29958 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29959 # check for ICE first), but we must link in the order -lSM -lICE or
29960 # we get undefined symbols. So assume we have SM if we have ICE.
29961 # These have to be linked with before -lX11, unlike the other
29962 # libraries we check for below, so use a different variable.
29963 # John Interrante, Karl Berry
29964 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29965 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29966 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29968 else
29969 ac_check_lib_save_LIBS=$LIBS
29970 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29971 cat >conftest.$ac_ext <<_ACEOF
29972 /* confdefs.h. */
29973 _ACEOF
29974 cat confdefs.h >>conftest.$ac_ext
29975 cat >>conftest.$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29977
29978 /* Override any gcc2 internal prototype to avoid an error. */
29979 #ifdef __cplusplus
29980 extern "C"
29981 #endif
29982 /* We use char because int might match the return type of a gcc2
29983 builtin and then its argument prototype would still apply. */
29984 char IceConnectionNumber ();
29985 int
29986 main ()
29987 {
29988 IceConnectionNumber ();
29989 ;
29990 return 0;
29991 }
29992 _ACEOF
29993 rm -f conftest.$ac_objext conftest$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 ac_cv_lib_ICE_IceConnectionNumber=yes
30015 else
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.$ac_ext >&5
30018
30019 ac_cv_lib_ICE_IceConnectionNumber=no
30020 fi
30021 rm -f conftest.err conftest.$ac_objext \
30022 conftest$ac_exeext conftest.$ac_ext
30023 LIBS=$ac_check_lib_save_LIBS
30024 fi
30025 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30026 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30027 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30028 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30029 fi
30030
30031 LDFLAGS=$ac_save_LDFLAGS
30032
30033 fi
30034
30035
30036 if test "$no_x" = "yes"; then
30037 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30038 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30039 { (exit 1); exit 1; }; }
30040 fi
30041
30042 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30043 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30044 AFMINSTALL=afminstall
30045 COMPILED_X_PROGRAM=0
30046
30047 fi
30048
30049 if test "$wxUSE_X11" = 1; then
30050 if test "$wxUSE_NANOX" = "yes"; then
30051 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30052 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30053 if test "x$MICROWIN" = x ; then
30054 echo "$as_me:$LINENO: result: not found" >&5
30055 echo "${ECHO_T}not found" >&6
30056 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30057 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30058 { (exit 1); exit 1; }; }
30059 else
30060 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30061 echo "${ECHO_T}$MICROWIN" >&6
30062 cat >>confdefs.h <<\_ACEOF
30063 #define wxUSE_NANOX 1
30064 _ACEOF
30065
30066 fi
30067 fi
30068
30069 if test "$wxUSE_UNICODE" = "yes"; then
30070
30071
30072 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30073 if test -n "$ac_tool_prefix"; then
30074 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30075 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30076 echo "$as_me:$LINENO: checking for $ac_word" >&5
30077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30078 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 case $PKG_CONFIG in
30082 [\\/]* | ?:[\\/]*)
30083 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30084 ;;
30085 *)
30086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30087 for as_dir in $PATH
30088 do
30089 IFS=$as_save_IFS
30090 test -z "$as_dir" && as_dir=.
30091 for ac_exec_ext in '' $ac_executable_extensions; do
30092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30093 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30095 break 2
30096 fi
30097 done
30098 done
30099
30100 ;;
30101 esac
30102 fi
30103 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30104
30105 if test -n "$PKG_CONFIG"; then
30106 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30107 echo "${ECHO_T}$PKG_CONFIG" >&6
30108 else
30109 echo "$as_me:$LINENO: result: no" >&5
30110 echo "${ECHO_T}no" >&6
30111 fi
30112
30113 fi
30114 if test -z "$ac_cv_path_PKG_CONFIG"; then
30115 ac_pt_PKG_CONFIG=$PKG_CONFIG
30116 # Extract the first word of "pkg-config", so it can be a program name with args.
30117 set dummy pkg-config; ac_word=$2
30118 echo "$as_me:$LINENO: checking for $ac_word" >&5
30119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30120 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30121 echo $ECHO_N "(cached) $ECHO_C" >&6
30122 else
30123 case $ac_pt_PKG_CONFIG in
30124 [\\/]* | ?:[\\/]*)
30125 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30126 ;;
30127 *)
30128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30129 for as_dir in $PATH
30130 do
30131 IFS=$as_save_IFS
30132 test -z "$as_dir" && as_dir=.
30133 for ac_exec_ext in '' $ac_executable_extensions; do
30134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30135 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30137 break 2
30138 fi
30139 done
30140 done
30141
30142 ;;
30143 esac
30144 fi
30145 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30146
30147 if test -n "$ac_pt_PKG_CONFIG"; then
30148 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30149 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30150 else
30151 echo "$as_me:$LINENO: result: no" >&5
30152 echo "${ECHO_T}no" >&6
30153 fi
30154
30155 PKG_CONFIG=$ac_pt_PKG_CONFIG
30156 else
30157 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30158 fi
30159
30160 fi
30161 if test -n "$PKG_CONFIG"; then
30162 _pkg_min_version=0.9.0
30163 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30164 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30166 echo "$as_me:$LINENO: result: yes" >&5
30167 echo "${ECHO_T}yes" >&6
30168 else
30169 echo "$as_me:$LINENO: result: no" >&5
30170 echo "${ECHO_T}no" >&6
30171 PKG_CONFIG=""
30172 fi
30173
30174 fi
30175
30176 pkg_failed=no
30177 echo "$as_me:$LINENO: checking for PANGOX" >&5
30178 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30179
30180 if test -n "$PKG_CONFIG"; then
30181 if test -n "$PANGOX_CFLAGS"; then
30182 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30183 else
30184 if test -n "$PKG_CONFIG" && \
30185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30186 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; then
30190 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30191 else
30192 pkg_failed=yes
30193 fi
30194 fi
30195 else
30196 pkg_failed=untried
30197 fi
30198 if test -n "$PKG_CONFIG"; then
30199 if test -n "$PANGOX_LIBS"; then
30200 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30201 else
30202 if test -n "$PKG_CONFIG" && \
30203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30204 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; then
30208 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30209 else
30210 pkg_failed=yes
30211 fi
30212 fi
30213 else
30214 pkg_failed=untried
30215 fi
30216
30217
30218
30219 if test $pkg_failed = yes; then
30220
30221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30222 _pkg_short_errors_supported=yes
30223 else
30224 _pkg_short_errors_supported=no
30225 fi
30226 if test $_pkg_short_errors_supported = yes; then
30227 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30228 else
30229 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30230 fi
30231 # Put the nasty error message in config.log where it belongs
30232 echo "$PANGOX_PKG_ERRORS" >&5
30233
30234
30235 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30236 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30237 { (exit 1); exit 1; }; }
30238
30239
30240 elif test $pkg_failed = untried; then
30241
30242 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30243 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30244 { (exit 1); exit 1; }; }
30245
30246
30247 else
30248 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30249 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30250 echo "$as_me:$LINENO: result: yes" >&5
30251 echo "${ECHO_T}yes" >&6
30252
30253 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30254 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30255
30256 fi
30257
30258 pkg_failed=no
30259 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30260 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30261
30262 if test -n "$PKG_CONFIG"; then
30263 if test -n "$PANGOFT2_CFLAGS"; then
30264 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30265 else
30266 if test -n "$PKG_CONFIG" && \
30267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30268 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30269 ac_status=$?
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; then
30272 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30273 else
30274 pkg_failed=yes
30275 fi
30276 fi
30277 else
30278 pkg_failed=untried
30279 fi
30280 if test -n "$PKG_CONFIG"; then
30281 if test -n "$PANGOFT2_LIBS"; then
30282 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30283 else
30284 if test -n "$PKG_CONFIG" && \
30285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30286 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; then
30290 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30291 else
30292 pkg_failed=yes
30293 fi
30294 fi
30295 else
30296 pkg_failed=untried
30297 fi
30298
30299
30300
30301 if test $pkg_failed = yes; then
30302
30303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30304 _pkg_short_errors_supported=yes
30305 else
30306 _pkg_short_errors_supported=no
30307 fi
30308 if test $_pkg_short_errors_supported = yes; then
30309 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30310 else
30311 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30312 fi
30313 # Put the nasty error message in config.log where it belongs
30314 echo "$PANGOFT2_PKG_ERRORS" >&5
30315
30316
30317 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30318 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30319 wxUSE_PRINTING_ARCHITECTURE="no"
30320
30321
30322 elif test $pkg_failed = untried; then
30323
30324 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30325 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30326 wxUSE_PRINTING_ARCHITECTURE="no"
30327
30328
30329 else
30330 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30331 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30332 echo "$as_me:$LINENO: result: yes" >&5
30333 echo "${ECHO_T}yes" >&6
30334
30335 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30336 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30337
30338 fi
30339
30340 pkg_failed=no
30341 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30342 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30343
30344 if test -n "$PKG_CONFIG"; then
30345 if test -n "$PANGOXFT_CFLAGS"; then
30346 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30347 else
30348 if test -n "$PKG_CONFIG" && \
30349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30350 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30351 ac_status=$?
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; then
30354 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30355 else
30356 pkg_failed=yes
30357 fi
30358 fi
30359 else
30360 pkg_failed=untried
30361 fi
30362 if test -n "$PKG_CONFIG"; then
30363 if test -n "$PANGOXFT_LIBS"; then
30364 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30365 else
30366 if test -n "$PKG_CONFIG" && \
30367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30368 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; then
30372 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30373 else
30374 pkg_failed=yes
30375 fi
30376 fi
30377 else
30378 pkg_failed=untried
30379 fi
30380
30381
30382
30383 if test $pkg_failed = yes; then
30384
30385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30386 _pkg_short_errors_supported=yes
30387 else
30388 _pkg_short_errors_supported=no
30389 fi
30390 if test $_pkg_short_errors_supported = yes; then
30391 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30392 else
30393 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30394 fi
30395 # Put the nasty error message in config.log where it belongs
30396 echo "$PANGOXFT_PKG_ERRORS" >&5
30397
30398
30399 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30400 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30401
30402
30403 elif test $pkg_failed = untried; then
30404
30405 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30406 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30407
30408
30409 else
30410 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30411 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30412 echo "$as_me:$LINENO: result: yes" >&5
30413 echo "${ECHO_T}yes" >&6
30414
30415 cat >>confdefs.h <<\_ACEOF
30416 #define HAVE_PANGO_XFT 1
30417 _ACEOF
30418
30419 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30420 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30421
30422 fi
30423 save_CXXFLAGS="$CXXFLAGS"
30424 save_LIBS="$LIBS"
30425 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30426 LIBS="$LIBS $PANGOX_LIBS"
30427
30428 for ac_func in pango_font_family_is_monospace
30429 do
30430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30431 echo "$as_me:$LINENO: checking for $ac_func" >&5
30432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30433 if eval "test \"\${$as_ac_var+set}\" = set"; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 else
30436 cat >conftest.$ac_ext <<_ACEOF
30437 /* confdefs.h. */
30438 _ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30444 #define $ac_func innocuous_$ac_func
30445
30446 /* System header to define __stub macros and hopefully few prototypes,
30447 which can conflict with char $ac_func (); below.
30448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30449 <limits.h> exists even on freestanding compilers. */
30450
30451 #ifdef __STDC__
30452 # include <limits.h>
30453 #else
30454 # include <assert.h>
30455 #endif
30456
30457 #undef $ac_func
30458
30459 /* Override any gcc2 internal prototype to avoid an error. */
30460 #ifdef __cplusplus
30461 extern "C"
30462 {
30463 #endif
30464 /* We use char because int might match the return type of a gcc2
30465 builtin and then its argument prototype would still apply. */
30466 char $ac_func ();
30467 /* The GNU C library defines this for functions which it implements
30468 to always fail with ENOSYS. Some functions are actually named
30469 something starting with __ and the normal name is an alias. */
30470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30471 choke me
30472 #else
30473 char (*f) () = $ac_func;
30474 #endif
30475 #ifdef __cplusplus
30476 }
30477 #endif
30478
30479 int
30480 main ()
30481 {
30482 return f != $ac_func;
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30490 ac_status=$?
30491 grep -v '^ *+' conftest.er1 >conftest.err
30492 rm -f conftest.er1
30493 cat conftest.err >&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try='test -s conftest$ac_exeext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 eval "$as_ac_var=yes"
30509 else
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.$ac_ext >&5
30512
30513 eval "$as_ac_var=no"
30514 fi
30515 rm -f conftest.err conftest.$ac_objext \
30516 conftest$ac_exeext conftest.$ac_ext
30517 fi
30518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30520 if test `eval echo '${'$as_ac_var'}'` = yes; then
30521 cat >>confdefs.h <<_ACEOF
30522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30523 _ACEOF
30524
30525 fi
30526 done
30527
30528 CXXFLAGS="$save_CXXFLAGS"
30529 LIBS="$save_LIBS"
30530 fi
30531
30532 wxUSE_UNIVERSAL="yes"
30533
30534 if test "$wxUSE_NANOX" = "yes"; then
30535 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30536 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"
30537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30538 else
30539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30540 fi
30541
30542 TOOLKIT=X11
30543 GUIDIST=X11_DIST
30544 fi
30545
30546 if test "$wxUSE_MOTIF" = 1; then
30547 if test "$wxUSE_UNICODE" = "yes"; then
30548 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30549 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30550 { (exit 1); exit 1; }; }
30551 fi
30552
30553 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30554 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30555
30556 ac_find_includes=
30557 for ac_dir in $SEARCH_INCLUDE /usr/include;
30558 do
30559 if test -f "$ac_dir/Xm/Xm.h"; then
30560 ac_find_includes=$ac_dir
30561 break
30562 fi
30563 done
30564
30565 if test "$ac_find_includes" != "" ; then
30566 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30567 echo "${ECHO_T}found in $ac_find_includes" >&6
30568
30569 if test "x$ac_find_includes" = "x/usr/include"; then
30570 ac_path_to_include=""
30571 else
30572 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30573 result=$?
30574 if test $result = 0; then
30575 ac_path_to_include=""
30576 else
30577 ac_path_to_include=" -I$ac_find_includes"
30578 fi
30579 fi
30580
30581 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30582 else
30583 save_CXXFLAGS=$CXXFLAGS
30584 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30585
30586 cat >conftest.$ac_ext <<_ACEOF
30587 /* confdefs.h. */
30588 _ACEOF
30589 cat confdefs.h >>conftest.$ac_ext
30590 cat >>conftest.$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30592
30593 #include <Xm/Xm.h>
30594
30595 int
30596 main ()
30597 {
30598
30599 int version;
30600 version = xmUseVersion;
30601
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 rm -f conftest.$ac_objext
30607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30608 (eval $ac_compile) 2>conftest.er1
30609 ac_status=$?
30610 grep -v '^ *+' conftest.er1 >conftest.err
30611 rm -f conftest.er1
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } &&
30615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30617 (eval $ac_try) 2>&5
30618 ac_status=$?
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; } &&
30621 { ac_try='test -s conftest.$ac_objext'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30624 ac_status=$?
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; }; then
30627
30628 echo "$as_me:$LINENO: result: found in default search path" >&5
30629 echo "${ECHO_T}found in default search path" >&6
30630 COMPILED_X_PROGRAM=1
30631
30632 else
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.$ac_ext >&5
30635
30636
30637 echo "$as_me:$LINENO: result: no" >&5
30638 echo "${ECHO_T}no" >&6
30639 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30640 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30641 { (exit 1); exit 1; }; }
30642
30643
30644 fi
30645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30646
30647 CXXFLAGS=$save_CXXFLAGS
30648 fi
30649
30650
30651 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30652 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30653
30654 ac_find_libraries=
30655 for ac_dir in $SEARCH_LIB;
30656 do
30657 for ac_extension in a so sl dylib dll.a; do
30658 if test -f "$ac_dir/libXm.$ac_extension"; then
30659 ac_find_libraries=$ac_dir
30660 break 2
30661 fi
30662 done
30663 done
30664
30665
30666 if test "x$ac_find_libraries" != "x" ; then
30667 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30668 echo "${ECHO_T}found in $ac_find_libraries" >&6
30669
30670
30671 if test "$ac_find_libraries" = "default location"; then
30672 ac_path_to_link=""
30673 else
30674 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30675 result=$?
30676 if test $result = 0; then
30677 ac_path_to_link=""
30678 else
30679 ac_path_to_link=" -L$ac_find_libraries"
30680 fi
30681 fi
30682
30683 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30684 else
30685 save_CXXFLAGS=$CXXFLAGS
30686 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30687 save_LIBS="$LIBS"
30688 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30689
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696
30697 #include <Xm/Xm.h>
30698
30699 int
30700 main ()
30701 {
30702
30703 int version;
30704 version = xmUseVersion;
30705
30706 ;
30707 return 0;
30708 }
30709 _ACEOF
30710 rm -f conftest.$ac_objext conftest$ac_exeext
30711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30712 (eval $ac_link) 2>conftest.er1
30713 ac_status=$?
30714 grep -v '^ *+' conftest.er1 >conftest.err
30715 rm -f conftest.er1
30716 cat conftest.err >&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } &&
30719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try='test -s conftest$ac_exeext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30728 ac_status=$?
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731
30732 echo "$as_me:$LINENO: result: found in default search path" >&5
30733 echo "${ECHO_T}found in default search path" >&6
30734 COMPILED_X_PROGRAM=1
30735
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740
30741 echo "$as_me:$LINENO: result: no" >&5
30742 echo "${ECHO_T}no" >&6
30743 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30744 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30745 { (exit 1); exit 1; }; }
30746
30747
30748 fi
30749 rm -f conftest.err conftest.$ac_objext \
30750 conftest$ac_exeext conftest.$ac_ext
30751
30752 CXXFLAGS=$save_CXXFLAGS
30753 LIBS="$save_LIBS"
30754 fi
30755
30756 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30757 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30758 libp_link=""
30759 libsm_ice_link=""
30760 libs_found=0
30761 for libp in "" " -lXp"; do
30762 if test "$libs_found" = "0"; then
30763 for libsm_ice in "" " -lSM -lICE"; do
30764 if test "$libs_found" = "0"; then
30765 save_LIBS="$LIBS"
30766 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30767 save_CXXFLAGS=$CXXFLAGS
30768 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30769
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776
30777 #include <Xm/Xm.h>
30778 #include <Xm/List.h>
30779
30780 int
30781 main ()
30782 {
30783
30784 XmString string = NULL;
30785 Widget w = NULL;
30786 int position = 0;
30787 XmListAddItem(w, string, position);
30788
30789 ;
30790 return 0;
30791 }
30792 _ACEOF
30793 rm -f conftest.$ac_objext conftest$ac_exeext
30794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30795 (eval $ac_link) 2>conftest.er1
30796 ac_status=$?
30797 grep -v '^ *+' conftest.er1 >conftest.err
30798 rm -f conftest.er1
30799 cat conftest.err >&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); } &&
30802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804 (eval $ac_try) 2>&5
30805 ac_status=$?
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); }; } &&
30808 { ac_try='test -s conftest$ac_exeext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814
30815 libp_link="$libp"
30816 libsm_ice_link="$libsm_ice"
30817 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30818 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30819 libs_found=1
30820
30821 else
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.$ac_ext >&5
30824
30825
30826
30827 fi
30828 rm -f conftest.err conftest.$ac_objext \
30829 conftest$ac_exeext conftest.$ac_ext
30830
30831 LIBS="$save_LIBS"
30832 CXXFLAGS=$save_CXXFLAGS
30833 fi
30834 done
30835 fi
30836 done
30837
30838 if test "$libs_found" = "0"; then
30839 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30840 echo "${ECHO_T}can't find the right libraries" >&6
30841 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30842 echo "$as_me: error: can't link a simple motif program" >&2;}
30843 { (exit 1); exit 1; }; }
30844 fi
30845
30846 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30847 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30848 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30849 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 else
30851 ac_check_lib_save_LIBS=$LIBS
30852 LIBS="-lSgm $LIBS"
30853 cat >conftest.$ac_ext <<_ACEOF
30854 /* confdefs.h. */
30855 _ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859
30860 /* Override any gcc2 internal prototype to avoid an error. */
30861 #ifdef __cplusplus
30862 extern "C"
30863 #endif
30864 /* We use char because int might match the return type of a gcc2
30865 builtin and then its argument prototype would still apply. */
30866 char SgCreateList ();
30867 int
30868 main ()
30869 {
30870 SgCreateList ();
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 rm -f conftest.$ac_objext conftest$ac_exeext
30876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30877 (eval $ac_link) 2>conftest.er1
30878 ac_status=$?
30879 grep -v '^ *+' conftest.er1 >conftest.err
30880 rm -f conftest.er1
30881 cat conftest.err >&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30886 (eval $ac_try) 2>&5
30887 ac_status=$?
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); }; } &&
30890 { ac_try='test -s conftest$ac_exeext'
30891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30892 (eval $ac_try) 2>&5
30893 ac_status=$?
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); }; }; then
30896 ac_cv_lib_Sgm_SgCreateList=yes
30897 else
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.$ac_ext >&5
30900
30901 ac_cv_lib_Sgm_SgCreateList=no
30902 fi
30903 rm -f conftest.err conftest.$ac_objext \
30904 conftest$ac_exeext conftest.$ac_ext
30905 LIBS=$ac_check_lib_save_LIBS
30906 fi
30907 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30908 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30909 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30910 libsgm_link=" -lSgm"
30911 fi
30912
30913
30914 save_CXXFLAGS=$CXXFLAGS
30915 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30916
30917 echo "$as_me:$LINENO: checking for Motif 2" >&5
30918 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30919 if test "${wx_cv_lib_motif2+set}" = set; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 else
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928
30929 #include <Xm/Xm.h>
30930
30931 int
30932 main ()
30933 {
30934
30935 #if XmVersion < 2000
30936 Not Motif 2
30937 #endif
30938
30939 ;
30940 return 0;
30941 }
30942 _ACEOF
30943 rm -f conftest.$ac_objext
30944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30945 (eval $ac_compile) 2>conftest.er1
30946 ac_status=$?
30947 grep -v '^ *+' conftest.er1 >conftest.err
30948 rm -f conftest.er1
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } &&
30952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30955 ac_status=$?
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; } &&
30958 { ac_try='test -s conftest.$ac_objext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30961 ac_status=$?
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 wx_cv_lib_motif2="yes"
30965 else
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30968
30969 wx_cv_lib_motif2="no"
30970 fi
30971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30972 fi
30973 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30974 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30975 if test "$wx_cv_lib_motif2" = "yes"; then
30976 cat >>confdefs.h <<\_ACEOF
30977 #define __WXMOTIF20__ 1
30978 _ACEOF
30979
30980 else
30981 cat >>confdefs.h <<\_ACEOF
30982 #define __WXMOTIF20__ 0
30983 _ACEOF
30984
30985 fi
30986
30987 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30988 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30989 if test "${wx_cv_lib_lesstif+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992 cat >conftest.$ac_ext <<_ACEOF
30993 /* confdefs.h. */
30994 _ACEOF
30995 cat confdefs.h >>conftest.$ac_ext
30996 cat >>conftest.$ac_ext <<_ACEOF
30997 /* end confdefs.h. */
30998
30999 #include <Xm/Xm.h>
31000
31001 int
31002 main ()
31003 {
31004
31005 #if !defined(LesstifVersion) || LesstifVersion <= 0
31006 Not Lesstif
31007 #endif
31008
31009 ;
31010 return 0;
31011 }
31012 _ACEOF
31013 rm -f conftest.$ac_objext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31015 (eval $ac_compile) 2>conftest.er1
31016 ac_status=$?
31017 grep -v '^ *+' conftest.er1 >conftest.err
31018 rm -f conftest.er1
31019 cat conftest.err >&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); } &&
31022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 wx_cv_lib_lesstif="yes"
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 wx_cv_lib_lesstif="no"
31040 fi
31041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31042
31043 fi
31044 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31045 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31046 if test "$wx_cv_lib_lesstif" = "yes"; then
31047 cat >>confdefs.h <<\_ACEOF
31048 #define __WXLESSTIF__ 1
31049 _ACEOF
31050
31051 else
31052 cat >>confdefs.h <<\_ACEOF
31053 #define __WXLESSTIF__ 0
31054 _ACEOF
31055
31056 fi
31057
31058 CXXFLAGS=$save_CXXFLAGS
31059
31060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31061 TOOLKIT=MOTIF
31062 GUIDIST=MOTIF_DIST
31063 fi
31064
31065 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31066 if test "$wxUSE_LIBXPM" = "sys"; then
31067 echo "$as_me:$LINENO: checking for Xpm library" >&5
31068 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31069
31070 ac_find_libraries=
31071 for ac_dir in $SEARCH_LIB;
31072 do
31073 for ac_extension in a so sl dylib dll.a; do
31074 if test -f "$ac_dir/libXpm.$ac_extension"; then
31075 ac_find_libraries=$ac_dir
31076 break 2
31077 fi
31078 done
31079 done
31080
31081 if test "$ac_find_libraries" != "" ; then
31082
31083 if test "$ac_find_libraries" = "default location"; then
31084 ac_path_to_link=""
31085 else
31086 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31087 result=$?
31088 if test $result = 0; then
31089 ac_path_to_link=""
31090 else
31091 ac_path_to_link=" -L$ac_find_libraries"
31092 fi
31093 fi
31094
31095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31096 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31097 echo "${ECHO_T}found in $ac_find_libraries" >&6
31098
31099 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31100 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31101 if test "${wx_cv_x11_xpm_h+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104
31105 save_CXXFLAGS=$CXXFLAGS
31106 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31107
31108 cat >conftest.$ac_ext <<_ACEOF
31109 /* confdefs.h. */
31110 _ACEOF
31111 cat confdefs.h >>conftest.$ac_ext
31112 cat >>conftest.$ac_ext <<_ACEOF
31113 /* end confdefs.h. */
31114
31115 #include <X11/xpm.h>
31116
31117 int
31118 main ()
31119 {
31120
31121 int version;
31122 version = XpmLibraryVersion();
31123
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31130 (eval $ac_compile) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest.$ac_objext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 wx_cv_x11_xpm_h=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 wx_cv_x11_xpm_h=no
31155
31156 fi
31157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31158
31159 CXXFLAGS=$save_CXXFLAGS
31160
31161
31162 fi
31163 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31164 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31165
31166 if test $wx_cv_x11_xpm_h = "yes"; then
31167 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31168 cat >>confdefs.h <<\_ACEOF
31169 #define wxHAVE_LIB_XPM 1
31170 _ACEOF
31171
31172 else
31173 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31174 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31175 fi
31176 fi
31177
31178 fi
31179
31180 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31181 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31182 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31183 echo $ECHO_N "(cached) $ECHO_C" >&6
31184 else
31185 ac_check_lib_save_LIBS=$LIBS
31186 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31187 cat >conftest.$ac_ext <<_ACEOF
31188 /* confdefs.h. */
31189 _ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31193
31194 /* Override any gcc2 internal prototype to avoid an error. */
31195 #ifdef __cplusplus
31196 extern "C"
31197 #endif
31198 /* We use char because int might match the return type of a gcc2
31199 builtin and then its argument prototype would still apply. */
31200 char XShapeQueryExtension ();
31201 int
31202 main ()
31203 {
31204 XShapeQueryExtension ();
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext conftest$ac_exeext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31211 (eval $ac_link) 2>conftest.er1
31212 ac_status=$?
31213 grep -v '^ *+' conftest.er1 >conftest.err
31214 rm -f conftest.er1
31215 cat conftest.err >&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } &&
31218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31221 ac_status=$?
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; } &&
31224 { ac_try='test -s conftest$ac_exeext'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 ac_cv_lib_Xext_XShapeQueryExtension=yes
31231 else
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31234
31235 ac_cv_lib_Xext_XShapeQueryExtension=no
31236 fi
31237 rm -f conftest.err conftest.$ac_objext \
31238 conftest$ac_exeext conftest.$ac_ext
31239 LIBS=$ac_check_lib_save_LIBS
31240 fi
31241 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31242 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31243 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31244
31245 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31246 wxHAVE_XEXT_LIB=1
31247
31248 fi
31249
31250
31251 if test "$wxHAVE_XEXT_LIB" = 1; then
31252 save_CXXFLAGS="$CXXFLAGS"
31253 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31254
31255 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31256 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31257 cat >conftest.$ac_ext <<_ACEOF
31258 /* confdefs.h. */
31259 _ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263
31264 #include <X11/Xlib.h>
31265 #include <X11/extensions/shape.h>
31266
31267 int
31268 main ()
31269 {
31270
31271 int dummy1, dummy2;
31272 XShapeQueryExtension((Display*)NULL,
31273 (int*)NULL, (int*)NULL);
31274
31275 ;
31276 return 0;
31277 }
31278 _ACEOF
31279 rm -f conftest.$ac_objext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31281 (eval $ac_compile) 2>conftest.er1
31282 ac_status=$?
31283 grep -v '^ *+' conftest.er1 >conftest.err
31284 rm -f conftest.er1
31285 cat conftest.err >&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } &&
31288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try='test -s conftest.$ac_objext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300
31301 cat >>confdefs.h <<\_ACEOF
31302 #define HAVE_XSHAPE 1
31303 _ACEOF
31304
31305 echo "$as_me:$LINENO: result: found" >&5
31306 echo "${ECHO_T}found" >&6
31307
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312
31313 echo "$as_me:$LINENO: result: not found" >&5
31314 echo "${ECHO_T}not found" >&6
31315
31316 fi
31317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31318 CXXFLAGS="$save_CXXFLAGS"
31319
31320 fi
31321 fi
31322
31323 if test "$wxUSE_MAC" = 1; then
31324 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31325 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31326 if test "$GCC" = yes; then
31327 echo "$as_me:$LINENO: result: gcc" >&5
31328 echo "${ECHO_T}gcc" >&6
31329 CPPFLAGS_PASCAL="-fpascal-strings"
31330 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31331 echo "$as_me:$LINENO: result: xlc" >&5
31332 echo "${ECHO_T}xlc" >&6
31333 CPPFLAGS_PASCAL="-qmacpstr"
31334 else
31335 echo "$as_me:$LINENO: result: none" >&5
31336 echo "${ECHO_T}none" >&6
31337 fi
31338
31339 if test "x$wxUSE_UNIX" = "xyes"; then
31340 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31341 else
31342 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31343 fi
31344
31345 TOOLKIT=MAC
31346 GUIDIST=MACX_DIST
31347 WXBASEPORT="_carbon"
31348 fi
31349
31350 if test "$wxUSE_COCOA" = 1; then
31351 TOOLKIT=COCOA
31352 GUIDIST=COCOA_DIST
31353 fi
31354
31355 if test "$wxUSE_PM" = 1; then
31356 TOOLKIT=PM
31357 GUIDIST=PM_DIST
31358 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31359 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31360 if test "${wx_cv_spbcdata+set}" = set; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31362 else
31363
31364 cat >conftest.$ac_ext <<_ACEOF
31365 /* confdefs.h. */
31366 _ACEOF
31367 cat confdefs.h >>conftest.$ac_ext
31368 cat >>conftest.$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31370
31371 #define INCL_PM
31372 #include <os2.h>
31373
31374 int
31375 main ()
31376 {
31377
31378 SPBCDATA test;
31379
31380 ;
31381 return 0;
31382 }
31383 _ACEOF
31384 rm -f conftest.$ac_objext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31386 (eval $ac_compile) 2>conftest.er1
31387 ac_status=$?
31388 grep -v '^ *+' conftest.er1 >conftest.err
31389 rm -f conftest.er1
31390 cat conftest.err >&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); } &&
31393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31395 (eval $ac_try) 2>&5
31396 ac_status=$?
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; } &&
31399 { ac_try='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31402 ac_status=$?
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31405 wx_cv_spbcdata=yes
31406 else
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.$ac_ext >&5
31409
31410 wx_cv_spbcdata=no
31411
31412 fi
31413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31414
31415
31416 fi
31417 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31418 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31419
31420 if test $wx_cv_spbcdata = "yes"; then
31421 cat >>confdefs.h <<\_ACEOF
31422 #define HAVE_SPBCDATA 1
31423 _ACEOF
31424
31425 fi
31426 fi
31427
31428 if test "$TOOLKIT" = "PM" ; then
31429 TOOLKIT_DIR="os2"
31430 else
31431 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31432 fi
31433
31434 if test "$wxUSE_UNIVERSAL" = "yes"; then
31435 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31436 WIDGET_SET=univ
31437 fi
31438
31439 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31440 DISTDIR="wx\$(TOOLKIT)"
31441 else
31442 USE_GUI=0
31443
31444 TOOLKIT_DIR="base"
31445
31446 if test "$USE_WIN32" = 1 ; then
31447 TOOLKIT="MSW"
31448 fi
31449
31450 GUIDIST="BASE_DIST"
31451 DISTDIR="wxBase"
31452 fi
31453
31454
31455 if test "$wxUSE_GUI" = "yes"; then
31456 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31457
31458 for ac_header in X11/Xlib.h
31459 do
31460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo "$as_me:$LINENO: checking for $ac_header" >&5
31463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 fi
31467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31469 else
31470 # Is the header compilable?
31471 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31472 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31473 cat >conftest.$ac_ext <<_ACEOF
31474 /* confdefs.h. */
31475 _ACEOF
31476 cat confdefs.h >>conftest.$ac_ext
31477 cat >>conftest.$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31479 $ac_includes_default
31480 #include <$ac_header>
31481 _ACEOF
31482 rm -f conftest.$ac_objext
31483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31484 (eval $ac_compile) 2>conftest.er1
31485 ac_status=$?
31486 grep -v '^ *+' conftest.er1 >conftest.err
31487 rm -f conftest.er1
31488 cat conftest.err >&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } &&
31491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; } &&
31497 { ac_try='test -s conftest.$ac_objext'
31498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31499 (eval $ac_try) 2>&5
31500 ac_status=$?
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; }; then
31503 ac_header_compiler=yes
31504 else
31505 echo "$as_me: failed program was:" >&5
31506 sed 's/^/| /' conftest.$ac_ext >&5
31507
31508 ac_header_compiler=no
31509 fi
31510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31512 echo "${ECHO_T}$ac_header_compiler" >&6
31513
31514 # Is the header present?
31515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31517 cat >conftest.$ac_ext <<_ACEOF
31518 /* confdefs.h. */
31519 _ACEOF
31520 cat confdefs.h >>conftest.$ac_ext
31521 cat >>conftest.$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31523 #include <$ac_header>
31524 _ACEOF
31525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31527 ac_status=$?
31528 grep -v '^ *+' conftest.er1 >conftest.err
31529 rm -f conftest.er1
31530 cat conftest.err >&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } >/dev/null; then
31533 if test -s conftest.err; then
31534 ac_cpp_err=$ac_cxx_preproc_warn_flag
31535 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31536 else
31537 ac_cpp_err=
31538 fi
31539 else
31540 ac_cpp_err=yes
31541 fi
31542 if test -z "$ac_cpp_err"; then
31543 ac_header_preproc=yes
31544 else
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31547
31548 ac_header_preproc=no
31549 fi
31550 rm -f conftest.err conftest.$ac_ext
31551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31552 echo "${ECHO_T}$ac_header_preproc" >&6
31553
31554 # So? What about this header?
31555 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31556 yes:no: )
31557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31561 ac_header_preproc=yes
31562 ;;
31563 no:yes:* )
31564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31576 (
31577 cat <<\_ASBOX
31578 ## ----------------------------------------- ##
31579 ## Report this to wx-dev@lists.wxwidgets.org ##
31580 ## ----------------------------------------- ##
31581 _ASBOX
31582 ) |
31583 sed "s/^/$as_me: WARNING: /" >&2
31584 ;;
31585 esac
31586 echo "$as_me:$LINENO: checking for $ac_header" >&5
31587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31589 echo $ECHO_N "(cached) $ECHO_C" >&6
31590 else
31591 eval "$as_ac_Header=\$ac_header_preproc"
31592 fi
31593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31595
31596 fi
31597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31598 cat >>confdefs.h <<_ACEOF
31599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31600 _ACEOF
31601
31602 fi
31603
31604 done
31605
31606
31607 for ac_header in X11/XKBlib.h
31608 do
31609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31610 echo "$as_me:$LINENO: checking for $ac_header" >&5
31611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31613 echo $ECHO_N "(cached) $ECHO_C" >&6
31614 else
31615 cat >conftest.$ac_ext <<_ACEOF
31616 /* confdefs.h. */
31617 _ACEOF
31618 cat confdefs.h >>conftest.$ac_ext
31619 cat >>conftest.$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31621
31622 #if HAVE_X11_XLIB_H
31623 #include <X11/Xlib.h>
31624 #endif
31625
31626
31627 #include <$ac_header>
31628 _ACEOF
31629 rm -f conftest.$ac_objext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31631 (eval $ac_compile) 2>conftest.er1
31632 ac_status=$?
31633 grep -v '^ *+' conftest.er1 >conftest.err
31634 rm -f conftest.er1
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } &&
31638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest.$ac_objext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 eval "$as_ac_Header=yes"
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31654
31655 eval "$as_ac_Header=no"
31656 fi
31657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31658 fi
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31662 cat >>confdefs.h <<_ACEOF
31663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31664 _ACEOF
31665
31666 fi
31667
31668 done
31669
31670 fi
31671 fi
31672
31673
31674
31675 IODBC_C_SRC=""
31676
31677
31678 if test "$TOOLKIT" != "MSW" ; then
31679
31680 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31681
31682 if test "${ac_cv_header_sql_h+set}" = set; then
31683 echo "$as_me:$LINENO: checking for sql.h" >&5
31684 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31685 if test "${ac_cv_header_sql_h+set}" = set; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31687 fi
31688 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31689 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31690 else
31691 # Is the header compilable?
31692 echo "$as_me:$LINENO: checking sql.h usability" >&5
31693 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31694 cat >conftest.$ac_ext <<_ACEOF
31695 /* confdefs.h. */
31696 _ACEOF
31697 cat confdefs.h >>conftest.$ac_ext
31698 cat >>conftest.$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 $ac_includes_default
31701 #include <sql.h>
31702 _ACEOF
31703 rm -f conftest.$ac_objext
31704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31705 (eval $ac_compile) 2>conftest.er1
31706 ac_status=$?
31707 grep -v '^ *+' conftest.er1 >conftest.err
31708 rm -f conftest.er1
31709 cat conftest.err >&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); } &&
31712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31715 ac_status=$?
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; } &&
31718 { ac_try='test -s conftest.$ac_objext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31721 ac_status=$?
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 ac_header_compiler=yes
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729 ac_header_compiler=no
31730 fi
31731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31733 echo "${ECHO_T}$ac_header_compiler" >&6
31734
31735 # Is the header present?
31736 echo "$as_me:$LINENO: checking sql.h presence" >&5
31737 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31738 cat >conftest.$ac_ext <<_ACEOF
31739 /* confdefs.h. */
31740 _ACEOF
31741 cat confdefs.h >>conftest.$ac_ext
31742 cat >>conftest.$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31744 #include <sql.h>
31745 _ACEOF
31746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31748 ac_status=$?
31749 grep -v '^ *+' conftest.er1 >conftest.err
31750 rm -f conftest.er1
31751 cat conftest.err >&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } >/dev/null; then
31754 if test -s conftest.err; then
31755 ac_cpp_err=$ac_cxx_preproc_warn_flag
31756 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31757 else
31758 ac_cpp_err=
31759 fi
31760 else
31761 ac_cpp_err=yes
31762 fi
31763 if test -z "$ac_cpp_err"; then
31764 ac_header_preproc=yes
31765 else
31766 echo "$as_me: failed program was:" >&5
31767 sed 's/^/| /' conftest.$ac_ext >&5
31768
31769 ac_header_preproc=no
31770 fi
31771 rm -f conftest.err conftest.$ac_ext
31772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31773 echo "${ECHO_T}$ac_header_preproc" >&6
31774
31775 # So? What about this header?
31776 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31777 yes:no: )
31778 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31779 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31781 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31782 ac_header_preproc=yes
31783 ;;
31784 no:yes:* )
31785 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31786 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31787 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31788 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31789 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31790 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31791 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31792 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31793 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31794 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31795 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31796 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31797 (
31798 cat <<\_ASBOX
31799 ## ----------------------------------------- ##
31800 ## Report this to wx-dev@lists.wxwidgets.org ##
31801 ## ----------------------------------------- ##
31802 _ASBOX
31803 ) |
31804 sed "s/^/$as_me: WARNING: /" >&2
31805 ;;
31806 esac
31807 echo "$as_me:$LINENO: checking for sql.h" >&5
31808 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31809 if test "${ac_cv_header_sql_h+set}" = set; then
31810 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 else
31812 ac_cv_header_sql_h=$ac_header_preproc
31813 fi
31814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31816
31817 fi
31818 if test $ac_cv_header_sql_h = yes; then
31819 found_sql_h=1
31820 fi
31821
31822
31823 if test "x$found_sql_h" = "x1" ; then
31824 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31825 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31826 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31828 else
31829 ac_check_lib_save_LIBS=$LIBS
31830 LIBS="-liodbc $LIBS"
31831 cat >conftest.$ac_ext <<_ACEOF
31832 /* confdefs.h. */
31833 _ACEOF
31834 cat confdefs.h >>conftest.$ac_ext
31835 cat >>conftest.$ac_ext <<_ACEOF
31836 /* end confdefs.h. */
31837
31838 /* Override any gcc2 internal prototype to avoid an error. */
31839 #ifdef __cplusplus
31840 extern "C"
31841 #endif
31842 /* We use char because int might match the return type of a gcc2
31843 builtin and then its argument prototype would still apply. */
31844 char SQLAllocEnv ();
31845 int
31846 main ()
31847 {
31848 SQLAllocEnv ();
31849 ;
31850 return 0;
31851 }
31852 _ACEOF
31853 rm -f conftest.$ac_objext conftest$ac_exeext
31854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31855 (eval $ac_link) 2>conftest.er1
31856 ac_status=$?
31857 grep -v '^ *+' conftest.er1 >conftest.err
31858 rm -f conftest.er1
31859 cat conftest.err >&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } &&
31862 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 (eval $ac_try) 2>&5
31865 ac_status=$?
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); }; } &&
31868 { ac_try='test -s conftest$ac_exeext'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31871 ac_status=$?
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; }; then
31874 ac_cv_lib_iodbc_SQLAllocEnv=yes
31875 else
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31878
31879 ac_cv_lib_iodbc_SQLAllocEnv=no
31880 fi
31881 rm -f conftest.err conftest.$ac_objext \
31882 conftest$ac_exeext conftest.$ac_ext
31883 LIBS=$ac_check_lib_save_LIBS
31884 fi
31885 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31886 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31887 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31888 ODBC_LINK=" -liodbc"
31889 else
31890
31891 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31892 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31893 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 else
31896 ac_check_lib_save_LIBS=$LIBS
31897 LIBS="-lunixodbc $LIBS"
31898 cat >conftest.$ac_ext <<_ACEOF
31899 /* confdefs.h. */
31900 _ACEOF
31901 cat confdefs.h >>conftest.$ac_ext
31902 cat >>conftest.$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31904
31905 /* Override any gcc2 internal prototype to avoid an error. */
31906 #ifdef __cplusplus
31907 extern "C"
31908 #endif
31909 /* We use char because int might match the return type of a gcc2
31910 builtin and then its argument prototype would still apply. */
31911 char SQLAllocEnv ();
31912 int
31913 main ()
31914 {
31915 SQLAllocEnv ();
31916 ;
31917 return 0;
31918 }
31919 _ACEOF
31920 rm -f conftest.$ac_objext conftest$ac_exeext
31921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31922 (eval $ac_link) 2>conftest.er1
31923 ac_status=$?
31924 grep -v '^ *+' conftest.er1 >conftest.err
31925 rm -f conftest.er1
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31932 ac_status=$?
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; } &&
31935 { ac_try='test -s conftest$ac_exeext'
31936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 (eval $ac_try) 2>&5
31938 ac_status=$?
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; }; then
31941 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31942 else
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.$ac_ext >&5
31945
31946 ac_cv_lib_unixodbc_SQLAllocEnv=no
31947 fi
31948 rm -f conftest.err conftest.$ac_objext \
31949 conftest$ac_exeext conftest.$ac_ext
31950 LIBS=$ac_check_lib_save_LIBS
31951 fi
31952 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31953 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31954 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31955 ODBC_LINK=" -lunixodbc"
31956 else
31957
31958 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31959 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31960 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31962 else
31963 ac_check_lib_save_LIBS=$LIBS
31964 LIBS="-lodbc $LIBS"
31965 cat >conftest.$ac_ext <<_ACEOF
31966 /* confdefs.h. */
31967 _ACEOF
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31971
31972 /* Override any gcc2 internal prototype to avoid an error. */
31973 #ifdef __cplusplus
31974 extern "C"
31975 #endif
31976 /* We use char because int might match the return type of a gcc2
31977 builtin and then its argument prototype would still apply. */
31978 char SQLAllocEnv ();
31979 int
31980 main ()
31981 {
31982 SQLAllocEnv ();
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31989 (eval $ac_link) 2>conftest.er1
31990 ac_status=$?
31991 grep -v '^ *+' conftest.er1 >conftest.err
31992 rm -f conftest.er1
31993 cat conftest.err >&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } &&
31996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; } &&
32002 { ac_try='test -s conftest$ac_exeext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32005 ac_status=$?
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 ac_cv_lib_odbc_SQLAllocEnv=yes
32009 else
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32012
32013 ac_cv_lib_odbc_SQLAllocEnv=no
32014 fi
32015 rm -f conftest.err conftest.$ac_objext \
32016 conftest$ac_exeext conftest.$ac_ext
32017 LIBS=$ac_check_lib_save_LIBS
32018 fi
32019 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32020 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32021 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32022 ODBC_LINK=" -lodbc"
32023 fi
32024
32025
32026 fi
32027
32028
32029 fi
32030
32031 fi
32032 if test "x$ODBC_LINK" = "x" ; then
32033 if test "$wxUSE_ODBC" = "sys" ; then
32034 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32035 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32036 { (exit 1); exit 1; }; }
32037 else
32038 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32039 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32040 wxUSE_ODBC=builtin
32041 fi
32042 else
32043 wxUSE_ODBC=sys
32044 fi
32045 fi
32046
32047 if test "$wxUSE_ODBC" = "builtin" ; then
32048 cat >>confdefs.h <<\_ACEOF
32049 #define wxUSE_BUILTIN_IODBC 1
32050 _ACEOF
32051
32052 fi
32053 fi
32054
32055 if test "$wxUSE_ODBC" != "no" ; then
32056 cat >>confdefs.h <<\_ACEOF
32057 #define wxUSE_ODBC 1
32058 _ACEOF
32059
32060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32061
32062 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32063 fi
32064
32065
32066 if test "$wxUSE_DISPLAY" = "yes"; then
32067 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32068 echo "$as_me:$LINENO: checking for Xinerama" >&5
32069 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32070
32071 ac_find_libraries=
32072 for ac_dir in $SEARCH_LIB;
32073 do
32074 for ac_extension in a so sl dylib dll.a; do
32075 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32076 ac_find_libraries=$ac_dir
32077 break 2
32078 fi
32079 done
32080 done
32081
32082 if test "$ac_find_libraries" != "" ; then
32083
32084 if test "$ac_find_libraries" = "default location"; then
32085 ac_path_to_link=""
32086 else
32087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32088 result=$?
32089 if test $result = 0; then
32090 ac_path_to_link=""
32091 else
32092 ac_path_to_link=" -L$ac_find_libraries"
32093 fi
32094 fi
32095
32096 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32097 LDFLAGS="$LDFLAGS $ac_path_to_link"
32098 fi
32099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32102
32103 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32104 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32105
32106 ac_find_libraries=
32107 for ac_dir in $SEARCH_LIB;
32108 do
32109 for ac_extension in a so sl dylib dll.a; do
32110 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32111 ac_find_libraries=$ac_dir
32112 break 2
32113 fi
32114 done
32115 done
32116
32117 if test "$ac_find_libraries" != "" ; then
32118 echo "$as_me:$LINENO: result: yes" >&5
32119 echo "${ECHO_T}yes" >&6
32120
32121 for ac_header in X11/extensions/xf86vmode.h
32122 do
32123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32124 echo "$as_me:$LINENO: checking for $ac_header" >&5
32125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 else
32129 cat >conftest.$ac_ext <<_ACEOF
32130 /* confdefs.h. */
32131 _ACEOF
32132 cat confdefs.h >>conftest.$ac_ext
32133 cat >>conftest.$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32135
32136 #if HAVE_X11_XLIB_H
32137 #include <X11/Xlib.h>
32138 #endif
32139
32140
32141 #include <$ac_header>
32142 _ACEOF
32143 rm -f conftest.$ac_objext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32145 (eval $ac_compile) 2>conftest.er1
32146 ac_status=$?
32147 grep -v '^ *+' conftest.er1 >conftest.err
32148 rm -f conftest.er1
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32155 ac_status=$?
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try='test -s conftest.$ac_objext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32161 ac_status=$?
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32164 eval "$as_ac_Header=yes"
32165 else
32166 echo "$as_me: failed program was:" >&5
32167 sed 's/^/| /' conftest.$ac_ext >&5
32168
32169 eval "$as_ac_Header=no"
32170 fi
32171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32172 fi
32173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32176 cat >>confdefs.h <<_ACEOF
32177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32178 _ACEOF
32179
32180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32181
32182 fi
32183
32184 done
32185
32186 else
32187 echo "$as_me:$LINENO: result: no" >&5
32188 echo "${ECHO_T}no" >&6
32189 fi
32190
32191 else
32192 echo "$as_me:$LINENO: result: no" >&5
32193 echo "${ECHO_T}no" >&6
32194 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32195 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32196 wxUSE_DISPLAY="no"
32197 fi
32198 elif test "$wxUSE_MSW" = 1; then
32199
32200 for ac_header in ddraw.h
32201 do
32202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32203 echo "$as_me:$LINENO: checking for $ac_header" >&5
32204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 else
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 #include <windows.h>
32215
32216 #include <$ac_header>
32217 _ACEOF
32218 rm -f conftest.$ac_objext
32219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32220 (eval $ac_compile) 2>conftest.er1
32221 ac_status=$?
32222 grep -v '^ *+' conftest.er1 >conftest.err
32223 rm -f conftest.er1
32224 cat conftest.err >&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } &&
32227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32229 (eval $ac_try) 2>&5
32230 ac_status=$?
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); }; } &&
32233 { ac_try='test -s conftest.$ac_objext'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32236 ac_status=$?
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; }; then
32239 eval "$as_ac_Header=yes"
32240 else
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.$ac_ext >&5
32243
32244 eval "$as_ac_Header=no"
32245 fi
32246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32247 fi
32248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32251 cat >>confdefs.h <<_ACEOF
32252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32253 _ACEOF
32254
32255 fi
32256
32257 done
32258
32259 fi
32260 fi
32261
32262
32263 USE_OPENGL=0
32264 if test "$wxUSE_OPENGL" = "yes"; then
32265 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32266 OPENGL_LIBS="-framework OpenGL -framework AGL"
32267 elif test "$wxUSE_MSW" = 1; then
32268 OPENGL_LIBS="-lopengl32 -lglu32"
32269 else
32270
32271
32272 ac_find_includes=
32273 for ac_dir in $SEARCH_INCLUDE /usr/include;
32274 do
32275 if test -f "$ac_dir/GL/gl.h"; then
32276 ac_find_includes=$ac_dir
32277 break
32278 fi
32279 done
32280
32281 if test "$ac_find_includes" != "" ; then
32282 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32283 echo "${ECHO_T}found in $ac_find_includes" >&6
32284
32285 if test "x$ac_find_includes" = "x/usr/include"; then
32286 ac_path_to_include=""
32287 else
32288 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32289 result=$?
32290 if test $result = 0; then
32291 ac_path_to_include=""
32292 else
32293 ac_path_to_include=" -I$ac_find_includes"
32294 fi
32295 fi
32296
32297 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32298 fi
32299
32300 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32301 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32302 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32303 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32304 echo $ECHO_N "(cached) $ECHO_C" >&6
32305 fi
32306 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32307 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32308 else
32309 # Is the header compilable?
32310 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32311 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32312 cat >conftest.$ac_ext <<_ACEOF
32313 /* confdefs.h. */
32314 _ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 $ac_includes_default
32319 #include <GL/gl.h>
32320 _ACEOF
32321 rm -f conftest.$ac_objext
32322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32323 (eval $ac_compile) 2>conftest.er1
32324 ac_status=$?
32325 grep -v '^ *+' conftest.er1 >conftest.err
32326 rm -f conftest.er1
32327 cat conftest.err >&5
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); } &&
32330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32333 ac_status=$?
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; } &&
32336 { ac_try='test -s conftest.$ac_objext'
32337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32338 (eval $ac_try) 2>&5
32339 ac_status=$?
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); }; }; then
32342 ac_header_compiler=yes
32343 else
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32346
32347 ac_header_compiler=no
32348 fi
32349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32351 echo "${ECHO_T}$ac_header_compiler" >&6
32352
32353 # Is the header present?
32354 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32355 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32356 cat >conftest.$ac_ext <<_ACEOF
32357 /* confdefs.h. */
32358 _ACEOF
32359 cat confdefs.h >>conftest.$ac_ext
32360 cat >>conftest.$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32362 #include <GL/gl.h>
32363 _ACEOF
32364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32366 ac_status=$?
32367 grep -v '^ *+' conftest.er1 >conftest.err
32368 rm -f conftest.er1
32369 cat conftest.err >&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } >/dev/null; then
32372 if test -s conftest.err; then
32373 ac_cpp_err=$ac_cxx_preproc_warn_flag
32374 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32375 else
32376 ac_cpp_err=
32377 fi
32378 else
32379 ac_cpp_err=yes
32380 fi
32381 if test -z "$ac_cpp_err"; then
32382 ac_header_preproc=yes
32383 else
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.$ac_ext >&5
32386
32387 ac_header_preproc=no
32388 fi
32389 rm -f conftest.err conftest.$ac_ext
32390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32391 echo "${ECHO_T}$ac_header_preproc" >&6
32392
32393 # So? What about this header?
32394 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32395 yes:no: )
32396 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32397 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32399 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32400 ac_header_preproc=yes
32401 ;;
32402 no:yes:* )
32403 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32404 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32405 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32406 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32408 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32410 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32412 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32414 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32415 (
32416 cat <<\_ASBOX
32417 ## ----------------------------------------- ##
32418 ## Report this to wx-dev@lists.wxwidgets.org ##
32419 ## ----------------------------------------- ##
32420 _ASBOX
32421 ) |
32422 sed "s/^/$as_me: WARNING: /" >&2
32423 ;;
32424 esac
32425 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32426 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32427 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32428 echo $ECHO_N "(cached) $ECHO_C" >&6
32429 else
32430 ac_cv_header_GL_gl_h=$ac_header_preproc
32431 fi
32432 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32433 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32434
32435 fi
32436 if test $ac_cv_header_GL_gl_h = yes; then
32437
32438 found_gl=0
32439
32440 echo "$as_me:$LINENO: checking for -lGL" >&5
32441 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32442
32443 ac_find_libraries=
32444 for ac_dir in $SEARCH_LIB;
32445 do
32446 for ac_extension in a so sl dylib dll.a; do
32447 if test -f "$ac_dir/libGL.$ac_extension"; then
32448 ac_find_libraries=$ac_dir
32449 break 2
32450 fi
32451 done
32452 done
32453
32454 if test "$ac_find_libraries" != "" ; then
32455 echo "$as_me:$LINENO: result: yes" >&5
32456 echo "${ECHO_T}yes" >&6
32457
32458
32459 if test "$ac_find_libraries" = "default location"; then
32460 ac_path_to_link=""
32461 else
32462 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32463 result=$?
32464 if test $result = 0; then
32465 ac_path_to_link=""
32466 else
32467 ac_path_to_link=" -L$ac_find_libraries"
32468 fi
32469 fi
32470
32471 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32472 LDFLAGS_GL="$ac_path_to_link"
32473 fi
32474
32475 echo "$as_me:$LINENO: checking for -lGLU" >&5
32476 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32477
32478 ac_find_libraries=
32479 for ac_dir in $SEARCH_LIB;
32480 do
32481 for ac_extension in a so sl dylib dll.a; do
32482 if test -f "$ac_dir/libGLU.$ac_extension"; then
32483 ac_find_libraries=$ac_dir
32484 break 2
32485 fi
32486 done
32487 done
32488
32489 if test "$ac_find_libraries" != "" ; then
32490
32491 if test "$ac_find_libraries" = "default location"; then
32492 ac_path_to_link=""
32493 else
32494 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32495 result=$?
32496 if test $result = 0; then
32497 ac_path_to_link=""
32498 else
32499 ac_path_to_link=" -L$ac_find_libraries"
32500 fi
32501 fi
32502
32503 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32504 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32505 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32506 fi
32507
32508 found_gl=1
32509 OPENGL_LIBS="-lGL -lGLU"
32510 echo "$as_me:$LINENO: result: yes" >&5
32511 echo "${ECHO_T}yes" >&6
32512 else
32513 echo "$as_me:$LINENO: result: no" >&5
32514 echo "${ECHO_T}no" >&6
32515 fi
32516 else
32517 echo "$as_me:$LINENO: result: no" >&5
32518 echo "${ECHO_T}no" >&6
32519 fi
32520
32521 if test "$found_gl" != 1; then
32522 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32523 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32524
32525 ac_find_libraries=
32526 for ac_dir in $SEARCH_LIB;
32527 do
32528 for ac_extension in a so sl dylib dll.a; do
32529 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32530 ac_find_libraries=$ac_dir
32531 break 2
32532 fi
32533 done
32534 done
32535
32536 if test "$ac_find_libraries" != "" ; then
32537
32538 if test "$ac_find_libraries" = "default location"; then
32539 ac_path_to_link=""
32540 else
32541 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32542 result=$?
32543 if test $result = 0; then
32544 ac_path_to_link=""
32545 else
32546 ac_path_to_link=" -L$ac_find_libraries"
32547 fi
32548 fi
32549
32550 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32551 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32552 echo "$as_me:$LINENO: result: yes" >&5
32553 echo "${ECHO_T}yes" >&6
32554 else
32555 echo "$as_me:$LINENO: result: no" >&5
32556 echo "${ECHO_T}no" >&6
32557 fi
32558 fi
32559
32560 fi
32561
32562
32563
32564 if test "x$OPENGL_LIBS" = "x"; then
32565 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32566 echo "$as_me: error: OpenGL libraries not available" >&2;}
32567 { (exit 1); exit 1; }; }
32568 fi
32569 fi
32570
32571 if test "$wxUSE_OPENGL" = "yes"; then
32572 USE_OPENGL=1
32573 cat >>confdefs.h <<\_ACEOF
32574 #define wxUSE_OPENGL 1
32575 _ACEOF
32576
32577 cat >>confdefs.h <<\_ACEOF
32578 #define wxUSE_GLCANVAS 1
32579 _ACEOF
32580
32581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32582 fi
32583 fi
32584
32585
32586 if test -n "$TOOLKIT" ; then
32587 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32588 fi
32589
32590
32591
32592 if test "$wxUSE_SHARED" = "yes"; then
32593 case "${host}" in
32594 *-pc-msdosdjgpp )
32595 wxUSE_SHARED=no
32596 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32597 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32598 ;;
32599 esac
32600 fi
32601
32602 if test "$wxUSE_SHARED" = "yes"; then
32603
32604
32605 found_versioning=no
32606
32607
32608 if test $found_versioning = no ; then
32609 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32610 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32611 if test "${wx_cv_version_script+set}" = set; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32613 else
32614
32615 echo "VER_1 { *; };" >conftest.sym
32616 echo "int main() { return 0; }" >conftest.cpp
32617
32618 if { ac_try='
32619 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32620 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32623 ac_status=$?
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; } ; then
32626 if test -s conftest.stderr ; then
32627 wx_cv_version_script=no
32628 else
32629 wx_cv_version_script=yes
32630 fi
32631 else
32632 wx_cv_version_script=no
32633 fi
32634
32635 if test $wx_cv_version_script = yes
32636 then
32637 echo "struct B { virtual ~B() { } }; \
32638 struct D : public B { }; \
32639 void F() { D d; }" > conftest.cpp
32640
32641 if { ac_try='
32642 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32643 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32646 ac_status=$?
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try='
32650 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32651 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }
32657 then
32658 if { ac_try='
32659 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32660 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32663 ac_status=$?
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; }
32666 then
32667 wx_cv_version_script=yes
32668 else
32669 wx_cv_version_script=no
32670 fi
32671 fi
32672 fi
32673
32674 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32675 rm -f conftest1.output conftest2.output conftest3.output
32676
32677 fi
32678 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32679 echo "${ECHO_T}$wx_cv_version_script" >&6
32680 if test $wx_cv_version_script = yes ; then
32681 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
32682 fi
32683 fi
32684
32685
32686 case "${host}" in
32687 *-*-linux* | *-*-gnu* )
32688 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32689 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32690 ;;
32691
32692 *-*-solaris2* )
32693 if test "$GCC" = yes ; then
32694 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32695
32696 saveLdflags="$LDFLAGS"
32697 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32698 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32699 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32700 cat >conftest.$ac_ext <<_ACEOF
32701 /* confdefs.h. */
32702 _ACEOF
32703 cat confdefs.h >>conftest.$ac_ext
32704 cat >>conftest.$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32706
32707 int
32708 main ()
32709 {
32710
32711 ;
32712 return 0;
32713 }
32714 _ACEOF
32715 rm -f conftest.$ac_objext conftest$ac_exeext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32717 (eval $ac_link) 2>conftest.er1
32718 ac_status=$?
32719 grep -v '^ *+' conftest.er1 >conftest.err
32720 rm -f conftest.er1
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32727 ac_status=$?
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; } &&
32730 { ac_try='test -s conftest$ac_exeext'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32733 ac_status=$?
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; }; then
32736
32737 echo "$as_me:$LINENO: result: yes" >&5
32738 echo "${ECHO_T}yes" >&6
32739 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32740 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32741
32742 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746
32747 echo "$as_me:$LINENO: result: no" >&5
32748 echo "${ECHO_T}no" >&6
32749 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32750 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32751 LDFLAGS="$saveLdflags -Wl,-R,/"
32752 cat >conftest.$ac_ext <<_ACEOF
32753 /* confdefs.h. */
32754 _ACEOF
32755 cat confdefs.h >>conftest.$ac_ext
32756 cat >>conftest.$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758
32759 int
32760 main ()
32761 {
32762
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32769 (eval $ac_link) 2>conftest.er1
32770 ac_status=$?
32771 grep -v '^ *+' conftest.er1 >conftest.err
32772 rm -f conftest.er1
32773 cat conftest.err >&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); } &&
32776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32778 (eval $ac_try) 2>&5
32779 ac_status=$?
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); }; } &&
32782 { ac_try='test -s conftest$ac_exeext'
32783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 (eval $ac_try) 2>&5
32785 ac_status=$?
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); }; }; then
32788
32789 echo "$as_me:$LINENO: result: yes" >&5
32790 echo "${ECHO_T}yes" >&6
32791 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
32792 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32793
32794 else
32795 echo "$as_me: failed program was:" >&5
32796 sed 's/^/| /' conftest.$ac_ext >&5
32797
32798
32799 echo "$as_me:$LINENO: result: no" >&5
32800 echo "${ECHO_T}no" >&6
32801
32802 fi
32803 rm -f conftest.err conftest.$ac_objext \
32804 conftest$ac_exeext conftest.$ac_ext
32805
32806 fi
32807 rm -f conftest.err conftest.$ac_objext \
32808 conftest$ac_exeext conftest.$ac_ext
32809 LDFLAGS="$saveLdflags"
32810 else
32811 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
32812 WXCONFIG_RPATH="-R\$libdir"
32813 fi
32814 ;;
32815
32816 *-*-darwin* )
32817 install_name_tool=`which install_name_tool`
32818 if test "$install_name_tool" -a -x "$install_name_tool"; then
32819 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32820 cat <<EOF >change-install-names
32821 #!/bin/sh
32822 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32823 inst_cmd="install_name_tool "
32824 for i in \${libnames} ; do
32825 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32826 done
32827 \${inst_cmd} \${3}
32828 EOF
32829 chmod +x change-install-names
32830 fi
32831 ;;
32832
32833 *-*-cygwin* | *-*-mingw32* )
32834 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32835 ;;
32836
32837 *-*-hpux* )
32838 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
32839 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32840 ;;
32841
32842 esac
32843
32844 if test $wxUSE_RPATH = "no"; then
32845 SAMPLES_RPATH_FLAG=''
32846 SAMPLES_RPATH_POSTLINK=''
32847 WXCONFIG_RPATH=''
32848 fi
32849
32850 SHARED=1
32851
32852 else
32853
32854 config_linkage_component="-static"
32855 SHARED=0
32856
32857 fi
32858
32859
32860 UNICODE=0
32861 lib_unicode_suffix=
32862 WX_CHARTYPE="ansi"
32863 if test "$wxUSE_UNICODE" = "yes"; then
32864 lib_unicode_suffix=u
32865 WX_CHARTYPE="unicode"
32866 UNICODE=1
32867 fi
32868
32869 lib_debug_suffix=
32870 WX_DEBUGTYPE="release"
32871 DEBUG_FLAG=0
32872 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32873 lib_debug_suffix=d
32874 WX_DEBUGTYPE="debug"
32875 DEBUG_FLAG=1
32876 fi
32877
32878 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32879 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32880
32881 DEBUG_INFO=0
32882 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32883 DEBUG_INFO=1
32884 fi
32885
32886 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32887
32888 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32889
32890 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32891
32892 if test "$cross_compiling" = "yes"; then
32893 HOST_SUFFIX="-$host_alias"
32894 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32895 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32896 fi
32897
32898 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32899 if test "${TOOLKIT_DIR}" = "os2"; then
32900 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32901 else
32902 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32903 fi
32904
32905
32906
32907 if test "$wxUSE_COCOA" = 1; then
32908
32909
32910 ac_ext=c
32911 ac_cpp='$CPP $CPPFLAGS'
32912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32915
32916 ac_ext=m
32917
32918 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32919 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32920 cat >conftest.$ac_ext <<_ACEOF
32921 /* confdefs.h. */
32922 _ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <AppKit/NSEvent.h>
32927 #include <CoreFoundation/CoreFoundation.h>
32928
32929 int
32930 main ()
32931 {
32932
32933 ;
32934 return 0;
32935 }
32936 _ACEOF
32937 rm -f conftest.$ac_objext
32938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32939 (eval $ac_compile) 2>conftest.er1
32940 ac_status=$?
32941 grep -v '^ *+' conftest.er1 >conftest.err
32942 rm -f conftest.er1
32943 cat conftest.err >&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } &&
32946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32952 { ac_try='test -s conftest.$ac_objext'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32955 ac_status=$?
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; }; then
32958 echo "$as_me:$LINENO: result: no" >&5
32959 echo "${ECHO_T}no" >&6
32960 else
32961 echo "$as_me: failed program was:" >&5
32962 sed 's/^/| /' conftest.$ac_ext >&5
32963
32964 echo "$as_me:$LINENO: result: yes" >&5
32965 echo "${ECHO_T}yes" >&6
32966 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32967 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32968 cat >conftest.$ac_ext <<_ACEOF
32969 /* confdefs.h. */
32970 _ACEOF
32971 cat confdefs.h >>conftest.$ac_ext
32972 cat >>conftest.$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32974 #define __Point__ 1
32975 #include <AppKit/NSEvent.h>
32976 #include <CoreFoundation/CoreFoundation.h>
32977
32978 int
32979 main ()
32980 {
32981
32982 ;
32983 return 0;
32984 }
32985 _ACEOF
32986 rm -f conftest.$ac_objext
32987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32988 (eval $ac_compile) 2>conftest.er1
32989 ac_status=$?
32990 grep -v '^ *+' conftest.er1 >conftest.err
32991 rm -f conftest.er1
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } &&
32995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try='test -s conftest.$ac_objext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 echo "$as_me:$LINENO: result: yes" >&5
33008 echo "${ECHO_T}yes" >&6
33009 cat >>confdefs.h <<\_ACEOF
33010 #define __Point__ 1
33011 _ACEOF
33012
33013
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018 { { echo "$as_me:$LINENO: error: no
33019 See \`config.log' for more details." >&5
33020 echo "$as_me: error: no
33021 See \`config.log' for more details." >&2;}
33022 { (exit 1); exit 1; }; }
33023
33024 fi
33025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33026
33027 fi
33028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=cc
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034
33035 fi
33036
33037 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33038 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33039 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33040
33041 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33042
33043 # Extract the first word of "Rez", so it can be a program name with args.
33044 set dummy Rez; ac_word=$2
33045 echo "$as_me:$LINENO: checking for $ac_word" >&5
33046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33047 if test "${ac_cv_prog_REZ+set}" = set; then
33048 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 else
33050 if test -n "$REZ"; then
33051 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33052 else
33053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33054 for as_dir in $PATH
33055 do
33056 IFS=$as_save_IFS
33057 test -z "$as_dir" && as_dir=.
33058 for ac_exec_ext in '' $ac_executable_extensions; do
33059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33060 ac_cv_prog_REZ="Rez"
33061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33062 break 2
33063 fi
33064 done
33065 done
33066
33067 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33068 fi
33069 fi
33070 REZ=$ac_cv_prog_REZ
33071 if test -n "$REZ"; then
33072 echo "$as_me:$LINENO: result: $REZ" >&5
33073 echo "${ECHO_T}$REZ" >&6
33074 else
33075 echo "$as_me:$LINENO: result: no" >&5
33076 echo "${ECHO_T}no" >&6
33077 fi
33078
33079 # Extract the first word of "DeRez", so it can be a program name with args.
33080 set dummy DeRez; ac_word=$2
33081 echo "$as_me:$LINENO: checking for $ac_word" >&5
33082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33083 if test "${ac_cv_prog_DEREZ+set}" = set; then
33084 echo $ECHO_N "(cached) $ECHO_C" >&6
33085 else
33086 if test -n "$DEREZ"; then
33087 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33088 else
33089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33090 for as_dir in $PATH
33091 do
33092 IFS=$as_save_IFS
33093 test -z "$as_dir" && as_dir=.
33094 for ac_exec_ext in '' $ac_executable_extensions; do
33095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33096 ac_cv_prog_DEREZ="DeRez"
33097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33098 break 2
33099 fi
33100 done
33101 done
33102
33103 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33104 fi
33105 fi
33106 DEREZ=$ac_cv_prog_DEREZ
33107 if test -n "$DEREZ"; then
33108 echo "$as_me:$LINENO: result: $DEREZ" >&5
33109 echo "${ECHO_T}$DEREZ" >&6
33110 else
33111 echo "$as_me:$LINENO: result: no" >&5
33112 echo "${ECHO_T}no" >&6
33113 fi
33114
33115 # Extract the first word of "SetFile", so it can be a program name with args.
33116 set dummy SetFile; ac_word=$2
33117 echo "$as_me:$LINENO: checking for $ac_word" >&5
33118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33119 if test "${ac_cv_prog_SETFILE+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33122 if test -n "$SETFILE"; then
33123 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33124 else
33125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33126 for as_dir in $PATH
33127 do
33128 IFS=$as_save_IFS
33129 test -z "$as_dir" && as_dir=.
33130 for ac_exec_ext in '' $ac_executable_extensions; do
33131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33132 ac_cv_prog_SETFILE="SetFile"
33133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33134 break 2
33135 fi
33136 done
33137 done
33138
33139 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33140 fi
33141 fi
33142 SETFILE=$ac_cv_prog_SETFILE
33143 if test -n "$SETFILE"; then
33144 echo "$as_me:$LINENO: result: $SETFILE" >&5
33145 echo "${ECHO_T}$SETFILE" >&6
33146 else
33147 echo "$as_me:$LINENO: result: no" >&5
33148 echo "${ECHO_T}no" >&6
33149 fi
33150
33151
33152 MACSETFILE="\$(SETFILE)"
33153
33154 if test "$wxUSE_MAC" = 1; then
33155 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33156 RESCOMP="$REZ"
33157 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33158 else
33159 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33160 RESCOMP="echo -n \| $REZ"
33161 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33162 fi
33163
33164 else
33165 MACSETFILE="@true"
33166
33167 if test "$wxUSE_PM" = 1; then
33168 RESCOMP="emxbind"
33169 WXCONFIG_RESFLAGS="-ep"
33170
33171 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33172 else
33173 POSTLINK_COMMAND="@true"
33174 fi
33175
33176 fi
33177
33178
33179
33180 echo "$as_me:$LINENO: checking for mode_t" >&5
33181 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33182 if test "${ac_cv_type_mode_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 int
33193 main ()
33194 {
33195 if ((mode_t *) 0)
33196 return 0;
33197 if (sizeof (mode_t))
33198 return 0;
33199 ;
33200 return 0;
33201 }
33202 _ACEOF
33203 rm -f conftest.$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33206 ac_status=$?
33207 grep -v '^ *+' conftest.er1 >conftest.err
33208 rm -f conftest.er1
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try='test -s conftest.$ac_objext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 ac_cv_type_mode_t=yes
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33228
33229 ac_cv_type_mode_t=no
33230 fi
33231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33232 fi
33233 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33234 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33235 if test $ac_cv_type_mode_t = yes; then
33236 :
33237 else
33238
33239 cat >>confdefs.h <<_ACEOF
33240 #define mode_t int
33241 _ACEOF
33242
33243 fi
33244
33245 echo "$as_me:$LINENO: checking for off_t" >&5
33246 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33247 if test "${ac_cv_type_off_t+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33249 else
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h. */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 $ac_includes_default
33257 int
33258 main ()
33259 {
33260 if ((off_t *) 0)
33261 return 0;
33262 if (sizeof (off_t))
33263 return 0;
33264 ;
33265 return 0;
33266 }
33267 _ACEOF
33268 rm -f conftest.$ac_objext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33270 (eval $ac_compile) 2>conftest.er1
33271 ac_status=$?
33272 grep -v '^ *+' conftest.er1 >conftest.err
33273 rm -f conftest.er1
33274 cat conftest.err >&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } &&
33277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33280 ac_status=$?
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; } &&
33283 { ac_try='test -s conftest.$ac_objext'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33286 ac_status=$?
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; }; then
33289 ac_cv_type_off_t=yes
33290 else
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.$ac_ext >&5
33293
33294 ac_cv_type_off_t=no
33295 fi
33296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33297 fi
33298 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33299 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33300 if test $ac_cv_type_off_t = yes; then
33301 :
33302 else
33303
33304 cat >>confdefs.h <<_ACEOF
33305 #define off_t long
33306 _ACEOF
33307
33308 fi
33309
33310 echo "$as_me:$LINENO: checking for pid_t" >&5
33311 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33312 if test "${ac_cv_type_pid_t+set}" = set; then
33313 echo $ECHO_N "(cached) $ECHO_C" >&6
33314 else
33315 cat >conftest.$ac_ext <<_ACEOF
33316 /* confdefs.h. */
33317 _ACEOF
33318 cat confdefs.h >>conftest.$ac_ext
33319 cat >>conftest.$ac_ext <<_ACEOF
33320 /* end confdefs.h. */
33321 $ac_includes_default
33322 int
33323 main ()
33324 {
33325 if ((pid_t *) 0)
33326 return 0;
33327 if (sizeof (pid_t))
33328 return 0;
33329 ;
33330 return 0;
33331 }
33332 _ACEOF
33333 rm -f conftest.$ac_objext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33335 (eval $ac_compile) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try='test -s conftest.$ac_objext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 ac_cv_type_pid_t=yes
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 ac_cv_type_pid_t=no
33360 fi
33361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33362 fi
33363 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33364 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33365 if test $ac_cv_type_pid_t = yes; then
33366 :
33367 else
33368
33369 cat >>confdefs.h <<_ACEOF
33370 #define pid_t int
33371 _ACEOF
33372
33373 fi
33374
33375 echo "$as_me:$LINENO: checking for size_t" >&5
33376 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33377 if test "${ac_cv_type_size_t+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33379 else
33380 cat >conftest.$ac_ext <<_ACEOF
33381 /* confdefs.h. */
33382 _ACEOF
33383 cat confdefs.h >>conftest.$ac_ext
33384 cat >>conftest.$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33386 $ac_includes_default
33387 int
33388 main ()
33389 {
33390 if ((size_t *) 0)
33391 return 0;
33392 if (sizeof (size_t))
33393 return 0;
33394 ;
33395 return 0;
33396 }
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400 (eval $ac_compile) 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33410 ac_status=$?
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; } &&
33413 { ac_try='test -s conftest.$ac_objext'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33416 ac_status=$?
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; }; then
33419 ac_cv_type_size_t=yes
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 ac_cv_type_size_t=no
33425 fi
33426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33427 fi
33428 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33429 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33430 if test $ac_cv_type_size_t = yes; then
33431 :
33432 else
33433
33434 cat >>confdefs.h <<_ACEOF
33435 #define size_t unsigned
33436 _ACEOF
33437
33438 fi
33439
33440 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33441 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33442 if test "${ac_cv_type_uid_t+set}" = set; then
33443 echo $ECHO_N "(cached) $ECHO_C" >&6
33444 else
33445 cat >conftest.$ac_ext <<_ACEOF
33446 /* confdefs.h. */
33447 _ACEOF
33448 cat confdefs.h >>conftest.$ac_ext
33449 cat >>conftest.$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33451 #include <sys/types.h>
33452
33453 _ACEOF
33454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33455 $EGREP "uid_t" >/dev/null 2>&1; then
33456 ac_cv_type_uid_t=yes
33457 else
33458 ac_cv_type_uid_t=no
33459 fi
33460 rm -f conftest*
33461
33462 fi
33463 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33464 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33465 if test $ac_cv_type_uid_t = no; then
33466
33467 cat >>confdefs.h <<\_ACEOF
33468 #define uid_t int
33469 _ACEOF
33470
33471
33472 cat >>confdefs.h <<\_ACEOF
33473 #define gid_t int
33474 _ACEOF
33475
33476 fi
33477
33478
33479 echo "$as_me:$LINENO: checking for ssize_t" >&5
33480 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33481 if test "${ac_cv_type_ssize_t+set}" = set; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 else
33484 cat >conftest.$ac_ext <<_ACEOF
33485 /* confdefs.h. */
33486 _ACEOF
33487 cat confdefs.h >>conftest.$ac_ext
33488 cat >>conftest.$ac_ext <<_ACEOF
33489 /* end confdefs.h. */
33490 $ac_includes_default
33491 int
33492 main ()
33493 {
33494 if ((ssize_t *) 0)
33495 return 0;
33496 if (sizeof (ssize_t))
33497 return 0;
33498 ;
33499 return 0;
33500 }
33501 _ACEOF
33502 rm -f conftest.$ac_objext
33503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33504 (eval $ac_compile) 2>conftest.er1
33505 ac_status=$?
33506 grep -v '^ *+' conftest.er1 >conftest.err
33507 rm -f conftest.er1
33508 cat conftest.err >&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } &&
33511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33513 (eval $ac_try) 2>&5
33514 ac_status=$?
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); }; } &&
33517 { ac_try='test -s conftest.$ac_objext'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33520 ac_status=$?
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }; then
33523 ac_cv_type_ssize_t=yes
33524 else
33525 echo "$as_me: failed program was:" >&5
33526 sed 's/^/| /' conftest.$ac_ext >&5
33527
33528 ac_cv_type_ssize_t=no
33529 fi
33530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33531 fi
33532 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33533 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33534 if test $ac_cv_type_ssize_t = yes; then
33535
33536 cat >>confdefs.h <<_ACEOF
33537 #define HAVE_SSIZE_T 1
33538 _ACEOF
33539
33540
33541 fi
33542
33543
33544 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33545 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33546 if test "${wx_cv_size_t_is_uint+set}" = set; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33548 else
33549
33550 cat >conftest.$ac_ext <<_ACEOF
33551 /* confdefs.h. */
33552 _ACEOF
33553 cat confdefs.h >>conftest.$ac_ext
33554 cat >>conftest.$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 #include <stddef.h>
33557 int
33558 main ()
33559 {
33560
33561 return 0; }
33562
33563 struct Foo { void foo(size_t); void foo(unsigned int); };
33564
33565 int bar() {
33566
33567 ;
33568 return 0;
33569 }
33570 _ACEOF
33571 rm -f conftest.$ac_objext
33572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33573 (eval $ac_compile) 2>conftest.er1
33574 ac_status=$?
33575 grep -v '^ *+' conftest.er1 >conftest.err
33576 rm -f conftest.er1
33577 cat conftest.err >&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } &&
33580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33582 (eval $ac_try) 2>&5
33583 ac_status=$?
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); }; } &&
33586 { ac_try='test -s conftest.$ac_objext'
33587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588 (eval $ac_try) 2>&5
33589 ac_status=$?
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; }; then
33592 wx_cv_size_t_is_uint=no
33593 else
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.$ac_ext >&5
33596
33597 wx_cv_size_t_is_uint=yes
33598
33599 fi
33600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33601
33602
33603 fi
33604 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33605 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33606
33607 if test "$wx_cv_size_t_is_uint" = "yes"; then
33608 cat >>confdefs.h <<\_ACEOF
33609 #define wxSIZE_T_IS_UINT 1
33610 _ACEOF
33611
33612 else
33613 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33614 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33615 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618 cat >conftest.$ac_ext <<_ACEOF
33619 /* confdefs.h. */
33620 _ACEOF
33621 cat confdefs.h >>conftest.$ac_ext
33622 cat >>conftest.$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33624 #include <stddef.h>
33625 int
33626 main ()
33627 {
33628
33629 return 0; }
33630
33631 struct Foo { void foo(size_t); void foo(unsigned long); };
33632
33633 int bar() {
33634
33635 ;
33636 return 0;
33637 }
33638 _ACEOF
33639 rm -f conftest.$ac_objext
33640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33641 (eval $ac_compile) 2>conftest.er1
33642 ac_status=$?
33643 grep -v '^ *+' conftest.er1 >conftest.err
33644 rm -f conftest.er1
33645 cat conftest.err >&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } &&
33648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; } &&
33654 { ac_try='test -s conftest.$ac_objext'
33655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33656 (eval $ac_try) 2>&5
33657 ac_status=$?
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; }; then
33660 wx_cv_size_t_is_ulong=no
33661 else
33662 echo "$as_me: failed program was:" >&5
33663 sed 's/^/| /' conftest.$ac_ext >&5
33664
33665 wx_cv_size_t_is_ulong=yes
33666
33667 fi
33668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33669
33670 fi
33671 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33672 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33673
33674 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33675 cat >>confdefs.h <<\_ACEOF
33676 #define wxSIZE_T_IS_ULONG 1
33677 _ACEOF
33678
33679 fi
33680 fi
33681
33682
33683 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33684 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33685 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33686 echo $ECHO_N "(cached) $ECHO_C" >&6
33687 else
33688
33689 cat >conftest.$ac_ext <<_ACEOF
33690 /* confdefs.h. */
33691 _ACEOF
33692 cat confdefs.h >>conftest.$ac_ext
33693 cat >>conftest.$ac_ext <<_ACEOF
33694 /* end confdefs.h. */
33695 #include <pwd.h>
33696 int
33697 main ()
33698 {
33699
33700 char *p;
33701 struct passwd *pw;
33702 p = pw->pw_gecos;
33703
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 rm -f conftest.$ac_objext
33709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33710 (eval $ac_compile) 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
33717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try='test -s conftest.$ac_objext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729
33730 wx_cv_struct_pw_gecos=yes
33731
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736
33737 wx_cv_struct_pw_gecos=no
33738
33739
33740 fi
33741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33742
33743
33744 fi
33745 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33746 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33747
33748 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33749 cat >>confdefs.h <<\_ACEOF
33750 #define HAVE_PW_GECOS 1
33751 _ACEOF
33752
33753 fi
33754
33755
33756 if test "$wxUSE_WCHAR_T" = "yes"; then
33757 cat >>confdefs.h <<\_ACEOF
33758 #define wxUSE_WCHAR_T 1
33759 _ACEOF
33760
33761
33762 WCSLEN_FOUND=0
33763 WCHAR_LINK=
33764
33765 for ac_func in wcslen
33766 do
33767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33768 echo "$as_me:$LINENO: checking for $ac_func" >&5
33769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33770 if eval "test \"\${$as_ac_var+set}\" = set"; then
33771 echo $ECHO_N "(cached) $ECHO_C" >&6
33772 else
33773 cat >conftest.$ac_ext <<_ACEOF
33774 /* confdefs.h. */
33775 _ACEOF
33776 cat confdefs.h >>conftest.$ac_ext
33777 cat >>conftest.$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33781 #define $ac_func innocuous_$ac_func
33782
33783 /* System header to define __stub macros and hopefully few prototypes,
33784 which can conflict with char $ac_func (); below.
33785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33786 <limits.h> exists even on freestanding compilers. */
33787
33788 #ifdef __STDC__
33789 # include <limits.h>
33790 #else
33791 # include <assert.h>
33792 #endif
33793
33794 #undef $ac_func
33795
33796 /* Override any gcc2 internal prototype to avoid an error. */
33797 #ifdef __cplusplus
33798 extern "C"
33799 {
33800 #endif
33801 /* We use char because int might match the return type of a gcc2
33802 builtin and then its argument prototype would still apply. */
33803 char $ac_func ();
33804 /* The GNU C library defines this for functions which it implements
33805 to always fail with ENOSYS. Some functions are actually named
33806 something starting with __ and the normal name is an alias. */
33807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33808 choke me
33809 #else
33810 char (*f) () = $ac_func;
33811 #endif
33812 #ifdef __cplusplus
33813 }
33814 #endif
33815
33816 int
33817 main ()
33818 {
33819 return f != $ac_func;
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 rm -f conftest.$ac_objext conftest$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33827 ac_status=$?
33828 grep -v '^ *+' conftest.er1 >conftest.err
33829 rm -f conftest.er1
33830 cat conftest.err >&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33842 ac_status=$?
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 eval "$as_ac_var=yes"
33846 else
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.$ac_ext >&5
33849
33850 eval "$as_ac_var=no"
33851 fi
33852 rm -f conftest.err conftest.$ac_objext \
33853 conftest$ac_exeext conftest.$ac_ext
33854 fi
33855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33857 if test `eval echo '${'$as_ac_var'}'` = yes; then
33858 cat >>confdefs.h <<_ACEOF
33859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33860 _ACEOF
33861 WCSLEN_FOUND=1
33862 fi
33863 done
33864
33865
33866 if test "$WCSLEN_FOUND" = 0; then
33867 if test "$TOOLKIT" = "MSW"; then
33868 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33869 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33870 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
33873 ac_check_lib_save_LIBS=$LIBS
33874 LIBS="-lmsvcrt $LIBS"
33875 cat >conftest.$ac_ext <<_ACEOF
33876 /* confdefs.h. */
33877 _ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33881
33882 /* Override any gcc2 internal prototype to avoid an error. */
33883 #ifdef __cplusplus
33884 extern "C"
33885 #endif
33886 /* We use char because int might match the return type of a gcc2
33887 builtin and then its argument prototype would still apply. */
33888 char wcslen ();
33889 int
33890 main ()
33891 {
33892 wcslen ();
33893 ;
33894 return 0;
33895 }
33896 _ACEOF
33897 rm -f conftest.$ac_objext conftest$ac_exeext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33899 (eval $ac_link) 2>conftest.er1
33900 ac_status=$?
33901 grep -v '^ *+' conftest.er1 >conftest.err
33902 rm -f conftest.er1
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33909 ac_status=$?
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try='test -s conftest$ac_exeext'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33915 ac_status=$?
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }; then
33918 ac_cv_lib_msvcrt_wcslen=yes
33919 else
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.$ac_ext >&5
33922
33923 ac_cv_lib_msvcrt_wcslen=no
33924 fi
33925 rm -f conftest.err conftest.$ac_objext \
33926 conftest$ac_exeext conftest.$ac_ext
33927 LIBS=$ac_check_lib_save_LIBS
33928 fi
33929 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33930 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33931 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33932 WCHAR_OK=1
33933 fi
33934
33935 else
33936 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33937 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33938 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33939 echo $ECHO_N "(cached) $ECHO_C" >&6
33940 else
33941 ac_check_lib_save_LIBS=$LIBS
33942 LIBS="-lw $LIBS"
33943 cat >conftest.$ac_ext <<_ACEOF
33944 /* confdefs.h. */
33945 _ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949
33950 /* Override any gcc2 internal prototype to avoid an error. */
33951 #ifdef __cplusplus
33952 extern "C"
33953 #endif
33954 /* We use char because int might match the return type of a gcc2
33955 builtin and then its argument prototype would still apply. */
33956 char wcslen ();
33957 int
33958 main ()
33959 {
33960 wcslen ();
33961 ;
33962 return 0;
33963 }
33964 _ACEOF
33965 rm -f conftest.$ac_objext conftest$ac_exeext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33967 (eval $ac_link) 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } &&
33974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33977 ac_status=$?
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; } &&
33980 { ac_try='test -s conftest$ac_exeext'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; }; then
33986 ac_cv_lib_w_wcslen=yes
33987 else
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33990
33991 ac_cv_lib_w_wcslen=no
33992 fi
33993 rm -f conftest.err conftest.$ac_objext \
33994 conftest$ac_exeext conftest.$ac_ext
33995 LIBS=$ac_check_lib_save_LIBS
33996 fi
33997 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33998 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33999 if test $ac_cv_lib_w_wcslen = yes; then
34000
34001 WCHAR_LINK=" -lw"
34002 WCSLEN_FOUND=1
34003
34004 fi
34005
34006 fi
34007 fi
34008
34009 if test "$WCSLEN_FOUND" = 1; then
34010 cat >>confdefs.h <<\_ACEOF
34011 #define HAVE_WCSLEN 1
34012 _ACEOF
34013
34014 fi
34015
34016 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34017 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34018 fi
34019
34020 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34021 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34022 if test "${ac_cv_type_mbstate_t+set}" = set; then
34023 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 else
34025 cat >conftest.$ac_ext <<_ACEOF
34026 /* confdefs.h. */
34027 _ACEOF
34028 cat confdefs.h >>conftest.$ac_ext
34029 cat >>conftest.$ac_ext <<_ACEOF
34030 /* end confdefs.h. */
34031 #include <wchar.h>
34032
34033 int
34034 main ()
34035 {
34036 if ((mbstate_t *) 0)
34037 return 0;
34038 if (sizeof (mbstate_t))
34039 return 0;
34040 ;
34041 return 0;
34042 }
34043 _ACEOF
34044 rm -f conftest.$ac_objext
34045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34046 (eval $ac_compile) 2>conftest.er1
34047 ac_status=$?
34048 grep -v '^ *+' conftest.er1 >conftest.err
34049 rm -f conftest.er1
34050 cat conftest.err >&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); } &&
34053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34056 ac_status=$?
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; } &&
34059 { ac_try='test -s conftest.$ac_objext'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34062 ac_status=$?
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; }; then
34065 ac_cv_type_mbstate_t=yes
34066 else
34067 echo "$as_me: failed program was:" >&5
34068 sed 's/^/| /' conftest.$ac_ext >&5
34069
34070 ac_cv_type_mbstate_t=no
34071 fi
34072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34073 fi
34074 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34075 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34076 if test $ac_cv_type_mbstate_t = yes; then
34077
34078 cat >>confdefs.h <<_ACEOF
34079 #define HAVE_MBSTATE_T 1
34080 _ACEOF
34081
34082
34083 for ac_func in wcsrtombs
34084 do
34085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34086 echo "$as_me:$LINENO: checking for $ac_func" >&5
34087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34088 if eval "test \"\${$as_ac_var+set}\" = set"; then
34089 echo $ECHO_N "(cached) $ECHO_C" >&6
34090 else
34091 cat >conftest.$ac_ext <<_ACEOF
34092 /* confdefs.h. */
34093 _ACEOF
34094 cat confdefs.h >>conftest.$ac_ext
34095 cat >>conftest.$ac_ext <<_ACEOF
34096 /* end confdefs.h. */
34097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34099 #define $ac_func innocuous_$ac_func
34100
34101 /* System header to define __stub macros and hopefully few prototypes,
34102 which can conflict with char $ac_func (); below.
34103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34104 <limits.h> exists even on freestanding compilers. */
34105
34106 #ifdef __STDC__
34107 # include <limits.h>
34108 #else
34109 # include <assert.h>
34110 #endif
34111
34112 #undef $ac_func
34113
34114 /* Override any gcc2 internal prototype to avoid an error. */
34115 #ifdef __cplusplus
34116 extern "C"
34117 {
34118 #endif
34119 /* We use char because int might match the return type of a gcc2
34120 builtin and then its argument prototype would still apply. */
34121 char $ac_func ();
34122 /* The GNU C library defines this for functions which it implements
34123 to always fail with ENOSYS. Some functions are actually named
34124 something starting with __ and the normal name is an alias. */
34125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34126 choke me
34127 #else
34128 char (*f) () = $ac_func;
34129 #endif
34130 #ifdef __cplusplus
34131 }
34132 #endif
34133
34134 int
34135 main ()
34136 {
34137 return f != $ac_func;
34138 ;
34139 return 0;
34140 }
34141 _ACEOF
34142 rm -f conftest.$ac_objext conftest$ac_exeext
34143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34144 (eval $ac_link) 2>conftest.er1
34145 ac_status=$?
34146 grep -v '^ *+' conftest.er1 >conftest.err
34147 rm -f conftest.er1
34148 cat conftest.err >&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } &&
34151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34154 ac_status=$?
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; } &&
34157 { ac_try='test -s conftest$ac_exeext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 eval "$as_ac_var=yes"
34164 else
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.$ac_ext >&5
34167
34168 eval "$as_ac_var=no"
34169 fi
34170 rm -f conftest.err conftest.$ac_objext \
34171 conftest$ac_exeext conftest.$ac_ext
34172 fi
34173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34175 if test `eval echo '${'$as_ac_var'}'` = yes; then
34176 cat >>confdefs.h <<_ACEOF
34177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34178 _ACEOF
34179
34180 fi
34181 done
34182
34183 fi
34184
34185 else
34186 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34187 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34188 fi
34189
34190
34191
34192 for ac_func in snprintf vsnprintf
34193 do
34194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34195 echo "$as_me:$LINENO: checking for $ac_func" >&5
34196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34197 if eval "test \"\${$as_ac_var+set}\" = set"; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34199 else
34200 cat >conftest.$ac_ext <<_ACEOF
34201 /* confdefs.h. */
34202 _ACEOF
34203 cat confdefs.h >>conftest.$ac_ext
34204 cat >>conftest.$ac_ext <<_ACEOF
34205 /* end confdefs.h. */
34206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34208 #define $ac_func innocuous_$ac_func
34209
34210 /* System header to define __stub macros and hopefully few prototypes,
34211 which can conflict with char $ac_func (); below.
34212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34213 <limits.h> exists even on freestanding compilers. */
34214
34215 #ifdef __STDC__
34216 # include <limits.h>
34217 #else
34218 # include <assert.h>
34219 #endif
34220
34221 #undef $ac_func
34222
34223 /* Override any gcc2 internal prototype to avoid an error. */
34224 #ifdef __cplusplus
34225 extern "C"
34226 {
34227 #endif
34228 /* We use char because int might match the return type of a gcc2
34229 builtin and then its argument prototype would still apply. */
34230 char $ac_func ();
34231 /* The GNU C library defines this for functions which it implements
34232 to always fail with ENOSYS. Some functions are actually named
34233 something starting with __ and the normal name is an alias. */
34234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34235 choke me
34236 #else
34237 char (*f) () = $ac_func;
34238 #endif
34239 #ifdef __cplusplus
34240 }
34241 #endif
34242
34243 int
34244 main ()
34245 {
34246 return f != $ac_func;
34247 ;
34248 return 0;
34249 }
34250 _ACEOF
34251 rm -f conftest.$ac_objext conftest$ac_exeext
34252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34253 (eval $ac_link) 2>conftest.er1
34254 ac_status=$?
34255 grep -v '^ *+' conftest.er1 >conftest.err
34256 rm -f conftest.er1
34257 cat conftest.err >&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); } &&
34260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; } &&
34266 { ac_try='test -s conftest$ac_exeext'
34267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34268 (eval $ac_try) 2>&5
34269 ac_status=$?
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); }; }; then
34272 eval "$as_ac_var=yes"
34273 else
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34276
34277 eval "$as_ac_var=no"
34278 fi
34279 rm -f conftest.err conftest.$ac_objext \
34280 conftest$ac_exeext conftest.$ac_ext
34281 fi
34282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34284 if test `eval echo '${'$as_ac_var'}'` = yes; then
34285 cat >>confdefs.h <<_ACEOF
34286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34288
34289 fi
34290 done
34291
34292
34293 if test "$ac_cv_func_vsnprintf" = "yes"; then
34294 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34295 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34296 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34299
34300 cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h. */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34306
34307 #include <stdio.h>
34308 #include <stdarg.h>
34309 #ifdef __MSL__
34310 #if __MSL__ >= 0x6000
34311 namespace std {}
34312 using namespace std;
34313 #endif
34314 #endif
34315
34316 int
34317 main ()
34318 {
34319
34320 char *buf;
34321 va_list ap;
34322 vsnprintf(buf, 10u, "%s", ap);
34323
34324 ;
34325 return 0;
34326 }
34327 _ACEOF
34328 rm -f conftest.$ac_objext
34329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34330 (eval $ac_compile) 2>conftest.er1
34331 ac_status=$?
34332 grep -v '^ *+' conftest.er1 >conftest.err
34333 rm -f conftest.er1
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } &&
34337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34340 ac_status=$?
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; } &&
34343 { ac_try='test -s conftest.$ac_objext'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34346 ac_status=$?
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; }; then
34349 wx_cv_func_vsnprintf_decl=yes
34350 else
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.$ac_ext >&5
34353
34354 wx_cv_func_vsnprintf_decl=no
34355
34356 fi
34357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34358
34359
34360 fi
34361 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34362 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34363
34364 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34365 cat >>confdefs.h <<\_ACEOF
34366 #define HAVE_VSNPRINTF_DECL 1
34367 _ACEOF
34368
34369
34370 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34371 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34372 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375
34376 cat >conftest.$ac_ext <<_ACEOF
34377 /* confdefs.h. */
34378 _ACEOF
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34382
34383 #include <stdio.h>
34384 #include <stdarg.h>
34385 #ifdef __MSL__
34386 #if __MSL__ >= 0x6000
34387 namespace std {}
34388 using namespace std;
34389 #endif
34390 #endif
34391
34392 int
34393 main ()
34394 {
34395
34396 char *buf;
34397 va_list ap;
34398 const char *fmt = "%s";
34399 vsnprintf(buf, 10u, fmt, ap);
34400
34401 ;
34402 return 0;
34403 }
34404 _ACEOF
34405 rm -f conftest.$ac_objext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34407 (eval $ac_compile) 2>conftest.er1
34408 ac_status=$?
34409 grep -v '^ *+' conftest.er1 >conftest.err
34410 rm -f conftest.er1
34411 cat conftest.err >&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34417 ac_status=$?
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; } &&
34420 { ac_try='test -s conftest.$ac_objext'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34423 ac_status=$?
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; }; then
34426 wx_cv_func_broken_vsnprintf_decl=no
34427 else
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34430
34431 wx_cv_func_broken_vsnprintf_decl=yes
34432
34433 fi
34434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34435
34436
34437 fi
34438 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34439 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34440
34441 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34442 cat >>confdefs.h <<\_ACEOF
34443 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34444 _ACEOF
34445
34446 fi
34447 fi
34448 fi
34449
34450 if test "$ac_cv_func_snprintf" = "yes"; then
34451 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34452 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34453 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 else
34456
34457 cat >conftest.$ac_ext <<_ACEOF
34458 /* confdefs.h. */
34459 _ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463
34464 #include <stdio.h>
34465 #include <stdarg.h>
34466 #ifdef __MSL__
34467 #if __MSL__ >= 0x6000
34468 namespace std {}
34469 using namespace std;
34470 #endif
34471 #endif
34472
34473 int
34474 main ()
34475 {
34476
34477 char *buf;
34478 snprintf(buf, 10u, "%s", "wx");
34479
34480 ;
34481 return 0;
34482 }
34483 _ACEOF
34484 rm -f conftest.$ac_objext
34485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34486 (eval $ac_compile) 2>conftest.er1
34487 ac_status=$?
34488 grep -v '^ *+' conftest.er1 >conftest.err
34489 rm -f conftest.er1
34490 cat conftest.err >&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } &&
34493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34496 ac_status=$?
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; } &&
34499 { ac_try='test -s conftest.$ac_objext'
34500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34501 (eval $ac_try) 2>&5
34502 ac_status=$?
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); }; }; then
34505 wx_cv_func_snprintf_decl=yes
34506 else
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.$ac_ext >&5
34509
34510 wx_cv_func_snprintf_decl=no
34511
34512 fi
34513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34514
34515
34516 fi
34517 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34518 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34519
34520 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34521 cat >>confdefs.h <<\_ACEOF
34522 #define HAVE_SNPRINTF_DECL 1
34523 _ACEOF
34524
34525
34526 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34527 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34528 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34530 else
34531
34532 cat >conftest.$ac_ext <<_ACEOF
34533 /* confdefs.h. */
34534 _ACEOF
34535 cat confdefs.h >>conftest.$ac_ext
34536 cat >>conftest.$ac_ext <<_ACEOF
34537 /* end confdefs.h. */
34538
34539 #include <stdio.h>
34540 #include <stdarg.h>
34541 #ifdef __MSL__
34542 #if __MSL__ >= 0x6000
34543 namespace std {}
34544 using namespace std;
34545 #endif
34546 #endif
34547
34548 int
34549 main ()
34550 {
34551
34552 char *buf;
34553 const char *fmt = "%s";
34554 snprintf(buf, 10u, fmt, "wx");
34555
34556 ;
34557 return 0;
34558 }
34559 _ACEOF
34560 rm -f conftest.$ac_objext
34561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34562 (eval $ac_compile) 2>conftest.er1
34563 ac_status=$?
34564 grep -v '^ *+' conftest.er1 >conftest.err
34565 rm -f conftest.er1
34566 cat conftest.err >&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); } &&
34569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34571 (eval $ac_try) 2>&5
34572 ac_status=$?
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); }; } &&
34575 { ac_try='test -s conftest.$ac_objext'
34576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34577 (eval $ac_try) 2>&5
34578 ac_status=$?
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); }; }; then
34581 wx_cv_func_broken_snprintf_decl=no
34582 else
34583 echo "$as_me: failed program was:" >&5
34584 sed 's/^/| /' conftest.$ac_ext >&5
34585
34586 wx_cv_func_broken_snprintf_decl=yes
34587
34588 fi
34589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34590
34591
34592 fi
34593 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34594 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34595
34596 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34597 cat >>confdefs.h <<\_ACEOF
34598 #define HAVE_BROKEN_SNPRINTF_DECL 1
34599 _ACEOF
34600
34601 fi
34602 fi
34603
34604 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34605
34606 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34607 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34608 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34609 echo $ECHO_N "(cached) $ECHO_C" >&6
34610 else
34611
34612 if test "$cross_compiling" = yes; then
34613 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34614 See \`config.log' for more details." >&5
34615 echo "$as_me: error: cannot run test program while cross compiling
34616 See \`config.log' for more details." >&2;}
34617 { (exit 1); exit 1; }; }
34618 else
34619 cat >conftest.$ac_ext <<_ACEOF
34620 /* confdefs.h. */
34621 _ACEOF
34622 cat confdefs.h >>conftest.$ac_ext
34623 cat >>conftest.$ac_ext <<_ACEOF
34624 /* end confdefs.h. */
34625
34626 #include <stdio.h>
34627
34628 int main (void)
34629 {
34630 char buffer[128];
34631 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34632 if (strcmp ("2 3 1", buffer) == 0)
34633 exit (0);
34634 exit (1);
34635 }
34636
34637 _ACEOF
34638 rm -f conftest$ac_exeext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34640 (eval $ac_link) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645 (eval $ac_try) 2>&5
34646 ac_status=$?
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); }; }; then
34649 wx_cv_func_snprintf_pos_params=no
34650 else
34651 echo "$as_me: program exited with status $ac_status" >&5
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34654
34655 ( exit $ac_status )
34656 wx_cv_func_snprintf_pos_params=yes
34657
34658 fi
34659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34660 fi
34661
34662
34663 fi
34664 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34665 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34666
34667 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34668 cat >>confdefs.h <<\_ACEOF
34669 #define HAVE_UNIX98_PRINTF 1
34670 _ACEOF
34671
34672 fi
34673 fi
34674 fi
34675
34676
34677 if test "$wxUSE_UNICODE" = yes; then
34678
34679
34680
34681
34682
34683
34684 for ac_func in wputc wputchar putws fputws wprintf vswprintf
34685 do
34686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34687 echo "$as_me:$LINENO: checking for $ac_func" >&5
34688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34689 if eval "test \"\${$as_ac_var+set}\" = set"; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34700 #define $ac_func innocuous_$ac_func
34701
34702 /* System header to define __stub macros and hopefully few prototypes,
34703 which can conflict with char $ac_func (); below.
34704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34705 <limits.h> exists even on freestanding compilers. */
34706
34707 #ifdef __STDC__
34708 # include <limits.h>
34709 #else
34710 # include <assert.h>
34711 #endif
34712
34713 #undef $ac_func
34714
34715 /* Override any gcc2 internal prototype to avoid an error. */
34716 #ifdef __cplusplus
34717 extern "C"
34718 {
34719 #endif
34720 /* We use char because int might match the return type of a gcc2
34721 builtin and then its argument prototype would still apply. */
34722 char $ac_func ();
34723 /* The GNU C library defines this for functions which it implements
34724 to always fail with ENOSYS. Some functions are actually named
34725 something starting with __ and the normal name is an alias. */
34726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34727 choke me
34728 #else
34729 char (*f) () = $ac_func;
34730 #endif
34731 #ifdef __cplusplus
34732 }
34733 #endif
34734
34735 int
34736 main ()
34737 {
34738 return f != $ac_func;
34739 ;
34740 return 0;
34741 }
34742 _ACEOF
34743 rm -f conftest.$ac_objext conftest$ac_exeext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34745 (eval $ac_link) 2>conftest.er1
34746 ac_status=$?
34747 grep -v '^ *+' conftest.er1 >conftest.err
34748 rm -f conftest.er1
34749 cat conftest.err >&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34755 ac_status=$?
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try='test -s conftest$ac_exeext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34761 ac_status=$?
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 eval "$as_ac_var=yes"
34765 else
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34768
34769 eval "$as_ac_var=no"
34770 fi
34771 rm -f conftest.err conftest.$ac_objext \
34772 conftest$ac_exeext conftest.$ac_ext
34773 fi
34774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34776 if test `eval echo '${'$as_ac_var'}'` = yes; then
34777 cat >>confdefs.h <<_ACEOF
34778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34779 _ACEOF
34780
34781 fi
34782 done
34783
34784
34785 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34786 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34787 cat >conftest.$ac_ext <<_ACEOF
34788 /* confdefs.h. */
34789 _ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34793 #include <wchar.h>
34794 int
34795 main ()
34796 {
34797 &_vsnwprintf;
34798 ;
34799 return 0;
34800 }
34801 _ACEOF
34802 rm -f conftest.$ac_objext
34803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34804 (eval $ac_compile) 2>conftest.er1
34805 ac_status=$?
34806 grep -v '^ *+' conftest.er1 >conftest.err
34807 rm -f conftest.er1
34808 cat conftest.err >&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } &&
34811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34813 (eval $ac_try) 2>&5
34814 ac_status=$?
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); }; } &&
34817 { ac_try='test -s conftest.$ac_objext'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34820 ac_status=$?
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; }; then
34823 echo "$as_me:$LINENO: result: yes" >&5
34824 echo "${ECHO_T}yes" >&6
34825 cat >>confdefs.h <<\_ACEOF
34826 #define HAVE__VSNWPRINTF 1
34827 _ACEOF
34828
34829 else
34830 echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.$ac_ext >&5
34832
34833 echo "$as_me:$LINENO: result: no" >&5
34834 echo "${ECHO_T}no" >&6
34835 fi
34836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34837 fi
34838
34839 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34840
34841 for ac_func in fnmatch
34842 do
34843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34844 echo "$as_me:$LINENO: checking for $ac_func" >&5
34845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34846 if eval "test \"\${$as_ac_var+set}\" = set"; then
34847 echo $ECHO_N "(cached) $ECHO_C" >&6
34848 else
34849 cat >conftest.$ac_ext <<_ACEOF
34850 /* confdefs.h. */
34851 _ACEOF
34852 cat confdefs.h >>conftest.$ac_ext
34853 cat >>conftest.$ac_ext <<_ACEOF
34854 /* end confdefs.h. */
34855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34857 #define $ac_func innocuous_$ac_func
34858
34859 /* System header to define __stub macros and hopefully few prototypes,
34860 which can conflict with char $ac_func (); below.
34861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34862 <limits.h> exists even on freestanding compilers. */
34863
34864 #ifdef __STDC__
34865 # include <limits.h>
34866 #else
34867 # include <assert.h>
34868 #endif
34869
34870 #undef $ac_func
34871
34872 /* Override any gcc2 internal prototype to avoid an error. */
34873 #ifdef __cplusplus
34874 extern "C"
34875 {
34876 #endif
34877 /* We use char because int might match the return type of a gcc2
34878 builtin and then its argument prototype would still apply. */
34879 char $ac_func ();
34880 /* The GNU C library defines this for functions which it implements
34881 to always fail with ENOSYS. Some functions are actually named
34882 something starting with __ and the normal name is an alias. */
34883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34884 choke me
34885 #else
34886 char (*f) () = $ac_func;
34887 #endif
34888 #ifdef __cplusplus
34889 }
34890 #endif
34891
34892 int
34893 main ()
34894 {
34895 return f != $ac_func;
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 rm -f conftest.$ac_objext conftest$ac_exeext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34902 (eval $ac_link) 2>conftest.er1
34903 ac_status=$?
34904 grep -v '^ *+' conftest.er1 >conftest.err
34905 rm -f conftest.er1
34906 cat conftest.err >&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34912 ac_status=$?
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try='test -s conftest$ac_exeext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34918 ac_status=$?
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 eval "$as_ac_var=yes"
34922 else
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.$ac_ext >&5
34925
34926 eval "$as_ac_var=no"
34927 fi
34928 rm -f conftest.err conftest.$ac_objext \
34929 conftest$ac_exeext conftest.$ac_ext
34930 fi
34931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34933 if test `eval echo '${'$as_ac_var'}'` = yes; then
34934 cat >>confdefs.h <<_ACEOF
34935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34936 _ACEOF
34937
34938 fi
34939 done
34940
34941 fi
34942
34943 if test "$wxUSE_FILE" = "yes"; then
34944
34945 for ac_func in fsync
34946 do
34947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34948 echo "$as_me:$LINENO: checking for $ac_func" >&5
34949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34950 if eval "test \"\${$as_ac_var+set}\" = set"; then
34951 echo $ECHO_N "(cached) $ECHO_C" >&6
34952 else
34953 cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h. */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34961 #define $ac_func innocuous_$ac_func
34962
34963 /* System header to define __stub macros and hopefully few prototypes,
34964 which can conflict with char $ac_func (); below.
34965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34966 <limits.h> exists even on freestanding compilers. */
34967
34968 #ifdef __STDC__
34969 # include <limits.h>
34970 #else
34971 # include <assert.h>
34972 #endif
34973
34974 #undef $ac_func
34975
34976 /* Override any gcc2 internal prototype to avoid an error. */
34977 #ifdef __cplusplus
34978 extern "C"
34979 {
34980 #endif
34981 /* We use char because int might match the return type of a gcc2
34982 builtin and then its argument prototype would still apply. */
34983 char $ac_func ();
34984 /* The GNU C library defines this for functions which it implements
34985 to always fail with ENOSYS. Some functions are actually named
34986 something starting with __ and the normal name is an alias. */
34987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34988 choke me
34989 #else
34990 char (*f) () = $ac_func;
34991 #endif
34992 #ifdef __cplusplus
34993 }
34994 #endif
34995
34996 int
34997 main ()
34998 {
34999 return f != $ac_func;
35000 ;
35001 return 0;
35002 }
35003 _ACEOF
35004 rm -f conftest.$ac_objext conftest$ac_exeext
35005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35006 (eval $ac_link) 2>conftest.er1
35007 ac_status=$?
35008 grep -v '^ *+' conftest.er1 >conftest.err
35009 rm -f conftest.er1
35010 cat conftest.err >&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } &&
35013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35016 ac_status=$?
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; } &&
35019 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35025 eval "$as_ac_var=yes"
35026 else
35027 echo "$as_me: failed program was:" >&5
35028 sed 's/^/| /' conftest.$ac_ext >&5
35029
35030 eval "$as_ac_var=no"
35031 fi
35032 rm -f conftest.err conftest.$ac_objext \
35033 conftest$ac_exeext conftest.$ac_ext
35034 fi
35035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35037 if test `eval echo '${'$as_ac_var'}'` = yes; then
35038 cat >>confdefs.h <<_ACEOF
35039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35040 _ACEOF
35041
35042 fi
35043 done
35044
35045 fi
35046
35047
35048 if test "$TOOLKIT" != "MSW"; then
35049
35050
35051
35052
35053
35054 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35055 if test "${with_libiconv_prefix+set}" = set; then
35056 withval="$with_libiconv_prefix"
35057
35058 for dir in `echo "$withval" | tr : ' '`; do
35059 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35060 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35061 done
35062
35063 fi;
35064
35065 echo "$as_me:$LINENO: checking for iconv" >&5
35066 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35067 if test "${am_cv_func_iconv+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 else
35070
35071 am_cv_func_iconv="no, consider installing GNU libiconv"
35072 am_cv_lib_iconv=no
35073 cat >conftest.$ac_ext <<_ACEOF
35074 /* confdefs.h. */
35075 _ACEOF
35076 cat confdefs.h >>conftest.$ac_ext
35077 cat >>conftest.$ac_ext <<_ACEOF
35078 /* end confdefs.h. */
35079 #include <stdlib.h>
35080 #include <iconv.h>
35081 int
35082 main ()
35083 {
35084 iconv_t cd = iconv_open("","");
35085 iconv(cd,NULL,NULL,NULL,NULL);
35086 iconv_close(cd);
35087 ;
35088 return 0;
35089 }
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 am_cv_func_iconv=yes
35113 else
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35116
35117 fi
35118 rm -f conftest.err conftest.$ac_objext \
35119 conftest$ac_exeext conftest.$ac_ext
35120 if test "$am_cv_func_iconv" != yes; then
35121 am_save_LIBS="$LIBS"
35122 LIBS="$LIBS -liconv"
35123 cat >conftest.$ac_ext <<_ACEOF
35124 /* confdefs.h. */
35125 _ACEOF
35126 cat confdefs.h >>conftest.$ac_ext
35127 cat >>conftest.$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35129 #include <stdlib.h>
35130 #include <iconv.h>
35131 int
35132 main ()
35133 {
35134 iconv_t cd = iconv_open("","");
35135 iconv(cd,NULL,NULL,NULL,NULL);
35136 iconv_close(cd);
35137 ;
35138 return 0;
35139 }
35140 _ACEOF
35141 rm -f conftest.$ac_objext conftest$ac_exeext
35142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35143 (eval $ac_link) 2>conftest.er1
35144 ac_status=$?
35145 grep -v '^ *+' conftest.er1 >conftest.err
35146 rm -f conftest.er1
35147 cat conftest.err >&5
35148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149 (exit $ac_status); } &&
35150 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35153 ac_status=$?
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; } &&
35156 { ac_try='test -s conftest$ac_exeext'
35157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35158 (eval $ac_try) 2>&5
35159 ac_status=$?
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 am_cv_lib_iconv=yes
35163 am_cv_func_iconv=yes
35164 else
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 fi
35169 rm -f conftest.err conftest.$ac_objext \
35170 conftest$ac_exeext conftest.$ac_ext
35171 LIBS="$am_save_LIBS"
35172 fi
35173
35174 fi
35175 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35176 echo "${ECHO_T}$am_cv_func_iconv" >&6
35177 if test "$am_cv_func_iconv" = yes; then
35178
35179 cat >>confdefs.h <<\_ACEOF
35180 #define HAVE_ICONV 1
35181 _ACEOF
35182
35183 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35184 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35185 if test "${wx_cv_func_iconv_const+set}" = set; then
35186 echo $ECHO_N "(cached) $ECHO_C" >&6
35187 else
35188 cat >conftest.$ac_ext <<_ACEOF
35189 /* confdefs.h. */
35190 _ACEOF
35191 cat confdefs.h >>conftest.$ac_ext
35192 cat >>conftest.$ac_ext <<_ACEOF
35193 /* end confdefs.h. */
35194
35195 #include <stdlib.h>
35196 #include <iconv.h>
35197 extern
35198 #ifdef __cplusplus
35199 "C"
35200 #endif
35201 #if defined(__STDC__) || defined(__cplusplus)
35202 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35203 #else
35204 size_t iconv();
35205 #endif
35206
35207 int
35208 main ()
35209 {
35210
35211 ;
35212 return 0;
35213 }
35214 _ACEOF
35215 rm -f conftest.$ac_objext
35216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35217 (eval $ac_compile) 2>conftest.er1
35218 ac_status=$?
35219 grep -v '^ *+' conftest.er1 >conftest.err
35220 rm -f conftest.er1
35221 cat conftest.err >&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } &&
35224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35226 (eval $ac_try) 2>&5
35227 ac_status=$?
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); }; } &&
35230 { ac_try='test -s conftest.$ac_objext'
35231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35232 (eval $ac_try) 2>&5
35233 ac_status=$?
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); }; }; then
35236 wx_cv_func_iconv_const="no"
35237 else
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.$ac_ext >&5
35240
35241 wx_cv_func_iconv_const="yes"
35242
35243 fi
35244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35245
35246 fi
35247 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35248 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35249
35250 iconv_const=
35251 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35252 iconv_const="const"
35253 fi
35254
35255
35256 cat >>confdefs.h <<_ACEOF
35257 #define ICONV_CONST $iconv_const
35258 _ACEOF
35259
35260 fi
35261 LIBICONV=
35262 if test "$am_cv_lib_iconv" = yes; then
35263 LIBICONV="-liconv"
35264 fi
35265
35266
35267 LIBS="$LIBICONV $LIBS"
35268
35269 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35270
35271 for ac_func in sigaction
35272 do
35273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35274 echo "$as_me:$LINENO: checking for $ac_func" >&5
35275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35276 if eval "test \"\${$as_ac_var+set}\" = set"; then
35277 echo $ECHO_N "(cached) $ECHO_C" >&6
35278 else
35279 cat >conftest.$ac_ext <<_ACEOF
35280 /* confdefs.h. */
35281 _ACEOF
35282 cat confdefs.h >>conftest.$ac_ext
35283 cat >>conftest.$ac_ext <<_ACEOF
35284 /* end confdefs.h. */
35285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35287 #define $ac_func innocuous_$ac_func
35288
35289 /* System header to define __stub macros and hopefully few prototypes,
35290 which can conflict with char $ac_func (); below.
35291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35292 <limits.h> exists even on freestanding compilers. */
35293
35294 #ifdef __STDC__
35295 # include <limits.h>
35296 #else
35297 # include <assert.h>
35298 #endif
35299
35300 #undef $ac_func
35301
35302 /* Override any gcc2 internal prototype to avoid an error. */
35303 #ifdef __cplusplus
35304 extern "C"
35305 {
35306 #endif
35307 /* We use char because int might match the return type of a gcc2
35308 builtin and then its argument prototype would still apply. */
35309 char $ac_func ();
35310 /* The GNU C library defines this for functions which it implements
35311 to always fail with ENOSYS. Some functions are actually named
35312 something starting with __ and the normal name is an alias. */
35313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35314 choke me
35315 #else
35316 char (*f) () = $ac_func;
35317 #endif
35318 #ifdef __cplusplus
35319 }
35320 #endif
35321
35322 int
35323 main ()
35324 {
35325 return f != $ac_func;
35326 ;
35327 return 0;
35328 }
35329 _ACEOF
35330 rm -f conftest.$ac_objext conftest$ac_exeext
35331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35332 (eval $ac_link) 2>conftest.er1
35333 ac_status=$?
35334 grep -v '^ *+' conftest.er1 >conftest.err
35335 rm -f conftest.er1
35336 cat conftest.err >&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } &&
35339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35341 (eval $ac_try) 2>&5
35342 ac_status=$?
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); }; } &&
35345 { ac_try='test -s conftest$ac_exeext'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35348 ac_status=$?
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; }; then
35351 eval "$as_ac_var=yes"
35352 else
35353 echo "$as_me: failed program was:" >&5
35354 sed 's/^/| /' conftest.$ac_ext >&5
35355
35356 eval "$as_ac_var=no"
35357 fi
35358 rm -f conftest.err conftest.$ac_objext \
35359 conftest$ac_exeext conftest.$ac_ext
35360 fi
35361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35363 if test `eval echo '${'$as_ac_var'}'` = yes; then
35364 cat >>confdefs.h <<_ACEOF
35365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35366 _ACEOF
35367
35368 fi
35369 done
35370
35371
35372 if test "$ac_cv_func_sigaction" = "no"; then
35373 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35374 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35375 wxUSE_ON_FATAL_EXCEPTION=no
35376 fi
35377
35378 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35379 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35380 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35381 if test "${wx_cv_type_sa_handler+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 #include <signal.h>
35392 int
35393 main ()
35394 {
35395
35396 extern void testSigHandler(int);
35397
35398 struct sigaction sa;
35399 sa.sa_handler = testSigHandler;
35400
35401 ;
35402 return 0;
35403 }
35404 _ACEOF
35405 rm -f conftest.$ac_objext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35407 (eval $ac_compile) 2>conftest.er1
35408 ac_status=$?
35409 grep -v '^ *+' conftest.er1 >conftest.err
35410 rm -f conftest.er1
35411 cat conftest.err >&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } &&
35414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; } &&
35420 { ac_try='test -s conftest.$ac_objext'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35423 ac_status=$?
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; }; then
35426
35427 wx_cv_type_sa_handler=int
35428
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433
35434 wx_cv_type_sa_handler=void
35435
35436 fi
35437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35438
35439 fi
35440 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35441 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35442
35443 cat >>confdefs.h <<_ACEOF
35444 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35445 _ACEOF
35446
35447 fi
35448 fi
35449
35450 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35451 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35452 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35453 if test "${wx_cv_func_backtrace+set}" = set; then
35454 echo $ECHO_N "(cached) $ECHO_C" >&6
35455 else
35456
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <execinfo.h>
35464 int
35465 main ()
35466 {
35467
35468 void *trace[1];
35469 char **messages;
35470
35471 backtrace(trace, 1);
35472 messages = backtrace_symbols(trace, 1);
35473
35474 ;
35475 return 0;
35476 }
35477 _ACEOF
35478 rm -f conftest.$ac_objext
35479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35480 (eval $ac_compile) 2>conftest.er1
35481 ac_status=$?
35482 grep -v '^ *+' conftest.er1 >conftest.err
35483 rm -f conftest.er1
35484 cat conftest.err >&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } &&
35487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try='test -s conftest.$ac_objext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35496 ac_status=$?
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35499 wx_cv_func_backtrace=yes
35500 else
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35503
35504 wx_cv_func_backtrace=no
35505
35506 fi
35507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35508
35509
35510 fi
35511 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35512 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35513
35514
35515 if test "$wx_cv_func_backtrace" = "no"; then
35516 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35517 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35518 wxUSE_STACKWALKER=no
35519 else
35520 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35521 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35522 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 else
35525
35526 cat >conftest.$ac_ext <<_ACEOF
35527 /* confdefs.h. */
35528 _ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35532 #include <cxxabi.h>
35533 int
35534 main ()
35535 {
35536
35537 int rc;
35538 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35539
35540 ;
35541 return 0;
35542 }
35543 _ACEOF
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546 (eval $ac_link) 2>conftest.er1
35547 ac_status=$?
35548 grep -v '^ *+' conftest.er1 >conftest.err
35549 rm -f conftest.er1
35550 cat conftest.err >&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } &&
35553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; } &&
35559 { ac_try='test -s conftest$ac_exeext'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; }; then
35565 wx_cv_func_cxa_demangle=yes
35566 else
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570 wx_cv_func_cxa_demangle=no
35571
35572 fi
35573 rm -f conftest.err conftest.$ac_objext \
35574 conftest$ac_exeext conftest.$ac_ext
35575
35576
35577 fi
35578 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35579 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35580
35581 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35582 cat >>confdefs.h <<\_ACEOF
35583 #define HAVE_CXA_DEMANGLE 1
35584 _ACEOF
35585
35586 fi
35587 fi
35588 fi
35589
35590 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35591 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35592 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35593 wxUSE_STACKWALKER=no
35594 fi
35595
35596
35597
35598
35599 for ac_func in mkstemp mktemp
35600 do
35601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35602 echo "$as_me:$LINENO: checking for $ac_func" >&5
35603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35604 if eval "test \"\${$as_ac_var+set}\" = set"; then
35605 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 else
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h. */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35615 #define $ac_func innocuous_$ac_func
35616
35617 /* System header to define __stub macros and hopefully few prototypes,
35618 which can conflict with char $ac_func (); below.
35619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35620 <limits.h> exists even on freestanding compilers. */
35621
35622 #ifdef __STDC__
35623 # include <limits.h>
35624 #else
35625 # include <assert.h>
35626 #endif
35627
35628 #undef $ac_func
35629
35630 /* Override any gcc2 internal prototype to avoid an error. */
35631 #ifdef __cplusplus
35632 extern "C"
35633 {
35634 #endif
35635 /* We use char because int might match the return type of a gcc2
35636 builtin and then its argument prototype would still apply. */
35637 char $ac_func ();
35638 /* The GNU C library defines this for functions which it implements
35639 to always fail with ENOSYS. Some functions are actually named
35640 something starting with __ and the normal name is an alias. */
35641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35642 choke me
35643 #else
35644 char (*f) () = $ac_func;
35645 #endif
35646 #ifdef __cplusplus
35647 }
35648 #endif
35649
35650 int
35651 main ()
35652 {
35653 return f != $ac_func;
35654 ;
35655 return 0;
35656 }
35657 _ACEOF
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35660 (eval $ac_link) 2>conftest.er1
35661 ac_status=$?
35662 grep -v '^ *+' conftest.er1 >conftest.err
35663 rm -f conftest.er1
35664 cat conftest.err >&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); } &&
35667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669 (eval $ac_try) 2>&5
35670 ac_status=$?
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); }; } &&
35673 { ac_try='test -s conftest$ac_exeext'
35674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 (eval $ac_try) 2>&5
35676 ac_status=$?
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; }; then
35679 eval "$as_ac_var=yes"
35680 else
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35683
35684 eval "$as_ac_var=no"
35685 fi
35686 rm -f conftest.err conftest.$ac_objext \
35687 conftest$ac_exeext conftest.$ac_ext
35688 fi
35689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35691 if test `eval echo '${'$as_ac_var'}'` = yes; then
35692 cat >>confdefs.h <<_ACEOF
35693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35694 _ACEOF
35695 break
35696 fi
35697 done
35698
35699
35700 echo "$as_me:$LINENO: checking for statfs" >&5
35701 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35702 if test "${wx_cv_func_statfs+set}" = set; then
35703 echo $ECHO_N "(cached) $ECHO_C" >&6
35704 else
35705 cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h. */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711
35712 #if defined(__BSD__)
35713 #include <sys/param.h>
35714 #include <sys/mount.h>
35715 #else
35716 #include <sys/vfs.h>
35717 #endif
35718
35719 int
35720 main ()
35721 {
35722
35723 long l;
35724 struct statfs fs;
35725 statfs("/", &fs);
35726 l = fs.f_bsize;
35727 l += fs.f_blocks;
35728 l += fs.f_bavail;
35729
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 rm -f conftest.$ac_objext
35735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35736 (eval $ac_compile) 2>conftest.er1
35737 ac_status=$?
35738 grep -v '^ *+' conftest.er1 >conftest.err
35739 rm -f conftest.er1
35740 cat conftest.err >&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } &&
35743 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35745 (eval $ac_try) 2>&5
35746 ac_status=$?
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); }; } &&
35749 { ac_try='test -s conftest.$ac_objext'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35752 ac_status=$?
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; }; then
35755 wx_cv_func_statfs=yes
35756 else
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.$ac_ext >&5
35759
35760 wx_cv_func_statfs=no
35761
35762 fi
35763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35764
35765 fi
35766 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35767 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35768
35769 if test "$wx_cv_func_statfs" = "yes"; then
35770 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35771 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35772 if test "${wx_cv_func_statfs_decl+set}" = set; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35775 cat >conftest.$ac_ext <<_ACEOF
35776 /* confdefs.h. */
35777 _ACEOF
35778 cat confdefs.h >>conftest.$ac_ext
35779 cat >>conftest.$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781
35782 #if defined(__BSD__)
35783 #include <sys/param.h>
35784 #include <sys/mount.h>
35785 #else
35786 #include <sys/vfs.h>
35787 #endif
35788
35789 int
35790 main ()
35791 {
35792
35793 struct statfs fs;
35794 statfs("", &fs);
35795
35796 ;
35797 return 0;
35798 }
35799 _ACEOF
35800 rm -f conftest.$ac_objext
35801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35802 (eval $ac_compile) 2>conftest.er1
35803 ac_status=$?
35804 grep -v '^ *+' conftest.er1 >conftest.err
35805 rm -f conftest.er1
35806 cat conftest.err >&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); } &&
35809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35811 (eval $ac_try) 2>&5
35812 ac_status=$?
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); }; } &&
35815 { ac_try='test -s conftest.$ac_objext'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35818 ac_status=$?
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; }; then
35821 wx_cv_func_statfs_decl=yes
35822 else
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35825
35826 wx_cv_func_statfs_decl=no
35827
35828 fi
35829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35830
35831 fi
35832 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35833 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35834
35835 if test "$wx_cv_func_statfs_decl" = "yes"; then
35836 cat >>confdefs.h <<\_ACEOF
35837 #define HAVE_STATFS_DECL 1
35838 _ACEOF
35839
35840 fi
35841
35842 wx_cv_type_statvfs_t="struct statfs"
35843 cat >>confdefs.h <<\_ACEOF
35844 #define HAVE_STATFS 1
35845 _ACEOF
35846
35847 else
35848 echo "$as_me:$LINENO: checking for statvfs" >&5
35849 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35850 if test "${wx_cv_func_statvfs+set}" = set; then
35851 echo $ECHO_N "(cached) $ECHO_C" >&6
35852 else
35853 cat >conftest.$ac_ext <<_ACEOF
35854 /* confdefs.h. */
35855 _ACEOF
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35859
35860 #include <stddef.h>
35861 #include <sys/statvfs.h>
35862
35863 int
35864 main ()
35865 {
35866
35867 statvfs("/", NULL);
35868
35869 ;
35870 return 0;
35871 }
35872 _ACEOF
35873 rm -f conftest.$ac_objext
35874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35875 (eval $ac_compile) 2>conftest.er1
35876 ac_status=$?
35877 grep -v '^ *+' conftest.er1 >conftest.err
35878 rm -f conftest.er1
35879 cat conftest.err >&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); } &&
35882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35884 (eval $ac_try) 2>&5
35885 ac_status=$?
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; } &&
35888 { ac_try='test -s conftest.$ac_objext'
35889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35890 (eval $ac_try) 2>&5
35891 ac_status=$?
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); }; }; then
35894 wx_cv_func_statvfs=yes
35895 else
35896 echo "$as_me: failed program was:" >&5
35897 sed 's/^/| /' conftest.$ac_ext >&5
35898
35899 wx_cv_func_statvfs=no
35900
35901 fi
35902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35903
35904 fi
35905 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35906 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35907
35908 if test "$wx_cv_func_statvfs" = "yes"; then
35909 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35910 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35911 if test "${wx_cv_type_statvfs_t+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 else
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h. */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920
35921 #include <sys/statvfs.h>
35922
35923 int
35924 main ()
35925 {
35926
35927 long l;
35928 statvfs_t fs;
35929 statvfs("/", &fs);
35930 l = fs.f_bsize;
35931 l += fs.f_blocks;
35932 l += fs.f_bavail;
35933
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35940 (eval $ac_compile) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try='test -s conftest.$ac_objext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 wx_cv_type_statvfs_t=statvfs_t
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964
35965 cat >conftest.$ac_ext <<_ACEOF
35966 /* confdefs.h. */
35967 _ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971
35972 #include <sys/statvfs.h>
35973
35974 int
35975 main ()
35976 {
35977
35978 long l;
35979 struct statvfs fs;
35980 statvfs("/", &fs);
35981 l = fs.f_bsize;
35982 l += fs.f_blocks;
35983 l += fs.f_bavail;
35984
35985 ;
35986 return 0;
35987 }
35988 _ACEOF
35989 rm -f conftest.$ac_objext
35990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35991 (eval $ac_compile) 2>conftest.er1
35992 ac_status=$?
35993 grep -v '^ *+' conftest.er1 >conftest.err
35994 rm -f conftest.er1
35995 cat conftest.err >&5
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); } &&
35998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36001 ac_status=$?
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; } &&
36004 { ac_try='test -s conftest.$ac_objext'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36007 ac_status=$?
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; }; then
36010 wx_cv_type_statvfs_t="struct statvfs"
36011 else
36012 echo "$as_me: failed program was:" >&5
36013 sed 's/^/| /' conftest.$ac_ext >&5
36014
36015 wx_cv_type_statvfs_t="unknown"
36016
36017 fi
36018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36019
36020
36021 fi
36022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36023
36024 fi
36025 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36026 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36027
36028 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36029 cat >>confdefs.h <<\_ACEOF
36030 #define HAVE_STATVFS 1
36031 _ACEOF
36032
36033 fi
36034 else
36035 wx_cv_type_statvfs_t="unknown"
36036 fi
36037 fi
36038
36039 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36040 cat >>confdefs.h <<_ACEOF
36041 #define WX_STATFS_T $wx_cv_type_statvfs_t
36042 _ACEOF
36043
36044 else
36045 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36046 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36047 fi
36048
36049 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36050
36051
36052 for ac_func in fcntl flock
36053 do
36054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36055 echo "$as_me:$LINENO: checking for $ac_func" >&5
36056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36057 if eval "test \"\${$as_ac_var+set}\" = set"; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36059 else
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36068 #define $ac_func innocuous_$ac_func
36069
36070 /* System header to define __stub macros and hopefully few prototypes,
36071 which can conflict with char $ac_func (); below.
36072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36073 <limits.h> exists even on freestanding compilers. */
36074
36075 #ifdef __STDC__
36076 # include <limits.h>
36077 #else
36078 # include <assert.h>
36079 #endif
36080
36081 #undef $ac_func
36082
36083 /* Override any gcc2 internal prototype to avoid an error. */
36084 #ifdef __cplusplus
36085 extern "C"
36086 {
36087 #endif
36088 /* We use char because int might match the return type of a gcc2
36089 builtin and then its argument prototype would still apply. */
36090 char $ac_func ();
36091 /* The GNU C library defines this for functions which it implements
36092 to always fail with ENOSYS. Some functions are actually named
36093 something starting with __ and the normal name is an alias. */
36094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36095 choke me
36096 #else
36097 char (*f) () = $ac_func;
36098 #endif
36099 #ifdef __cplusplus
36100 }
36101 #endif
36102
36103 int
36104 main ()
36105 {
36106 return f != $ac_func;
36107 ;
36108 return 0;
36109 }
36110 _ACEOF
36111 rm -f conftest.$ac_objext conftest$ac_exeext
36112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36113 (eval $ac_link) 2>conftest.er1
36114 ac_status=$?
36115 grep -v '^ *+' conftest.er1 >conftest.err
36116 rm -f conftest.er1
36117 cat conftest.err >&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } &&
36120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36123 ac_status=$?
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; } &&
36126 { ac_try='test -s conftest$ac_exeext'
36127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36128 (eval $ac_try) 2>&5
36129 ac_status=$?
36130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36131 (exit $ac_status); }; }; then
36132 eval "$as_ac_var=yes"
36133 else
36134 echo "$as_me: failed program was:" >&5
36135 sed 's/^/| /' conftest.$ac_ext >&5
36136
36137 eval "$as_ac_var=no"
36138 fi
36139 rm -f conftest.err conftest.$ac_objext \
36140 conftest$ac_exeext conftest.$ac_ext
36141 fi
36142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36144 if test `eval echo '${'$as_ac_var'}'` = yes; then
36145 cat >>confdefs.h <<_ACEOF
36146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36147 _ACEOF
36148 break
36149 fi
36150 done
36151
36152
36153 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36154 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36155 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36156 wxUSE_SNGLINST_CHECKER=no
36157 fi
36158 fi
36159
36160
36161 for ac_func in timegm
36162 do
36163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36164 echo "$as_me:$LINENO: checking for $ac_func" >&5
36165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36166 if eval "test \"\${$as_ac_var+set}\" = set"; then
36167 echo $ECHO_N "(cached) $ECHO_C" >&6
36168 else
36169 cat >conftest.$ac_ext <<_ACEOF
36170 /* confdefs.h. */
36171 _ACEOF
36172 cat confdefs.h >>conftest.$ac_ext
36173 cat >>conftest.$ac_ext <<_ACEOF
36174 /* end confdefs.h. */
36175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36177 #define $ac_func innocuous_$ac_func
36178
36179 /* System header to define __stub macros and hopefully few prototypes,
36180 which can conflict with char $ac_func (); below.
36181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36182 <limits.h> exists even on freestanding compilers. */
36183
36184 #ifdef __STDC__
36185 # include <limits.h>
36186 #else
36187 # include <assert.h>
36188 #endif
36189
36190 #undef $ac_func
36191
36192 /* Override any gcc2 internal prototype to avoid an error. */
36193 #ifdef __cplusplus
36194 extern "C"
36195 {
36196 #endif
36197 /* We use char because int might match the return type of a gcc2
36198 builtin and then its argument prototype would still apply. */
36199 char $ac_func ();
36200 /* The GNU C library defines this for functions which it implements
36201 to always fail with ENOSYS. Some functions are actually named
36202 something starting with __ and the normal name is an alias. */
36203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36204 choke me
36205 #else
36206 char (*f) () = $ac_func;
36207 #endif
36208 #ifdef __cplusplus
36209 }
36210 #endif
36211
36212 int
36213 main ()
36214 {
36215 return f != $ac_func;
36216 ;
36217 return 0;
36218 }
36219 _ACEOF
36220 rm -f conftest.$ac_objext conftest$ac_exeext
36221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36222 (eval $ac_link) 2>conftest.er1
36223 ac_status=$?
36224 grep -v '^ *+' conftest.er1 >conftest.err
36225 rm -f conftest.er1
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } &&
36229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36231 (eval $ac_try) 2>&5
36232 ac_status=$?
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); }; } &&
36235 { ac_try='test -s conftest$ac_exeext'
36236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237 (eval $ac_try) 2>&5
36238 ac_status=$?
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); }; }; then
36241 eval "$as_ac_var=yes"
36242 else
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.$ac_ext >&5
36245
36246 eval "$as_ac_var=no"
36247 fi
36248 rm -f conftest.err conftest.$ac_objext \
36249 conftest$ac_exeext conftest.$ac_ext
36250 fi
36251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36253 if test `eval echo '${'$as_ac_var'}'` = yes; then
36254 cat >>confdefs.h <<_ACEOF
36255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36256 _ACEOF
36257
36258 fi
36259 done
36260
36261
36262
36263
36264 for ac_func in putenv setenv
36265 do
36266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36267 echo "$as_me:$LINENO: checking for $ac_func" >&5
36268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36269 if eval "test \"\${$as_ac_var+set}\" = set"; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36280 #define $ac_func innocuous_$ac_func
36281
36282 /* System header to define __stub macros and hopefully few prototypes,
36283 which can conflict with char $ac_func (); below.
36284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36285 <limits.h> exists even on freestanding compilers. */
36286
36287 #ifdef __STDC__
36288 # include <limits.h>
36289 #else
36290 # include <assert.h>
36291 #endif
36292
36293 #undef $ac_func
36294
36295 /* Override any gcc2 internal prototype to avoid an error. */
36296 #ifdef __cplusplus
36297 extern "C"
36298 {
36299 #endif
36300 /* We use char because int might match the return type of a gcc2
36301 builtin and then its argument prototype would still apply. */
36302 char $ac_func ();
36303 /* The GNU C library defines this for functions which it implements
36304 to always fail with ENOSYS. Some functions are actually named
36305 something starting with __ and the normal name is an alias. */
36306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36307 choke me
36308 #else
36309 char (*f) () = $ac_func;
36310 #endif
36311 #ifdef __cplusplus
36312 }
36313 #endif
36314
36315 int
36316 main ()
36317 {
36318 return f != $ac_func;
36319 ;
36320 return 0;
36321 }
36322 _ACEOF
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325 (eval $ac_link) 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } &&
36332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36334 (eval $ac_try) 2>&5
36335 ac_status=$?
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); }; } &&
36338 { ac_try='test -s conftest$ac_exeext'
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; }; then
36344 eval "$as_ac_var=yes"
36345 else
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.$ac_ext >&5
36348
36349 eval "$as_ac_var=no"
36350 fi
36351 rm -f conftest.err conftest.$ac_objext \
36352 conftest$ac_exeext conftest.$ac_ext
36353 fi
36354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36356 if test `eval echo '${'$as_ac_var'}'` = yes; then
36357 cat >>confdefs.h <<_ACEOF
36358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36359 _ACEOF
36360 break
36361 fi
36362 done
36363
36364
36365 HAVE_SOME_SLEEP_FUNC=0
36366 if test "$USE_BEOS" = 1; then
36367 cat >>confdefs.h <<\_ACEOF
36368 #define HAVE_SLEEP 1
36369 _ACEOF
36370
36371 HAVE_SOME_SLEEP_FUNC=1
36372 fi
36373
36374 if test "$USE_DARWIN" = 1; then
36375 cat >>confdefs.h <<\_ACEOF
36376 #define HAVE_USLEEP 1
36377 _ACEOF
36378
36379 HAVE_SOME_SLEEP_FUNC=1
36380 fi
36381
36382 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36383 POSIX4_LINK=
36384
36385 for ac_func in nanosleep
36386 do
36387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36388 echo "$as_me:$LINENO: checking for $ac_func" >&5
36389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36390 if eval "test \"\${$as_ac_var+set}\" = set"; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393 cat >conftest.$ac_ext <<_ACEOF
36394 /* confdefs.h. */
36395 _ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36401 #define $ac_func innocuous_$ac_func
36402
36403 /* System header to define __stub macros and hopefully few prototypes,
36404 which can conflict with char $ac_func (); below.
36405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36406 <limits.h> exists even on freestanding compilers. */
36407
36408 #ifdef __STDC__
36409 # include <limits.h>
36410 #else
36411 # include <assert.h>
36412 #endif
36413
36414 #undef $ac_func
36415
36416 /* Override any gcc2 internal prototype to avoid an error. */
36417 #ifdef __cplusplus
36418 extern "C"
36419 {
36420 #endif
36421 /* We use char because int might match the return type of a gcc2
36422 builtin and then its argument prototype would still apply. */
36423 char $ac_func ();
36424 /* The GNU C library defines this for functions which it implements
36425 to always fail with ENOSYS. Some functions are actually named
36426 something starting with __ and the normal name is an alias. */
36427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36428 choke me
36429 #else
36430 char (*f) () = $ac_func;
36431 #endif
36432 #ifdef __cplusplus
36433 }
36434 #endif
36435
36436 int
36437 main ()
36438 {
36439 return f != $ac_func;
36440 ;
36441 return 0;
36442 }
36443 _ACEOF
36444 rm -f conftest.$ac_objext conftest$ac_exeext
36445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36446 (eval $ac_link) 2>conftest.er1
36447 ac_status=$?
36448 grep -v '^ *+' conftest.er1 >conftest.err
36449 rm -f conftest.er1
36450 cat conftest.err >&5
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); } &&
36453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; } &&
36459 { ac_try='test -s conftest$ac_exeext'
36460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461 (eval $ac_try) 2>&5
36462 ac_status=$?
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); }; }; then
36465 eval "$as_ac_var=yes"
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36469
36470 eval "$as_ac_var=no"
36471 fi
36472 rm -f conftest.err conftest.$ac_objext \
36473 conftest$ac_exeext conftest.$ac_ext
36474 fi
36475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36477 if test `eval echo '${'$as_ac_var'}'` = yes; then
36478 cat >>confdefs.h <<_ACEOF
36479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36480 _ACEOF
36481 cat >>confdefs.h <<\_ACEOF
36482 #define HAVE_NANOSLEEP 1
36483 _ACEOF
36484
36485 else
36486
36487 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36488 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36489 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492 ac_check_lib_save_LIBS=$LIBS
36493 LIBS="-lposix4 $LIBS"
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500
36501 /* Override any gcc2 internal prototype to avoid an error. */
36502 #ifdef __cplusplus
36503 extern "C"
36504 #endif
36505 /* We use char because int might match the return type of a gcc2
36506 builtin and then its argument prototype would still apply. */
36507 char nanosleep ();
36508 int
36509 main ()
36510 {
36511 nanosleep ();
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36518 (eval $ac_link) 2>conftest.er1
36519 ac_status=$?
36520 grep -v '^ *+' conftest.er1 >conftest.err
36521 rm -f conftest.er1
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36528 ac_status=$?
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try='test -s conftest$ac_exeext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36534 ac_status=$?
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 ac_cv_lib_posix4_nanosleep=yes
36538 else
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.$ac_ext >&5
36541
36542 ac_cv_lib_posix4_nanosleep=no
36543 fi
36544 rm -f conftest.err conftest.$ac_objext \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS=$ac_check_lib_save_LIBS
36547 fi
36548 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36549 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36550 if test $ac_cv_lib_posix4_nanosleep = yes; then
36551
36552 cat >>confdefs.h <<\_ACEOF
36553 #define HAVE_NANOSLEEP 1
36554 _ACEOF
36555
36556 POSIX4_LINK=" -lposix4"
36557
36558 else
36559
36560
36561 for ac_func in usleep
36562 do
36563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36564 echo "$as_me:$LINENO: checking for $ac_func" >&5
36565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36566 if eval "test \"\${$as_ac_var+set}\" = set"; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 else
36569 cat >conftest.$ac_ext <<_ACEOF
36570 /* confdefs.h. */
36571 _ACEOF
36572 cat confdefs.h >>conftest.$ac_ext
36573 cat >>conftest.$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36577 #define $ac_func innocuous_$ac_func
36578
36579 /* System header to define __stub macros and hopefully few prototypes,
36580 which can conflict with char $ac_func (); below.
36581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36582 <limits.h> exists even on freestanding compilers. */
36583
36584 #ifdef __STDC__
36585 # include <limits.h>
36586 #else
36587 # include <assert.h>
36588 #endif
36589
36590 #undef $ac_func
36591
36592 /* Override any gcc2 internal prototype to avoid an error. */
36593 #ifdef __cplusplus
36594 extern "C"
36595 {
36596 #endif
36597 /* We use char because int might match the return type of a gcc2
36598 builtin and then its argument prototype would still apply. */
36599 char $ac_func ();
36600 /* The GNU C library defines this for functions which it implements
36601 to always fail with ENOSYS. Some functions are actually named
36602 something starting with __ and the normal name is an alias. */
36603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36604 choke me
36605 #else
36606 char (*f) () = $ac_func;
36607 #endif
36608 #ifdef __cplusplus
36609 }
36610 #endif
36611
36612 int
36613 main ()
36614 {
36615 return f != $ac_func;
36616 ;
36617 return 0;
36618 }
36619 _ACEOF
36620 rm -f conftest.$ac_objext conftest$ac_exeext
36621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36622 (eval $ac_link) 2>conftest.er1
36623 ac_status=$?
36624 grep -v '^ *+' conftest.er1 >conftest.err
36625 rm -f conftest.er1
36626 cat conftest.err >&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } &&
36629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36632 ac_status=$?
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try='test -s conftest$ac_exeext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36638 ac_status=$?
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 eval "$as_ac_var=yes"
36642 else
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.$ac_ext >&5
36645
36646 eval "$as_ac_var=no"
36647 fi
36648 rm -f conftest.err conftest.$ac_objext \
36649 conftest$ac_exeext conftest.$ac_ext
36650 fi
36651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36653 if test `eval echo '${'$as_ac_var'}'` = yes; then
36654 cat >>confdefs.h <<_ACEOF
36655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36656 _ACEOF
36657 cat >>confdefs.h <<\_ACEOF
36658 #define HAVE_USLEEP 1
36659 _ACEOF
36660
36661 else
36662 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36663 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36664
36665 fi
36666 done
36667
36668
36669
36670 fi
36671
36672
36673
36674 fi
36675 done
36676
36677 fi
36678
36679
36680
36681 for ac_func in uname gethostname
36682 do
36683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36684 echo "$as_me:$LINENO: checking for $ac_func" >&5
36685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36686 if eval "test \"\${$as_ac_var+set}\" = set"; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36688 else
36689 cat >conftest.$ac_ext <<_ACEOF
36690 /* confdefs.h. */
36691 _ACEOF
36692 cat confdefs.h >>conftest.$ac_ext
36693 cat >>conftest.$ac_ext <<_ACEOF
36694 /* end confdefs.h. */
36695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36697 #define $ac_func innocuous_$ac_func
36698
36699 /* System header to define __stub macros and hopefully few prototypes,
36700 which can conflict with char $ac_func (); below.
36701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36702 <limits.h> exists even on freestanding compilers. */
36703
36704 #ifdef __STDC__
36705 # include <limits.h>
36706 #else
36707 # include <assert.h>
36708 #endif
36709
36710 #undef $ac_func
36711
36712 /* Override any gcc2 internal prototype to avoid an error. */
36713 #ifdef __cplusplus
36714 extern "C"
36715 {
36716 #endif
36717 /* We use char because int might match the return type of a gcc2
36718 builtin and then its argument prototype would still apply. */
36719 char $ac_func ();
36720 /* The GNU C library defines this for functions which it implements
36721 to always fail with ENOSYS. Some functions are actually named
36722 something starting with __ and the normal name is an alias. */
36723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36724 choke me
36725 #else
36726 char (*f) () = $ac_func;
36727 #endif
36728 #ifdef __cplusplus
36729 }
36730 #endif
36731
36732 int
36733 main ()
36734 {
36735 return f != $ac_func;
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 rm -f conftest.$ac_objext conftest$ac_exeext
36741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36742 (eval $ac_link) 2>conftest.er1
36743 ac_status=$?
36744 grep -v '^ *+' conftest.er1 >conftest.err
36745 rm -f conftest.er1
36746 cat conftest.err >&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); } &&
36749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36751 (eval $ac_try) 2>&5
36752 ac_status=$?
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); }; } &&
36755 { ac_try='test -s conftest$ac_exeext'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36758 ac_status=$?
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; }; then
36761 eval "$as_ac_var=yes"
36762 else
36763 echo "$as_me: failed program was:" >&5
36764 sed 's/^/| /' conftest.$ac_ext >&5
36765
36766 eval "$as_ac_var=no"
36767 fi
36768 rm -f conftest.err conftest.$ac_objext \
36769 conftest$ac_exeext conftest.$ac_ext
36770 fi
36771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36773 if test `eval echo '${'$as_ac_var'}'` = yes; then
36774 cat >>confdefs.h <<_ACEOF
36775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36776 _ACEOF
36777 break
36778 fi
36779 done
36780
36781
36782
36783 for ac_func in strtok_r
36784 do
36785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36786 echo "$as_me:$LINENO: checking for $ac_func" >&5
36787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36788 if eval "test \"\${$as_ac_var+set}\" = set"; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36790 else
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h. */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36799 #define $ac_func innocuous_$ac_func
36800
36801 /* System header to define __stub macros and hopefully few prototypes,
36802 which can conflict with char $ac_func (); below.
36803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36804 <limits.h> exists even on freestanding compilers. */
36805
36806 #ifdef __STDC__
36807 # include <limits.h>
36808 #else
36809 # include <assert.h>
36810 #endif
36811
36812 #undef $ac_func
36813
36814 /* Override any gcc2 internal prototype to avoid an error. */
36815 #ifdef __cplusplus
36816 extern "C"
36817 {
36818 #endif
36819 /* We use char because int might match the return type of a gcc2
36820 builtin and then its argument prototype would still apply. */
36821 char $ac_func ();
36822 /* The GNU C library defines this for functions which it implements
36823 to always fail with ENOSYS. Some functions are actually named
36824 something starting with __ and the normal name is an alias. */
36825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36826 choke me
36827 #else
36828 char (*f) () = $ac_func;
36829 #endif
36830 #ifdef __cplusplus
36831 }
36832 #endif
36833
36834 int
36835 main ()
36836 {
36837 return f != $ac_func;
36838 ;
36839 return 0;
36840 }
36841 _ACEOF
36842 rm -f conftest.$ac_objext conftest$ac_exeext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36844 (eval $ac_link) 2>conftest.er1
36845 ac_status=$?
36846 grep -v '^ *+' conftest.er1 >conftest.err
36847 rm -f conftest.er1
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36853 (eval $ac_try) 2>&5
36854 ac_status=$?
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); }; } &&
36857 { ac_try='test -s conftest$ac_exeext'
36858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36859 (eval $ac_try) 2>&5
36860 ac_status=$?
36861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36862 (exit $ac_status); }; }; then
36863 eval "$as_ac_var=yes"
36864 else
36865 echo "$as_me: failed program was:" >&5
36866 sed 's/^/| /' conftest.$ac_ext >&5
36867
36868 eval "$as_ac_var=no"
36869 fi
36870 rm -f conftest.err conftest.$ac_objext \
36871 conftest$ac_exeext conftest.$ac_ext
36872 fi
36873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36875 if test `eval echo '${'$as_ac_var'}'` = yes; then
36876 cat >>confdefs.h <<_ACEOF
36877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36878 _ACEOF
36879
36880 fi
36881 done
36882
36883
36884 INET_LINK=
36885
36886 for ac_func in inet_addr
36887 do
36888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36889 echo "$as_me:$LINENO: checking for $ac_func" >&5
36890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36891 if eval "test \"\${$as_ac_var+set}\" = set"; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36893 else
36894 cat >conftest.$ac_ext <<_ACEOF
36895 /* confdefs.h. */
36896 _ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36902 #define $ac_func innocuous_$ac_func
36903
36904 /* System header to define __stub macros and hopefully few prototypes,
36905 which can conflict with char $ac_func (); below.
36906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36907 <limits.h> exists even on freestanding compilers. */
36908
36909 #ifdef __STDC__
36910 # include <limits.h>
36911 #else
36912 # include <assert.h>
36913 #endif
36914
36915 #undef $ac_func
36916
36917 /* Override any gcc2 internal prototype to avoid an error. */
36918 #ifdef __cplusplus
36919 extern "C"
36920 {
36921 #endif
36922 /* We use char because int might match the return type of a gcc2
36923 builtin and then its argument prototype would still apply. */
36924 char $ac_func ();
36925 /* The GNU C library defines this for functions which it implements
36926 to always fail with ENOSYS. Some functions are actually named
36927 something starting with __ and the normal name is an alias. */
36928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36929 choke me
36930 #else
36931 char (*f) () = $ac_func;
36932 #endif
36933 #ifdef __cplusplus
36934 }
36935 #endif
36936
36937 int
36938 main ()
36939 {
36940 return f != $ac_func;
36941 ;
36942 return 0;
36943 }
36944 _ACEOF
36945 rm -f conftest.$ac_objext conftest$ac_exeext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36947 (eval $ac_link) 2>conftest.er1
36948 ac_status=$?
36949 grep -v '^ *+' conftest.er1 >conftest.err
36950 rm -f conftest.er1
36951 cat conftest.err >&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } &&
36954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36957 ac_status=$?
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try='test -s conftest$ac_exeext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36963 ac_status=$?
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 eval "$as_ac_var=yes"
36967 else
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.$ac_ext >&5
36970
36971 eval "$as_ac_var=no"
36972 fi
36973 rm -f conftest.err conftest.$ac_objext \
36974 conftest$ac_exeext conftest.$ac_ext
36975 fi
36976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36978 if test `eval echo '${'$as_ac_var'}'` = yes; then
36979 cat >>confdefs.h <<_ACEOF
36980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36981 _ACEOF
36982 cat >>confdefs.h <<\_ACEOF
36983 #define HAVE_INET_ADDR 1
36984 _ACEOF
36985
36986 else
36987
36988 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36989 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36990 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36991 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 else
36993 ac_check_lib_save_LIBS=$LIBS
36994 LIBS="-lnsl $LIBS"
36995 cat >conftest.$ac_ext <<_ACEOF
36996 /* confdefs.h. */
36997 _ACEOF
36998 cat confdefs.h >>conftest.$ac_ext
36999 cat >>conftest.$ac_ext <<_ACEOF
37000 /* end confdefs.h. */
37001
37002 /* Override any gcc2 internal prototype to avoid an error. */
37003 #ifdef __cplusplus
37004 extern "C"
37005 #endif
37006 /* We use char because int might match the return type of a gcc2
37007 builtin and then its argument prototype would still apply. */
37008 char inet_addr ();
37009 int
37010 main ()
37011 {
37012 inet_addr ();
37013 ;
37014 return 0;
37015 }
37016 _ACEOF
37017 rm -f conftest.$ac_objext conftest$ac_exeext
37018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37019 (eval $ac_link) 2>conftest.er1
37020 ac_status=$?
37021 grep -v '^ *+' conftest.er1 >conftest.err
37022 rm -f conftest.er1
37023 cat conftest.err >&5
37024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37025 (exit $ac_status); } &&
37026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37028 (eval $ac_try) 2>&5
37029 ac_status=$?
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); }; } &&
37032 { ac_try='test -s conftest$ac_exeext'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; }; then
37038 ac_cv_lib_nsl_inet_addr=yes
37039 else
37040 echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.$ac_ext >&5
37042
37043 ac_cv_lib_nsl_inet_addr=no
37044 fi
37045 rm -f conftest.err conftest.$ac_objext \
37046 conftest$ac_exeext conftest.$ac_ext
37047 LIBS=$ac_check_lib_save_LIBS
37048 fi
37049 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37050 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37051 if test $ac_cv_lib_nsl_inet_addr = yes; then
37052 INET_LINK="nsl"
37053 else
37054
37055 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37056 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37057 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37058 echo $ECHO_N "(cached) $ECHO_C" >&6
37059 else
37060 ac_check_lib_save_LIBS=$LIBS
37061 LIBS="-lresolv $LIBS"
37062 cat >conftest.$ac_ext <<_ACEOF
37063 /* confdefs.h. */
37064 _ACEOF
37065 cat confdefs.h >>conftest.$ac_ext
37066 cat >>conftest.$ac_ext <<_ACEOF
37067 /* end confdefs.h. */
37068
37069 /* Override any gcc2 internal prototype to avoid an error. */
37070 #ifdef __cplusplus
37071 extern "C"
37072 #endif
37073 /* We use char because int might match the return type of a gcc2
37074 builtin and then its argument prototype would still apply. */
37075 char inet_addr ();
37076 int
37077 main ()
37078 {
37079 inet_addr ();
37080 ;
37081 return 0;
37082 }
37083 _ACEOF
37084 rm -f conftest.$ac_objext conftest$ac_exeext
37085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37086 (eval $ac_link) 2>conftest.er1
37087 ac_status=$?
37088 grep -v '^ *+' conftest.er1 >conftest.err
37089 rm -f conftest.er1
37090 cat conftest.err >&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); } &&
37093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; } &&
37099 { ac_try='test -s conftest$ac_exeext'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; }; then
37105 ac_cv_lib_resolv_inet_addr=yes
37106 else
37107 echo "$as_me: failed program was:" >&5
37108 sed 's/^/| /' conftest.$ac_ext >&5
37109
37110 ac_cv_lib_resolv_inet_addr=no
37111 fi
37112 rm -f conftest.err conftest.$ac_objext \
37113 conftest$ac_exeext conftest.$ac_ext
37114 LIBS=$ac_check_lib_save_LIBS
37115 fi
37116 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37117 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37118 if test $ac_cv_lib_resolv_inet_addr = yes; then
37119 INET_LINK="resolv"
37120 else
37121
37122 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37123 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37124 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 ac_check_lib_save_LIBS=$LIBS
37128 LIBS="-lsocket $LIBS"
37129 cat >conftest.$ac_ext <<_ACEOF
37130 /* confdefs.h. */
37131 _ACEOF
37132 cat confdefs.h >>conftest.$ac_ext
37133 cat >>conftest.$ac_ext <<_ACEOF
37134 /* end confdefs.h. */
37135
37136 /* Override any gcc2 internal prototype to avoid an error. */
37137 #ifdef __cplusplus
37138 extern "C"
37139 #endif
37140 /* We use char because int might match the return type of a gcc2
37141 builtin and then its argument prototype would still apply. */
37142 char inet_addr ();
37143 int
37144 main ()
37145 {
37146 inet_addr ();
37147 ;
37148 return 0;
37149 }
37150 _ACEOF
37151 rm -f conftest.$ac_objext conftest$ac_exeext
37152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37153 (eval $ac_link) 2>conftest.er1
37154 ac_status=$?
37155 grep -v '^ *+' conftest.er1 >conftest.err
37156 rm -f conftest.er1
37157 cat conftest.err >&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } &&
37160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37162 (eval $ac_try) 2>&5
37163 ac_status=$?
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); }; } &&
37166 { ac_try='test -s conftest$ac_exeext'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37169 ac_status=$?
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; }; then
37172 ac_cv_lib_socket_inet_addr=yes
37173 else
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177 ac_cv_lib_socket_inet_addr=no
37178 fi
37179 rm -f conftest.err conftest.$ac_objext \
37180 conftest$ac_exeext conftest.$ac_ext
37181 LIBS=$ac_check_lib_save_LIBS
37182 fi
37183 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37184 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37185 if test $ac_cv_lib_socket_inet_addr = yes; then
37186 INET_LINK="socket"
37187
37188 fi
37189
37190
37191
37192 fi
37193
37194
37195
37196 fi
37197
37198
37199
37200 fi
37201 done
37202
37203
37204
37205 for ac_func in inet_aton
37206 do
37207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37208 echo "$as_me:$LINENO: checking for $ac_func" >&5
37209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37210 if eval "test \"\${$as_ac_var+set}\" = set"; then
37211 echo $ECHO_N "(cached) $ECHO_C" >&6
37212 else
37213 cat >conftest.$ac_ext <<_ACEOF
37214 /* confdefs.h. */
37215 _ACEOF
37216 cat confdefs.h >>conftest.$ac_ext
37217 cat >>conftest.$ac_ext <<_ACEOF
37218 /* end confdefs.h. */
37219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37221 #define $ac_func innocuous_$ac_func
37222
37223 /* System header to define __stub macros and hopefully few prototypes,
37224 which can conflict with char $ac_func (); below.
37225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37226 <limits.h> exists even on freestanding compilers. */
37227
37228 #ifdef __STDC__
37229 # include <limits.h>
37230 #else
37231 # include <assert.h>
37232 #endif
37233
37234 #undef $ac_func
37235
37236 /* Override any gcc2 internal prototype to avoid an error. */
37237 #ifdef __cplusplus
37238 extern "C"
37239 {
37240 #endif
37241 /* We use char because int might match the return type of a gcc2
37242 builtin and then its argument prototype would still apply. */
37243 char $ac_func ();
37244 /* The GNU C library defines this for functions which it implements
37245 to always fail with ENOSYS. Some functions are actually named
37246 something starting with __ and the normal name is an alias. */
37247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37248 choke me
37249 #else
37250 char (*f) () = $ac_func;
37251 #endif
37252 #ifdef __cplusplus
37253 }
37254 #endif
37255
37256 int
37257 main ()
37258 {
37259 return f != $ac_func;
37260 ;
37261 return 0;
37262 }
37263 _ACEOF
37264 rm -f conftest.$ac_objext conftest$ac_exeext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37266 (eval $ac_link) 2>conftest.er1
37267 ac_status=$?
37268 grep -v '^ *+' conftest.er1 >conftest.err
37269 rm -f conftest.er1
37270 cat conftest.err >&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } &&
37273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37276 ac_status=$?
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; } &&
37279 { ac_try='test -s conftest$ac_exeext'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37282 ac_status=$?
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; }; then
37285 eval "$as_ac_var=yes"
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290 eval "$as_ac_var=no"
37291 fi
37292 rm -f conftest.err conftest.$ac_objext \
37293 conftest$ac_exeext conftest.$ac_ext
37294 fi
37295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37297 if test `eval echo '${'$as_ac_var'}'` = yes; then
37298 cat >>confdefs.h <<_ACEOF
37299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37300 _ACEOF
37301 cat >>confdefs.h <<\_ACEOF
37302 #define HAVE_INET_ATON 1
37303 _ACEOF
37304
37305 else
37306
37307 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37308 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37309 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37310 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 else
37313 ac_check_lib_save_LIBS=$LIBS
37314 LIBS="-l$INET_LINK $LIBS"
37315 cat >conftest.$ac_ext <<_ACEOF
37316 /* confdefs.h. */
37317 _ACEOF
37318 cat confdefs.h >>conftest.$ac_ext
37319 cat >>conftest.$ac_ext <<_ACEOF
37320 /* end confdefs.h. */
37321
37322 /* Override any gcc2 internal prototype to avoid an error. */
37323 #ifdef __cplusplus
37324 extern "C"
37325 #endif
37326 /* We use char because int might match the return type of a gcc2
37327 builtin and then its argument prototype would still apply. */
37328 char inet_aton ();
37329 int
37330 main ()
37331 {
37332 inet_aton ();
37333 ;
37334 return 0;
37335 }
37336 _ACEOF
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339 (eval $ac_link) 2>conftest.er1
37340 ac_status=$?
37341 grep -v '^ *+' conftest.er1 >conftest.err
37342 rm -f conftest.er1
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37349 ac_status=$?
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; } &&
37352 { ac_try='test -s conftest$ac_exeext'
37353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354 (eval $ac_try) 2>&5
37355 ac_status=$?
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); }; }; then
37358 eval "$as_ac_Lib=yes"
37359 else
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37362
37363 eval "$as_ac_Lib=no"
37364 fi
37365 rm -f conftest.err conftest.$ac_objext \
37366 conftest$ac_exeext conftest.$ac_ext
37367 LIBS=$ac_check_lib_save_LIBS
37368 fi
37369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37370 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37371 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37372 cat >>confdefs.h <<\_ACEOF
37373 #define HAVE_INET_ATON 1
37374 _ACEOF
37375
37376 fi
37377
37378
37379 fi
37380 done
37381
37382
37383 if test "x$INET_LINK" != "x"; then
37384 cat >>confdefs.h <<\_ACEOF
37385 #define HAVE_INET_ADDR 1
37386 _ACEOF
37387
37388 INET_LINK=" -l$INET_LINK"
37389 fi
37390
37391 fi
37392
37393
37394
37395 EXTRALIBS_ESD=
37396 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37397 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37398 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37401 ac_check_lib_save_LIBS=$LIBS
37402 LIBS="-lesd $LIBS"
37403 cat >conftest.$ac_ext <<_ACEOF
37404 /* confdefs.h. */
37405 _ACEOF
37406 cat confdefs.h >>conftest.$ac_ext
37407 cat >>conftest.$ac_ext <<_ACEOF
37408 /* end confdefs.h. */
37409
37410 /* Override any gcc2 internal prototype to avoid an error. */
37411 #ifdef __cplusplus
37412 extern "C"
37413 #endif
37414 /* We use char because int might match the return type of a gcc2
37415 builtin and then its argument prototype would still apply. */
37416 char esd_close ();
37417 int
37418 main ()
37419 {
37420 esd_close ();
37421 ;
37422 return 0;
37423 }
37424 _ACEOF
37425 rm -f conftest.$ac_objext conftest$ac_exeext
37426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37427 (eval $ac_link) 2>conftest.er1
37428 ac_status=$?
37429 grep -v '^ *+' conftest.er1 >conftest.err
37430 rm -f conftest.er1
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } &&
37434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37436 (eval $ac_try) 2>&5
37437 ac_status=$?
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); }; } &&
37440 { ac_try='test -s conftest$ac_exeext'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37443 ac_status=$?
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; }; then
37446 ac_cv_lib_esd_esd_close=yes
37447 else
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37450
37451 ac_cv_lib_esd_esd_close=no
37452 fi
37453 rm -f conftest.err conftest.$ac_objext \
37454 conftest$ac_exeext conftest.$ac_ext
37455 LIBS=$ac_check_lib_save_LIBS
37456 fi
37457 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37458 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37459 if test $ac_cv_lib_esd_esd_close = yes; then
37460
37461
37462 for ac_header in esd.h
37463 do
37464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37466 echo "$as_me:$LINENO: checking for $ac_header" >&5
37467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37469 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 fi
37471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37473 else
37474 # Is the header compilable?
37475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37477 cat >conftest.$ac_ext <<_ACEOF
37478 /* confdefs.h. */
37479 _ACEOF
37480 cat confdefs.h >>conftest.$ac_ext
37481 cat >>conftest.$ac_ext <<_ACEOF
37482 /* end confdefs.h. */
37483 $ac_includes_default
37484 #include <$ac_header>
37485 _ACEOF
37486 rm -f conftest.$ac_objext
37487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37488 (eval $ac_compile) 2>conftest.er1
37489 ac_status=$?
37490 grep -v '^ *+' conftest.er1 >conftest.err
37491 rm -f conftest.er1
37492 cat conftest.err >&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } &&
37495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37497 (eval $ac_try) 2>&5
37498 ac_status=$?
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); }; } &&
37501 { ac_try='test -s conftest.$ac_objext'
37502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503 (eval $ac_try) 2>&5
37504 ac_status=$?
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); }; }; then
37507 ac_header_compiler=yes
37508 else
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37511
37512 ac_header_compiler=no
37513 fi
37514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37516 echo "${ECHO_T}$ac_header_compiler" >&6
37517
37518 # Is the header present?
37519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37521 cat >conftest.$ac_ext <<_ACEOF
37522 /* confdefs.h. */
37523 _ACEOF
37524 cat confdefs.h >>conftest.$ac_ext
37525 cat >>conftest.$ac_ext <<_ACEOF
37526 /* end confdefs.h. */
37527 #include <$ac_header>
37528 _ACEOF
37529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } >/dev/null; then
37537 if test -s conftest.err; then
37538 ac_cpp_err=$ac_cxx_preproc_warn_flag
37539 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37540 else
37541 ac_cpp_err=
37542 fi
37543 else
37544 ac_cpp_err=yes
37545 fi
37546 if test -z "$ac_cpp_err"; then
37547 ac_header_preproc=yes
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37551
37552 ac_header_preproc=no
37553 fi
37554 rm -f conftest.err conftest.$ac_ext
37555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37556 echo "${ECHO_T}$ac_header_preproc" >&6
37557
37558 # So? What about this header?
37559 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37560 yes:no: )
37561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37565 ac_header_preproc=yes
37566 ;;
37567 no:yes:* )
37568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37580 (
37581 cat <<\_ASBOX
37582 ## ----------------------------------------- ##
37583 ## Report this to wx-dev@lists.wxwidgets.org ##
37584 ## ----------------------------------------- ##
37585 _ASBOX
37586 ) |
37587 sed "s/^/$as_me: WARNING: /" >&2
37588 ;;
37589 esac
37590 echo "$as_me:$LINENO: checking for $ac_header" >&5
37591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37593 echo $ECHO_N "(cached) $ECHO_C" >&6
37594 else
37595 eval "$as_ac_Header=\$ac_header_preproc"
37596 fi
37597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37599
37600 fi
37601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37602 cat >>confdefs.h <<_ACEOF
37603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37604 _ACEOF
37605
37606 EXTRALIBS_ESD="-lesd"
37607
37608 fi
37609
37610 done
37611
37612
37613 fi
37614
37615
37616
37617 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37618 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37619 cat >conftest.$ac_ext <<_ACEOF
37620 /* confdefs.h. */
37621 _ACEOF
37622 cat confdefs.h >>conftest.$ac_ext
37623 cat >>conftest.$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37625 #ifdef __linux__
37626 #include <linux/cdrom.h>
37627 #else
37628 /* For Solaris */
37629 #include <sys/cdio.h>
37630 #endif
37631
37632 int
37633 main ()
37634 {
37635 struct cdrom_tocentry entry, old_entry;
37636 ;
37637 return 0;
37638 }
37639 _ACEOF
37640 rm -f conftest.$ac_objext
37641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37642 (eval $ac_compile) 2>conftest.er1
37643 ac_status=$?
37644 grep -v '^ *+' conftest.er1 >conftest.err
37645 rm -f conftest.er1
37646 cat conftest.err >&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } &&
37649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; } &&
37655 { ac_try='test -s conftest.$ac_objext'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37658 ac_status=$?
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; }; then
37661 echo "$as_me:$LINENO: result: yes" >&5
37662 echo "${ECHO_T}yes" >&6
37663 cat >>confdefs.h <<\_ACEOF
37664 #define HAVE_KNOWN_CDROM_INTERFACE 1
37665 _ACEOF
37666
37667 else
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671 echo "$as_me:$LINENO: result: no" >&5
37672 echo "${ECHO_T}no" >&6
37673 fi
37674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37675
37676
37677 cat >confcache <<\_ACEOF
37678 # This file is a shell script that caches the results of configure
37679 # tests run on this system so they can be shared between configure
37680 # scripts and configure runs, see configure's option --config-cache.
37681 # It is not useful on other systems. If it contains results you don't
37682 # want to keep, you may remove or edit it.
37683 #
37684 # config.status only pays attention to the cache file if you give it
37685 # the --recheck option to rerun configure.
37686 #
37687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37689 # following values.
37690
37691 _ACEOF
37692
37693 # The following way of writing the cache mishandles newlines in values,
37694 # but we know of no workaround that is simple, portable, and efficient.
37695 # So, don't put newlines in cache variables' values.
37696 # Ultrix sh set writes to stderr and can't be redirected directly,
37697 # and sets the high bit in the cache file unless we assign to the vars.
37698 {
37699 (set) 2>&1 |
37700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37701 *ac_space=\ *)
37702 # `set' does not quote correctly, so add quotes (double-quote
37703 # substitution turns \\\\ into \\, and sed turns \\ into \).
37704 sed -n \
37705 "s/'/'\\\\''/g;
37706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37707 ;;
37708 *)
37709 # `set' quotes correctly as required by POSIX, so do not add quotes.
37710 sed -n \
37711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37712 ;;
37713 esac;
37714 } |
37715 sed '
37716 t clear
37717 : clear
37718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37719 t end
37720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37721 : end' >>confcache
37722 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37723 if test -w $cache_file; then
37724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37725 cat confcache >$cache_file
37726 else
37727 echo "not updating unwritable cache $cache_file"
37728 fi
37729 fi
37730 rm -f confcache
37731
37732
37733 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37734
37735
37736 THREADS_LINK=
37737 THREADS_CXXFLAGS=
37738
37739 if test "$wxUSE_THREADS" = "yes" ; then
37740 if test "$USE_BEOS" = 1; then
37741 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37742 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37743 wxUSE_THREADS="no"
37744 fi
37745 fi
37746
37747 if test "$wxUSE_THREADS" = "yes" ; then
37748
37749
37750 THREAD_OPTS="-pthread"
37751 case "${host}" in
37752 *-*-solaris2* | *-*-sunos4* )
37753 if test "x$GCC" = "xyes"; then
37754 THREAD_OPTS="-pthreads $THREAD_OPTS"
37755 else
37756 THREAD_OPTS="-mt $THREAD_OPTS"
37757 fi
37758 ;;
37759 *-*-freebsd*)
37760 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37761 ;;
37762 *-*-darwin* | *-*-cygwin* )
37763 THREAD_OPTS=""
37764 ;;
37765 *-*-aix*)
37766 THREAD_OPTS="pthreads"
37767 ;;
37768 *-hp-hpux* )
37769 if test "x$GCC" = "xyes"; then
37770 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37771 THREAD_OPTS=""
37772 else
37773 THREAD_OPTS="-mt"
37774 fi
37775 ;;
37776
37777 *-*-irix* )
37778 if test "x$GCC" = "xyes"; then
37779 THREAD_OPTS=""
37780 fi
37781 ;;
37782
37783 *-*-*UnixWare*)
37784 if test "x$GCC" != "xyes"; then
37785 THREAD_OPTS="-Ethread"
37786 fi
37787 ;;
37788 esac
37789
37790 THREAD_OPTS="$THREAD_OPTS pthread none"
37791
37792 THREADS_OK=no
37793 for flag in $THREAD_OPTS; do
37794 case $flag in
37795 none)
37796 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37797 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37798 ;;
37799
37800 -*)
37801 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37802 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37803 THREADS_CXXFLAGS="$flag"
37804 ;;
37805
37806 *)
37807 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37808 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37809 THREADS_LINK="-l$flag"
37810 ;;
37811 esac
37812
37813 save_LIBS="$LIBS"
37814 save_CXXFLAGS="$CXXFLAGS"
37815 LIBS="$THREADS_LINK $LIBS"
37816 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
37817
37818 cat >conftest.$ac_ext <<_ACEOF
37819 /* confdefs.h. */
37820 _ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37824 #include <pthread.h>
37825 int
37826 main ()
37827 {
37828 pthread_create(0,0,0,0);
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37845 ac_status=$?
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37851 ac_status=$?
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37854 THREADS_OK=yes
37855 else
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.$ac_ext >&5
37858
37859 fi
37860 rm -f conftest.err conftest.$ac_objext \
37861 conftest$ac_exeext conftest.$ac_ext
37862
37863 LIBS="$save_LIBS"
37864 CXXFLAGS="$save_CXXFLAGS"
37865
37866 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37867 echo "${ECHO_T}$THREADS_OK" >&6
37868 if test "x$THREADS_OK" = "xyes"; then
37869 break;
37870 fi
37871
37872 THREADS_LINK=""
37873 THREADS_CXXFLAGS=""
37874 done
37875
37876 if test "x$THREADS_OK" != "xyes"; then
37877 wxUSE_THREADS=no
37878 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37879 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37880 else
37881 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
37882 LIBS="$THREADS_LINK $LIBS"
37883
37884 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37885 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37886 flag=no
37887 case "${host}" in
37888 *-aix*)
37889 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37890 flag="-D_THREAD_SAFE"
37891 ;;
37892 *-freebsd*)
37893 flag="-D_THREAD_SAFE"
37894 ;;
37895 *-hp-hpux* )
37896 flag="-D_REENTRANT"
37897 if test "x$GCC" != "xyes"; then
37898 flag="$flag -D_RWSTD_MULTI_THREAD"
37899 fi
37900 ;;
37901 *solaris* | alpha*-osf*)
37902 flag="-D_REENTRANT"
37903 ;;
37904 esac
37905 echo "$as_me:$LINENO: result: ${flag}" >&5
37906 echo "${ECHO_T}${flag}" >&6
37907 if test "x$flag" != xno; then
37908 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
37909 fi
37910
37911 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37912 fi
37913 fi
37914
37915 if test "$wxUSE_THREADS" = "yes" ; then
37916
37917 for ac_func in thr_setconcurrency
37918 do
37919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37920 echo "$as_me:$LINENO: checking for $ac_func" >&5
37921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37922 if eval "test \"\${$as_ac_var+set}\" = set"; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 else
37925 cat >conftest.$ac_ext <<_ACEOF
37926 /* confdefs.h. */
37927 _ACEOF
37928 cat confdefs.h >>conftest.$ac_ext
37929 cat >>conftest.$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37933 #define $ac_func innocuous_$ac_func
37934
37935 /* System header to define __stub macros and hopefully few prototypes,
37936 which can conflict with char $ac_func (); below.
37937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37938 <limits.h> exists even on freestanding compilers. */
37939
37940 #ifdef __STDC__
37941 # include <limits.h>
37942 #else
37943 # include <assert.h>
37944 #endif
37945
37946 #undef $ac_func
37947
37948 /* Override any gcc2 internal prototype to avoid an error. */
37949 #ifdef __cplusplus
37950 extern "C"
37951 {
37952 #endif
37953 /* We use char because int might match the return type of a gcc2
37954 builtin and then its argument prototype would still apply. */
37955 char $ac_func ();
37956 /* The GNU C library defines this for functions which it implements
37957 to always fail with ENOSYS. Some functions are actually named
37958 something starting with __ and the normal name is an alias. */
37959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37960 choke me
37961 #else
37962 char (*f) () = $ac_func;
37963 #endif
37964 #ifdef __cplusplus
37965 }
37966 #endif
37967
37968 int
37969 main ()
37970 {
37971 return f != $ac_func;
37972 ;
37973 return 0;
37974 }
37975 _ACEOF
37976 rm -f conftest.$ac_objext conftest$ac_exeext
37977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37978 (eval $ac_link) 2>conftest.er1
37979 ac_status=$?
37980 grep -v '^ *+' conftest.er1 >conftest.err
37981 rm -f conftest.er1
37982 cat conftest.err >&5
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); } &&
37985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987 (eval $ac_try) 2>&5
37988 ac_status=$?
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); }; } &&
37991 { ac_try='test -s conftest$ac_exeext'
37992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993 (eval $ac_try) 2>&5
37994 ac_status=$?
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); }; }; then
37997 eval "$as_ac_var=yes"
37998 else
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38001
38002 eval "$as_ac_var=no"
38003 fi
38004 rm -f conftest.err conftest.$ac_objext \
38005 conftest$ac_exeext conftest.$ac_ext
38006 fi
38007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38009 if test `eval echo '${'$as_ac_var'}'` = yes; then
38010 cat >>confdefs.h <<_ACEOF
38011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017
38018 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38019 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38020 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 else
38023
38024 cat >conftest.$ac_ext <<_ACEOF
38025 /* confdefs.h. */
38026 _ACEOF
38027 cat confdefs.h >>conftest.$ac_ext
38028 cat >>conftest.$ac_ext <<_ACEOF
38029 /* end confdefs.h. */
38030 #include <pthread.h>
38031 void ThreadCleanupFunc(void *p);
38032
38033 int
38034 main ()
38035 {
38036
38037 void *p;
38038 pthread_cleanup_push(ThreadCleanupFunc, p);
38039 pthread_cleanup_pop(0);
38040
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38047 (eval $ac_compile) 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_objext'
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
38067 wx_cv_func_pthread_cleanup=yes
38068
38069 else
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38072
38073
38074 wx_cv_func_pthread_cleanup=no
38075
38076
38077 fi
38078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38079
38080 fi
38081 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38082 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38083 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38084 cat >>confdefs.h <<\_ACEOF
38085 #define wxHAVE_PTHREAD_CLEANUP 1
38086 _ACEOF
38087
38088 fi
38089
38090
38091 for ac_header in sched.h
38092 do
38093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38095 echo "$as_me:$LINENO: checking for $ac_header" >&5
38096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38098 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 fi
38100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38102 else
38103 # Is the header compilable?
38104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38106 cat >conftest.$ac_ext <<_ACEOF
38107 /* confdefs.h. */
38108 _ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38112 $ac_includes_default
38113 #include <$ac_header>
38114 _ACEOF
38115 rm -f conftest.$ac_objext
38116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38117 (eval $ac_compile) 2>conftest.er1
38118 ac_status=$?
38119 grep -v '^ *+' conftest.er1 >conftest.err
38120 rm -f conftest.er1
38121 cat conftest.err >&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); } &&
38124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126 (eval $ac_try) 2>&5
38127 ac_status=$?
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); }; } &&
38130 { ac_try='test -s conftest.$ac_objext'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38133 ac_status=$?
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; }; then
38136 ac_header_compiler=yes
38137 else
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38140
38141 ac_header_compiler=no
38142 fi
38143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38145 echo "${ECHO_T}$ac_header_compiler" >&6
38146
38147 # Is the header present?
38148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38150 cat >conftest.$ac_ext <<_ACEOF
38151 /* confdefs.h. */
38152 _ACEOF
38153 cat confdefs.h >>conftest.$ac_ext
38154 cat >>conftest.$ac_ext <<_ACEOF
38155 /* end confdefs.h. */
38156 #include <$ac_header>
38157 _ACEOF
38158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38160 ac_status=$?
38161 grep -v '^ *+' conftest.er1 >conftest.err
38162 rm -f conftest.er1
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } >/dev/null; then
38166 if test -s conftest.err; then
38167 ac_cpp_err=$ac_cxx_preproc_warn_flag
38168 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38169 else
38170 ac_cpp_err=
38171 fi
38172 else
38173 ac_cpp_err=yes
38174 fi
38175 if test -z "$ac_cpp_err"; then
38176 ac_header_preproc=yes
38177 else
38178 echo "$as_me: failed program was:" >&5
38179 sed 's/^/| /' conftest.$ac_ext >&5
38180
38181 ac_header_preproc=no
38182 fi
38183 rm -f conftest.err conftest.$ac_ext
38184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38185 echo "${ECHO_T}$ac_header_preproc" >&6
38186
38187 # So? What about this header?
38188 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38189 yes:no: )
38190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38194 ac_header_preproc=yes
38195 ;;
38196 no:yes:* )
38197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38209 (
38210 cat <<\_ASBOX
38211 ## ----------------------------------------- ##
38212 ## Report this to wx-dev@lists.wxwidgets.org ##
38213 ## ----------------------------------------- ##
38214 _ASBOX
38215 ) |
38216 sed "s/^/$as_me: WARNING: /" >&2
38217 ;;
38218 esac
38219 echo "$as_me:$LINENO: checking for $ac_header" >&5
38220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38222 echo $ECHO_N "(cached) $ECHO_C" >&6
38223 else
38224 eval "$as_ac_Header=\$ac_header_preproc"
38225 fi
38226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38228
38229 fi
38230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38231 cat >>confdefs.h <<_ACEOF
38232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38233 _ACEOF
38234
38235 fi
38236
38237 done
38238
38239 if test "$ac_cv_header_sched_h" = "yes"; then
38240 echo "$as_me:$LINENO: checking for sched_yield" >&5
38241 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38242 if test "${ac_cv_func_sched_yield+set}" = set; then
38243 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 else
38245 cat >conftest.$ac_ext <<_ACEOF
38246 /* confdefs.h. */
38247 _ACEOF
38248 cat confdefs.h >>conftest.$ac_ext
38249 cat >>conftest.$ac_ext <<_ACEOF
38250 /* end confdefs.h. */
38251 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38253 #define sched_yield innocuous_sched_yield
38254
38255 /* System header to define __stub macros and hopefully few prototypes,
38256 which can conflict with char sched_yield (); below.
38257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38258 <limits.h> exists even on freestanding compilers. */
38259
38260 #ifdef __STDC__
38261 # include <limits.h>
38262 #else
38263 # include <assert.h>
38264 #endif
38265
38266 #undef sched_yield
38267
38268 /* Override any gcc2 internal prototype to avoid an error. */
38269 #ifdef __cplusplus
38270 extern "C"
38271 {
38272 #endif
38273 /* We use char because int might match the return type of a gcc2
38274 builtin and then its argument prototype would still apply. */
38275 char sched_yield ();
38276 /* The GNU C library defines this for functions which it implements
38277 to always fail with ENOSYS. Some functions are actually named
38278 something starting with __ and the normal name is an alias. */
38279 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38280 choke me
38281 #else
38282 char (*f) () = sched_yield;
38283 #endif
38284 #ifdef __cplusplus
38285 }
38286 #endif
38287
38288 int
38289 main ()
38290 {
38291 return f != sched_yield;
38292 ;
38293 return 0;
38294 }
38295 _ACEOF
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38298 (eval $ac_link) 2>conftest.er1
38299 ac_status=$?
38300 grep -v '^ *+' conftest.er1 >conftest.err
38301 rm -f conftest.er1
38302 cat conftest.err >&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); } &&
38305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38308 ac_status=$?
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; } &&
38311 { ac_try='test -s conftest$ac_exeext'
38312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38313 (eval $ac_try) 2>&5
38314 ac_status=$?
38315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38316 (exit $ac_status); }; }; then
38317 ac_cv_func_sched_yield=yes
38318 else
38319 echo "$as_me: failed program was:" >&5
38320 sed 's/^/| /' conftest.$ac_ext >&5
38321
38322 ac_cv_func_sched_yield=no
38323 fi
38324 rm -f conftest.err conftest.$ac_objext \
38325 conftest$ac_exeext conftest.$ac_ext
38326 fi
38327 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38328 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38329 if test $ac_cv_func_sched_yield = yes; then
38330 cat >>confdefs.h <<\_ACEOF
38331 #define HAVE_SCHED_YIELD 1
38332 _ACEOF
38333
38334 else
38335
38336 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38337 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38338 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38339 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 else
38341 ac_check_lib_save_LIBS=$LIBS
38342 LIBS="-lposix4 $LIBS"
38343 cat >conftest.$ac_ext <<_ACEOF
38344 /* confdefs.h. */
38345 _ACEOF
38346 cat confdefs.h >>conftest.$ac_ext
38347 cat >>conftest.$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38349
38350 /* Override any gcc2 internal prototype to avoid an error. */
38351 #ifdef __cplusplus
38352 extern "C"
38353 #endif
38354 /* We use char because int might match the return type of a gcc2
38355 builtin and then its argument prototype would still apply. */
38356 char sched_yield ();
38357 int
38358 main ()
38359 {
38360 sched_yield ();
38361 ;
38362 return 0;
38363 }
38364 _ACEOF
38365 rm -f conftest.$ac_objext conftest$ac_exeext
38366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38367 (eval $ac_link) 2>conftest.er1
38368 ac_status=$?
38369 grep -v '^ *+' conftest.er1 >conftest.err
38370 rm -f conftest.er1
38371 cat conftest.err >&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); } &&
38374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try='test -s conftest$ac_exeext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 ac_cv_lib_posix4_sched_yield=yes
38387 else
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38390
38391 ac_cv_lib_posix4_sched_yield=no
38392 fi
38393 rm -f conftest.err conftest.$ac_objext \
38394 conftest$ac_exeext conftest.$ac_ext
38395 LIBS=$ac_check_lib_save_LIBS
38396 fi
38397 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38398 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38399 if test $ac_cv_lib_posix4_sched_yield = yes; then
38400 cat >>confdefs.h <<\_ACEOF
38401 #define HAVE_SCHED_YIELD 1
38402 _ACEOF
38403 POSIX4_LINK=" -lposix4"
38404 else
38405 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38406 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38407
38408 fi
38409
38410
38411
38412 fi
38413
38414 fi
38415
38416 HAVE_PRIOR_FUNCS=0
38417 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38418 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38419 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 else
38422 cat >conftest.$ac_ext <<_ACEOF
38423 /* confdefs.h. */
38424 _ACEOF
38425 cat confdefs.h >>conftest.$ac_ext
38426 cat >>conftest.$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38428 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38430 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38431
38432 /* System header to define __stub macros and hopefully few prototypes,
38433 which can conflict with char pthread_attr_getschedpolicy (); below.
38434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38435 <limits.h> exists even on freestanding compilers. */
38436
38437 #ifdef __STDC__
38438 # include <limits.h>
38439 #else
38440 # include <assert.h>
38441 #endif
38442
38443 #undef pthread_attr_getschedpolicy
38444
38445 /* Override any gcc2 internal prototype to avoid an error. */
38446 #ifdef __cplusplus
38447 extern "C"
38448 {
38449 #endif
38450 /* We use char because int might match the return type of a gcc2
38451 builtin and then its argument prototype would still apply. */
38452 char pthread_attr_getschedpolicy ();
38453 /* The GNU C library defines this for functions which it implements
38454 to always fail with ENOSYS. Some functions are actually named
38455 something starting with __ and the normal name is an alias. */
38456 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38457 choke me
38458 #else
38459 char (*f) () = pthread_attr_getschedpolicy;
38460 #endif
38461 #ifdef __cplusplus
38462 }
38463 #endif
38464
38465 int
38466 main ()
38467 {
38468 return f != pthread_attr_getschedpolicy;
38469 ;
38470 return 0;
38471 }
38472 _ACEOF
38473 rm -f conftest.$ac_objext conftest$ac_exeext
38474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38475 (eval $ac_link) 2>conftest.er1
38476 ac_status=$?
38477 grep -v '^ *+' conftest.er1 >conftest.err
38478 rm -f conftest.er1
38479 cat conftest.err >&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); } &&
38482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38485 ac_status=$?
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try='test -s conftest$ac_exeext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 ac_cv_func_pthread_attr_getschedpolicy=yes
38495 else
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.$ac_ext >&5
38498
38499 ac_cv_func_pthread_attr_getschedpolicy=no
38500 fi
38501 rm -f conftest.err conftest.$ac_objext \
38502 conftest$ac_exeext conftest.$ac_ext
38503 fi
38504 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38505 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38506 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38507 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38508 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38509 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38520 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38521
38522 /* System header to define __stub macros and hopefully few prototypes,
38523 which can conflict with char pthread_attr_setschedparam (); below.
38524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38525 <limits.h> exists even on freestanding compilers. */
38526
38527 #ifdef __STDC__
38528 # include <limits.h>
38529 #else
38530 # include <assert.h>
38531 #endif
38532
38533 #undef pthread_attr_setschedparam
38534
38535 /* Override any gcc2 internal prototype to avoid an error. */
38536 #ifdef __cplusplus
38537 extern "C"
38538 {
38539 #endif
38540 /* We use char because int might match the return type of a gcc2
38541 builtin and then its argument prototype would still apply. */
38542 char pthread_attr_setschedparam ();
38543 /* The GNU C library defines this for functions which it implements
38544 to always fail with ENOSYS. Some functions are actually named
38545 something starting with __ and the normal name is an alias. */
38546 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38547 choke me
38548 #else
38549 char (*f) () = pthread_attr_setschedparam;
38550 #endif
38551 #ifdef __cplusplus
38552 }
38553 #endif
38554
38555 int
38556 main ()
38557 {
38558 return f != pthread_attr_setschedparam;
38559 ;
38560 return 0;
38561 }
38562 _ACEOF
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38565 (eval $ac_link) 2>conftest.er1
38566 ac_status=$?
38567 grep -v '^ *+' conftest.er1 >conftest.err
38568 rm -f conftest.er1
38569 cat conftest.err >&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } &&
38572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38574 (eval $ac_try) 2>&5
38575 ac_status=$?
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); }; } &&
38578 { ac_try='test -s conftest$ac_exeext'
38579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38580 (eval $ac_try) 2>&5
38581 ac_status=$?
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); }; }; then
38584 ac_cv_func_pthread_attr_setschedparam=yes
38585 else
38586 echo "$as_me: failed program was:" >&5
38587 sed 's/^/| /' conftest.$ac_ext >&5
38588
38589 ac_cv_func_pthread_attr_setschedparam=no
38590 fi
38591 rm -f conftest.err conftest.$ac_objext \
38592 conftest$ac_exeext conftest.$ac_ext
38593 fi
38594 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38595 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38596 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38597 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38598 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38599 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38600 echo $ECHO_N "(cached) $ECHO_C" >&6
38601 else
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38610 #define sched_get_priority_max innocuous_sched_get_priority_max
38611
38612 /* System header to define __stub macros and hopefully few prototypes,
38613 which can conflict with char sched_get_priority_max (); below.
38614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38615 <limits.h> exists even on freestanding compilers. */
38616
38617 #ifdef __STDC__
38618 # include <limits.h>
38619 #else
38620 # include <assert.h>
38621 #endif
38622
38623 #undef sched_get_priority_max
38624
38625 /* Override any gcc2 internal prototype to avoid an error. */
38626 #ifdef __cplusplus
38627 extern "C"
38628 {
38629 #endif
38630 /* We use char because int might match the return type of a gcc2
38631 builtin and then its argument prototype would still apply. */
38632 char sched_get_priority_max ();
38633 /* The GNU C library defines this for functions which it implements
38634 to always fail with ENOSYS. Some functions are actually named
38635 something starting with __ and the normal name is an alias. */
38636 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38637 choke me
38638 #else
38639 char (*f) () = sched_get_priority_max;
38640 #endif
38641 #ifdef __cplusplus
38642 }
38643 #endif
38644
38645 int
38646 main ()
38647 {
38648 return f != sched_get_priority_max;
38649 ;
38650 return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38655 (eval $ac_link) 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } &&
38662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664 (eval $ac_try) 2>&5
38665 ac_status=$?
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); }; } &&
38668 { ac_try='test -s conftest$ac_exeext'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; }; then
38674 ac_cv_func_sched_get_priority_max=yes
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38678
38679 ac_cv_func_sched_get_priority_max=no
38680 fi
38681 rm -f conftest.err conftest.$ac_objext \
38682 conftest$ac_exeext conftest.$ac_ext
38683 fi
38684 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38685 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38686 if test $ac_cv_func_sched_get_priority_max = yes; then
38687 HAVE_PRIOR_FUNCS=1
38688 else
38689 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38690 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38691 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 else
38694 ac_check_lib_save_LIBS=$LIBS
38695 LIBS="-lposix4 $LIBS"
38696 cat >conftest.$ac_ext <<_ACEOF
38697 /* confdefs.h. */
38698 _ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38702
38703 /* Override any gcc2 internal prototype to avoid an error. */
38704 #ifdef __cplusplus
38705 extern "C"
38706 #endif
38707 /* We use char because int might match the return type of a gcc2
38708 builtin and then its argument prototype would still apply. */
38709 char sched_get_priority_max ();
38710 int
38711 main ()
38712 {
38713 sched_get_priority_max ();
38714 ;
38715 return 0;
38716 }
38717 _ACEOF
38718 rm -f conftest.$ac_objext conftest$ac_exeext
38719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38720 (eval $ac_link) 2>conftest.er1
38721 ac_status=$?
38722 grep -v '^ *+' conftest.er1 >conftest.err
38723 rm -f conftest.er1
38724 cat conftest.err >&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); } &&
38727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38730 ac_status=$?
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try='test -s conftest$ac_exeext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38736 ac_status=$?
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 ac_cv_lib_posix4_sched_get_priority_max=yes
38740 else
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38743
38744 ac_cv_lib_posix4_sched_get_priority_max=no
38745 fi
38746 rm -f conftest.err conftest.$ac_objext \
38747 conftest$ac_exeext conftest.$ac_ext
38748 LIBS=$ac_check_lib_save_LIBS
38749 fi
38750 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38752 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38753
38754 HAVE_PRIOR_FUNCS=1
38755 POSIX4_LINK=" -lposix4"
38756
38757 fi
38758
38759
38760 fi
38761
38762
38763 fi
38764
38765
38766 fi
38767
38768
38769 if test "$HAVE_PRIOR_FUNCS" = 1; then
38770 cat >>confdefs.h <<\_ACEOF
38771 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38772 _ACEOF
38773
38774 else
38775 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38776 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38777 fi
38778
38779 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38780 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38781 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38783 else
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38792 #define pthread_cancel innocuous_pthread_cancel
38793
38794 /* System header to define __stub macros and hopefully few prototypes,
38795 which can conflict with char pthread_cancel (); below.
38796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38797 <limits.h> exists even on freestanding compilers. */
38798
38799 #ifdef __STDC__
38800 # include <limits.h>
38801 #else
38802 # include <assert.h>
38803 #endif
38804
38805 #undef pthread_cancel
38806
38807 /* Override any gcc2 internal prototype to avoid an error. */
38808 #ifdef __cplusplus
38809 extern "C"
38810 {
38811 #endif
38812 /* We use char because int might match the return type of a gcc2
38813 builtin and then its argument prototype would still apply. */
38814 char pthread_cancel ();
38815 /* The GNU C library defines this for functions which it implements
38816 to always fail with ENOSYS. Some functions are actually named
38817 something starting with __ and the normal name is an alias. */
38818 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38819 choke me
38820 #else
38821 char (*f) () = pthread_cancel;
38822 #endif
38823 #ifdef __cplusplus
38824 }
38825 #endif
38826
38827 int
38828 main ()
38829 {
38830 return f != pthread_cancel;
38831 ;
38832 return 0;
38833 }
38834 _ACEOF
38835 rm -f conftest.$ac_objext conftest$ac_exeext
38836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38837 (eval $ac_link) 2>conftest.er1
38838 ac_status=$?
38839 grep -v '^ *+' conftest.er1 >conftest.err
38840 rm -f conftest.er1
38841 cat conftest.err >&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); } &&
38844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38847 ac_status=$?
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; } &&
38850 { ac_try='test -s conftest$ac_exeext'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38853 ac_status=$?
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; }; then
38856 ac_cv_func_pthread_cancel=yes
38857 else
38858 echo "$as_me: failed program was:" >&5
38859 sed 's/^/| /' conftest.$ac_ext >&5
38860
38861 ac_cv_func_pthread_cancel=no
38862 fi
38863 rm -f conftest.err conftest.$ac_objext \
38864 conftest$ac_exeext conftest.$ac_ext
38865 fi
38866 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38867 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38868 if test $ac_cv_func_pthread_cancel = yes; then
38869 cat >>confdefs.h <<\_ACEOF
38870 #define HAVE_PTHREAD_CANCEL 1
38871 _ACEOF
38872
38873 else
38874 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38875 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38876 fi
38877
38878
38879 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38880 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38881 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38882 echo $ECHO_N "(cached) $ECHO_C" >&6
38883 else
38884 cat >conftest.$ac_ext <<_ACEOF
38885 /* confdefs.h. */
38886 _ACEOF
38887 cat confdefs.h >>conftest.$ac_ext
38888 cat >>conftest.$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38890 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38892 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38893
38894 /* System header to define __stub macros and hopefully few prototypes,
38895 which can conflict with char pthread_attr_setstacksize (); below.
38896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38897 <limits.h> exists even on freestanding compilers. */
38898
38899 #ifdef __STDC__
38900 # include <limits.h>
38901 #else
38902 # include <assert.h>
38903 #endif
38904
38905 #undef pthread_attr_setstacksize
38906
38907 /* Override any gcc2 internal prototype to avoid an error. */
38908 #ifdef __cplusplus
38909 extern "C"
38910 {
38911 #endif
38912 /* We use char because int might match the return type of a gcc2
38913 builtin and then its argument prototype would still apply. */
38914 char pthread_attr_setstacksize ();
38915 /* The GNU C library defines this for functions which it implements
38916 to always fail with ENOSYS. Some functions are actually named
38917 something starting with __ and the normal name is an alias. */
38918 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38919 choke me
38920 #else
38921 char (*f) () = pthread_attr_setstacksize;
38922 #endif
38923 #ifdef __cplusplus
38924 }
38925 #endif
38926
38927 int
38928 main ()
38929 {
38930 return f != pthread_attr_setstacksize;
38931 ;
38932 return 0;
38933 }
38934 _ACEOF
38935 rm -f conftest.$ac_objext conftest$ac_exeext
38936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38937 (eval $ac_link) 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } &&
38944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38946 (eval $ac_try) 2>&5
38947 ac_status=$?
38948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949 (exit $ac_status); }; } &&
38950 { ac_try='test -s conftest$ac_exeext'
38951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38952 (eval $ac_try) 2>&5
38953 ac_status=$?
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); }; }; then
38956 ac_cv_func_pthread_attr_setstacksize=yes
38957 else
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.$ac_ext >&5
38960
38961 ac_cv_func_pthread_attr_setstacksize=no
38962 fi
38963 rm -f conftest.err conftest.$ac_objext \
38964 conftest$ac_exeext conftest.$ac_ext
38965 fi
38966 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38967 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38968 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38969 cat >>confdefs.h <<\_ACEOF
38970 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38971 _ACEOF
38972
38973 fi
38974
38975
38976
38977 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38978 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38979 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38980 echo $ECHO_N "(cached) $ECHO_C" >&6
38981 else
38982
38983 cat >conftest.$ac_ext <<_ACEOF
38984 /* confdefs.h. */
38985 _ACEOF
38986 cat confdefs.h >>conftest.$ac_ext
38987 cat >>conftest.$ac_ext <<_ACEOF
38988 /* end confdefs.h. */
38989 #include <pthread.h>
38990 int
38991 main ()
38992 {
38993
38994 pthread_mutexattr_t attr;
38995 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38996
38997 ;
38998 return 0;
38999 }
39000 _ACEOF
39001 rm -f conftest.$ac_objext
39002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39003 (eval $ac_compile) 2>conftest.er1
39004 ac_status=$?
39005 grep -v '^ *+' conftest.er1 >conftest.err
39006 rm -f conftest.er1
39007 cat conftest.err >&5
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); } &&
39010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39012 (eval $ac_try) 2>&5
39013 ac_status=$?
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); }; } &&
39016 { ac_try='test -s conftest.$ac_objext'
39017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39018 (eval $ac_try) 2>&5
39019 ac_status=$?
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); }; }; then
39022 wx_cv_type_pthread_mutexattr_t=yes
39023 else
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.$ac_ext >&5
39026
39027 wx_cv_type_pthread_mutexattr_t=no
39028
39029 fi
39030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39031
39032 fi
39033 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39034 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39035
39036 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39037 cat >>confdefs.h <<\_ACEOF
39038 #define HAVE_PTHREAD_MUTEXATTR_T 1
39039 _ACEOF
39040
39041
39042 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39043 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39044 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39045 echo $ECHO_N "(cached) $ECHO_C" >&6
39046 else
39047
39048 cat >conftest.$ac_ext <<_ACEOF
39049 /* confdefs.h. */
39050 _ACEOF
39051 cat confdefs.h >>conftest.$ac_ext
39052 cat >>conftest.$ac_ext <<_ACEOF
39053 /* end confdefs.h. */
39054 #include <pthread.h>
39055 int
39056 main ()
39057 {
39058
39059 pthread_mutexattr_t attr;
39060 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39061
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 rm -f conftest.$ac_objext
39067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39068 (eval $ac_compile) 2>conftest.er1
39069 ac_status=$?
39070 grep -v '^ *+' conftest.er1 >conftest.err
39071 rm -f conftest.er1
39072 cat conftest.err >&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); } &&
39075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39077 (eval $ac_try) 2>&5
39078 ac_status=$?
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); }; } &&
39081 { ac_try='test -s conftest.$ac_objext'
39082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39083 (eval $ac_try) 2>&5
39084 ac_status=$?
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); }; }; then
39087 wx_cv_func_pthread_mutexattr_settype_decl=yes
39088 else
39089 echo "$as_me: failed program was:" >&5
39090 sed 's/^/| /' conftest.$ac_ext >&5
39091
39092 wx_cv_func_pthread_mutexattr_settype_decl=no
39093
39094 fi
39095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39096
39097 fi
39098 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39099 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39100 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39101 cat >>confdefs.h <<\_ACEOF
39102 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39103 _ACEOF
39104
39105 fi
39106 else
39107 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39108 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39109 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39111 else
39112
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <pthread.h>
39120 int
39121 main ()
39122 {
39123
39124 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39125
39126 ;
39127 return 0;
39128 }
39129 _ACEOF
39130 rm -f conftest.$ac_objext
39131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39132 (eval $ac_compile) 2>conftest.er1
39133 ac_status=$?
39134 grep -v '^ *+' conftest.er1 >conftest.err
39135 rm -f conftest.er1
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } &&
39139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39141 (eval $ac_try) 2>&5
39142 ac_status=$?
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); }; } &&
39145 { ac_try='test -s conftest.$ac_objext'
39146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39147 (eval $ac_try) 2>&5
39148 ac_status=$?
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); }; }; then
39151
39152 wx_cv_type_pthread_rec_mutex_init=yes
39153
39154 else
39155 echo "$as_me: failed program was:" >&5
39156 sed 's/^/| /' conftest.$ac_ext >&5
39157
39158
39159 wx_cv_type_pthread_rec_mutex_init=no
39160
39161
39162 fi
39163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39164
39165 fi
39166 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39167 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39168 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39169 cat >>confdefs.h <<\_ACEOF
39170 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39171 _ACEOF
39172
39173 else
39174 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39175 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39176 fi
39177 fi
39178 fi
39179
39180 else
39181 if test "$wxUSE_THREADS" = "yes" ; then
39182 case "${host}" in
39183 *-*-mingw32* )
39184 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39185 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39186 if test "${wx_cv_cflags_mthread+set}" = set; then
39187 echo $ECHO_N "(cached) $ECHO_C" >&6
39188 else
39189
39190 CXXFLAGS_OLD="$CXXFLAGS"
39191 CXXFLAGS="-mthreads $CXXFLAGS"
39192 cat >conftest.$ac_ext <<_ACEOF
39193 /* confdefs.h. */
39194 _ACEOF
39195 cat confdefs.h >>conftest.$ac_ext
39196 cat >>conftest.$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39198
39199 int
39200 main ()
39201 {
39202
39203 ;
39204 return 0;
39205 }
39206 _ACEOF
39207 rm -f conftest.$ac_objext
39208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39209 (eval $ac_compile) 2>conftest.er1
39210 ac_status=$?
39211 grep -v '^ *+' conftest.er1 >conftest.err
39212 rm -f conftest.er1
39213 cat conftest.err >&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39219 ac_status=$?
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; } &&
39222 { ac_try='test -s conftest.$ac_objext'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39225 ac_status=$?
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; }; then
39228 wx_cv_cflags_mthread=yes
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39232
39233 wx_cv_cflags_mthread=no
39234
39235 fi
39236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39237
39238
39239 fi
39240 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39241 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39242
39243 if test "$wx_cv_cflags_mthread" = "yes"; then
39244 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
39245 LDFLAGS="$LDFLAGS -mthreads"
39246 else
39247 CXXFLAGS="$CXXFLAGS_OLD"
39248 fi
39249 ;;
39250 *-pc-os2*emx )
39251 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39252 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39253 LDFLAGS="$LDFLAGS -Zmt"
39254 ;;
39255 esac
39256 fi
39257 fi
39258
39259 echo "$as_me:$LINENO: checking for localtime_r" >&5
39260 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39261 if test "${ac_cv_func_localtime_r+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 else
39264 cat >conftest.$ac_ext <<_ACEOF
39265 /* confdefs.h. */
39266 _ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39272 #define localtime_r innocuous_localtime_r
39273
39274 /* System header to define __stub macros and hopefully few prototypes,
39275 which can conflict with char localtime_r (); below.
39276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39277 <limits.h> exists even on freestanding compilers. */
39278
39279 #ifdef __STDC__
39280 # include <limits.h>
39281 #else
39282 # include <assert.h>
39283 #endif
39284
39285 #undef localtime_r
39286
39287 /* Override any gcc2 internal prototype to avoid an error. */
39288 #ifdef __cplusplus
39289 extern "C"
39290 {
39291 #endif
39292 /* We use char because int might match the return type of a gcc2
39293 builtin and then its argument prototype would still apply. */
39294 char localtime_r ();
39295 /* The GNU C library defines this for functions which it implements
39296 to always fail with ENOSYS. Some functions are actually named
39297 something starting with __ and the normal name is an alias. */
39298 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39299 choke me
39300 #else
39301 char (*f) () = localtime_r;
39302 #endif
39303 #ifdef __cplusplus
39304 }
39305 #endif
39306
39307 int
39308 main ()
39309 {
39310 return f != localtime_r;
39311 ;
39312 return 0;
39313 }
39314 _ACEOF
39315 rm -f conftest.$ac_objext conftest$ac_exeext
39316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39317 (eval $ac_link) 2>conftest.er1
39318 ac_status=$?
39319 grep -v '^ *+' conftest.er1 >conftest.err
39320 rm -f conftest.er1
39321 cat conftest.err >&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } &&
39324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39326 (eval $ac_try) 2>&5
39327 ac_status=$?
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); }; } &&
39330 { ac_try='test -s conftest$ac_exeext'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39333 ac_status=$?
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; }; then
39336 ac_cv_func_localtime_r=yes
39337 else
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.$ac_ext >&5
39340
39341 ac_cv_func_localtime_r=no
39342 fi
39343 rm -f conftest.err conftest.$ac_objext \
39344 conftest$ac_exeext conftest.$ac_ext
39345 fi
39346 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39347 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39348 if test $ac_cv_func_localtime_r = yes; then
39349 cat >>confdefs.h <<\_ACEOF
39350 #define HAVE_LOCALTIME_R 1
39351 _ACEOF
39352
39353 fi
39354
39355 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39356 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39357 if test "${ac_cv_func_gmtime_r+set}" = set; then
39358 echo $ECHO_N "(cached) $ECHO_C" >&6
39359 else
39360 cat >conftest.$ac_ext <<_ACEOF
39361 /* confdefs.h. */
39362 _ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39368 #define gmtime_r innocuous_gmtime_r
39369
39370 /* System header to define __stub macros and hopefully few prototypes,
39371 which can conflict with char gmtime_r (); below.
39372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39373 <limits.h> exists even on freestanding compilers. */
39374
39375 #ifdef __STDC__
39376 # include <limits.h>
39377 #else
39378 # include <assert.h>
39379 #endif
39380
39381 #undef gmtime_r
39382
39383 /* Override any gcc2 internal prototype to avoid an error. */
39384 #ifdef __cplusplus
39385 extern "C"
39386 {
39387 #endif
39388 /* We use char because int might match the return type of a gcc2
39389 builtin and then its argument prototype would still apply. */
39390 char gmtime_r ();
39391 /* The GNU C library defines this for functions which it implements
39392 to always fail with ENOSYS. Some functions are actually named
39393 something starting with __ and the normal name is an alias. */
39394 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39395 choke me
39396 #else
39397 char (*f) () = gmtime_r;
39398 #endif
39399 #ifdef __cplusplus
39400 }
39401 #endif
39402
39403 int
39404 main ()
39405 {
39406 return f != gmtime_r;
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext conftest$ac_exeext
39412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39413 (eval $ac_link) 2>conftest.er1
39414 ac_status=$?
39415 grep -v '^ *+' conftest.er1 >conftest.err
39416 rm -f conftest.er1
39417 cat conftest.err >&5
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); } &&
39420 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39423 ac_status=$?
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; } &&
39426 { ac_try='test -s conftest$ac_exeext'
39427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39428 (eval $ac_try) 2>&5
39429 ac_status=$?
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; }; then
39432 ac_cv_func_gmtime_r=yes
39433 else
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39436
39437 ac_cv_func_gmtime_r=no
39438 fi
39439 rm -f conftest.err conftest.$ac_objext \
39440 conftest$ac_exeext conftest.$ac_ext
39441 fi
39442 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39443 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39444 if test $ac_cv_func_gmtime_r = yes; then
39445 cat >>confdefs.h <<\_ACEOF
39446 #define HAVE_GMTIME_R 1
39447 _ACEOF
39448
39449 fi
39450
39451 echo "$as_me:$LINENO: checking for readdir_r" >&5
39452 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39453 if test "${ac_cv_func_readdir_r+set}" = set; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39455 else
39456 cat >conftest.$ac_ext <<_ACEOF
39457 /* confdefs.h. */
39458 _ACEOF
39459 cat confdefs.h >>conftest.$ac_ext
39460 cat >>conftest.$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39462 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39464 #define readdir_r innocuous_readdir_r
39465
39466 /* System header to define __stub macros and hopefully few prototypes,
39467 which can conflict with char readdir_r (); below.
39468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39469 <limits.h> exists even on freestanding compilers. */
39470
39471 #ifdef __STDC__
39472 # include <limits.h>
39473 #else
39474 # include <assert.h>
39475 #endif
39476
39477 #undef readdir_r
39478
39479 /* Override any gcc2 internal prototype to avoid an error. */
39480 #ifdef __cplusplus
39481 extern "C"
39482 {
39483 #endif
39484 /* We use char because int might match the return type of a gcc2
39485 builtin and then its argument prototype would still apply. */
39486 char readdir_r ();
39487 /* The GNU C library defines this for functions which it implements
39488 to always fail with ENOSYS. Some functions are actually named
39489 something starting with __ and the normal name is an alias. */
39490 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39491 choke me
39492 #else
39493 char (*f) () = readdir_r;
39494 #endif
39495 #ifdef __cplusplus
39496 }
39497 #endif
39498
39499 int
39500 main ()
39501 {
39502 return f != readdir_r;
39503 ;
39504 return 0;
39505 }
39506 _ACEOF
39507 rm -f conftest.$ac_objext conftest$ac_exeext
39508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39509 (eval $ac_link) 2>conftest.er1
39510 ac_status=$?
39511 grep -v '^ *+' conftest.er1 >conftest.err
39512 rm -f conftest.er1
39513 cat conftest.err >&5
39514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39515 (exit $ac_status); } &&
39516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39518 (eval $ac_try) 2>&5
39519 ac_status=$?
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); }; } &&
39522 { ac_try='test -s conftest$ac_exeext'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; }; then
39528 ac_cv_func_readdir_r=yes
39529 else
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39532
39533 ac_cv_func_readdir_r=no
39534 fi
39535 rm -f conftest.err conftest.$ac_objext \
39536 conftest$ac_exeext conftest.$ac_ext
39537 fi
39538 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39539 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39540 if test $ac_cv_func_readdir_r = yes; then
39541 cat >>confdefs.h <<\_ACEOF
39542 #define HAVE_READDIR_R 1
39543 _ACEOF
39544
39545 fi
39546
39547
39548
39549
39550 ac_ext=c
39551 ac_cpp='$CPP $CPPFLAGS'
39552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555
39556 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39557 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39558
39559 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39560 echo $ECHO_N "(cached) $ECHO_C" >&6
39561 else
39562
39563
39564 ################################################################
39565
39566 ac_cv_func_which_gethostbyname_r=unknown
39567
39568 #
39569 # ONE ARGUMENT (sanity check)
39570 #
39571
39572 # This should fail, as there is no variant of gethostbyname_r() that takes
39573 # a single argument. If it actually compiles, then we can assume that
39574 # netdb.h is not declaring the function, and the compiler is thereby
39575 # assuming an implicit prototype. In which case, we're out of luck.
39576 #
39577 cat >conftest.$ac_ext <<_ACEOF
39578 /* confdefs.h. */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 #include <netdb.h>
39584 int
39585 main ()
39586 {
39587
39588 char *name = "www.gnu.org";
39589 (void)gethostbyname_r(name) /* ; */
39590
39591 ;
39592 return 0;
39593 }
39594 _ACEOF
39595 rm -f conftest.$ac_objext
39596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39597 (eval $ac_compile) 2>conftest.er1
39598 ac_status=$?
39599 grep -v '^ *+' conftest.er1 >conftest.err
39600 rm -f conftest.er1
39601 cat conftest.err >&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } &&
39604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; } &&
39610 { ac_try='test -s conftest.$ac_objext'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; }; then
39616 ac_cv_func_which_gethostbyname_r=no
39617 else
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39620
39621 fi
39622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39623
39624 #
39625 # SIX ARGUMENTS
39626 # (e.g. Linux)
39627 #
39628
39629 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39630
39631 cat >conftest.$ac_ext <<_ACEOF
39632 /* confdefs.h. */
39633 _ACEOF
39634 cat confdefs.h >>conftest.$ac_ext
39635 cat >>conftest.$ac_ext <<_ACEOF
39636 /* end confdefs.h. */
39637 #include <netdb.h>
39638 int
39639 main ()
39640 {
39641
39642 char *name = "www.gnu.org";
39643 struct hostent ret, *retp;
39644 char buf[1024];
39645 int buflen = 1024;
39646 int my_h_errno;
39647 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39648
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39655 (eval $ac_compile) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39664 (eval $ac_try) 2>&5
39665 ac_status=$?
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); }; } &&
39668 { ac_try='test -s conftest.$ac_objext'
39669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39670 (eval $ac_try) 2>&5
39671 ac_status=$?
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); }; }; then
39674 ac_cv_func_which_gethostbyname_r=six
39675 else
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39678
39679 fi
39680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39681
39682 fi
39683
39684 #
39685 # FIVE ARGUMENTS
39686 # (e.g. Solaris)
39687 #
39688
39689 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39690
39691 cat >conftest.$ac_ext <<_ACEOF
39692 /* confdefs.h. */
39693 _ACEOF
39694 cat confdefs.h >>conftest.$ac_ext
39695 cat >>conftest.$ac_ext <<_ACEOF
39696 /* end confdefs.h. */
39697 #include <netdb.h>
39698 int
39699 main ()
39700 {
39701
39702 char *name = "www.gnu.org";
39703 struct hostent ret;
39704 char buf[1024];
39705 int buflen = 1024;
39706 int my_h_errno;
39707 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39708
39709 ;
39710 return 0;
39711 }
39712 _ACEOF
39713 rm -f conftest.$ac_objext
39714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39715 (eval $ac_compile) 2>conftest.er1
39716 ac_status=$?
39717 grep -v '^ *+' conftest.er1 >conftest.err
39718 rm -f conftest.er1
39719 cat conftest.err >&5
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } &&
39722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39724 (eval $ac_try) 2>&5
39725 ac_status=$?
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); }; } &&
39728 { ac_try='test -s conftest.$ac_objext'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39731 ac_status=$?
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; }; then
39734 ac_cv_func_which_gethostbyname_r=five
39735 else
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39738
39739 fi
39740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39741
39742 fi
39743
39744 #
39745 # THREE ARGUMENTS
39746 # (e.g. AIX, HP-UX, Tru64)
39747 #
39748
39749 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39750
39751 cat >conftest.$ac_ext <<_ACEOF
39752 /* confdefs.h. */
39753 _ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h. */
39757 #include <netdb.h>
39758 int
39759 main ()
39760 {
39761
39762 char *name = "www.gnu.org";
39763 struct hostent ret;
39764 struct hostent_data data;
39765 (void)gethostbyname_r(name, &ret, &data) /* ; */
39766
39767 ;
39768 return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext
39772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39773 (eval $ac_compile) 2>conftest.er1
39774 ac_status=$?
39775 grep -v '^ *+' conftest.er1 >conftest.err
39776 rm -f conftest.er1
39777 cat conftest.err >&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); } &&
39780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39783 ac_status=$?
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; } &&
39786 { ac_try='test -s conftest.$ac_objext'
39787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788 (eval $ac_try) 2>&5
39789 ac_status=$?
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); }; }; then
39792 ac_cv_func_which_gethostbyname_r=three
39793 else
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.$ac_ext >&5
39796
39797 fi
39798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39799
39800 fi
39801
39802 ################################################################
39803
39804
39805 fi
39806
39807 case "$ac_cv_func_which_gethostbyname_r" in
39808 three)
39809 echo "$as_me:$LINENO: result: three" >&5
39810 echo "${ECHO_T}three" >&6
39811 cat >>confdefs.h <<\_ACEOF
39812 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39813 _ACEOF
39814
39815 ;;
39816
39817 five)
39818 echo "$as_me:$LINENO: result: five" >&5
39819 echo "${ECHO_T}five" >&6
39820 cat >>confdefs.h <<\_ACEOF
39821 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39822 _ACEOF
39823
39824 ;;
39825
39826 six)
39827 echo "$as_me:$LINENO: result: six" >&5
39828 echo "${ECHO_T}six" >&6
39829 cat >>confdefs.h <<\_ACEOF
39830 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39831 _ACEOF
39832
39833 ;;
39834
39835 no)
39836 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39837 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39838 ;;
39839
39840 unknown)
39841 echo "$as_me:$LINENO: result: can't tell" >&5
39842 echo "${ECHO_T}can't tell" >&6
39843 ;;
39844
39845 *)
39846 { { echo "$as_me:$LINENO: error: internal error" >&5
39847 echo "$as_me: error: internal error" >&2;}
39848 { (exit 1); exit 1; }; }
39849 ;;
39850 esac
39851
39852 ac_ext=cc
39853 ac_cpp='$CXXCPP $CPPFLAGS'
39854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39857
39858
39859
39860 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39861 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39862 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39863 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39864 if test "${ac_cv_func_gethostbyname+set}" = set; then
39865 echo $ECHO_N "(cached) $ECHO_C" >&6
39866 else
39867 cat >conftest.$ac_ext <<_ACEOF
39868 /* confdefs.h. */
39869 _ACEOF
39870 cat confdefs.h >>conftest.$ac_ext
39871 cat >>conftest.$ac_ext <<_ACEOF
39872 /* end confdefs.h. */
39873 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39875 #define gethostbyname innocuous_gethostbyname
39876
39877 /* System header to define __stub macros and hopefully few prototypes,
39878 which can conflict with char gethostbyname (); below.
39879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39880 <limits.h> exists even on freestanding compilers. */
39881
39882 #ifdef __STDC__
39883 # include <limits.h>
39884 #else
39885 # include <assert.h>
39886 #endif
39887
39888 #undef gethostbyname
39889
39890 /* Override any gcc2 internal prototype to avoid an error. */
39891 #ifdef __cplusplus
39892 extern "C"
39893 {
39894 #endif
39895 /* We use char because int might match the return type of a gcc2
39896 builtin and then its argument prototype would still apply. */
39897 char gethostbyname ();
39898 /* The GNU C library defines this for functions which it implements
39899 to always fail with ENOSYS. Some functions are actually named
39900 something starting with __ and the normal name is an alias. */
39901 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39902 choke me
39903 #else
39904 char (*f) () = gethostbyname;
39905 #endif
39906 #ifdef __cplusplus
39907 }
39908 #endif
39909
39910 int
39911 main ()
39912 {
39913 return f != gethostbyname;
39914 ;
39915 return 0;
39916 }
39917 _ACEOF
39918 rm -f conftest.$ac_objext conftest$ac_exeext
39919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39920 (eval $ac_link) 2>conftest.er1
39921 ac_status=$?
39922 grep -v '^ *+' conftest.er1 >conftest.err
39923 rm -f conftest.er1
39924 cat conftest.err >&5
39925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926 (exit $ac_status); } &&
39927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39929 (eval $ac_try) 2>&5
39930 ac_status=$?
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); }; } &&
39933 { ac_try='test -s conftest$ac_exeext'
39934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935 (eval $ac_try) 2>&5
39936 ac_status=$?
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); }; }; then
39939 ac_cv_func_gethostbyname=yes
39940 else
39941 echo "$as_me: failed program was:" >&5
39942 sed 's/^/| /' conftest.$ac_ext >&5
39943
39944 ac_cv_func_gethostbyname=no
39945 fi
39946 rm -f conftest.err conftest.$ac_objext \
39947 conftest$ac_exeext conftest.$ac_ext
39948 fi
39949 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39950 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39951 if test $ac_cv_func_gethostbyname = yes; then
39952 cat >>confdefs.h <<\_ACEOF
39953 #define HAVE_GETHOSTBYNAME 1
39954 _ACEOF
39955
39956 fi
39957
39958 fi
39959 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39960 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39961 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39963 else
39964
39965 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39966 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39967 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39968 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 else
39970 cat >conftest.$ac_ext <<_ACEOF
39971 /* confdefs.h. */
39972 _ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39978 #define getservbyname_r innocuous_getservbyname_r
39979
39980 /* System header to define __stub macros and hopefully few prototypes,
39981 which can conflict with char getservbyname_r (); below.
39982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39983 <limits.h> exists even on freestanding compilers. */
39984
39985 #ifdef __STDC__
39986 # include <limits.h>
39987 #else
39988 # include <assert.h>
39989 #endif
39990
39991 #undef getservbyname_r
39992
39993 /* Override any gcc2 internal prototype to avoid an error. */
39994 #ifdef __cplusplus
39995 extern "C"
39996 {
39997 #endif
39998 /* We use char because int might match the return type of a gcc2
39999 builtin and then its argument prototype would still apply. */
40000 char getservbyname_r ();
40001 /* The GNU C library defines this for functions which it implements
40002 to always fail with ENOSYS. Some functions are actually named
40003 something starting with __ and the normal name is an alias. */
40004 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40005 choke me
40006 #else
40007 char (*f) () = getservbyname_r;
40008 #endif
40009 #ifdef __cplusplus
40010 }
40011 #endif
40012
40013 int
40014 main ()
40015 {
40016 return f != getservbyname_r;
40017 ;
40018 return 0;
40019 }
40020 _ACEOF
40021 rm -f conftest.$ac_objext conftest$ac_exeext
40022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40023 (eval $ac_link) 2>conftest.er1
40024 ac_status=$?
40025 grep -v '^ *+' conftest.er1 >conftest.err
40026 rm -f conftest.er1
40027 cat conftest.err >&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); } &&
40030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest$ac_exeext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 ac_cv_func_getservbyname_r=yes
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047 ac_cv_func_getservbyname_r=no
40048 fi
40049 rm -f conftest.err conftest.$ac_objext \
40050 conftest$ac_exeext conftest.$ac_ext
40051 fi
40052 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40053 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40054 if test $ac_cv_func_getservbyname_r = yes; then
40055
40056 cat >conftest.$ac_ext <<_ACEOF
40057 /* confdefs.h. */
40058 _ACEOF
40059 cat confdefs.h >>conftest.$ac_ext
40060 cat >>conftest.$ac_ext <<_ACEOF
40061 /* end confdefs.h. */
40062
40063 # include <netdb.h>
40064
40065 int
40066 main ()
40067 {
40068
40069
40070 char *name;
40071 char *proto;
40072 struct servent *se;
40073 struct servent_data data;
40074 (void) getservbyname_r(name, proto, se, &data);
40075
40076
40077 ;
40078 return 0;
40079 }
40080 _ACEOF
40081 rm -f conftest.$ac_objext
40082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40083 (eval $ac_compile) 2>conftest.er1
40084 ac_status=$?
40085 grep -v '^ *+' conftest.er1 >conftest.err
40086 rm -f conftest.er1
40087 cat conftest.err >&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); } &&
40090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40093 ac_status=$?
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; } &&
40096 { ac_try='test -s conftest.$ac_objext'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; }; then
40102 ac_cv_func_which_getservbyname_r=four
40103 else
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40106
40107
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114
40115 # include <netdb.h>
40116
40117 int
40118 main ()
40119 {
40120
40121 char *name;
40122 char *proto;
40123 struct servent *se, *res;
40124 char buffer[2048];
40125 int buflen = 2048;
40126 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40127
40128 ;
40129 return 0;
40130 }
40131 _ACEOF
40132 rm -f conftest.$ac_objext
40133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40134 (eval $ac_compile) 2>conftest.er1
40135 ac_status=$?
40136 grep -v '^ *+' conftest.er1 >conftest.err
40137 rm -f conftest.er1
40138 cat conftest.err >&5
40139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40140 (exit $ac_status); } &&
40141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40143 (eval $ac_try) 2>&5
40144 ac_status=$?
40145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40146 (exit $ac_status); }; } &&
40147 { ac_try='test -s conftest.$ac_objext'
40148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40149 (eval $ac_try) 2>&5
40150 ac_status=$?
40151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152 (exit $ac_status); }; }; then
40153 ac_cv_func_which_getservbyname_r=six
40154 else
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40157
40158
40159 cat >conftest.$ac_ext <<_ACEOF
40160 /* confdefs.h. */
40161 _ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40165
40166 # include <netdb.h>
40167
40168 int
40169 main ()
40170 {
40171
40172 char *name;
40173 char *proto;
40174 struct servent *se;
40175 char buffer[2048];
40176 int buflen = 2048;
40177 (void) getservbyname_r(name, proto, se, buffer, buflen)
40178
40179 ;
40180 return 0;
40181 }
40182 _ACEOF
40183 rm -f conftest.$ac_objext
40184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40185 (eval $ac_compile) 2>conftest.er1
40186 ac_status=$?
40187 grep -v '^ *+' conftest.er1 >conftest.err
40188 rm -f conftest.er1
40189 cat conftest.err >&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } &&
40192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40194 (eval $ac_try) 2>&5
40195 ac_status=$?
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); }; } &&
40198 { ac_try='test -s conftest.$ac_objext'
40199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40200 (eval $ac_try) 2>&5
40201 ac_status=$?
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); }; }; then
40204 ac_cv_func_which_getservbyname_r=five
40205 else
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.$ac_ext >&5
40208
40209 ac_cv_func_which_getservbyname_r=no
40210 fi
40211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40212
40213
40214
40215
40216 fi
40217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40218
40219
40220 fi
40221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40222
40223 else
40224 ac_cv_func_which_getservbyname_r=no
40225 fi
40226
40227 fi
40228 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40229 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40230
40231 if test $ac_cv_func_which_getservbyname_r = six; then
40232 cat >>confdefs.h <<\_ACEOF
40233 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40234 _ACEOF
40235
40236 elif test $ac_cv_func_which_getservbyname_r = five; then
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40239 _ACEOF
40240
40241 elif test $ac_cv_func_which_getservbyname_r = four; then
40242 cat >>confdefs.h <<\_ACEOF
40243 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40244 _ACEOF
40245
40246
40247 fi
40248
40249
40250 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40251 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40252
40253 for ac_func in getservbyname
40254 do
40255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40256 echo "$as_me:$LINENO: checking for $ac_func" >&5
40257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40258 if eval "test \"\${$as_ac_var+set}\" = set"; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40260 else
40261 cat >conftest.$ac_ext <<_ACEOF
40262 /* confdefs.h. */
40263 _ACEOF
40264 cat confdefs.h >>conftest.$ac_ext
40265 cat >>conftest.$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40269 #define $ac_func innocuous_$ac_func
40270
40271 /* System header to define __stub macros and hopefully few prototypes,
40272 which can conflict with char $ac_func (); below.
40273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40274 <limits.h> exists even on freestanding compilers. */
40275
40276 #ifdef __STDC__
40277 # include <limits.h>
40278 #else
40279 # include <assert.h>
40280 #endif
40281
40282 #undef $ac_func
40283
40284 /* Override any gcc2 internal prototype to avoid an error. */
40285 #ifdef __cplusplus
40286 extern "C"
40287 {
40288 #endif
40289 /* We use char because int might match the return type of a gcc2
40290 builtin and then its argument prototype would still apply. */
40291 char $ac_func ();
40292 /* The GNU C library defines this for functions which it implements
40293 to always fail with ENOSYS. Some functions are actually named
40294 something starting with __ and the normal name is an alias. */
40295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40296 choke me
40297 #else
40298 char (*f) () = $ac_func;
40299 #endif
40300 #ifdef __cplusplus
40301 }
40302 #endif
40303
40304 int
40305 main ()
40306 {
40307 return f != $ac_func;
40308 ;
40309 return 0;
40310 }
40311 _ACEOF
40312 rm -f conftest.$ac_objext conftest$ac_exeext
40313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40314 (eval $ac_link) 2>conftest.er1
40315 ac_status=$?
40316 grep -v '^ *+' conftest.er1 >conftest.err
40317 rm -f conftest.er1
40318 cat conftest.err >&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); } &&
40321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; } &&
40327 { ac_try='test -s conftest$ac_exeext'
40328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40329 (eval $ac_try) 2>&5
40330 ac_status=$?
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); }; }; then
40333 eval "$as_ac_var=yes"
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338 eval "$as_ac_var=no"
40339 fi
40340 rm -f conftest.err conftest.$ac_objext \
40341 conftest$ac_exeext conftest.$ac_ext
40342 fi
40343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40345 if test `eval echo '${'$as_ac_var'}'` = yes; then
40346 cat >>confdefs.h <<_ACEOF
40347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40348 _ACEOF
40349 cat >>confdefs.h <<\_ACEOF
40350 #define HAVE_GETSERVBYNAME 1
40351 _ACEOF
40352
40353 fi
40354 done
40355
40356 fi
40357
40358 if test "$wxUSE_THREADS" = "yes"; then
40359 cat >>confdefs.h <<\_ACEOF
40360 #define wxUSE_THREADS 1
40361 _ACEOF
40362
40363
40364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40365 else
40366 if test "$ac_cv_func_strtok_r" = "yes"; then
40367 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40368 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40369 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40370 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40371 echo "$as_me:$LINENO: result: yes" >&5
40372 echo "${ECHO_T}yes" >&6
40373 else
40374 echo "$as_me:$LINENO: result: no" >&5
40375 echo "${ECHO_T}no" >&6
40376 fi
40377 fi
40378 fi
40379
40380 if test "$WXGTK20" = 1 ; then
40381 cat >>confdefs.h <<_ACEOF
40382 #define __WXGTK20__ $WXGTK20
40383 _ACEOF
40384
40385 WXGTK12=1
40386 fi
40387
40388 if test "$WXGTK12" = 1 ; then
40389 cat >>confdefs.h <<_ACEOF
40390 #define __WXGTK12__ $WXGTK12
40391 _ACEOF
40392
40393 fi
40394
40395 if test "$WXGTK127" = 1 ; then
40396 cat >>confdefs.h <<_ACEOF
40397 #define __WXGTK127__ $WXGTK127
40398 _ACEOF
40399
40400 fi
40401
40402 if test "$WXGPE" = 1 ; then
40403 cat >>confdefs.h <<_ACEOF
40404 #define __WXGPE__ $WXGPE
40405 _ACEOF
40406
40407 fi
40408
40409 DEBUG_CFLAGS=
40410 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40411 DEBUG_CFLAGS="-g"
40412 wxUSE_OPTIMISE=no
40413 fi
40414
40415 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40416 wxUSE_DEBUG_INFO=yes
40417 if test "$GCC" = yes; then
40418 DEBUG_CFLAGS="-ggdb"
40419 fi
40420 fi
40421
40422 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40423 cat >>confdefs.h <<\_ACEOF
40424 #define WXDEBUG 1
40425 _ACEOF
40426
40427 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40428 else
40429 if test "$wxUSE_GTK" = 1 ; then
40430 if test "x$wxGTK_VERSION" = "x1" ; then
40431 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40432 fi
40433 fi
40434 fi
40435
40436 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40437 cat >>confdefs.h <<\_ACEOF
40438 #define wxUSE_MEMORY_TRACING 1
40439 _ACEOF
40440
40441 cat >>confdefs.h <<\_ACEOF
40442 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40443 _ACEOF
40444
40445 cat >>confdefs.h <<\_ACEOF
40446 #define wxUSE_DEBUG_NEW_ALWAYS 1
40447 _ACEOF
40448
40449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40450 fi
40451
40452 if test "$wxUSE_DMALLOC" = "yes" ; then
40453 DMALLOC_LIBS="-ldmallocthcxx"
40454 fi
40455
40456 PROFILE_FLAGS=
40457 if test "$wxUSE_PROFILE" = "yes" ; then
40458 PROFILE_FLAGS=" -pg"
40459 fi
40460
40461 if test "$GCC" = "yes" ; then
40462 if test "$wxUSE_NO_RTTI" = "yes" ; then
40463 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40464 fi
40465 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40466 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40467 fi
40468 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40470 fi
40471
40472 case "${host}" in
40473 powerpc*-*-aix* )
40474 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40475 ;;
40476 *-hppa* )
40477 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40478 ;;
40479 esac
40480 fi
40481
40482 OPTIMISE_CFLAGS=
40483 if test "$wxUSE_OPTIMISE" = "no" ; then
40484 if test "$GCC" = yes ; then
40485 OPTIMISE_CFLAGS="-O0"
40486 fi
40487 else
40488 if test "$GCC" = yes ; then
40489 case "${host}" in
40490 *-pc-os2_emx | *-pc-os2-emx )
40491 OPTIMISE_CFLAGS="-O2"
40492 ;;
40493 *)
40494 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40495 ;;
40496 esac
40497 else
40498 OPTIMISE_CFLAGS="-O"
40499 fi
40500 fi
40501
40502
40503 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40504 cat >>confdefs.h <<\_ACEOF
40505 #define WXWIN_COMPATIBILITY_2_4 1
40506 _ACEOF
40507
40508
40509 WXWIN_COMPATIBILITY_2_6="yes"
40510 fi
40511
40512 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40513 cat >>confdefs.h <<\_ACEOF
40514 #define WXWIN_COMPATIBILITY_2_6 1
40515 _ACEOF
40516
40517 fi
40518
40519
40520 if test "$wxUSE_GUI" = "yes"; then
40521 cat >>confdefs.h <<\_ACEOF
40522 #define wxUSE_GUI 1
40523 _ACEOF
40524
40525
40526 fi
40527
40528
40529 if test "$wxUSE_UNIX" = "yes"; then
40530 cat >>confdefs.h <<\_ACEOF
40531 #define wxUSE_UNIX 1
40532 _ACEOF
40533
40534 fi
40535
40536
40537 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40538
40539 HAVE_DL_FUNCS=0
40540 HAVE_SHL_FUNCS=0
40541 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40542 if test "$USE_DARWIN" = 1; then
40543 HAVE_DL_FUNCS=1
40544 elif test "$USE_DOS" = 1; then
40545 HAVE_DL_FUNCS=0
40546 else
40547
40548 for ac_func in dlopen
40549 do
40550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40551 echo "$as_me:$LINENO: checking for $ac_func" >&5
40552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40553 if eval "test \"\${$as_ac_var+set}\" = set"; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 else
40556 cat >conftest.$ac_ext <<_ACEOF
40557 /* confdefs.h. */
40558 _ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40564 #define $ac_func innocuous_$ac_func
40565
40566 /* System header to define __stub macros and hopefully few prototypes,
40567 which can conflict with char $ac_func (); below.
40568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40569 <limits.h> exists even on freestanding compilers. */
40570
40571 #ifdef __STDC__
40572 # include <limits.h>
40573 #else
40574 # include <assert.h>
40575 #endif
40576
40577 #undef $ac_func
40578
40579 /* Override any gcc2 internal prototype to avoid an error. */
40580 #ifdef __cplusplus
40581 extern "C"
40582 {
40583 #endif
40584 /* We use char because int might match the return type of a gcc2
40585 builtin and then its argument prototype would still apply. */
40586 char $ac_func ();
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40591 choke me
40592 #else
40593 char (*f) () = $ac_func;
40594 #endif
40595 #ifdef __cplusplus
40596 }
40597 #endif
40598
40599 int
40600 main ()
40601 {
40602 return f != $ac_func;
40603 ;
40604 return 0;
40605 }
40606 _ACEOF
40607 rm -f conftest.$ac_objext conftest$ac_exeext
40608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40609 (eval $ac_link) 2>conftest.er1
40610 ac_status=$?
40611 grep -v '^ *+' conftest.er1 >conftest.err
40612 rm -f conftest.er1
40613 cat conftest.err >&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } &&
40616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40618 (eval $ac_try) 2>&5
40619 ac_status=$?
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); }; } &&
40622 { ac_try='test -s conftest$ac_exeext'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40625 ac_status=$?
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; }; then
40628 eval "$as_ac_var=yes"
40629 else
40630 echo "$as_me: failed program was:" >&5
40631 sed 's/^/| /' conftest.$ac_ext >&5
40632
40633 eval "$as_ac_var=no"
40634 fi
40635 rm -f conftest.err conftest.$ac_objext \
40636 conftest$ac_exeext conftest.$ac_ext
40637 fi
40638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40640 if test `eval echo '${'$as_ac_var'}'` = yes; then
40641 cat >>confdefs.h <<_ACEOF
40642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40643 _ACEOF
40644
40645 cat >>confdefs.h <<\_ACEOF
40646 #define HAVE_DLOPEN 1
40647 _ACEOF
40648
40649 HAVE_DL_FUNCS=1
40650
40651 else
40652
40653 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40654 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40655 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40656 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 else
40658 ac_check_lib_save_LIBS=$LIBS
40659 LIBS="-ldl $LIBS"
40660 cat >conftest.$ac_ext <<_ACEOF
40661 /* confdefs.h. */
40662 _ACEOF
40663 cat confdefs.h >>conftest.$ac_ext
40664 cat >>conftest.$ac_ext <<_ACEOF
40665 /* end confdefs.h. */
40666
40667 /* Override any gcc2 internal prototype to avoid an error. */
40668 #ifdef __cplusplus
40669 extern "C"
40670 #endif
40671 /* We use char because int might match the return type of a gcc2
40672 builtin and then its argument prototype would still apply. */
40673 char dlopen ();
40674 int
40675 main ()
40676 {
40677 dlopen ();
40678 ;
40679 return 0;
40680 }
40681 _ACEOF
40682 rm -f conftest.$ac_objext conftest$ac_exeext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40684 (eval $ac_link) 2>conftest.er1
40685 ac_status=$?
40686 grep -v '^ *+' conftest.er1 >conftest.err
40687 rm -f conftest.er1
40688 cat conftest.err >&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } &&
40691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40693 (eval $ac_try) 2>&5
40694 ac_status=$?
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); }; } &&
40697 { ac_try='test -s conftest$ac_exeext'
40698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40699 (eval $ac_try) 2>&5
40700 ac_status=$?
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); }; }; then
40703 ac_cv_lib_dl_dlopen=yes
40704 else
40705 echo "$as_me: failed program was:" >&5
40706 sed 's/^/| /' conftest.$ac_ext >&5
40707
40708 ac_cv_lib_dl_dlopen=no
40709 fi
40710 rm -f conftest.err conftest.$ac_objext \
40711 conftest$ac_exeext conftest.$ac_ext
40712 LIBS=$ac_check_lib_save_LIBS
40713 fi
40714 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40715 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40716 if test $ac_cv_lib_dl_dlopen = yes; then
40717
40718 cat >>confdefs.h <<\_ACEOF
40719 #define HAVE_DLOPEN 1
40720 _ACEOF
40721
40722 HAVE_DL_FUNCS=1
40723 DL_LINK=" -ldl$DL_LINK"
40724
40725 else
40726
40727
40728 for ac_func in shl_load
40729 do
40730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40731 echo "$as_me:$LINENO: checking for $ac_func" >&5
40732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40733 if eval "test \"\${$as_ac_var+set}\" = set"; then
40734 echo $ECHO_N "(cached) $ECHO_C" >&6
40735 else
40736 cat >conftest.$ac_ext <<_ACEOF
40737 /* confdefs.h. */
40738 _ACEOF
40739 cat confdefs.h >>conftest.$ac_ext
40740 cat >>conftest.$ac_ext <<_ACEOF
40741 /* end confdefs.h. */
40742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40744 #define $ac_func innocuous_$ac_func
40745
40746 /* System header to define __stub macros and hopefully few prototypes,
40747 which can conflict with char $ac_func (); below.
40748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40749 <limits.h> exists even on freestanding compilers. */
40750
40751 #ifdef __STDC__
40752 # include <limits.h>
40753 #else
40754 # include <assert.h>
40755 #endif
40756
40757 #undef $ac_func
40758
40759 /* Override any gcc2 internal prototype to avoid an error. */
40760 #ifdef __cplusplus
40761 extern "C"
40762 {
40763 #endif
40764 /* We use char because int might match the return type of a gcc2
40765 builtin and then its argument prototype would still apply. */
40766 char $ac_func ();
40767 /* The GNU C library defines this for functions which it implements
40768 to always fail with ENOSYS. Some functions are actually named
40769 something starting with __ and the normal name is an alias. */
40770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40771 choke me
40772 #else
40773 char (*f) () = $ac_func;
40774 #endif
40775 #ifdef __cplusplus
40776 }
40777 #endif
40778
40779 int
40780 main ()
40781 {
40782 return f != $ac_func;
40783 ;
40784 return 0;
40785 }
40786 _ACEOF
40787 rm -f conftest.$ac_objext conftest$ac_exeext
40788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40789 (eval $ac_link) 2>conftest.er1
40790 ac_status=$?
40791 grep -v '^ *+' conftest.er1 >conftest.err
40792 rm -f conftest.er1
40793 cat conftest.err >&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); } &&
40796 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40798 (eval $ac_try) 2>&5
40799 ac_status=$?
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); }; } &&
40802 { ac_try='test -s conftest$ac_exeext'
40803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40804 (eval $ac_try) 2>&5
40805 ac_status=$?
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); }; }; then
40808 eval "$as_ac_var=yes"
40809 else
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.$ac_ext >&5
40812
40813 eval "$as_ac_var=no"
40814 fi
40815 rm -f conftest.err conftest.$ac_objext \
40816 conftest$ac_exeext conftest.$ac_ext
40817 fi
40818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40820 if test `eval echo '${'$as_ac_var'}'` = yes; then
40821 cat >>confdefs.h <<_ACEOF
40822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40823 _ACEOF
40824
40825 cat >>confdefs.h <<\_ACEOF
40826 #define HAVE_SHL_LOAD 1
40827 _ACEOF
40828
40829 HAVE_SHL_FUNCS=1
40830
40831 else
40832
40833 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40834 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40835 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 else
40838 ac_check_lib_save_LIBS=$LIBS
40839 LIBS="-lshl_load $LIBS"
40840 cat >conftest.$ac_ext <<_ACEOF
40841 /* confdefs.h. */
40842 _ACEOF
40843 cat confdefs.h >>conftest.$ac_ext
40844 cat >>conftest.$ac_ext <<_ACEOF
40845 /* end confdefs.h. */
40846
40847 /* Override any gcc2 internal prototype to avoid an error. */
40848 #ifdef __cplusplus
40849 extern "C"
40850 #endif
40851 /* We use char because int might match the return type of a gcc2
40852 builtin and then its argument prototype would still apply. */
40853 char dld ();
40854 int
40855 main ()
40856 {
40857 dld ();
40858 ;
40859 return 0;
40860 }
40861 _ACEOF
40862 rm -f conftest.$ac_objext conftest$ac_exeext
40863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40864 (eval $ac_link) 2>conftest.er1
40865 ac_status=$?
40866 grep -v '^ *+' conftest.er1 >conftest.err
40867 rm -f conftest.er1
40868 cat conftest.err >&5
40869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40870 (exit $ac_status); } &&
40871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40873 (eval $ac_try) 2>&5
40874 ac_status=$?
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); }; } &&
40877 { ac_try='test -s conftest$ac_exeext'
40878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40879 (eval $ac_try) 2>&5
40880 ac_status=$?
40881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40882 (exit $ac_status); }; }; then
40883 ac_cv_lib_shl_load_dld=yes
40884 else
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.$ac_ext >&5
40887
40888 ac_cv_lib_shl_load_dld=no
40889 fi
40890 rm -f conftest.err conftest.$ac_objext \
40891 conftest$ac_exeext conftest.$ac_ext
40892 LIBS=$ac_check_lib_save_LIBS
40893 fi
40894 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40895 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40896 if test $ac_cv_lib_shl_load_dld = yes; then
40897
40898 HAVE_SHL_FUNCS=1
40899 DL_LINK=" -ldld$DL_LINK"
40900
40901 fi
40902
40903
40904 fi
40905 done
40906
40907
40908 fi
40909
40910
40911 fi
40912 done
40913
40914
40915 if test "$HAVE_DL_FUNCS" = 1; then
40916
40917 for ac_func in dlerror
40918 do
40919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40920 echo "$as_me:$LINENO: checking for $ac_func" >&5
40921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40922 if eval "test \"\${$as_ac_var+set}\" = set"; then
40923 echo $ECHO_N "(cached) $ECHO_C" >&6
40924 else
40925 cat >conftest.$ac_ext <<_ACEOF
40926 /* confdefs.h. */
40927 _ACEOF
40928 cat confdefs.h >>conftest.$ac_ext
40929 cat >>conftest.$ac_ext <<_ACEOF
40930 /* end confdefs.h. */
40931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40933 #define $ac_func innocuous_$ac_func
40934
40935 /* System header to define __stub macros and hopefully few prototypes,
40936 which can conflict with char $ac_func (); below.
40937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40938 <limits.h> exists even on freestanding compilers. */
40939
40940 #ifdef __STDC__
40941 # include <limits.h>
40942 #else
40943 # include <assert.h>
40944 #endif
40945
40946 #undef $ac_func
40947
40948 /* Override any gcc2 internal prototype to avoid an error. */
40949 #ifdef __cplusplus
40950 extern "C"
40951 {
40952 #endif
40953 /* We use char because int might match the return type of a gcc2
40954 builtin and then its argument prototype would still apply. */
40955 char $ac_func ();
40956 /* The GNU C library defines this for functions which it implements
40957 to always fail with ENOSYS. Some functions are actually named
40958 something starting with __ and the normal name is an alias. */
40959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40960 choke me
40961 #else
40962 char (*f) () = $ac_func;
40963 #endif
40964 #ifdef __cplusplus
40965 }
40966 #endif
40967
40968 int
40969 main ()
40970 {
40971 return f != $ac_func;
40972 ;
40973 return 0;
40974 }
40975 _ACEOF
40976 rm -f conftest.$ac_objext conftest$ac_exeext
40977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40978 (eval $ac_link) 2>conftest.er1
40979 ac_status=$?
40980 grep -v '^ *+' conftest.er1 >conftest.err
40981 rm -f conftest.er1
40982 cat conftest.err >&5
40983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40984 (exit $ac_status); } &&
40985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40987 (eval $ac_try) 2>&5
40988 ac_status=$?
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); }; } &&
40991 { ac_try='test -s conftest$ac_exeext'
40992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40993 (eval $ac_try) 2>&5
40994 ac_status=$?
40995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); }; }; then
40997 eval "$as_ac_var=yes"
40998 else
40999 echo "$as_me: failed program was:" >&5
41000 sed 's/^/| /' conftest.$ac_ext >&5
41001
41002 eval "$as_ac_var=no"
41003 fi
41004 rm -f conftest.err conftest.$ac_objext \
41005 conftest$ac_exeext conftest.$ac_ext
41006 fi
41007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41009 if test `eval echo '${'$as_ac_var'}'` = yes; then
41010 cat >>confdefs.h <<_ACEOF
41011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41012 _ACEOF
41013 cat >>confdefs.h <<\_ACEOF
41014 #define HAVE_DLERROR 1
41015 _ACEOF
41016
41017 else
41018
41019 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41020 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41021 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41022 echo $ECHO_N "(cached) $ECHO_C" >&6
41023 else
41024 ac_check_lib_save_LIBS=$LIBS
41025 LIBS="-ldl $LIBS"
41026 cat >conftest.$ac_ext <<_ACEOF
41027 /* confdefs.h. */
41028 _ACEOF
41029 cat confdefs.h >>conftest.$ac_ext
41030 cat >>conftest.$ac_ext <<_ACEOF
41031 /* end confdefs.h. */
41032
41033 /* Override any gcc2 internal prototype to avoid an error. */
41034 #ifdef __cplusplus
41035 extern "C"
41036 #endif
41037 /* We use char because int might match the return type of a gcc2
41038 builtin and then its argument prototype would still apply. */
41039 char dlerror ();
41040 int
41041 main ()
41042 {
41043 dlerror ();
41044 ;
41045 return 0;
41046 }
41047 _ACEOF
41048 rm -f conftest.$ac_objext conftest$ac_exeext
41049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41050 (eval $ac_link) 2>conftest.er1
41051 ac_status=$?
41052 grep -v '^ *+' conftest.er1 >conftest.err
41053 rm -f conftest.er1
41054 cat conftest.err >&5
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); } &&
41057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; } &&
41063 { ac_try='test -s conftest$ac_exeext'
41064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41065 (eval $ac_try) 2>&5
41066 ac_status=$?
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); }; }; then
41069 ac_cv_lib_dl_dlerror=yes
41070 else
41071 echo "$as_me: failed program was:" >&5
41072 sed 's/^/| /' conftest.$ac_ext >&5
41073
41074 ac_cv_lib_dl_dlerror=no
41075 fi
41076 rm -f conftest.err conftest.$ac_objext \
41077 conftest$ac_exeext conftest.$ac_ext
41078 LIBS=$ac_check_lib_save_LIBS
41079 fi
41080 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41081 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41082 if test $ac_cv_lib_dl_dlerror = yes; then
41083 cat >>confdefs.h <<\_ACEOF
41084 #define HAVE_DLERROR 1
41085 _ACEOF
41086
41087 fi
41088
41089
41090
41091 fi
41092 done
41093
41094 fi
41095 fi
41096
41097 if test "$HAVE_DL_FUNCS" = 0; then
41098 if test "$HAVE_SHL_FUNCS" = 0; then
41099 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41100 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41101 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41102 wxUSE_DYNAMIC_LOADER=no
41103 wxUSE_DYNLIB_CLASS=no
41104 else
41105 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41106 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41107 fi
41108 fi
41109 fi
41110 fi
41111 fi
41112
41113 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41114 cat >>confdefs.h <<\_ACEOF
41115 #define wxUSE_DYNAMIC_LOADER 1
41116 _ACEOF
41117
41118 fi
41119 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41120 cat >>confdefs.h <<\_ACEOF
41121 #define wxUSE_DYNLIB_CLASS 1
41122 _ACEOF
41123
41124 fi
41125
41126
41127
41128 if test "$wxUSE_PLUGINS" = "yes" ; then
41129 if test "$wxUSE_SHARED" = "no" ; then
41130 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41131 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41132 wxUSE_PLUGINS=no
41133 fi
41134 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41135 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41136 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41137 wxUSE_PLUGINS=no
41138 fi
41139 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41140 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41141 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41142 wxUSE_PLUGINS=no
41143 fi
41144 if test "$wxUSE_PLUGINS" = "yes" ; then
41145 cat >>confdefs.h <<\_ACEOF
41146 #define wxUSE_PLUGINS 1
41147 _ACEOF
41148
41149 fi
41150 fi
41151
41152
41153 if test "$wxUSE_STL" = "yes"; then
41154 cat >>confdefs.h <<\_ACEOF
41155 #define wxUSE_STL 1
41156 _ACEOF
41157
41158 fi
41159
41160 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41161 cat >>confdefs.h <<\_ACEOF
41162 #define wxUSE_APPLE_IEEE 1
41163 _ACEOF
41164
41165 fi
41166
41167 if test "$wxUSE_TIMER" = "yes"; then
41168 cat >>confdefs.h <<\_ACEOF
41169 #define wxUSE_TIMER 1
41170 _ACEOF
41171
41172 fi
41173
41174 if test "$USE_UNIX" = "1" ; then
41175 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41176 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41177 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41178 echo $ECHO_N "(cached) $ECHO_C" >&6
41179 else
41180
41181 cat >conftest.$ac_ext <<_ACEOF
41182 /* confdefs.h. */
41183 _ACEOF
41184 cat confdefs.h >>conftest.$ac_ext
41185 cat >>conftest.$ac_ext <<_ACEOF
41186 /* end confdefs.h. */
41187
41188 #include <sys/ioctl.h>
41189 #include <sys/soundcard.h>
41190
41191 int
41192 main ()
41193 {
41194
41195 ioctl(0, SNDCTL_DSP_SPEED, 0);
41196
41197 ;
41198 return 0;
41199 }
41200 _ACEOF
41201 rm -f conftest.$ac_objext conftest$ac_exeext
41202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41203 (eval $ac_link) 2>conftest.er1
41204 ac_status=$?
41205 grep -v '^ *+' conftest.er1 >conftest.err
41206 rm -f conftest.er1
41207 cat conftest.err >&5
41208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41209 (exit $ac_status); } &&
41210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41212 (eval $ac_try) 2>&5
41213 ac_status=$?
41214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41215 (exit $ac_status); }; } &&
41216 { ac_try='test -s conftest$ac_exeext'
41217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41218 (eval $ac_try) 2>&5
41219 ac_status=$?
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); }; }; then
41222 ac_cv_header_sys_soundcard=yes
41223 else
41224 echo "$as_me: failed program was:" >&5
41225 sed 's/^/| /' conftest.$ac_ext >&5
41226
41227
41228 saveLibs="$LIBS"
41229 LIBS="$saveLibs -lossaudio"
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236
41237 #include <sys/ioctl.h>
41238 #include <sys/soundcard.h>
41239
41240 int
41241 main ()
41242 {
41243
41244 ioctl(0, SNDCTL_DSP_SPEED, 0);
41245
41246 ;
41247 return 0;
41248 }
41249 _ACEOF
41250 rm -f conftest.$ac_objext conftest$ac_exeext
41251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41252 (eval $ac_link) 2>conftest.er1
41253 ac_status=$?
41254 grep -v '^ *+' conftest.er1 >conftest.err
41255 rm -f conftest.er1
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } &&
41259 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41261 (eval $ac_try) 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; } &&
41265 { ac_try='test -s conftest$ac_exeext'
41266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41267 (eval $ac_try) 2>&5
41268 ac_status=$?
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); }; }; then
41271 ac_cv_header_sys_soundcard=yes
41272 else
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41275
41276
41277 LIBS="$saveLibs"
41278 ac_cv_header_sys_soundcard=no
41279
41280
41281 fi
41282 rm -f conftest.err conftest.$ac_objext \
41283 conftest$ac_exeext conftest.$ac_ext
41284
41285
41286 fi
41287 rm -f conftest.err conftest.$ac_objext \
41288 conftest$ac_exeext conftest.$ac_ext
41289
41290 fi
41291 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41292 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41293
41294 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41295 cat >>confdefs.h <<\_ACEOF
41296 #define HAVE_SYS_SOUNDCARD_H 1
41297 _ACEOF
41298
41299 else
41300 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41301 fi
41302 fi
41303 WITH_PLUGIN_SDL=0
41304 if test "$wxUSE_SOUND" = "yes"; then
41305 if test "$USE_UNIX" = "1" ; then
41306 if test "$wxUSE_LIBSDL" != "no"; then
41307
41308 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41309 if test "${with_sdl_prefix+set}" = set; then
41310 withval="$with_sdl_prefix"
41311 sdl_prefix="$withval"
41312 else
41313 sdl_prefix=""
41314 fi;
41315
41316 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41317 if test "${with_sdl_exec_prefix+set}" = set; then
41318 withval="$with_sdl_exec_prefix"
41319 sdl_exec_prefix="$withval"
41320 else
41321 sdl_exec_prefix=""
41322 fi;
41323 # Check whether --enable-sdltest or --disable-sdltest was given.
41324 if test "${enable_sdltest+set}" = set; then
41325 enableval="$enable_sdltest"
41326
41327 else
41328 enable_sdltest=yes
41329 fi;
41330
41331 if test x$sdl_exec_prefix != x ; then
41332 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41333 if test x${SDL_CONFIG+set} != xset ; then
41334 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41335 fi
41336 fi
41337 if test x$sdl_prefix != x ; then
41338 sdl_args="$sdl_args --prefix=$sdl_prefix"
41339 if test x${SDL_CONFIG+set} != xset ; then
41340 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41341 fi
41342 fi
41343
41344 if test "x$prefix" != xNONE; then
41345 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41346 fi
41347 # Extract the first word of "sdl-config", so it can be a program name with args.
41348 set dummy sdl-config; ac_word=$2
41349 echo "$as_me:$LINENO: checking for $ac_word" >&5
41350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41351 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41353 else
41354 case $SDL_CONFIG in
41355 [\\/]* | ?:[\\/]*)
41356 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41357 ;;
41358 *)
41359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41360 for as_dir in $PATH
41361 do
41362 IFS=$as_save_IFS
41363 test -z "$as_dir" && as_dir=.
41364 for ac_exec_ext in '' $ac_executable_extensions; do
41365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41366 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41368 break 2
41369 fi
41370 done
41371 done
41372
41373 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41374 ;;
41375 esac
41376 fi
41377 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41378
41379 if test -n "$SDL_CONFIG"; then
41380 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41381 echo "${ECHO_T}$SDL_CONFIG" >&6
41382 else
41383 echo "$as_me:$LINENO: result: no" >&5
41384 echo "${ECHO_T}no" >&6
41385 fi
41386
41387 min_sdl_version=1.2.0
41388 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41389 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41390 no_sdl=""
41391 if test "$SDL_CONFIG" = "no" ; then
41392 no_sdl=yes
41393 else
41394 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41395 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41396
41397 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41399 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41401 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41403 if test "x$enable_sdltest" = "xyes" ; then
41404 ac_save_CFLAGS="$CFLAGS"
41405 ac_save_CXXFLAGS="$CXXFLAGS"
41406 ac_save_LIBS="$LIBS"
41407 CFLAGS="$CFLAGS $SDL_CFLAGS"
41408 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41409 LIBS="$LIBS $SDL_LIBS"
41410 rm -f conf.sdltest
41411 if test "$cross_compiling" = yes; then
41412 echo $ac_n "cross compiling; assumed OK... $ac_c"
41413 else
41414 cat >conftest.$ac_ext <<_ACEOF
41415 /* confdefs.h. */
41416 _ACEOF
41417 cat confdefs.h >>conftest.$ac_ext
41418 cat >>conftest.$ac_ext <<_ACEOF
41419 /* end confdefs.h. */
41420
41421 #include <stdio.h>
41422 #include <stdlib.h>
41423 #include <string.h>
41424 #include "SDL.h"
41425
41426 char*
41427 my_strdup (char *str)
41428 {
41429 char *new_str;
41430
41431 if (str)
41432 {
41433 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41434 strcpy (new_str, str);
41435 }
41436 else
41437 new_str = NULL;
41438
41439 return new_str;
41440 }
41441
41442 int main (int argc, char *argv[])
41443 {
41444 int major, minor, micro;
41445 char *tmp_version;
41446
41447 /* This hangs on some systems (?)
41448 system ("touch conf.sdltest");
41449 */
41450 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41451
41452 /* HP/UX 9 (%@#!) writes to sscanf strings */
41453 tmp_version = my_strdup("$min_sdl_version");
41454 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41455 printf("%s, bad version string\n", "$min_sdl_version");
41456 exit(1);
41457 }
41458
41459 if (($sdl_major_version > major) ||
41460 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41461 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41462 {
41463 return 0;
41464 }
41465 else
41466 {
41467 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41468 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41469 printf("*** best to upgrade to the required version.\n");
41470 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41471 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41472 printf("*** config.cache before re-running configure\n");
41473 return 1;
41474 }
41475 }
41476
41477
41478 _ACEOF
41479 rm -f conftest$ac_exeext
41480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41481 (eval $ac_link) 2>&5
41482 ac_status=$?
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41486 (eval $ac_try) 2>&5
41487 ac_status=$?
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); }; }; then
41490 :
41491 else
41492 echo "$as_me: program exited with status $ac_status" >&5
41493 echo "$as_me: failed program was:" >&5
41494 sed 's/^/| /' conftest.$ac_ext >&5
41495
41496 ( exit $ac_status )
41497 no_sdl=yes
41498 fi
41499 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41500 fi
41501 CFLAGS="$ac_save_CFLAGS"
41502 CXXFLAGS="$ac_save_CXXFLAGS"
41503 LIBS="$ac_save_LIBS"
41504 fi
41505 fi
41506 if test "x$no_sdl" = x ; then
41507 echo "$as_me:$LINENO: result: yes" >&5
41508 echo "${ECHO_T}yes" >&6
41509
41510 EXTRALIBS_SDL="$SDL_LIBS"
41511 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41512 cat >>confdefs.h <<\_ACEOF
41513 #define wxUSE_LIBSDL 1
41514 _ACEOF
41515
41516
41517 else
41518 echo "$as_me:$LINENO: result: no" >&5
41519 echo "${ECHO_T}no" >&6
41520 if test "$SDL_CONFIG" = "no" ; then
41521 echo "*** The sdl-config script installed by SDL could not be found"
41522 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41523 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41524 echo "*** full path to sdl-config."
41525 else
41526 if test -f conf.sdltest ; then
41527 :
41528 else
41529 echo "*** Could not run SDL test program, checking why..."
41530 CFLAGS="$CFLAGS $SDL_CFLAGS"
41531 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41532 LIBS="$LIBS $SDL_LIBS"
41533 cat >conftest.$ac_ext <<_ACEOF
41534 /* confdefs.h. */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h. */
41539
41540 #include <stdio.h>
41541 #include "SDL.h"
41542
41543 int main(int argc, char *argv[])
41544 { return 0; }
41545 #undef main
41546 #define main K_and_R_C_main
41547
41548 int
41549 main ()
41550 {
41551 return 0;
41552 ;
41553 return 0;
41554 }
41555 _ACEOF
41556 rm -f conftest.$ac_objext conftest$ac_exeext
41557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41558 (eval $ac_link) 2>conftest.er1
41559 ac_status=$?
41560 grep -v '^ *+' conftest.er1 >conftest.err
41561 rm -f conftest.er1
41562 cat conftest.err >&5
41563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41564 (exit $ac_status); } &&
41565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41567 (eval $ac_try) 2>&5
41568 ac_status=$?
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); }; } &&
41571 { ac_try='test -s conftest$ac_exeext'
41572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41573 (eval $ac_try) 2>&5
41574 ac_status=$?
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); }; }; then
41577 echo "*** The test program compiled, but did not run. This usually means"
41578 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41579 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41582 echo "*** is required on your system"
41583 echo "***"
41584 echo "*** If you have an old version installed, it is best to remove it, although"
41585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41586 else
41587 echo "$as_me: failed program was:" >&5
41588 sed 's/^/| /' conftest.$ac_ext >&5
41589
41590 echo "*** The test program failed to compile or link. See the file config.log for the"
41591 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41592 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41593 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41594 fi
41595 rm -f conftest.err conftest.$ac_objext \
41596 conftest$ac_exeext conftest.$ac_ext
41597 CFLAGS="$ac_save_CFLAGS"
41598 CXXFLAGS="$ac_save_CXXFLAGS"
41599 LIBS="$ac_save_LIBS"
41600 fi
41601 fi
41602 SDL_CFLAGS=""
41603 SDL_LIBS=""
41604 wxUSE_LIBSDL="no"
41605 fi
41606
41607
41608 rm -f conf.sdltest
41609
41610 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41611 WITH_PLUGIN_SDL=1
41612 fi
41613 fi
41614 fi
41615
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxUSE_SOUND 1
41618 _ACEOF
41619
41620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41621 fi
41622
41623 if test "$WXGTK20" = 1; then
41624 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41625 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41626
41627
41628 pkg_failed=no
41629 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41630 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41631
41632 if test -n "$PKG_CONFIG"; then
41633 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41634 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41635 else
41636 if test -n "$PKG_CONFIG" && \
41637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41638 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41639 ac_status=$?
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); }; then
41642 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41643 else
41644 pkg_failed=yes
41645 fi
41646 fi
41647 else
41648 pkg_failed=untried
41649 fi
41650 if test -n "$PKG_CONFIG"; then
41651 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41652 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41653 else
41654 if test -n "$PKG_CONFIG" && \
41655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41656 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41657 ac_status=$?
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; then
41660 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41661 else
41662 pkg_failed=yes
41663 fi
41664 fi
41665 else
41666 pkg_failed=untried
41667 fi
41668
41669
41670
41671 if test $pkg_failed = yes; then
41672
41673 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41674 _pkg_short_errors_supported=yes
41675 else
41676 _pkg_short_errors_supported=no
41677 fi
41678 if test $_pkg_short_errors_supported = yes; then
41679 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41680 else
41681 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41682 fi
41683 # Put the nasty error message in config.log where it belongs
41684 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41685
41686
41687 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41688 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41689 wxUSE_LIBGNOMEPRINT="no"
41690
41691
41692 elif test $pkg_failed = untried; then
41693
41694 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41695 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41696 wxUSE_LIBGNOMEPRINT="no"
41697
41698
41699 else
41700 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41701 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41702 echo "$as_me:$LINENO: result: yes" >&5
41703 echo "${ECHO_T}yes" >&6
41704
41705 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41706 cat >>confdefs.h <<\_ACEOF
41707 #define wxUSE_LIBGNOMEPRINT 1
41708 _ACEOF
41709
41710
41711 fi
41712 fi
41713 fi
41714 fi
41715
41716 if test "$WXGTK20" = 1; then
41717 if test "$wxUSE_MIMETYPE" = "yes" ; then
41718 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41719
41720
41721 pkg_failed=no
41722 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41723 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41724
41725 if test -n "$PKG_CONFIG"; then
41726 if test -n "$GNOMEVFS_CFLAGS"; then
41727 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41728 else
41729 if test -n "$PKG_CONFIG" && \
41730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41731 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41732 ac_status=$?
41733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734 (exit $ac_status); }; then
41735 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41736 else
41737 pkg_failed=yes
41738 fi
41739 fi
41740 else
41741 pkg_failed=untried
41742 fi
41743 if test -n "$PKG_CONFIG"; then
41744 if test -n "$GNOMEVFS_LIBS"; then
41745 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41746 else
41747 if test -n "$PKG_CONFIG" && \
41748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41749 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41750 ac_status=$?
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); }; then
41753 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41754 else
41755 pkg_failed=yes
41756 fi
41757 fi
41758 else
41759 pkg_failed=untried
41760 fi
41761
41762
41763
41764 if test $pkg_failed = yes; then
41765
41766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41767 _pkg_short_errors_supported=yes
41768 else
41769 _pkg_short_errors_supported=no
41770 fi
41771 if test $_pkg_short_errors_supported = yes; then
41772 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41773 else
41774 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41775 fi
41776 # Put the nasty error message in config.log where it belongs
41777 echo "$GNOMEVFS_PKG_ERRORS" >&5
41778
41779
41780 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41781 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41782 wxUSE_LIBGNOMEVFS="no"
41783
41784
41785 elif test $pkg_failed = untried; then
41786
41787 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41788 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41789 wxUSE_LIBGNOMEVFS="no"
41790
41791
41792 else
41793 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41794 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41795 echo "$as_me:$LINENO: result: yes" >&5
41796 echo "${ECHO_T}yes" >&6
41797
41798 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41799 cat >>confdefs.h <<\_ACEOF
41800 #define wxUSE_LIBGNOMEVFS 1
41801 _ACEOF
41802
41803
41804 fi
41805 fi
41806 fi
41807 fi
41808
41809 if test "$WXGTK20" = 1; then
41810 if test "$wxUSE_LIBHILDON" = "yes" ; then
41811
41812 pkg_failed=no
41813 echo "$as_me:$LINENO: checking for HILDON" >&5
41814 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41815
41816 if test -n "$PKG_CONFIG"; then
41817 if test -n "$HILDON_CFLAGS"; then
41818 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41819 else
41820 if test -n "$PKG_CONFIG" && \
41821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41822 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41823 ac_status=$?
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); }; then
41826 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41827 else
41828 pkg_failed=yes
41829 fi
41830 fi
41831 else
41832 pkg_failed=untried
41833 fi
41834 if test -n "$PKG_CONFIG"; then
41835 if test -n "$HILDON_LIBS"; then
41836 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41837 else
41838 if test -n "$PKG_CONFIG" && \
41839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41840 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41841 ac_status=$?
41842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41843 (exit $ac_status); }; then
41844 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41845 else
41846 pkg_failed=yes
41847 fi
41848 fi
41849 else
41850 pkg_failed=untried
41851 fi
41852
41853
41854
41855 if test $pkg_failed = yes; then
41856
41857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41858 _pkg_short_errors_supported=yes
41859 else
41860 _pkg_short_errors_supported=no
41861 fi
41862 if test $_pkg_short_errors_supported = yes; then
41863 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41864 else
41865 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41866 fi
41867 # Put the nasty error message in config.log where it belongs
41868 echo "$HILDON_PKG_ERRORS" >&5
41869
41870
41871 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41872 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41873 wxUSE_LIBHILDON="no"
41874
41875
41876 elif test $pkg_failed = untried; then
41877
41878 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41879 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41880 wxUSE_LIBHILDON="no"
41881
41882
41883 else
41884 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41885 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41886 echo "$as_me:$LINENO: result: yes" >&5
41887 echo "${ECHO_T}yes" >&6
41888
41889 EXTRALIBS_HILDON="$HILDON_LIBS"
41890 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41891 cat >>confdefs.h <<\_ACEOF
41892 #define wxUSE_LIBHILDON 1
41893 _ACEOF
41894
41895
41896 fi
41897 fi
41898 fi
41899
41900 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41901 cat >>confdefs.h <<\_ACEOF
41902 #define wxUSE_CMDLINE_PARSER 1
41903 _ACEOF
41904
41905 fi
41906
41907 if test "$wxUSE_STOPWATCH" = "yes"; then
41908 cat >>confdefs.h <<\_ACEOF
41909 #define wxUSE_STOPWATCH 1
41910 _ACEOF
41911
41912 fi
41913
41914 if test "$wxUSE_DATETIME" = "yes"; then
41915 cat >>confdefs.h <<\_ACEOF
41916 #define wxUSE_DATETIME 1
41917 _ACEOF
41918
41919 fi
41920
41921 if test "$wxUSE_FILE" = "yes"; then
41922 cat >>confdefs.h <<\_ACEOF
41923 #define wxUSE_FILE 1
41924 _ACEOF
41925
41926 fi
41927
41928 if test "$wxUSE_FFILE" = "yes"; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define wxUSE_FFILE 1
41931 _ACEOF
41932
41933 fi
41934
41935 if test "$wxUSE_FILESYSTEM" = "yes"; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_FILESYSTEM 1
41938 _ACEOF
41939
41940 fi
41941
41942 if test "$wxUSE_FS_ZIP" = "yes"; then
41943 cat >>confdefs.h <<\_ACEOF
41944 #define wxUSE_FS_ZIP 1
41945 _ACEOF
41946
41947 fi
41948
41949 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41950 cat >>confdefs.h <<\_ACEOF
41951 #define wxUSE_ARCHIVE_STREAMS 1
41952 _ACEOF
41953
41954 fi
41955
41956 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41957 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41958 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41959 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41960 elif test "$wxUSE_ZLIB" = "no"; then
41961 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41962 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41963 else
41964 cat >>confdefs.h <<\_ACEOF
41965 #define wxUSE_ZIPSTREAM 1
41966 _ACEOF
41967
41968 fi
41969 fi
41970
41971 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41972 if test "$USE_UNIX" != 1; then
41973 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41974 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41975 wxUSE_ON_FATAL_EXCEPTION=no
41976 else
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_ON_FATAL_EXCEPTION 1
41979 _ACEOF
41980
41981 fi
41982 fi
41983
41984 if test "$wxUSE_STACKWALKER" = "yes"; then
41985 cat >>confdefs.h <<\_ACEOF
41986 #define wxUSE_STACKWALKER 1
41987 _ACEOF
41988
41989 fi
41990
41991 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41992 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41993 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41994 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41995 wxUSE_DEBUGREPORT=no
41996 else
41997 cat >>confdefs.h <<\_ACEOF
41998 #define wxUSE_DEBUGREPORT 1
41999 _ACEOF
42000
42001 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42003 fi
42004 fi
42005 fi
42006
42007 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42008 cat >>confdefs.h <<\_ACEOF
42009 #define wxUSE_SNGLINST_CHECKER 1
42010 _ACEOF
42011
42012 fi
42013
42014 if test "$wxUSE_BUSYINFO" = "yes"; then
42015 cat >>confdefs.h <<\_ACEOF
42016 #define wxUSE_BUSYINFO 1
42017 _ACEOF
42018
42019 fi
42020
42021 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42022 cat >>confdefs.h <<\_ACEOF
42023 #define wxUSE_STD_IOSTREAM 1
42024 _ACEOF
42025
42026 fi
42027
42028 if test "$wxUSE_STD_STRING" = "yes"; then
42029 cat >>confdefs.h <<\_ACEOF
42030 #define wxUSE_STD_STRING 1
42031 _ACEOF
42032
42033 fi
42034
42035 if test "$wxUSE_STDPATHS" = "yes"; then
42036 cat >>confdefs.h <<\_ACEOF
42037 #define wxUSE_STDPATHS 1
42038 _ACEOF
42039
42040 fi
42041
42042 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42043 cat >>confdefs.h <<\_ACEOF
42044 #define wxUSE_TEXTBUFFER 1
42045 _ACEOF
42046
42047 fi
42048
42049 if test "$wxUSE_TEXTFILE" = "yes"; then
42050 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42051 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42052 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42053 else
42054 cat >>confdefs.h <<\_ACEOF
42055 #define wxUSE_TEXTFILE 1
42056 _ACEOF
42057
42058 fi
42059 fi
42060
42061 if test "$wxUSE_CONFIG" = "yes" ; then
42062 if test "$wxUSE_TEXTFILE" != "yes"; then
42063 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42064 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42065 else
42066 cat >>confdefs.h <<\_ACEOF
42067 #define wxUSE_CONFIG 1
42068 _ACEOF
42069
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_CONFIG_NATIVE 1
42072 _ACEOF
42073
42074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42075 fi
42076 fi
42077
42078 if test "$wxUSE_INTL" = "yes" ; then
42079 if test "$wxUSE_FILE" != "yes"; then
42080 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42081 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42082 else
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_INTL 1
42085 _ACEOF
42086
42087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42088 GUIDIST="$GUIDIST INTL_DIST"
42089 fi
42090 fi
42091
42092 if test "$wxUSE_LOG" = "yes"; then
42093 cat >>confdefs.h <<\_ACEOF
42094 #define wxUSE_LOG 1
42095 _ACEOF
42096
42097
42098 if test "$wxUSE_LOGGUI" = "yes"; then
42099 cat >>confdefs.h <<\_ACEOF
42100 #define wxUSE_LOGGUI 1
42101 _ACEOF
42102
42103 fi
42104
42105 if test "$wxUSE_LOGWINDOW" = "yes"; then
42106 cat >>confdefs.h <<\_ACEOF
42107 #define wxUSE_LOGWINDOW 1
42108 _ACEOF
42109
42110 fi
42111
42112 if test "$wxUSE_LOGDIALOG" = "yes"; then
42113 cat >>confdefs.h <<\_ACEOF
42114 #define wxUSE_LOG_DIALOG 1
42115 _ACEOF
42116
42117 fi
42118
42119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42120 fi
42121
42122 if test "$wxUSE_LONGLONG" = "yes"; then
42123 cat >>confdefs.h <<\_ACEOF
42124 #define wxUSE_LONGLONG 1
42125 _ACEOF
42126
42127 fi
42128
42129 if test "$wxUSE_GEOMETRY" = "yes"; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define wxUSE_GEOMETRY 1
42132 _ACEOF
42133
42134 fi
42135
42136 if test "$wxUSE_STREAMS" = "yes" ; then
42137 cat >>confdefs.h <<\_ACEOF
42138 #define wxUSE_STREAMS 1
42139 _ACEOF
42140
42141 fi
42142
42143 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_PRINTF_POS_PARAMS 1
42146 _ACEOF
42147
42148 fi
42149
42150
42151
42152 if test "$wxUSE_DATETIME" = "yes"; then
42153
42154 for ac_func in strptime
42155 do
42156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42157 echo "$as_me:$LINENO: checking for $ac_func" >&5
42158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42159 if eval "test \"\${$as_ac_var+set}\" = set"; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162 cat >conftest.$ac_ext <<_ACEOF
42163 /* confdefs.h. */
42164 _ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42170 #define $ac_func innocuous_$ac_func
42171
42172 /* System header to define __stub macros and hopefully few prototypes,
42173 which can conflict with char $ac_func (); below.
42174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42175 <limits.h> exists even on freestanding compilers. */
42176
42177 #ifdef __STDC__
42178 # include <limits.h>
42179 #else
42180 # include <assert.h>
42181 #endif
42182
42183 #undef $ac_func
42184
42185 /* Override any gcc2 internal prototype to avoid an error. */
42186 #ifdef __cplusplus
42187 extern "C"
42188 {
42189 #endif
42190 /* We use char because int might match the return type of a gcc2
42191 builtin and then its argument prototype would still apply. */
42192 char $ac_func ();
42193 /* The GNU C library defines this for functions which it implements
42194 to always fail with ENOSYS. Some functions are actually named
42195 something starting with __ and the normal name is an alias. */
42196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42197 choke me
42198 #else
42199 char (*f) () = $ac_func;
42200 #endif
42201 #ifdef __cplusplus
42202 }
42203 #endif
42204
42205 int
42206 main ()
42207 {
42208 return f != $ac_func;
42209 ;
42210 return 0;
42211 }
42212 _ACEOF
42213 rm -f conftest.$ac_objext conftest$ac_exeext
42214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42215 (eval $ac_link) 2>conftest.er1
42216 ac_status=$?
42217 grep -v '^ *+' conftest.er1 >conftest.err
42218 rm -f conftest.er1
42219 cat conftest.err >&5
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); } &&
42222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224 (eval $ac_try) 2>&5
42225 ac_status=$?
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); }; } &&
42228 { ac_try='test -s conftest$ac_exeext'
42229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42230 (eval $ac_try) 2>&5
42231 ac_status=$?
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); }; }; then
42234 eval "$as_ac_var=yes"
42235 else
42236 echo "$as_me: failed program was:" >&5
42237 sed 's/^/| /' conftest.$ac_ext >&5
42238
42239 eval "$as_ac_var=no"
42240 fi
42241 rm -f conftest.err conftest.$ac_objext \
42242 conftest$ac_exeext conftest.$ac_ext
42243 fi
42244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42246 if test `eval echo '${'$as_ac_var'}'` = yes; then
42247 cat >>confdefs.h <<_ACEOF
42248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42249 _ACEOF
42250
42251 fi
42252 done
42253
42254 if test "$ac_cv_func_strptime" = "yes"; then
42255 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42256 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42257 if test "${wx_cv_func_strptime_decl+set}" = set; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42259 else
42260
42261 cat >conftest.$ac_ext <<_ACEOF
42262 /* confdefs.h. */
42263 _ACEOF
42264 cat confdefs.h >>conftest.$ac_ext
42265 cat >>conftest.$ac_ext <<_ACEOF
42266 /* end confdefs.h. */
42267
42268 #include <time.h>
42269
42270 int
42271 main ()
42272 {
42273
42274 struct tm t;
42275 strptime("foo", "bar", &t);
42276
42277 ;
42278 return 0;
42279 }
42280 _ACEOF
42281 rm -f conftest.$ac_objext
42282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42283 (eval $ac_compile) 2>conftest.er1
42284 ac_status=$?
42285 grep -v '^ *+' conftest.er1 >conftest.err
42286 rm -f conftest.er1
42287 cat conftest.err >&5
42288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42289 (exit $ac_status); } &&
42290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42292 (eval $ac_try) 2>&5
42293 ac_status=$?
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; } &&
42296 { ac_try='test -s conftest.$ac_objext'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; }; then
42302 wx_cv_func_strptime_decl=yes
42303 else
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42306
42307 wx_cv_func_strptime_decl=no
42308
42309 fi
42310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42311
42312
42313 fi
42314 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42315 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42316 fi
42317 if test "$wx_cv_func_strptime_decl" = "yes"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define HAVE_STRPTIME_DECL 1
42320 _ACEOF
42321
42322 fi
42323
42324 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42325 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42326 if test "${wx_cv_var_timezone+set}" = set; then
42327 echo $ECHO_N "(cached) $ECHO_C" >&6
42328 else
42329
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h. */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336
42337 #include <time.h>
42338
42339 int
42340 main ()
42341 {
42342
42343 int tz;
42344 tz = timezone;
42345
42346 ;
42347 return 0;
42348 }
42349 _ACEOF
42350 rm -f conftest.$ac_objext
42351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42352 (eval $ac_compile) 2>conftest.er1
42353 ac_status=$?
42354 grep -v '^ *+' conftest.er1 >conftest.err
42355 rm -f conftest.er1
42356 cat conftest.err >&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); } &&
42359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42361 (eval $ac_try) 2>&5
42362 ac_status=$?
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); }; } &&
42365 { ac_try='test -s conftest.$ac_objext'
42366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42367 (eval $ac_try) 2>&5
42368 ac_status=$?
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); }; }; then
42371
42372 wx_cv_var_timezone=timezone
42373
42374 else
42375 echo "$as_me: failed program was:" >&5
42376 sed 's/^/| /' conftest.$ac_ext >&5
42377
42378
42379 cat >conftest.$ac_ext <<_ACEOF
42380 /* confdefs.h. */
42381 _ACEOF
42382 cat confdefs.h >>conftest.$ac_ext
42383 cat >>conftest.$ac_ext <<_ACEOF
42384 /* end confdefs.h. */
42385
42386 #include <time.h>
42387
42388 int
42389 main ()
42390 {
42391
42392 int tz;
42393 tz = _timezone;
42394
42395 ;
42396 return 0;
42397 }
42398 _ACEOF
42399 rm -f conftest.$ac_objext
42400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42401 (eval $ac_compile) 2>conftest.er1
42402 ac_status=$?
42403 grep -v '^ *+' conftest.er1 >conftest.err
42404 rm -f conftest.er1
42405 cat conftest.err >&5
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); } &&
42408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42410 (eval $ac_try) 2>&5
42411 ac_status=$?
42412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42413 (exit $ac_status); }; } &&
42414 { ac_try='test -s conftest.$ac_objext'
42415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42416 (eval $ac_try) 2>&5
42417 ac_status=$?
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); }; }; then
42420
42421 wx_cv_var_timezone=_timezone
42422
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427
42428 cat >conftest.$ac_ext <<_ACEOF
42429 /* confdefs.h. */
42430 _ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434
42435 #include <time.h>
42436
42437 int
42438 main ()
42439 {
42440
42441 int tz;
42442 tz = __timezone;
42443
42444 ;
42445 return 0;
42446 }
42447 _ACEOF
42448 rm -f conftest.$ac_objext
42449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42450 (eval $ac_compile) 2>conftest.er1
42451 ac_status=$?
42452 grep -v '^ *+' conftest.er1 >conftest.err
42453 rm -f conftest.er1
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } &&
42457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459 (eval $ac_try) 2>&5
42460 ac_status=$?
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); }; } &&
42463 { ac_try='test -s conftest.$ac_objext'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42466 ac_status=$?
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; }; then
42469
42470 wx_cv_var_timezone=__timezone
42471
42472 else
42473 echo "$as_me: failed program was:" >&5
42474 sed 's/^/| /' conftest.$ac_ext >&5
42475
42476
42477 if test "$USE_DOS" = 0 ; then
42478 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42479 echo "$as_me: WARNING: no timezone variable" >&2;}
42480 fi
42481
42482
42483 fi
42484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42485
42486
42487 fi
42488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42489
42490
42491 fi
42492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42493
42494
42495 fi
42496 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42497 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42498
42499 if test "x$wx_cv_var_timezone" != x ; then
42500 cat >>confdefs.h <<_ACEOF
42501 #define WX_TIMEZONE $wx_cv_var_timezone
42502 _ACEOF
42503
42504 fi
42505
42506
42507 for ac_func in localtime
42508 do
42509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42510 echo "$as_me:$LINENO: checking for $ac_func" >&5
42511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42512 if eval "test \"\${$as_ac_var+set}\" = set"; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 else
42515 cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h. */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42523 #define $ac_func innocuous_$ac_func
42524
42525 /* System header to define __stub macros and hopefully few prototypes,
42526 which can conflict with char $ac_func (); below.
42527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42528 <limits.h> exists even on freestanding compilers. */
42529
42530 #ifdef __STDC__
42531 # include <limits.h>
42532 #else
42533 # include <assert.h>
42534 #endif
42535
42536 #undef $ac_func
42537
42538 /* Override any gcc2 internal prototype to avoid an error. */
42539 #ifdef __cplusplus
42540 extern "C"
42541 {
42542 #endif
42543 /* We use char because int might match the return type of a gcc2
42544 builtin and then its argument prototype would still apply. */
42545 char $ac_func ();
42546 /* The GNU C library defines this for functions which it implements
42547 to always fail with ENOSYS. Some functions are actually named
42548 something starting with __ and the normal name is an alias. */
42549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42550 choke me
42551 #else
42552 char (*f) () = $ac_func;
42553 #endif
42554 #ifdef __cplusplus
42555 }
42556 #endif
42557
42558 int
42559 main ()
42560 {
42561 return f != $ac_func;
42562 ;
42563 return 0;
42564 }
42565 _ACEOF
42566 rm -f conftest.$ac_objext conftest$ac_exeext
42567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42568 (eval $ac_link) 2>conftest.er1
42569 ac_status=$?
42570 grep -v '^ *+' conftest.er1 >conftest.err
42571 rm -f conftest.er1
42572 cat conftest.err >&5
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); } &&
42575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577 (eval $ac_try) 2>&5
42578 ac_status=$?
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; } &&
42581 { ac_try='test -s conftest$ac_exeext'
42582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42583 (eval $ac_try) 2>&5
42584 ac_status=$?
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); }; }; then
42587 eval "$as_ac_var=yes"
42588 else
42589 echo "$as_me: failed program was:" >&5
42590 sed 's/^/| /' conftest.$ac_ext >&5
42591
42592 eval "$as_ac_var=no"
42593 fi
42594 rm -f conftest.err conftest.$ac_objext \
42595 conftest$ac_exeext conftest.$ac_ext
42596 fi
42597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42599 if test `eval echo '${'$as_ac_var'}'` = yes; then
42600 cat >>confdefs.h <<_ACEOF
42601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42602 _ACEOF
42603
42604 fi
42605 done
42606
42607
42608 if test "$ac_cv_func_localtime" = "yes"; then
42609 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42610 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42611 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42613 else
42614
42615 cat >conftest.$ac_ext <<_ACEOF
42616 /* confdefs.h. */
42617 _ACEOF
42618 cat confdefs.h >>conftest.$ac_ext
42619 cat >>conftest.$ac_ext <<_ACEOF
42620 /* end confdefs.h. */
42621
42622 #include <time.h>
42623
42624 int
42625 main ()
42626 {
42627
42628 struct tm tm;
42629 tm.tm_gmtoff++;
42630
42631 ;
42632 return 0;
42633 }
42634 _ACEOF
42635 rm -f conftest.$ac_objext
42636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42637 (eval $ac_compile) 2>conftest.er1
42638 ac_status=$?
42639 grep -v '^ *+' conftest.er1 >conftest.err
42640 rm -f conftest.er1
42641 cat conftest.err >&5
42642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643 (exit $ac_status); } &&
42644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42646 (eval $ac_try) 2>&5
42647 ac_status=$?
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); }; } &&
42650 { ac_try='test -s conftest.$ac_objext'
42651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652 (eval $ac_try) 2>&5
42653 ac_status=$?
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); }; }; then
42656
42657 wx_cv_struct_tm_has_gmtoff=yes
42658
42659 else
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 wx_cv_struct_tm_has_gmtoff=no
42664
42665 fi
42666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42667
42668 fi
42669 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42670 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42671 fi
42672
42673 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define WX_GMTOFF_IN_TM 1
42676 _ACEOF
42677
42678 fi
42679
42680
42681
42682 for ac_func in gettimeofday ftime
42683 do
42684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42685 echo "$as_me:$LINENO: checking for $ac_func" >&5
42686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42687 if eval "test \"\${$as_ac_var+set}\" = set"; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42689 else
42690 cat >conftest.$ac_ext <<_ACEOF
42691 /* confdefs.h. */
42692 _ACEOF
42693 cat confdefs.h >>conftest.$ac_ext
42694 cat >>conftest.$ac_ext <<_ACEOF
42695 /* end confdefs.h. */
42696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42698 #define $ac_func innocuous_$ac_func
42699
42700 /* System header to define __stub macros and hopefully few prototypes,
42701 which can conflict with char $ac_func (); below.
42702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42703 <limits.h> exists even on freestanding compilers. */
42704
42705 #ifdef __STDC__
42706 # include <limits.h>
42707 #else
42708 # include <assert.h>
42709 #endif
42710
42711 #undef $ac_func
42712
42713 /* Override any gcc2 internal prototype to avoid an error. */
42714 #ifdef __cplusplus
42715 extern "C"
42716 {
42717 #endif
42718 /* We use char because int might match the return type of a gcc2
42719 builtin and then its argument prototype would still apply. */
42720 char $ac_func ();
42721 /* The GNU C library defines this for functions which it implements
42722 to always fail with ENOSYS. Some functions are actually named
42723 something starting with __ and the normal name is an alias. */
42724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42725 choke me
42726 #else
42727 char (*f) () = $ac_func;
42728 #endif
42729 #ifdef __cplusplus
42730 }
42731 #endif
42732
42733 int
42734 main ()
42735 {
42736 return f != $ac_func;
42737 ;
42738 return 0;
42739 }
42740 _ACEOF
42741 rm -f conftest.$ac_objext conftest$ac_exeext
42742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42743 (eval $ac_link) 2>conftest.er1
42744 ac_status=$?
42745 grep -v '^ *+' conftest.er1 >conftest.err
42746 rm -f conftest.er1
42747 cat conftest.err >&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); } &&
42750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42752 (eval $ac_try) 2>&5
42753 ac_status=$?
42754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42755 (exit $ac_status); }; } &&
42756 { ac_try='test -s conftest$ac_exeext'
42757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42758 (eval $ac_try) 2>&5
42759 ac_status=$?
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); }; }; then
42762 eval "$as_ac_var=yes"
42763 else
42764 echo "$as_me: failed program was:" >&5
42765 sed 's/^/| /' conftest.$ac_ext >&5
42766
42767 eval "$as_ac_var=no"
42768 fi
42769 rm -f conftest.err conftest.$ac_objext \
42770 conftest$ac_exeext conftest.$ac_ext
42771 fi
42772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42774 if test `eval echo '${'$as_ac_var'}'` = yes; then
42775 cat >>confdefs.h <<_ACEOF
42776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42777 _ACEOF
42778 break
42779 fi
42780 done
42781
42782
42783 if test "$ac_cv_func_gettimeofday" = "yes"; then
42784 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42785 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42786 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42787 echo $ECHO_N "(cached) $ECHO_C" >&6
42788 else
42789
42790 cat >conftest.$ac_ext <<_ACEOF
42791 /* confdefs.h. */
42792 _ACEOF
42793 cat confdefs.h >>conftest.$ac_ext
42794 cat >>conftest.$ac_ext <<_ACEOF
42795 /* end confdefs.h. */
42796
42797 #include <sys/time.h>
42798 #include <unistd.h>
42799
42800 int
42801 main ()
42802 {
42803
42804 struct timeval tv;
42805 gettimeofday(&tv, NULL);
42806
42807 ;
42808 return 0;
42809 }
42810 _ACEOF
42811 rm -f conftest.$ac_objext
42812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42813 (eval $ac_compile) 2>conftest.er1
42814 ac_status=$?
42815 grep -v '^ *+' conftest.er1 >conftest.err
42816 rm -f conftest.er1
42817 cat conftest.err >&5
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); } &&
42820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42822 (eval $ac_try) 2>&5
42823 ac_status=$?
42824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42825 (exit $ac_status); }; } &&
42826 { ac_try='test -s conftest.$ac_objext'
42827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42828 (eval $ac_try) 2>&5
42829 ac_status=$?
42830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); }; }; then
42832 wx_cv_func_gettimeofday_has_2_args=yes
42833 else
42834 echo "$as_me: failed program was:" >&5
42835 sed 's/^/| /' conftest.$ac_ext >&5
42836
42837 cat >conftest.$ac_ext <<_ACEOF
42838 /* confdefs.h. */
42839 _ACEOF
42840 cat confdefs.h >>conftest.$ac_ext
42841 cat >>conftest.$ac_ext <<_ACEOF
42842 /* end confdefs.h. */
42843
42844 #include <sys/time.h>
42845 #include <unistd.h>
42846
42847 int
42848 main ()
42849 {
42850
42851 struct timeval tv;
42852 gettimeofday(&tv);
42853
42854 ;
42855 return 0;
42856 }
42857 _ACEOF
42858 rm -f conftest.$ac_objext
42859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42860 (eval $ac_compile) 2>conftest.er1
42861 ac_status=$?
42862 grep -v '^ *+' conftest.er1 >conftest.err
42863 rm -f conftest.er1
42864 cat conftest.err >&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); } &&
42867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42870 ac_status=$?
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; } &&
42873 { ac_try='test -s conftest.$ac_objext'
42874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42875 (eval $ac_try) 2>&5
42876 ac_status=$?
42877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42878 (exit $ac_status); }; }; then
42879 wx_cv_func_gettimeofday_has_2_args=no
42880 else
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.$ac_ext >&5
42883
42884
42885 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42886 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42887 wx_cv_func_gettimeofday_has_2_args=unknown
42888
42889
42890 fi
42891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42892
42893 fi
42894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42895
42896 fi
42897 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42898 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42899
42900 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42901 cat >>confdefs.h <<\_ACEOF
42902 #define WX_GETTIMEOFDAY_NO_TZ 1
42903 _ACEOF
42904
42905 fi
42906 fi
42907
42908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42909 fi
42910
42911
42912 if test "$wxUSE_SOCKETS" = "yes"; then
42913 if test "$wxUSE_MGL" = "1"; then
42914 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42915 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42916 wxUSE_SOCKETS="no"
42917 fi
42918 fi
42919
42920 if test "$wxUSE_SOCKETS" = "yes"; then
42921 if test "$TOOLKIT" != "MSW"; then
42922 echo "$as_me:$LINENO: checking for socket" >&5
42923 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42924 if test "${ac_cv_func_socket+set}" = set; then
42925 echo $ECHO_N "(cached) $ECHO_C" >&6
42926 else
42927 cat >conftest.$ac_ext <<_ACEOF
42928 /* confdefs.h. */
42929 _ACEOF
42930 cat confdefs.h >>conftest.$ac_ext
42931 cat >>conftest.$ac_ext <<_ACEOF
42932 /* end confdefs.h. */
42933 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42935 #define socket innocuous_socket
42936
42937 /* System header to define __stub macros and hopefully few prototypes,
42938 which can conflict with char socket (); below.
42939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42940 <limits.h> exists even on freestanding compilers. */
42941
42942 #ifdef __STDC__
42943 # include <limits.h>
42944 #else
42945 # include <assert.h>
42946 #endif
42947
42948 #undef socket
42949
42950 /* Override any gcc2 internal prototype to avoid an error. */
42951 #ifdef __cplusplus
42952 extern "C"
42953 {
42954 #endif
42955 /* We use char because int might match the return type of a gcc2
42956 builtin and then its argument prototype would still apply. */
42957 char socket ();
42958 /* The GNU C library defines this for functions which it implements
42959 to always fail with ENOSYS. Some functions are actually named
42960 something starting with __ and the normal name is an alias. */
42961 #if defined (__stub_socket) || defined (__stub___socket)
42962 choke me
42963 #else
42964 char (*f) () = socket;
42965 #endif
42966 #ifdef __cplusplus
42967 }
42968 #endif
42969
42970 int
42971 main ()
42972 {
42973 return f != socket;
42974 ;
42975 return 0;
42976 }
42977 _ACEOF
42978 rm -f conftest.$ac_objext conftest$ac_exeext
42979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42980 (eval $ac_link) 2>conftest.er1
42981 ac_status=$?
42982 grep -v '^ *+' conftest.er1 >conftest.err
42983 rm -f conftest.er1
42984 cat conftest.err >&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); } &&
42987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42989 (eval $ac_try) 2>&5
42990 ac_status=$?
42991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992 (exit $ac_status); }; } &&
42993 { ac_try='test -s conftest$ac_exeext'
42994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42995 (eval $ac_try) 2>&5
42996 ac_status=$?
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); }; }; then
42999 ac_cv_func_socket=yes
43000 else
43001 echo "$as_me: failed program was:" >&5
43002 sed 's/^/| /' conftest.$ac_ext >&5
43003
43004 ac_cv_func_socket=no
43005 fi
43006 rm -f conftest.err conftest.$ac_objext \
43007 conftest$ac_exeext conftest.$ac_ext
43008 fi
43009 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43010 echo "${ECHO_T}$ac_cv_func_socket" >&6
43011 if test $ac_cv_func_socket = yes; then
43012 :
43013 else
43014
43015 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43016 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43017 if test "${ac_cv_lib_socket_socket+set}" = set; then
43018 echo $ECHO_N "(cached) $ECHO_C" >&6
43019 else
43020 ac_check_lib_save_LIBS=$LIBS
43021 LIBS="-lsocket $LIBS"
43022 cat >conftest.$ac_ext <<_ACEOF
43023 /* confdefs.h. */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028
43029 /* Override any gcc2 internal prototype to avoid an error. */
43030 #ifdef __cplusplus
43031 extern "C"
43032 #endif
43033 /* We use char because int might match the return type of a gcc2
43034 builtin and then its argument prototype would still apply. */
43035 char socket ();
43036 int
43037 main ()
43038 {
43039 socket ();
43040 ;
43041 return 0;
43042 }
43043 _ACEOF
43044 rm -f conftest.$ac_objext conftest$ac_exeext
43045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43046 (eval $ac_link) 2>conftest.er1
43047 ac_status=$?
43048 grep -v '^ *+' conftest.er1 >conftest.err
43049 rm -f conftest.er1
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } &&
43053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43056 ac_status=$?
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; } &&
43059 { ac_try='test -s conftest$ac_exeext'
43060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43061 (eval $ac_try) 2>&5
43062 ac_status=$?
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); }; }; then
43065 ac_cv_lib_socket_socket=yes
43066 else
43067 echo "$as_me: failed program was:" >&5
43068 sed 's/^/| /' conftest.$ac_ext >&5
43069
43070 ac_cv_lib_socket_socket=no
43071 fi
43072 rm -f conftest.err conftest.$ac_objext \
43073 conftest$ac_exeext conftest.$ac_ext
43074 LIBS=$ac_check_lib_save_LIBS
43075 fi
43076 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43077 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43078 if test $ac_cv_lib_socket_socket = yes; then
43079 if test "$INET_LINK" != " -lsocket"; then
43080 INET_LINK="$INET_LINK -lsocket"
43081 fi
43082 else
43083
43084 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43085 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43086 wxUSE_SOCKETS=no
43087
43088
43089 fi
43090
43091
43092
43093 fi
43094
43095 fi
43096 fi
43097
43098 if test "$wxUSE_SOCKETS" = "yes" ; then
43099 if test "$TOOLKIT" != "MSW"; then
43100 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43101 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43102 if test "${wx_cv_type_getsockname3+set}" = set; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43104 else
43105
43106 cat >conftest.$ac_ext <<_ACEOF
43107 /* confdefs.h. */
43108 _ACEOF
43109 cat confdefs.h >>conftest.$ac_ext
43110 cat >>conftest.$ac_ext <<_ACEOF
43111 /* end confdefs.h. */
43112
43113 #include <sys/types.h>
43114 #include <sys/socket.h>
43115
43116 int
43117 main ()
43118 {
43119
43120 socklen_t len;
43121 getsockname(0, 0, &len);
43122
43123 ;
43124 return 0;
43125 }
43126 _ACEOF
43127 rm -f conftest.$ac_objext
43128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43129 (eval $ac_compile) 2>conftest.er1
43130 ac_status=$?
43131 grep -v '^ *+' conftest.er1 >conftest.err
43132 rm -f conftest.er1
43133 cat conftest.err >&5
43134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43135 (exit $ac_status); } &&
43136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43139 ac_status=$?
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; } &&
43142 { ac_try='test -s conftest.$ac_objext'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43145 ac_status=$?
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; }; then
43148 wx_cv_type_getsockname3=socklen_t
43149 else
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43152
43153
43154 CXXFLAGS_OLD="$CXXFLAGS"
43155 if test "$GCC" = yes ; then
43156 CXXFLAGS="-Werror $CXXFLAGS"
43157 fi
43158
43159 cat >conftest.$ac_ext <<_ACEOF
43160 /* confdefs.h. */
43161 _ACEOF
43162 cat confdefs.h >>conftest.$ac_ext
43163 cat >>conftest.$ac_ext <<_ACEOF
43164 /* end confdefs.h. */
43165
43166 #include <sys/types.h>
43167 #include <sys/socket.h>
43168
43169 int
43170 main ()
43171 {
43172
43173 size_t len;
43174 getsockname(0, 0, &len);
43175
43176 ;
43177 return 0;
43178 }
43179 _ACEOF
43180 rm -f conftest.$ac_objext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43182 (eval $ac_compile) 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43192 ac_status=$?
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest.$ac_objext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 wx_cv_type_getsockname3=size_t
43202 else
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43205
43206 cat >conftest.$ac_ext <<_ACEOF
43207 /* confdefs.h. */
43208 _ACEOF
43209 cat confdefs.h >>conftest.$ac_ext
43210 cat >>conftest.$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43212
43213 #include <sys/types.h>
43214 #include <sys/socket.h>
43215
43216 int
43217 main ()
43218 {
43219
43220 int len;
43221 getsockname(0, 0, &len);
43222
43223 ;
43224 return 0;
43225 }
43226 _ACEOF
43227 rm -f conftest.$ac_objext
43228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43229 (eval $ac_compile) 2>conftest.er1
43230 ac_status=$?
43231 grep -v '^ *+' conftest.er1 >conftest.err
43232 rm -f conftest.er1
43233 cat conftest.err >&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } &&
43236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238 (eval $ac_try) 2>&5
43239 ac_status=$?
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); }; } &&
43242 { ac_try='test -s conftest.$ac_objext'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43245 ac_status=$?
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; }; then
43248 wx_cv_type_getsockname3=int
43249 else
43250 echo "$as_me: failed program was:" >&5
43251 sed 's/^/| /' conftest.$ac_ext >&5
43252
43253 wx_cv_type_getsockname3=unknown
43254
43255 fi
43256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43257
43258 fi
43259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43260
43261 CXXFLAGS="$CXXFLAGS_OLD"
43262
43263
43264 fi
43265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43266
43267 fi
43268 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43269 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43270
43271 if test "$wx_cv_type_getsockname3" = "unknown"; then
43272 wxUSE_SOCKETS=no
43273 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43274 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43275 else
43276 cat >>confdefs.h <<_ACEOF
43277 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43278 _ACEOF
43279
43280 fi
43281 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43282 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43283 if test "${wx_cv_type_getsockopt5+set}" = set; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43285 else
43286
43287 cat >conftest.$ac_ext <<_ACEOF
43288 /* confdefs.h. */
43289 _ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43293
43294 #include <sys/types.h>
43295 #include <sys/socket.h>
43296
43297 int
43298 main ()
43299 {
43300
43301 socklen_t len;
43302 getsockopt(0, 0, 0, 0, &len);
43303
43304 ;
43305 return 0;
43306 }
43307 _ACEOF
43308 rm -f conftest.$ac_objext
43309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43310 (eval $ac_compile) 2>conftest.er1
43311 ac_status=$?
43312 grep -v '^ *+' conftest.er1 >conftest.err
43313 rm -f conftest.er1
43314 cat conftest.err >&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); } &&
43317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43319 (eval $ac_try) 2>&5
43320 ac_status=$?
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); }; } &&
43323 { ac_try='test -s conftest.$ac_objext'
43324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43325 (eval $ac_try) 2>&5
43326 ac_status=$?
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); }; }; then
43329 wx_cv_type_getsockopt5=socklen_t
43330 else
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43333
43334
43335 CXXFLAGS_OLD="$CXXFLAGS"
43336 if test "$GCC" = yes ; then
43337 CXXFLAGS="-Werror $CXXFLAGS"
43338 fi
43339
43340 cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h. */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346
43347 #include <sys/types.h>
43348 #include <sys/socket.h>
43349
43350 int
43351 main ()
43352 {
43353
43354 size_t len;
43355 getsockopt(0, 0, 0, 0, &len);
43356
43357 ;
43358 return 0;
43359 }
43360 _ACEOF
43361 rm -f conftest.$ac_objext
43362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43363 (eval $ac_compile) 2>conftest.er1
43364 ac_status=$?
43365 grep -v '^ *+' conftest.er1 >conftest.err
43366 rm -f conftest.er1
43367 cat conftest.err >&5
43368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369 (exit $ac_status); } &&
43370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43373 ac_status=$?
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try='test -s conftest.$ac_objext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 wx_cv_type_getsockopt5=size_t
43383 else
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.$ac_ext >&5
43386
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393
43394 #include <sys/types.h>
43395 #include <sys/socket.h>
43396
43397 int
43398 main ()
43399 {
43400
43401 int len;
43402 getsockopt(0, 0, 0, 0, &len);
43403
43404 ;
43405 return 0;
43406 }
43407 _ACEOF
43408 rm -f conftest.$ac_objext
43409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43410 (eval $ac_compile) 2>conftest.er1
43411 ac_status=$?
43412 grep -v '^ *+' conftest.er1 >conftest.err
43413 rm -f conftest.er1
43414 cat conftest.err >&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } &&
43417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43419 (eval $ac_try) 2>&5
43420 ac_status=$?
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); }; } &&
43423 { ac_try='test -s conftest.$ac_objext'
43424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43425 (eval $ac_try) 2>&5
43426 ac_status=$?
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); }; }; then
43429 wx_cv_type_getsockopt5=int
43430 else
43431 echo "$as_me: failed program was:" >&5
43432 sed 's/^/| /' conftest.$ac_ext >&5
43433
43434 wx_cv_type_getsockopt5=unknown
43435
43436 fi
43437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43438
43439 fi
43440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43441
43442 CXXFLAGS="$CXXFLAGS_OLD"
43443
43444
43445 fi
43446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43447
43448 fi
43449 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43450 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43451
43452 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43453 wxUSE_SOCKETS=no
43454 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43455 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43456 else
43457 cat >>confdefs.h <<_ACEOF
43458 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43459 _ACEOF
43460
43461 fi
43462 fi
43463 fi
43464
43465 if test "$wxUSE_SOCKETS" = "yes" ; then
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_SOCKETS 1
43468 _ACEOF
43469
43470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43471 fi
43472
43473 if test "$wxUSE_PROTOCOL" = "yes"; then
43474 if test "$wxUSE_SOCKETS" != "yes"; then
43475 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43476 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43477 wxUSE_PROTOCOL=no
43478 fi
43479 fi
43480
43481 if test "$wxUSE_PROTOCOL" = "yes"; then
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_PROTOCOL 1
43484 _ACEOF
43485
43486
43487 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_PROTOCOL_HTTP 1
43490 _ACEOF
43491
43492 fi
43493 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_PROTOCOL_FTP 1
43496 _ACEOF
43497
43498 fi
43499 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43500 cat >>confdefs.h <<\_ACEOF
43501 #define wxUSE_PROTOCOL_FILE 1
43502 _ACEOF
43503
43504 fi
43505 else
43506 if test "$wxUSE_FS_INET" = "yes"; then
43507 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43508 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43509 wxUSE_FS_INET="no"
43510 fi
43511 fi
43512
43513 if test "$wxUSE_URL" = "yes"; then
43514 if test "$wxUSE_PROTOCOL" != "yes"; then
43515 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43516 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43517 wxUSE_URL=no
43518 fi
43519 if test "$wxUSE_URL" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_URL 1
43522 _ACEOF
43523
43524 fi
43525 fi
43526
43527 if test "$wxUSE_FS_INET" = "yes"; then
43528 cat >>confdefs.h <<\_ACEOF
43529 #define wxUSE_FS_INET 1
43530 _ACEOF
43531
43532 fi
43533
43534
43535 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43536 wxUSE_JOYSTICK=no
43537
43538 if test "$TOOLKIT" = "MSW"; then
43539 wxUSE_JOYSTICK=yes
43540
43541 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43542 if test "$USE_DARWIN" = 1; then
43543 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43544 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43545 cat >conftest.$ac_ext <<_ACEOF
43546 /* confdefs.h. */
43547 _ACEOF
43548 cat confdefs.h >>conftest.$ac_ext
43549 cat >>conftest.$ac_ext <<_ACEOF
43550 /* end confdefs.h. */
43551 #include <IOKit/hid/IOHIDLib.h>
43552 int
43553 main ()
43554 {
43555 IOHIDQueueInterface *qi = NULL;
43556 IOHIDCallbackFunction cb = NULL;
43557 qi->setEventCallout(NULL, cb, NULL, NULL);
43558 ;
43559 return 0;
43560 }
43561 _ACEOF
43562 rm -f conftest.$ac_objext
43563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43564 (eval $ac_compile) 2>conftest.er1
43565 ac_status=$?
43566 grep -v '^ *+' conftest.er1 >conftest.err
43567 rm -f conftest.er1
43568 cat conftest.err >&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } &&
43571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; } &&
43577 { ac_try='test -s conftest.$ac_objext'
43578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43579 (eval $ac_try) 2>&5
43580 ac_status=$?
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); }; }; then
43583 wxUSE_JOYSTICK=yes
43584
43585 else
43586 echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.$ac_ext >&5
43588
43589 fi
43590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43591 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43592 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43593 fi
43594
43595 else
43596
43597 for ac_header in linux/joystick.h
43598 do
43599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43601 echo "$as_me:$LINENO: checking for $ac_header" >&5
43602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43604 echo $ECHO_N "(cached) $ECHO_C" >&6
43605 fi
43606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43608 else
43609 # Is the header compilable?
43610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43612 cat >conftest.$ac_ext <<_ACEOF
43613 /* confdefs.h. */
43614 _ACEOF
43615 cat confdefs.h >>conftest.$ac_ext
43616 cat >>conftest.$ac_ext <<_ACEOF
43617 /* end confdefs.h. */
43618 $ac_includes_default
43619 #include <$ac_header>
43620 _ACEOF
43621 rm -f conftest.$ac_objext
43622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43623 (eval $ac_compile) 2>conftest.er1
43624 ac_status=$?
43625 grep -v '^ *+' conftest.er1 >conftest.err
43626 rm -f conftest.er1
43627 cat conftest.err >&5
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); } &&
43630 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43632 (eval $ac_try) 2>&5
43633 ac_status=$?
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); }; } &&
43636 { ac_try='test -s conftest.$ac_objext'
43637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43638 (eval $ac_try) 2>&5
43639 ac_status=$?
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); }; }; then
43642 ac_header_compiler=yes
43643 else
43644 echo "$as_me: failed program was:" >&5
43645 sed 's/^/| /' conftest.$ac_ext >&5
43646
43647 ac_header_compiler=no
43648 fi
43649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43651 echo "${ECHO_T}$ac_header_compiler" >&6
43652
43653 # Is the header present?
43654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43656 cat >conftest.$ac_ext <<_ACEOF
43657 /* confdefs.h. */
43658 _ACEOF
43659 cat confdefs.h >>conftest.$ac_ext
43660 cat >>conftest.$ac_ext <<_ACEOF
43661 /* end confdefs.h. */
43662 #include <$ac_header>
43663 _ACEOF
43664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43665 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43666 ac_status=$?
43667 grep -v '^ *+' conftest.er1 >conftest.err
43668 rm -f conftest.er1
43669 cat conftest.err >&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); } >/dev/null; then
43672 if test -s conftest.err; then
43673 ac_cpp_err=$ac_cxx_preproc_warn_flag
43674 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43675 else
43676 ac_cpp_err=
43677 fi
43678 else
43679 ac_cpp_err=yes
43680 fi
43681 if test -z "$ac_cpp_err"; then
43682 ac_header_preproc=yes
43683 else
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43686
43687 ac_header_preproc=no
43688 fi
43689 rm -f conftest.err conftest.$ac_ext
43690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43691 echo "${ECHO_T}$ac_header_preproc" >&6
43692
43693 # So? What about this header?
43694 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43695 yes:no: )
43696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43700 ac_header_preproc=yes
43701 ;;
43702 no:yes:* )
43703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43715 (
43716 cat <<\_ASBOX
43717 ## ----------------------------------------- ##
43718 ## Report this to wx-dev@lists.wxwidgets.org ##
43719 ## ----------------------------------------- ##
43720 _ASBOX
43721 ) |
43722 sed "s/^/$as_me: WARNING: /" >&2
43723 ;;
43724 esac
43725 echo "$as_me:$LINENO: checking for $ac_header" >&5
43726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43728 echo $ECHO_N "(cached) $ECHO_C" >&6
43729 else
43730 eval "$as_ac_Header=\$ac_header_preproc"
43731 fi
43732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43734
43735 fi
43736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43737 cat >>confdefs.h <<_ACEOF
43738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43739 _ACEOF
43740 wxUSE_JOYSTICK=yes
43741 fi
43742
43743 done
43744
43745 fi
43746
43747 if test "$wxUSE_JOYSTICK" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_JOYSTICK 1
43750 _ACEOF
43751
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43753 else
43754 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43755 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43756 fi
43757 fi
43758
43759
43760
43761 if test "$wxUSE_FONTMAP" = "yes" ; then
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_FONTMAP 1
43764 _ACEOF
43765
43766 fi
43767
43768 if test "$wxUSE_UNICODE" = "yes" ; then
43769 cat >>confdefs.h <<\_ACEOF
43770 #define wxUSE_UNICODE 1
43771 _ACEOF
43772
43773
43774 if test "$USE_WIN32" != 1; then
43775 wxUSE_UNICODE_MSLU=no
43776 fi
43777
43778 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43779 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43780 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43781 if test "${ac_cv_lib_unicows_main+set}" = set; then
43782 echo $ECHO_N "(cached) $ECHO_C" >&6
43783 else
43784 ac_check_lib_save_LIBS=$LIBS
43785 LIBS="-lunicows $LIBS"
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792
43793
43794 int
43795 main ()
43796 {
43797 main ();
43798 ;
43799 return 0;
43800 }
43801 _ACEOF
43802 rm -f conftest.$ac_objext conftest$ac_exeext
43803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43804 (eval $ac_link) 2>conftest.er1
43805 ac_status=$?
43806 grep -v '^ *+' conftest.er1 >conftest.err
43807 rm -f conftest.er1
43808 cat conftest.err >&5
43809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810 (exit $ac_status); } &&
43811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43813 (eval $ac_try) 2>&5
43814 ac_status=$?
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); }; } &&
43817 { ac_try='test -s conftest$ac_exeext'
43818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43819 (eval $ac_try) 2>&5
43820 ac_status=$?
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); }; }; then
43823 ac_cv_lib_unicows_main=yes
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43827
43828 ac_cv_lib_unicows_main=no
43829 fi
43830 rm -f conftest.err conftest.$ac_objext \
43831 conftest$ac_exeext conftest.$ac_ext
43832 LIBS=$ac_check_lib_save_LIBS
43833 fi
43834 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43835 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43836 if test $ac_cv_lib_unicows_main = yes; then
43837
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_UNICODE_MSLU 1
43840 _ACEOF
43841
43842
43843 else
43844
43845 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43846 Applications will only run on Windows NT/2000/XP!" >&5
43847 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43848 Applications will only run on Windows NT/2000/XP!" >&2;}
43849 wxUSE_UNICODE_MSLU=no
43850
43851 fi
43852
43853 fi
43854 fi
43855
43856 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_EXPERIMENTAL_PRINTF 1
43859 _ACEOF
43860
43861 fi
43862
43863
43864 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_POSTSCRIPT 1
43867 _ACEOF
43868
43869 fi
43870
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43873 _ACEOF
43874
43875
43876 cat >>confdefs.h <<\_ACEOF
43877 #define wxUSE_NORMALIZED_PS_FONTS 1
43878 _ACEOF
43879
43880
43881
43882 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43883 cat >>confdefs.h <<\_ACEOF
43884 #define wxUSE_CONSTRAINTS 1
43885 _ACEOF
43886
43887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43888 fi
43889
43890 if test "$wxUSE_MDI" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_MDI 1
43893 _ACEOF
43894
43895
43896 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define wxUSE_MDI_ARCHITECTURE 1
43899 _ACEOF
43900
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43902 fi
43903 fi
43904
43905 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43908 _ACEOF
43909
43910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43911 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43913 fi
43914 fi
43915
43916 if test "$wxUSE_HELP" = "yes"; then
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_HELP 1
43919 _ACEOF
43920
43921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43922
43923 if test "$wxUSE_MSW" = 1; then
43924 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_MS_HTML_HELP 1
43927 _ACEOF
43928
43929 fi
43930 fi
43931
43932 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43933 if test "$wxUSE_HTML" = "yes"; then
43934 cat >>confdefs.h <<\_ACEOF
43935 #define wxUSE_WXHTML_HELP 1
43936 _ACEOF
43937
43938 else
43939 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43940 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43941 wxUSE_WXHTML_HELP=no
43942 fi
43943 fi
43944 fi
43945
43946 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43947 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43948 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43949 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43950 else
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_PRINTING_ARCHITECTURE 1
43953 _ACEOF
43954
43955 fi
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43957 fi
43958
43959 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43960 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43961 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43962 { (exit 1); exit 1; }; }
43963 fi
43964
43965
43966 if test "$wxUSE_METAFILE" = "yes"; then
43967 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43968 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43969 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43970 wxUSE_METAFILE=no
43971 fi
43972 fi
43973
43974
43975 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43976 -o "$wxUSE_CLIPBOARD" = "yes" \
43977 -o "$wxUSE_OLE" = "yes" \
43978 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43979
43980 for ac_header in ole2.h
43981 do
43982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43984 echo "$as_me:$LINENO: checking for $ac_header" >&5
43985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43987 echo $ECHO_N "(cached) $ECHO_C" >&6
43988 fi
43989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43991 else
43992 # Is the header compilable?
43993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43995 cat >conftest.$ac_ext <<_ACEOF
43996 /* confdefs.h. */
43997 _ACEOF
43998 cat confdefs.h >>conftest.$ac_ext
43999 cat >>conftest.$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44001 $ac_includes_default
44002 #include <$ac_header>
44003 _ACEOF
44004 rm -f conftest.$ac_objext
44005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44006 (eval $ac_compile) 2>conftest.er1
44007 ac_status=$?
44008 grep -v '^ *+' conftest.er1 >conftest.err
44009 rm -f conftest.er1
44010 cat conftest.err >&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); } &&
44013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44015 (eval $ac_try) 2>&5
44016 ac_status=$?
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); }; } &&
44019 { ac_try='test -s conftest.$ac_objext'
44020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021 (eval $ac_try) 2>&5
44022 ac_status=$?
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; }; then
44025 ac_header_compiler=yes
44026 else
44027 echo "$as_me: failed program was:" >&5
44028 sed 's/^/| /' conftest.$ac_ext >&5
44029
44030 ac_header_compiler=no
44031 fi
44032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44034 echo "${ECHO_T}$ac_header_compiler" >&6
44035
44036 # Is the header present?
44037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44039 cat >conftest.$ac_ext <<_ACEOF
44040 /* confdefs.h. */
44041 _ACEOF
44042 cat confdefs.h >>conftest.$ac_ext
44043 cat >>conftest.$ac_ext <<_ACEOF
44044 /* end confdefs.h. */
44045 #include <$ac_header>
44046 _ACEOF
44047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44049 ac_status=$?
44050 grep -v '^ *+' conftest.er1 >conftest.err
44051 rm -f conftest.er1
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } >/dev/null; then
44055 if test -s conftest.err; then
44056 ac_cpp_err=$ac_cxx_preproc_warn_flag
44057 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44058 else
44059 ac_cpp_err=
44060 fi
44061 else
44062 ac_cpp_err=yes
44063 fi
44064 if test -z "$ac_cpp_err"; then
44065 ac_header_preproc=yes
44066 else
44067 echo "$as_me: failed program was:" >&5
44068 sed 's/^/| /' conftest.$ac_ext >&5
44069
44070 ac_header_preproc=no
44071 fi
44072 rm -f conftest.err conftest.$ac_ext
44073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44074 echo "${ECHO_T}$ac_header_preproc" >&6
44075
44076 # So? What about this header?
44077 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44078 yes:no: )
44079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44083 ac_header_preproc=yes
44084 ;;
44085 no:yes:* )
44086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44098 (
44099 cat <<\_ASBOX
44100 ## ----------------------------------------- ##
44101 ## Report this to wx-dev@lists.wxwidgets.org ##
44102 ## ----------------------------------------- ##
44103 _ASBOX
44104 ) |
44105 sed "s/^/$as_me: WARNING: /" >&2
44106 ;;
44107 esac
44108 echo "$as_me:$LINENO: checking for $ac_header" >&5
44109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44111 echo $ECHO_N "(cached) $ECHO_C" >&6
44112 else
44113 eval "$as_ac_Header=\$ac_header_preproc"
44114 fi
44115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44117
44118 fi
44119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44120 cat >>confdefs.h <<_ACEOF
44121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44122 _ACEOF
44123
44124 fi
44125
44126 done
44127
44128
44129 if test "$ac_cv_header_ole2_h" = "yes" ; then
44130 if test "$GCC" = yes ; then
44131 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44132 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44133 cat >conftest.$ac_ext <<_ACEOF
44134 /* confdefs.h. */
44135 _ACEOF
44136 cat confdefs.h >>conftest.$ac_ext
44137 cat >>conftest.$ac_ext <<_ACEOF
44138 /* end confdefs.h. */
44139 #include <windows.h>
44140 #include <ole2.h>
44141 int
44142 main ()
44143 {
44144
44145 ;
44146 return 0;
44147 }
44148 _ACEOF
44149 rm -f conftest.$ac_objext
44150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44151 (eval $ac_compile) 2>conftest.er1
44152 ac_status=$?
44153 grep -v '^ *+' conftest.er1 >conftest.err
44154 rm -f conftest.er1
44155 cat conftest.err >&5
44156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44157 (exit $ac_status); } &&
44158 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44160 (eval $ac_try) 2>&5
44161 ac_status=$?
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); }; } &&
44164 { ac_try='test -s conftest.$ac_objext'
44165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44166 (eval $ac_try) 2>&5
44167 ac_status=$?
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); }; }; then
44170 echo "$as_me:$LINENO: result: no" >&5
44171 echo "${ECHO_T}no" >&6
44172 else
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.$ac_ext >&5
44175
44176 echo "$as_me:$LINENO: result: yes" >&5
44177 echo "${ECHO_T}yes" >&6
44178 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44179 fi
44180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44181 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44182 if test "$wxUSE_OLE" = "yes" ; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_OLE 1
44185 _ACEOF
44186
44187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44188 fi
44189 fi
44190
44191 if test "$wxUSE_DATAOBJ" = "yes" ; then
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_DATAOBJ 1
44194 _ACEOF
44195
44196 fi
44197 else
44198 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44199 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44200
44201 wxUSE_CLIPBOARD=no
44202 wxUSE_DRAG_AND_DROP=no
44203 wxUSE_DATAOBJ=no
44204 wxUSE_OLE=no
44205 fi
44206
44207 if test "$wxUSE_METAFILE" = "yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_METAFILE 1
44210 _ACEOF
44211
44212
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_ENH_METAFILE 1
44215 _ACEOF
44216
44217 fi
44218 fi
44219
44220 if test "$wxUSE_IPC" = "yes"; then
44221 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44222 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44223 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44224 wxUSE_IPC=no
44225 fi
44226
44227 if test "$wxUSE_IPC" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_IPC 1
44230 _ACEOF
44231
44232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44233 fi
44234 fi
44235
44236 if test "$wxUSE_DATAOBJ" = "yes"; then
44237 if test "$wxUSE_MGL" = 1; then
44238 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44239 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44240 wxUSE_DATAOBJ=no
44241 else
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_DATAOBJ 1
44244 _ACEOF
44245
44246 fi
44247 else
44248 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44249 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44250 wxUSE_CLIPBOARD=no
44251 wxUSE_DRAG_AND_DROP=no
44252 fi
44253
44254 if test "$wxUSE_CLIPBOARD" = "yes"; then
44255 if test "$wxUSE_MGL" = 1; then
44256 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44257 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44258 wxUSE_CLIPBOARD=no
44259 fi
44260
44261 if test "$wxUSE_CLIPBOARD" = "yes"; then
44262 cat >>confdefs.h <<\_ACEOF
44263 #define wxUSE_CLIPBOARD 1
44264 _ACEOF
44265
44266 fi
44267 fi
44268
44269 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44270 if test "$wxUSE_GTK" = 1; then
44271 if test "$WXGTK12" != 1; then
44272 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44273 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44274 wxUSE_DRAG_AND_DROP=no
44275 fi
44276 fi
44277
44278 if test "$wxUSE_MOTIF" = 1; then
44279 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44280 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44281 wxUSE_DRAG_AND_DROP=no
44282 fi
44283
44284 if test "$wxUSE_X11" = 1; then
44285 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44286 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44287 wxUSE_DRAG_AND_DROP=no
44288 fi
44289
44290 if test "$wxUSE_MGL" = 1; then
44291 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44292 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44293 wxUSE_DRAG_AND_DROP=no
44294 fi
44295
44296 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44297 cat >>confdefs.h <<\_ACEOF
44298 #define wxUSE_DRAG_AND_DROP 1
44299 _ACEOF
44300
44301 fi
44302
44303 fi
44304
44305 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44307 fi
44308
44309 if test "$wxUSE_SPLINES" = "yes" ; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_SPLINES 1
44312 _ACEOF
44313
44314 fi
44315
44316 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_MOUSEWHEEL 1
44319 _ACEOF
44320
44321 fi
44322
44323
44324 USES_CONTROLS=0
44325 if test "$wxUSE_CONTROLS" = "yes"; then
44326 USES_CONTROLS=1
44327 fi
44328
44329 if test "$wxUSE_ACCEL" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_ACCEL 1
44332 _ACEOF
44333
44334 USES_CONTROLS=1
44335 fi
44336
44337 if test "$wxUSE_BUTTON" = "yes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_BUTTON 1
44340 _ACEOF
44341
44342 USES_CONTROLS=1
44343 fi
44344
44345 if test "$wxUSE_BMPBUTTON" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_BMPBUTTON 1
44348 _ACEOF
44349
44350 USES_CONTROLS=1
44351 fi
44352
44353 if test "$wxUSE_CALCTRL" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_CALENDARCTRL 1
44356 _ACEOF
44357
44358 USES_CONTROLS=1
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44360 fi
44361
44362 if test "$wxUSE_CARET" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_CARET 1
44365 _ACEOF
44366
44367 USES_CONTROLS=1
44368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44369 fi
44370
44371 if test "$wxUSE_COMBOBOX" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_COMBOBOX 1
44374 _ACEOF
44375
44376 USES_CONTROLS=1
44377 fi
44378
44379 if test "$wxUSE_COMBOCTRL" = "yes"; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_COMBOCTRL 1
44382 _ACEOF
44383
44384 USES_CONTROLS=1
44385 fi
44386
44387 if test "$wxUSE_CHOICE" = "yes"; then
44388 cat >>confdefs.h <<\_ACEOF
44389 #define wxUSE_CHOICE 1
44390 _ACEOF
44391
44392 USES_CONTROLS=1
44393 fi
44394
44395 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_CHOICEBOOK 1
44398 _ACEOF
44399
44400 USES_CONTROLS=1
44401 fi
44402
44403 if test "$wxUSE_CHECKBOX" = "yes"; then
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_CHECKBOX 1
44406 _ACEOF
44407
44408 USES_CONTROLS=1
44409 fi
44410
44411 if test "$wxUSE_CHECKLST" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_CHECKLISTBOX 1
44414 _ACEOF
44415
44416 USES_CONTROLS=1
44417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44418 fi
44419
44420 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_COLOURPICKERCTRL 1
44423 _ACEOF
44424
44425 USES_CONTROLS=1
44426 fi
44427
44428 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_DATEPICKCTRL 1
44431 _ACEOF
44432
44433 USES_CONTROLS=1
44434 fi
44435
44436 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_DIRPICKERCTRL 1
44439 _ACEOF
44440
44441 USES_CONTROLS=1
44442 fi
44443
44444 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_FILEPICKERCTRL 1
44447 _ACEOF
44448
44449 USES_CONTROLS=1
44450 fi
44451
44452 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_FONTPICKERCTRL 1
44455 _ACEOF
44456
44457 USES_CONTROLS=1
44458 fi
44459
44460 if test "$wxUSE_DISPLAY" = "yes"; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_DISPLAY 1
44463 _ACEOF
44464
44465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44466 fi
44467
44468 if test "$wxUSE_GAUGE" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_GAUGE 1
44471 _ACEOF
44472
44473 USES_CONTROLS=1
44474 fi
44475
44476 if test "$wxUSE_GRID" = "yes"; then
44477 cat >>confdefs.h <<\_ACEOF
44478 #define wxUSE_GRID 1
44479 _ACEOF
44480
44481 USES_CONTROLS=1
44482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44483 fi
44484
44485 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44486 cat >>confdefs.h <<\_ACEOF
44487 #define wxUSE_HYPERLINKCTRL 1
44488 _ACEOF
44489
44490 USES_CONTROLS=1
44491 fi
44492
44493 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_DATAVIEWCTRL 1
44496 _ACEOF
44497
44498 USES_CONTROLS=1
44499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44500 fi
44501
44502 if test "$wxUSE_IMAGLIST" = "yes"; then
44503 cat >>confdefs.h <<\_ACEOF
44504 #define wxUSE_IMAGLIST 1
44505 _ACEOF
44506
44507 fi
44508
44509 if test "$wxUSE_LISTBOOK" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_LISTBOOK 1
44512 _ACEOF
44513
44514 USES_CONTROLS=1
44515 fi
44516
44517 if test "$wxUSE_LISTBOX" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_LISTBOX 1
44520 _ACEOF
44521
44522 USES_CONTROLS=1
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44524 fi
44525
44526 if test "$wxUSE_LISTCTRL" = "yes"; then
44527 if test "$wxUSE_IMAGLIST" = "yes"; then
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_LISTCTRL 1
44530 _ACEOF
44531
44532 USES_CONTROLS=1
44533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44534 else
44535 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44536 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44537 fi
44538 fi
44539
44540 if test "$wxUSE_NOTEBOOK" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_NOTEBOOK 1
44543 _ACEOF
44544
44545 USES_CONTROLS=1
44546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44547 fi
44548
44549 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_ODCOMBOBOX 1
44552 _ACEOF
44553
44554 USES_CONTROLS=1
44555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44556 fi
44557
44558
44559 if test "$wxUSE_RADIOBOX" = "yes"; then
44560 cat >>confdefs.h <<\_ACEOF
44561 #define wxUSE_RADIOBOX 1
44562 _ACEOF
44563
44564 USES_CONTROLS=1
44565 fi
44566
44567 if test "$wxUSE_RADIOBTN" = "yes"; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_RADIOBTN 1
44570 _ACEOF
44571
44572 USES_CONTROLS=1
44573 fi
44574
44575 if test "$wxUSE_SASH" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_SASH 1
44578 _ACEOF
44579
44580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44581 fi
44582
44583 if test "$wxUSE_SCROLLBAR" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_SCROLLBAR 1
44586 _ACEOF
44587
44588 USES_CONTROLS=1
44589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44590 fi
44591
44592 if test "$wxUSE_SLIDER" = "yes"; then
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_SLIDER 1
44595 _ACEOF
44596
44597 USES_CONTROLS=1
44598 fi
44599
44600 if test "$wxUSE_SPINBTN" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_SPINBTN 1
44603 _ACEOF
44604
44605 USES_CONTROLS=1
44606 fi
44607
44608 if test "$wxUSE_SPINCTRL" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_SPINCTRL 1
44611 _ACEOF
44612
44613 USES_CONTROLS=1
44614 fi
44615
44616 if test "$wxUSE_SPLITTER" = "yes"; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_SPLITTER 1
44619 _ACEOF
44620
44621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44622 fi
44623
44624 if test "$wxUSE_STATBMP" = "yes"; then
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_STATBMP 1
44627 _ACEOF
44628
44629 USES_CONTROLS=1
44630 fi
44631
44632 if test "$wxUSE_STATBOX" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_STATBOX 1
44635 _ACEOF
44636
44637 USES_CONTROLS=1
44638 fi
44639
44640 if test "$wxUSE_STATTEXT" = "yes"; then
44641 cat >>confdefs.h <<\_ACEOF
44642 #define wxUSE_STATTEXT 1
44643 _ACEOF
44644
44645 USES_CONTROLS=1
44646 fi
44647
44648 if test "$wxUSE_STATLINE" = "yes"; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_STATLINE 1
44651 _ACEOF
44652
44653 USES_CONTROLS=1
44654 fi
44655
44656 if test "$wxUSE_STATUSBAR" = "yes"; then
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_NATIVE_STATUSBAR 1
44659 _ACEOF
44660
44661 cat >>confdefs.h <<\_ACEOF
44662 #define wxUSE_STATUSBAR 1
44663 _ACEOF
44664
44665 USES_CONTROLS=1
44666
44667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44668 fi
44669
44670 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_TAB_DIALOG 1
44673 _ACEOF
44674
44675 fi
44676
44677 if test "$wxUSE_TEXTCTRL" = "yes"; then
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_TEXTCTRL 1
44680 _ACEOF
44681
44682 USES_CONTROLS=1
44683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44684 fi
44685
44686 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44687 if test "$wxUSE_COCOA" = 1 ; then
44688 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44689 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44690 wxUSE_TOGGLEBTN=no
44691 fi
44692
44693 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_TOGGLEBTN 1
44696 _ACEOF
44697
44698 USES_CONTROLS=1
44699 fi
44700 fi
44701
44702 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_TOOLBAR_SIMPLE 1
44705 _ACEOF
44706
44707 wxUSE_TOOLBAR="yes"
44708 USES_CONTROLS=1
44709 fi
44710
44711 if test "$wxUSE_TOOLBAR" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_TOOLBAR 1
44714 _ACEOF
44715
44716 USES_CONTROLS=1
44717
44718 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44719 wxUSE_TOOLBAR_NATIVE="yes"
44720 fi
44721
44722 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_TOOLBAR_NATIVE 1
44725 _ACEOF
44726
44727 USES_CONTROLS=1
44728 fi
44729
44730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44731 fi
44732
44733 if test "$wxUSE_TOOLTIPS" = "yes"; then
44734 if test "$wxUSE_MOTIF" = 1; then
44735 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44736 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44737 else
44738 if test "$wxUSE_UNIVERSAL" = "yes"; then
44739 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44740 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44741 else
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_TOOLTIPS 1
44744 _ACEOF
44745
44746 fi
44747 fi
44748 fi
44749
44750 if test "$wxUSE_TREEBOOK" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_TREEBOOK 1
44753 _ACEOF
44754
44755 USES_CONTROLS=1
44756 fi
44757
44758 if test "$wxUSE_TOOLBOOK" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_TOOLBOOK 1
44761 _ACEOF
44762
44763 USES_CONTROLS=1
44764 fi
44765
44766 if test "$wxUSE_TREECTRL" = "yes"; then
44767 if test "$wxUSE_IMAGLIST" = "yes"; then
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_TREECTRL 1
44770 _ACEOF
44771
44772 USES_CONTROLS=1
44773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44774 else
44775 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44776 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44777 fi
44778 fi
44779
44780 if test "$wxUSE_POPUPWIN" = "yes"; then
44781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44782 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44783 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44784 else
44785 if test "$wxUSE_PM" = 1; then
44786 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44787 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44788 else
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_POPUPWIN 1
44791 _ACEOF
44792
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44794
44795 USES_CONTROLS=1
44796 fi
44797 fi
44798 fi
44799
44800 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44801 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44802 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44803 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44804 else
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_DIALUP_MANAGER 1
44807 _ACEOF
44808
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44810 fi
44811 fi
44812
44813 if test "$wxUSE_TIPWINDOW" = "yes"; then
44814 if test "$wxUSE_PM" = 1; then
44815 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44816 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44817 else
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_TIPWINDOW 1
44820 _ACEOF
44821
44822 fi
44823 fi
44824
44825 if test "$USES_CONTROLS" = 1; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_CONTROLS 1
44828 _ACEOF
44829
44830 fi
44831
44832
44833 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_ACCESSIBILITY 1
44836 _ACEOF
44837
44838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44839 fi
44840
44841 if test "$wxUSE_DC_CACHEING" = "yes"; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_DC_CACHEING 1
44844 _ACEOF
44845
44846 fi
44847
44848 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44849 cat >>confdefs.h <<\_ACEOF
44850 #define wxUSE_DRAGIMAGE 1
44851 _ACEOF
44852
44853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44854 fi
44855
44856 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44857 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44858 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44859 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44860 else
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_EXCEPTIONS 1
44863 _ACEOF
44864
44865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44866 fi
44867 fi
44868
44869 USE_HTML=0
44870 if test "$wxUSE_HTML" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_HTML 1
44873 _ACEOF
44874
44875 USE_HTML=1
44876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44877 if test "$wxUSE_MAC" = 1; then
44878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44879 fi
44880 fi
44881 if test "$wxUSE_WEBKIT" = "yes"; then
44882 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44883 old_CPPFLAGS="$CPPFLAGS"
44884 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44885 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44886 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44887 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44888 echo $ECHO_N "(cached) $ECHO_C" >&6
44889 else
44890 cat >conftest.$ac_ext <<_ACEOF
44891 /* confdefs.h. */
44892 _ACEOF
44893 cat confdefs.h >>conftest.$ac_ext
44894 cat >>conftest.$ac_ext <<_ACEOF
44895 /* end confdefs.h. */
44896 #include <Carbon/Carbon.h>
44897
44898 #include <WebKit/HIWebView.h>
44899 _ACEOF
44900 rm -f conftest.$ac_objext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44902 (eval $ac_compile) 2>conftest.er1
44903 ac_status=$?
44904 grep -v '^ *+' conftest.er1 >conftest.err
44905 rm -f conftest.er1
44906 cat conftest.err >&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44912 ac_status=$?
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try='test -s conftest.$ac_objext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44918 ac_status=$?
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 ac_cv_header_WebKit_HIWebView_h=yes
44922 else
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.$ac_ext >&5
44925
44926 ac_cv_header_WebKit_HIWebView_h=no
44927 fi
44928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44929 fi
44930 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44931 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44932 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44933
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_WEBKIT 1
44936 _ACEOF
44937
44938 WEBKIT_LINK="-framework WebKit"
44939
44940 else
44941
44942 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44943 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44944 wxUSE_WEBKIT=no
44945
44946 fi
44947
44948
44949 CPPFLAGS="$old_CPPFLAGS"
44950 elif test "$wxUSE_COCOA" = 1; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_WEBKIT 1
44953 _ACEOF
44954
44955 else
44956 wxUSE_WEBKIT=no
44957 fi
44958 fi
44959
44960 USE_XRC=0
44961 if test "$wxUSE_XRC" = "yes"; then
44962 if test "$wxUSE_XML" != "yes"; then
44963 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44964 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44965 wxUSE_XRC=no
44966 else
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_XRC 1
44969 _ACEOF
44970
44971 USE_XRC=1
44972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44973 fi
44974 fi
44975
44976 USE_AUI=0
44977 if test "$wxUSE_AUI" = "yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_AUI 1
44980 _ACEOF
44981
44982 USE_AUI=1
44983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44984 fi
44985
44986 if test "$wxUSE_MENUS" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_MENUS 1
44989 _ACEOF
44990
44991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44992 fi
44993
44994 if test "$wxUSE_METAFILE" = "yes"; then
44995 cat >>confdefs.h <<\_ACEOF
44996 #define wxUSE_METAFILE 1
44997 _ACEOF
44998
44999 fi
45000
45001 if test "$wxUSE_MIMETYPE" = "yes"; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_MIMETYPE 1
45004 _ACEOF
45005
45006 fi
45007
45008 if test "$wxUSE_MINIFRAME" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_MINIFRAME 1
45011 _ACEOF
45012
45013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45014 fi
45015
45016 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_SYSTEM_OPTIONS 1
45019 _ACEOF
45020
45021 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45022 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45024 fi
45025 fi
45026
45027
45028 if test "$wxUSE_VALIDATORS" = "yes"; then
45029 cat >>confdefs.h <<\_ACEOF
45030 #define wxUSE_VALIDATORS 1
45031 _ACEOF
45032
45033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45034 fi
45035
45036 if test "$wxUSE_PALETTE" = "yes" ; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_PALETTE 1
45039 _ACEOF
45040
45041 fi
45042
45043 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45044 LIBS=" -lunicows $LIBS"
45045 fi
45046
45047 USE_RICHTEXT=0
45048 if test "$wxUSE_RICHTEXT" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_RICHTEXT 1
45051 _ACEOF
45052
45053 USE_RICHTEXT=1
45054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45055 fi
45056
45057
45058 if test "$wxUSE_IMAGE" = "yes" ; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_IMAGE 1
45061 _ACEOF
45062
45063
45064 if test "$wxUSE_GIF" = "yes" ; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_GIF 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_PCX" = "yes" ; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_PCX 1
45074 _ACEOF
45075
45076 fi
45077
45078 if test "$wxUSE_IFF" = "yes" ; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_IFF 1
45081 _ACEOF
45082
45083 fi
45084
45085 if test "$wxUSE_PNM" = "yes" ; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_PNM 1
45088 _ACEOF
45089
45090 fi
45091
45092 if test "$wxUSE_XPM" = "yes" ; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_XPM 1
45095 _ACEOF
45096
45097 fi
45098
45099 if test "$wxUSE_ICO_CUR" = "yes" ; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_ICO_CUR 1
45102 _ACEOF
45103
45104 fi
45105 fi
45106
45107
45108 if test "$wxUSE_CHOICEDLG" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_CHOICEDLG 1
45111 _ACEOF
45112
45113 fi
45114
45115 if test "$wxUSE_COLOURDLG" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_COLOURDLG 1
45118 _ACEOF
45119
45120 fi
45121
45122 if test "$wxUSE_FILEDLG" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_FILEDLG 1
45125 _ACEOF
45126
45127 fi
45128
45129 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_FINDREPLDLG 1
45132 _ACEOF
45133
45134 fi
45135
45136 if test "$wxUSE_FONTDLG" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_FONTDLG 1
45139 _ACEOF
45140
45141 fi
45142
45143 if test "$wxUSE_DIRDLG" = "yes"; then
45144 if test "$wxUSE_TREECTRL" != "yes"; then
45145 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45146 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45147 else
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_DIRDLG 1
45150 _ACEOF
45151
45152 fi
45153 fi
45154
45155 if test "$wxUSE_MSGDLG" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_MSGDLG 1
45158 _ACEOF
45159
45160 fi
45161
45162 if test "$wxUSE_NUMBERDLG" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_NUMBERDLG 1
45165 _ACEOF
45166
45167 fi
45168
45169 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45171 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45172 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45173 else
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_PROGRESSDLG 1
45176 _ACEOF
45177
45178 fi
45179 fi
45180
45181 if test "$wxUSE_SPLASH" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_SPLASH 1
45184 _ACEOF
45185
45186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45187 fi
45188
45189 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45190 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45191 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45192 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45193 else
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_STARTUP_TIPS 1
45196 _ACEOF
45197
45198 fi
45199 fi
45200
45201 if test "$wxUSE_TEXTDLG" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_TEXTDLG 1
45204 _ACEOF
45205
45206 fi
45207
45208 if test "$wxUSE_WIZARDDLG" = "yes"; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_WIZARDDLG 1
45211 _ACEOF
45212
45213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45214 fi
45215
45216
45217 USE_MEDIA=0
45218
45219 if test "$wxUSE_MEDIACTRL" = "yes"; then
45220 USE_MEDIA=1
45221
45222 if test "$wxUSE_GTK" = 1; then
45223 wxUSE_GSTREAMER="no"
45224
45225 GST_VERSION_MAJOR=0
45226 GST_VERSION_MINOR=10
45227 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45228
45229 if test "$wxUSE_GSTREAMER8" = "no"; then
45230
45231 pkg_failed=no
45232 echo "$as_me:$LINENO: checking for GST" >&5
45233 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45234
45235 if test -n "$PKG_CONFIG"; then
45236 if test -n "$GST_CFLAGS"; then
45237 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45238 else
45239 if test -n "$PKG_CONFIG" && \
45240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45241 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45242 ac_status=$?
45243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244 (exit $ac_status); }; then
45245 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45246 else
45247 pkg_failed=yes
45248 fi
45249 fi
45250 else
45251 pkg_failed=untried
45252 fi
45253 if test -n "$PKG_CONFIG"; then
45254 if test -n "$GST_LIBS"; then
45255 pkg_cv_GST_LIBS="$GST_LIBS"
45256 else
45257 if test -n "$PKG_CONFIG" && \
45258 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45259 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45260 ac_status=$?
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); }; then
45263 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45264 else
45265 pkg_failed=yes
45266 fi
45267 fi
45268 else
45269 pkg_failed=untried
45270 fi
45271
45272
45273
45274 if test $pkg_failed = yes; then
45275
45276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45277 _pkg_short_errors_supported=yes
45278 else
45279 _pkg_short_errors_supported=no
45280 fi
45281 if test $_pkg_short_errors_supported = yes; then
45282 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45283 else
45284 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45285 fi
45286 # Put the nasty error message in config.log where it belongs
45287 echo "$GST_PKG_ERRORS" >&5
45288
45289
45290 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45291 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45292 GST_VERSION_MINOR=8
45293
45294
45295 elif test $pkg_failed = untried; then
45296
45297 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45298 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45299 GST_VERSION_MINOR=8
45300
45301
45302 else
45303 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45304 GST_LIBS=$pkg_cv_GST_LIBS
45305 echo "$as_me:$LINENO: result: yes" >&5
45306 echo "${ECHO_T}yes" >&6
45307
45308 wxUSE_GSTREAMER="yes"
45309 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45310
45311 fi
45312 else
45313 GST_VERSION_MINOR=8
45314 fi
45315
45316 if test $GST_VERSION_MINOR = "8"; then
45317 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45318
45319 pkg_failed=no
45320 echo "$as_me:$LINENO: checking for GST" >&5
45321 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45322
45323 if test -n "$PKG_CONFIG"; then
45324 if test -n "$GST_CFLAGS"; then
45325 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45326 else
45327 if test -n "$PKG_CONFIG" && \
45328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45329 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45330 ac_status=$?
45331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45332 (exit $ac_status); }; then
45333 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45334 else
45335 pkg_failed=yes
45336 fi
45337 fi
45338 else
45339 pkg_failed=untried
45340 fi
45341 if test -n "$PKG_CONFIG"; then
45342 if test -n "$GST_LIBS"; then
45343 pkg_cv_GST_LIBS="$GST_LIBS"
45344 else
45345 if test -n "$PKG_CONFIG" && \
45346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45347 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45348 ac_status=$?
45349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350 (exit $ac_status); }; then
45351 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45352 else
45353 pkg_failed=yes
45354 fi
45355 fi
45356 else
45357 pkg_failed=untried
45358 fi
45359
45360
45361
45362 if test $pkg_failed = yes; then
45363
45364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45365 _pkg_short_errors_supported=yes
45366 else
45367 _pkg_short_errors_supported=no
45368 fi
45369 if test $_pkg_short_errors_supported = yes; then
45370 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45371 else
45372 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45373 fi
45374 # Put the nasty error message in config.log where it belongs
45375 echo "$GST_PKG_ERRORS" >&5
45376
45377
45378 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45379 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45380
45381 elif test $pkg_failed = untried; then
45382
45383 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45384 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45385
45386 else
45387 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45388 GST_LIBS=$pkg_cv_GST_LIBS
45389 echo "$as_me:$LINENO: result: yes" >&5
45390 echo "${ECHO_T}yes" >&6
45391 wxUSE_GSTREAMER="yes"
45392 fi
45393 fi
45394
45395
45396 if test "$wxUSE_GSTREAMER" = "yes"; then
45397 case "${host}" in
45398 *-*-solaris2* )
45399 if "$GCC" = yes; then
45400 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45401 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45402 fi
45403 esac
45404
45405 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45406 LIBS="$GST_LIBS $LIBS"
45407
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_GSTREAMER 1
45410 _ACEOF
45411
45412 else
45413 USE_MEDIA=0
45414 fi
45415 fi
45416
45417 if test $USE_MEDIA = 1; then
45418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_MEDIACTRL 1
45421 _ACEOF
45422
45423 fi
45424 fi
45425
45426
45427 if test "$cross_compiling" = "yes"; then
45428 OSINFO="\"$host\""
45429 else
45430 OSINFO=`uname -s -r -m`
45431 OSINFO="\"$OSINFO\""
45432 fi
45433
45434 cat >>confdefs.h <<_ACEOF
45435 #define WXWIN_OS_DESCRIPTION $OSINFO
45436 _ACEOF
45437
45438
45439
45440 if test "x$prefix" != "xNONE"; then
45441 wxPREFIX=$prefix
45442 else
45443 wxPREFIX=$ac_default_prefix
45444 fi
45445
45446 cat >>confdefs.h <<_ACEOF
45447 #define wxINSTALL_PREFIX "$wxPREFIX"
45448 _ACEOF
45449
45450
45451
45452
45453 CORE_BASE_LIBS="net base"
45454 CORE_GUI_LIBS="adv core"
45455
45456 if test "$wxUSE_XML" = "yes" ; then
45457 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45458 fi
45459 if test "$wxUSE_ODBC" != "no" ; then
45460 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45461 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45462 fi
45463 if test "$wxUSE_HTML" = "yes" ; then
45464 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45465 fi
45466 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45467 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45468 fi
45469 if test "$wxUSE_XRC" = "yes" ; then
45470 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45471 fi
45472 if test "$wxUSE_AUI" = "yes" ; then
45473 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45474 fi
45475
45476 if test "$wxUSE_GUI" != "yes"; then
45477 CORE_GUI_LIBS=""
45478 fi
45479
45480
45481
45482
45483
45484 ac_ext=c
45485 ac_cpp='$CPP $CPPFLAGS'
45486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45489
45490
45491
45492 if test "$wxUSE_MAC" = 1 ; then
45493 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45494 if test "$USE_DARWIN" = 1; then
45495 LDFLAGS="$LDFLAGS -framework QuickTime"
45496 else
45497 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45498 fi
45499 fi
45500 if test "$USE_DARWIN" = 1; then
45501 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45502 else
45503 LDFLAGS="$LDFLAGS -lCarbonLib"
45504 fi
45505 fi
45506 if test "$wxUSE_COCOA" = 1 ; then
45507 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45508 if test "$wxUSE_MEDIACTRL" = "yes"; then
45509 LDFLAGS="$LDFLAGS -framework QuickTime"
45510 fi
45511 fi
45512 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45513 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45514 fi
45515
45516 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45517
45518 if test "$wxUSE_GUI" = "yes"; then
45519
45520
45521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45522 dynamic erase event exec font image minimal mobile \
45523 mobile/wxedit mobile/styles propsize render \
45524 rotate shaped vscroll widgets"
45525
45526 if test "$wxUSE_MONOLITHIC" != "yes"; then
45527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45528 fi
45529 if test "$TOOLKIT" = "MSW"; then
45530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45531 if test "$wxUSE_UNIVERSAL" != "yes"; then
45532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45533 fi
45534 fi
45535 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45537 fi
45538 else
45539 SAMPLES_SUBDIRS="console"
45540 fi
45541
45542
45543 if test "x$INTELCC" = "xyes" ; then
45544 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45545 elif test "$GCC" = yes ; then
45546 CWARNINGS="-Wall -Wundef"
45547 fi
45548
45549 if test "x$INTELCXX" = "xyes" ; then
45550 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45551 elif test "$GXX" = yes ; then
45552 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45553 fi
45554
45555
45556 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45557 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45558
45559
45560 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45561 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45562 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45563 $CPPFLAGS `
45564
45565 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45566 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45567 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45568
45569 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45570
45571
45572 if test "x$MWCC" = "xyes"; then
45573
45574 CC="$CC -cwd source -I-"
45575 CXX="$CXX -cwd source -I-"
45576 fi
45577
45578
45579 LIBS=`echo $LIBS`
45580 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45581 EXTRALIBS_XML="$EXPAT_LINK"
45582 EXTRALIBS_HTML="$MSPACK_LINK"
45583 EXTRALIBS_ODBC="$ODBC_LINK"
45584 if test "$wxUSE_GUI" = "yes"; then
45585 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45586 fi
45587 if test "$wxUSE_OPENGL" = "yes"; then
45588 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45589 fi
45590
45591 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45592
45593 WXCONFIG_LIBS="$LIBS"
45594
45595 if test "$wxUSE_REGEX" = "builtin" ; then
45596 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45597 fi
45598 if test "$wxUSE_EXPAT" = "builtin" ; then
45599 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45600 fi
45601 if test "$wxUSE_ODBC" = "builtin" ; then
45602 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45603 fi
45604 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45605 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45606 fi
45607 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45608 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45609 fi
45610 if test "$wxUSE_LIBPNG" = "builtin" ; then
45611 wxconfig_3rdparty="png $wxconfig_3rdparty"
45612 fi
45613 if test "$wxUSE_ZLIB" = "builtin" ; then
45614 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45615 fi
45616
45617 for i in $wxconfig_3rdparty ; do
45618 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45619 done
45620
45621
45622 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45623 WXUNIV=1
45624 else
45625 WXUNIV=0
45626 fi
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636 if test $wxUSE_MONOLITHIC = "yes" ; then
45637 MONOLITHIC=1
45638 else
45639 MONOLITHIC=0
45640 fi
45641
45642 if test $wxUSE_PLUGINS = "yes" ; then
45643 USE_PLUGINS=1
45644 else
45645 USE_PLUGINS=0
45646 fi
45647
45648 if test $wxUSE_ODBC != "no" ; then
45649 USE_ODBC=1
45650 else
45651 USE_ODBC=0
45652 fi
45653
45654 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45655 USE_QA=1
45656 else
45657 USE_QA=0
45658 fi
45659
45660 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45661 OFFICIAL_BUILD=1
45662 else
45663 OFFICIAL_BUILD=0
45664 fi
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45691
45692
45693
45694
45695
45696
45697
45698
45699 case "$TOOLKIT" in
45700 GTK)
45701 TOOLKIT_USER="GTK+"
45702 if test "$WXGTK20" = 1; then
45703 TOOLKIT_USER="$TOOLKIT_USER 2"
45704 fi
45705 ;;
45706
45707 *)
45708 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45709 ;;
45710 esac
45711
45712 if test "$wxUSE_WINE" = "yes"; then
45713 BAKEFILE_FORCE_PLATFORM=win32
45714 fi
45715
45716 if test "$wxUSE_MAC" = 1 ; then
45717 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45718 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45719 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45720 else
45721 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45722 fi
45723 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45724 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45725 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45726 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45727 bk_use_pch=no
45728 fi
45729 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45730 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45731 fi
45732
45733
45734
45735
45736 if test "x$BAKEFILE_HOST" = "x"; then
45737 if test "x${host}" = "x" ; then
45738 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45739 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45740 { (exit 1); exit 1; }; }
45741 fi
45742
45743 BAKEFILE_HOST="${host}"
45744 fi
45745
45746 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45747
45748 if test -n "$ac_tool_prefix"; then
45749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45750 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45751 echo "$as_me:$LINENO: checking for $ac_word" >&5
45752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45753 if test "${ac_cv_prog_RANLIB+set}" = set; then
45754 echo $ECHO_N "(cached) $ECHO_C" >&6
45755 else
45756 if test -n "$RANLIB"; then
45757 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45758 else
45759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45760 for as_dir in $PATH
45761 do
45762 IFS=$as_save_IFS
45763 test -z "$as_dir" && as_dir=.
45764 for ac_exec_ext in '' $ac_executable_extensions; do
45765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45766 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45768 break 2
45769 fi
45770 done
45771 done
45772
45773 fi
45774 fi
45775 RANLIB=$ac_cv_prog_RANLIB
45776 if test -n "$RANLIB"; then
45777 echo "$as_me:$LINENO: result: $RANLIB" >&5
45778 echo "${ECHO_T}$RANLIB" >&6
45779 else
45780 echo "$as_me:$LINENO: result: no" >&5
45781 echo "${ECHO_T}no" >&6
45782 fi
45783
45784 fi
45785 if test -z "$ac_cv_prog_RANLIB"; then
45786 ac_ct_RANLIB=$RANLIB
45787 # Extract the first word of "ranlib", so it can be a program name with args.
45788 set dummy ranlib; ac_word=$2
45789 echo "$as_me:$LINENO: checking for $ac_word" >&5
45790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45791 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45792 echo $ECHO_N "(cached) $ECHO_C" >&6
45793 else
45794 if test -n "$ac_ct_RANLIB"; then
45795 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45796 else
45797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45798 for as_dir in $PATH
45799 do
45800 IFS=$as_save_IFS
45801 test -z "$as_dir" && as_dir=.
45802 for ac_exec_ext in '' $ac_executable_extensions; do
45803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45804 ac_cv_prog_ac_ct_RANLIB="ranlib"
45805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45806 break 2
45807 fi
45808 done
45809 done
45810
45811 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45812 fi
45813 fi
45814 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45815 if test -n "$ac_ct_RANLIB"; then
45816 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45817 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45818 else
45819 echo "$as_me:$LINENO: result: no" >&5
45820 echo "${ECHO_T}no" >&6
45821 fi
45822
45823 RANLIB=$ac_ct_RANLIB
45824 else
45825 RANLIB="$ac_cv_prog_RANLIB"
45826 fi
45827
45828 # Find a good install program. We prefer a C program (faster),
45829 # so one script is as good as another. But avoid the broken or
45830 # incompatible versions:
45831 # SysV /etc/install, /usr/sbin/install
45832 # SunOS /usr/etc/install
45833 # IRIX /sbin/install
45834 # AIX /bin/install
45835 # AmigaOS /C/install, which installs bootblocks on floppy discs
45836 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45837 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45838 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45839 # OS/2's system install, which has a completely different semantic
45840 # ./install, which can be erroneously created by make from ./install.sh.
45841 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45842 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45843 if test -z "$INSTALL"; then
45844 if test "${ac_cv_path_install+set}" = set; then
45845 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 else
45847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45848 for as_dir in $PATH
45849 do
45850 IFS=$as_save_IFS
45851 test -z "$as_dir" && as_dir=.
45852 # Account for people who put trailing slashes in PATH elements.
45853 case $as_dir/ in
45854 ./ | .// | /cC/* | \
45855 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45856 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45857 /usr/ucb/* ) ;;
45858 *)
45859 # OSF1 and SCO ODT 3.0 have their own names for install.
45860 # Don't use installbsd from OSF since it installs stuff as root
45861 # by default.
45862 for ac_prog in ginstall scoinst install; do
45863 for ac_exec_ext in '' $ac_executable_extensions; do
45864 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45865 if test $ac_prog = install &&
45866 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45867 # AIX install. It has an incompatible calling convention.
45868 :
45869 elif test $ac_prog = install &&
45870 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45871 # program-specific install script used by HP pwplus--don't use.
45872 :
45873 else
45874 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45875 break 3
45876 fi
45877 fi
45878 done
45879 done
45880 ;;
45881 esac
45882 done
45883
45884
45885 fi
45886 if test "${ac_cv_path_install+set}" = set; then
45887 INSTALL=$ac_cv_path_install
45888 else
45889 # As a last resort, use the slow shell script. We don't cache a
45890 # path for INSTALL within a source directory, because that will
45891 # break other packages using the cache if that directory is
45892 # removed, or if the path is relative.
45893 INSTALL=$ac_install_sh
45894 fi
45895 fi
45896 echo "$as_me:$LINENO: result: $INSTALL" >&5
45897 echo "${ECHO_T}$INSTALL" >&6
45898
45899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45900 # It thinks the first close brace ends the variable substitution.
45901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45902
45903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45904
45905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45906
45907 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45909 LN_S=$as_ln_s
45910 if test "$LN_S" = "ln -s"; then
45911 echo "$as_me:$LINENO: result: yes" >&5
45912 echo "${ECHO_T}yes" >&6
45913 else
45914 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45915 echo "${ECHO_T}no, using $LN_S" >&6
45916 fi
45917
45918
45919 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45920 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45921 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45922 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45923 echo $ECHO_N "(cached) $ECHO_C" >&6
45924 else
45925 cat >conftest.make <<\_ACEOF
45926 all:
45927 @echo 'ac_maketemp="$(MAKE)"'
45928 _ACEOF
45929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45930 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45931 if test -n "$ac_maketemp"; then
45932 eval ac_cv_prog_make_${ac_make}_set=yes
45933 else
45934 eval ac_cv_prog_make_${ac_make}_set=no
45935 fi
45936 rm -f conftest.make
45937 fi
45938 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45939 echo "$as_me:$LINENO: result: yes" >&5
45940 echo "${ECHO_T}yes" >&6
45941 SET_MAKE=
45942 else
45943 echo "$as_me:$LINENO: result: no" >&5
45944 echo "${ECHO_T}no" >&6
45945 SET_MAKE="MAKE=${MAKE-make}"
45946 fi
45947
45948
45949
45950 if test -n "$ac_tool_prefix"; then
45951 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45952 set dummy ${ac_tool_prefix}ar; ac_word=$2
45953 echo "$as_me:$LINENO: checking for $ac_word" >&5
45954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45955 if test "${ac_cv_prog_AR+set}" = set; then
45956 echo $ECHO_N "(cached) $ECHO_C" >&6
45957 else
45958 if test -n "$AR"; then
45959 ac_cv_prog_AR="$AR" # Let the user override the test.
45960 else
45961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45962 for as_dir in $PATH
45963 do
45964 IFS=$as_save_IFS
45965 test -z "$as_dir" && as_dir=.
45966 for ac_exec_ext in '' $ac_executable_extensions; do
45967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45968 ac_cv_prog_AR="${ac_tool_prefix}ar"
45969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45970 break 2
45971 fi
45972 done
45973 done
45974
45975 fi
45976 fi
45977 AR=$ac_cv_prog_AR
45978 if test -n "$AR"; then
45979 echo "$as_me:$LINENO: result: $AR" >&5
45980 echo "${ECHO_T}$AR" >&6
45981 else
45982 echo "$as_me:$LINENO: result: no" >&5
45983 echo "${ECHO_T}no" >&6
45984 fi
45985
45986 fi
45987 if test -z "$ac_cv_prog_AR"; then
45988 ac_ct_AR=$AR
45989 # Extract the first word of "ar", so it can be a program name with args.
45990 set dummy ar; ac_word=$2
45991 echo "$as_me:$LINENO: checking for $ac_word" >&5
45992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45993 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45994 echo $ECHO_N "(cached) $ECHO_C" >&6
45995 else
45996 if test -n "$ac_ct_AR"; then
45997 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45998 else
45999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46000 for as_dir in $PATH
46001 do
46002 IFS=$as_save_IFS
46003 test -z "$as_dir" && as_dir=.
46004 for ac_exec_ext in '' $ac_executable_extensions; do
46005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46006 ac_cv_prog_ac_ct_AR="ar"
46007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46008 break 2
46009 fi
46010 done
46011 done
46012
46013 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46014 fi
46015 fi
46016 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46017 if test -n "$ac_ct_AR"; then
46018 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46019 echo "${ECHO_T}$ac_ct_AR" >&6
46020 else
46021 echo "$as_me:$LINENO: result: no" >&5
46022 echo "${ECHO_T}no" >&6
46023 fi
46024
46025 AR=$ac_ct_AR
46026 else
46027 AR="$ac_cv_prog_AR"
46028 fi
46029
46030 if test -n "$ac_tool_prefix"; then
46031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46032 set dummy ${ac_tool_prefix}strip; ac_word=$2
46033 echo "$as_me:$LINENO: checking for $ac_word" >&5
46034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46035 if test "${ac_cv_prog_STRIP+set}" = set; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46037 else
46038 if test -n "$STRIP"; then
46039 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46040 else
46041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46042 for as_dir in $PATH
46043 do
46044 IFS=$as_save_IFS
46045 test -z "$as_dir" && as_dir=.
46046 for ac_exec_ext in '' $ac_executable_extensions; do
46047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46048 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46050 break 2
46051 fi
46052 done
46053 done
46054
46055 fi
46056 fi
46057 STRIP=$ac_cv_prog_STRIP
46058 if test -n "$STRIP"; then
46059 echo "$as_me:$LINENO: result: $STRIP" >&5
46060 echo "${ECHO_T}$STRIP" >&6
46061 else
46062 echo "$as_me:$LINENO: result: no" >&5
46063 echo "${ECHO_T}no" >&6
46064 fi
46065
46066 fi
46067 if test -z "$ac_cv_prog_STRIP"; then
46068 ac_ct_STRIP=$STRIP
46069 # Extract the first word of "strip", so it can be a program name with args.
46070 set dummy strip; ac_word=$2
46071 echo "$as_me:$LINENO: checking for $ac_word" >&5
46072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46073 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46074 echo $ECHO_N "(cached) $ECHO_C" >&6
46075 else
46076 if test -n "$ac_ct_STRIP"; then
46077 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46078 else
46079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46080 for as_dir in $PATH
46081 do
46082 IFS=$as_save_IFS
46083 test -z "$as_dir" && as_dir=.
46084 for ac_exec_ext in '' $ac_executable_extensions; do
46085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46086 ac_cv_prog_ac_ct_STRIP="strip"
46087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46088 break 2
46089 fi
46090 done
46091 done
46092
46093 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46094 fi
46095 fi
46096 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46097 if test -n "$ac_ct_STRIP"; then
46098 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46099 echo "${ECHO_T}$ac_ct_STRIP" >&6
46100 else
46101 echo "$as_me:$LINENO: result: no" >&5
46102 echo "${ECHO_T}no" >&6
46103 fi
46104
46105 STRIP=$ac_ct_STRIP
46106 else
46107 STRIP="$ac_cv_prog_STRIP"
46108 fi
46109
46110 if test -n "$ac_tool_prefix"; then
46111 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46112 set dummy ${ac_tool_prefix}nm; ac_word=$2
46113 echo "$as_me:$LINENO: checking for $ac_word" >&5
46114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46115 if test "${ac_cv_prog_NM+set}" = set; then
46116 echo $ECHO_N "(cached) $ECHO_C" >&6
46117 else
46118 if test -n "$NM"; then
46119 ac_cv_prog_NM="$NM" # Let the user override the test.
46120 else
46121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46122 for as_dir in $PATH
46123 do
46124 IFS=$as_save_IFS
46125 test -z "$as_dir" && as_dir=.
46126 for ac_exec_ext in '' $ac_executable_extensions; do
46127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46128 ac_cv_prog_NM="${ac_tool_prefix}nm"
46129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46130 break 2
46131 fi
46132 done
46133 done
46134
46135 fi
46136 fi
46137 NM=$ac_cv_prog_NM
46138 if test -n "$NM"; then
46139 echo "$as_me:$LINENO: result: $NM" >&5
46140 echo "${ECHO_T}$NM" >&6
46141 else
46142 echo "$as_me:$LINENO: result: no" >&5
46143 echo "${ECHO_T}no" >&6
46144 fi
46145
46146 fi
46147 if test -z "$ac_cv_prog_NM"; then
46148 ac_ct_NM=$NM
46149 # Extract the first word of "nm", so it can be a program name with args.
46150 set dummy nm; ac_word=$2
46151 echo "$as_me:$LINENO: checking for $ac_word" >&5
46152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46153 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46154 echo $ECHO_N "(cached) $ECHO_C" >&6
46155 else
46156 if test -n "$ac_ct_NM"; then
46157 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46158 else
46159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46160 for as_dir in $PATH
46161 do
46162 IFS=$as_save_IFS
46163 test -z "$as_dir" && as_dir=.
46164 for ac_exec_ext in '' $ac_executable_extensions; do
46165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46166 ac_cv_prog_ac_ct_NM="nm"
46167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46168 break 2
46169 fi
46170 done
46171 done
46172
46173 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46174 fi
46175 fi
46176 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46177 if test -n "$ac_ct_NM"; then
46178 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46179 echo "${ECHO_T}$ac_ct_NM" >&6
46180 else
46181 echo "$as_me:$LINENO: result: no" >&5
46182 echo "${ECHO_T}no" >&6
46183 fi
46184
46185 NM=$ac_ct_NM
46186 else
46187 NM="$ac_cv_prog_NM"
46188 fi
46189
46190
46191 case ${BAKEFILE_HOST} in
46192 *-hp-hpux* )
46193 INSTALL_DIR="mkdir -p"
46194 ;;
46195 *) INSTALL_DIR="$INSTALL -d"
46196 ;;
46197 esac
46198
46199
46200 LDFLAGS_GUI=
46201 case ${BAKEFILE_HOST} in
46202 *-*-cygwin* | *-*-mingw32* )
46203 LDFLAGS_GUI="-mwindows"
46204 esac
46205
46206
46207 fi
46208
46209 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46210 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46211 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46212 echo $ECHO_N "(cached) $ECHO_C" >&6
46213 else
46214
46215 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46216 egrep -s GNU > /dev/null); then
46217 bakefile_cv_prog_makeisgnu="yes"
46218 else
46219 bakefile_cv_prog_makeisgnu="no"
46220 fi
46221
46222 fi
46223 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46224 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46225
46226 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46227 IF_GNU_MAKE=""
46228 else
46229 IF_GNU_MAKE="#"
46230 fi
46231
46232
46233
46234 PLATFORM_UNIX=0
46235 PLATFORM_WIN32=0
46236 PLATFORM_MSDOS=0
46237 PLATFORM_MAC=0
46238 PLATFORM_MACOS=0
46239 PLATFORM_MACOSX=0
46240 PLATFORM_OS2=0
46241 PLATFORM_BEOS=0
46242
46243 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46244 case "${BAKEFILE_HOST}" in
46245 *-*-mingw32* )
46246 PLATFORM_WIN32=1
46247 ;;
46248 *-pc-msdosdjgpp )
46249 PLATFORM_MSDOS=1
46250 ;;
46251 *-pc-os2_emx | *-pc-os2-emx )
46252 PLATFORM_OS2=1
46253 ;;
46254 *-*-darwin* )
46255 PLATFORM_MAC=1
46256 PLATFORM_MACOSX=1
46257 ;;
46258 *-*-beos* )
46259 PLATFORM_BEOS=1
46260 ;;
46261 powerpc-apple-macos* )
46262 PLATFORM_MAC=1
46263 PLATFORM_MACOS=1
46264 ;;
46265 * )
46266 PLATFORM_UNIX=1
46267 ;;
46268 esac
46269 else
46270 case "$BAKEFILE_FORCE_PLATFORM" in
46271 win32 )
46272 PLATFORM_WIN32=1
46273 ;;
46274 msdos )
46275 PLATFORM_MSDOS=1
46276 ;;
46277 os2 )
46278 PLATFORM_OS2=1
46279 ;;
46280 darwin )
46281 PLATFORM_MAC=1
46282 PLATFORM_MACOSX=1
46283 ;;
46284 unix )
46285 PLATFORM_UNIX=1
46286 ;;
46287 beos )
46288 PLATFORM_BEOS=1
46289 ;;
46290 * )
46291 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46292 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46293 { (exit 1); exit 1; }; }
46294 ;;
46295 esac
46296 fi
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308 # Check whether --enable-omf or --disable-omf was given.
46309 if test "${enable_omf+set}" = set; then
46310 enableval="$enable_omf"
46311 bk_os2_use_omf="$enableval"
46312 fi;
46313
46314 case "${BAKEFILE_HOST}" in
46315 *-*-darwin* )
46316 if test "x$GCC" = "xyes"; then
46317 CFLAGS="$CFLAGS -fno-common"
46318 CXXFLAGS="$CXXFLAGS -fno-common"
46319 fi
46320 if test "x$XLCC" = "xyes"; then
46321 CFLAGS="$CFLAGS -qnocommon"
46322 CXXFLAGS="$CXXFLAGS -qnocommon"
46323 fi
46324 ;;
46325
46326 *-pc-os2_emx | *-pc-os2-emx )
46327 if test "x$bk_os2_use_omf" = "xyes" ; then
46328 AR=emxomfar
46329 RANLIB=:
46330 LDFLAGS="-Zomf $LDFLAGS"
46331 CFLAGS="-Zomf $CFLAGS"
46332 CXXFLAGS="-Zomf $CXXFLAGS"
46333 OS2_LIBEXT="lib"
46334 else
46335 OS2_LIBEXT="a"
46336 fi
46337 ;;
46338
46339 i*86-*-beos* )
46340 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46341 ;;
46342 esac
46343
46344
46345 SO_SUFFIX="so"
46346 SO_SUFFIX_MODULE="so"
46347 EXEEXT=""
46348 LIBPREFIX="lib"
46349 LIBEXT=".a"
46350 DLLPREFIX="lib"
46351 DLLPREFIX_MODULE=""
46352 DLLIMP_SUFFIX=""
46353 dlldir="$libdir"
46354
46355 case "${BAKEFILE_HOST}" in
46356 *-hp-hpux* )
46357 SO_SUFFIX="sl"
46358 SO_SUFFIX_MODULE="sl"
46359 ;;
46360 *-*-aix* )
46361 SO_SUFFIX="a"
46362 SO_SUFFIX_MODULE="a"
46363 ;;
46364 *-*-cygwin* )
46365 SO_SUFFIX="dll"
46366 SO_SUFFIX_MODULE="dll"
46367 DLLIMP_SUFFIX="dll.a"
46368 EXEEXT=".exe"
46369 DLLPREFIX="cyg"
46370 dlldir="$bindir"
46371 ;;
46372 *-*-mingw32* )
46373 SO_SUFFIX="dll"
46374 SO_SUFFIX_MODULE="dll"
46375 DLLIMP_SUFFIX="dll.a"
46376 EXEEXT=".exe"
46377 DLLPREFIX=""
46378 dlldir="$bindir"
46379 ;;
46380 *-pc-msdosdjgpp )
46381 EXEEXT=".exe"
46382 DLLPREFIX=""
46383 dlldir="$bindir"
46384 ;;
46385 *-pc-os2_emx | *-pc-os2-emx )
46386 SO_SUFFIX="dll"
46387 SO_SUFFIX_MODULE="dll"
46388 DLLIMP_SUFFIX=$OS2_LIBEXT
46389 EXEEXT=".exe"
46390 DLLPREFIX=""
46391 LIBPREFIX=""
46392 LIBEXT=".$OS2_LIBEXT"
46393 dlldir="$bindir"
46394 ;;
46395 *-*-darwin* )
46396 SO_SUFFIX="dylib"
46397 SO_SUFFIX_MODULE="bundle"
46398 ;;
46399 esac
46400
46401 if test "x$DLLIMP_SUFFIX" = "x" ; then
46402 DLLIMP_SUFFIX="$SO_SUFFIX"
46403 fi
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416 PIC_FLAG=""
46417 if test "x$GCC" = "xyes"; then
46418 PIC_FLAG="-fPIC"
46419 fi
46420
46421 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46422 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46423 WINDOWS_IMPLIB=0
46424
46425 case "${BAKEFILE_HOST}" in
46426 *-hp-hpux* )
46427 if test "x$GCC" != "xyes"; then
46428 LDFLAGS="$LDFLAGS -L/usr/lib"
46429
46430 SHARED_LD_CC="${CC} -b -o"
46431 SHARED_LD_CXX="${CXX} -b -o"
46432 PIC_FLAG="+Z"
46433 fi
46434 ;;
46435
46436 *-*-linux* )
46437 if test "x$GCC" != "xyes"; then
46438 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46439 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46440 if test "${bakefile_cv_prog_icc+set}" = set; then
46441 echo $ECHO_N "(cached) $ECHO_C" >&6
46442 else
46443
46444 cat >conftest.$ac_ext <<_ACEOF
46445 /* confdefs.h. */
46446 _ACEOF
46447 cat confdefs.h >>conftest.$ac_ext
46448 cat >>conftest.$ac_ext <<_ACEOF
46449 /* end confdefs.h. */
46450
46451 int
46452 main ()
46453 {
46454
46455 #ifndef __INTEL_COMPILER
46456 This is not ICC
46457 #endif
46458
46459 ;
46460 return 0;
46461 }
46462 _ACEOF
46463 rm -f conftest.$ac_objext
46464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46465 (eval $ac_compile) 2>conftest.er1
46466 ac_status=$?
46467 grep -v '^ *+' conftest.er1 >conftest.err
46468 rm -f conftest.er1
46469 cat conftest.err >&5
46470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46471 (exit $ac_status); } &&
46472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46474 (eval $ac_try) 2>&5
46475 ac_status=$?
46476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46477 (exit $ac_status); }; } &&
46478 { ac_try='test -s conftest.$ac_objext'
46479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46480 (eval $ac_try) 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; }; then
46484 bakefile_cv_prog_icc=yes
46485 else
46486 echo "$as_me: failed program was:" >&5
46487 sed 's/^/| /' conftest.$ac_ext >&5
46488
46489 bakefile_cv_prog_icc=no
46490
46491 fi
46492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46493
46494 fi
46495 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46496 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46497 if test "$bakefile_cv_prog_icc" = "yes"; then
46498 PIC_FLAG="-KPIC"
46499 fi
46500 fi
46501 ;;
46502
46503 *-*-solaris2* )
46504 if test "x$GCC" != xyes ; then
46505 SHARED_LD_CC="${CC} -G -o"
46506 SHARED_LD_CXX="${CXX} -G -o"
46507 PIC_FLAG="-KPIC"
46508 fi
46509 ;;
46510
46511 *-*-darwin* )
46512
46513 D='$'
46514 cat <<EOF >shared-ld-sh
46515 #!/bin/sh
46516 #-----------------------------------------------------------------------------
46517 #-- Name: distrib/mac/shared-ld-sh
46518 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46519 #-- Author: Gilles Depeyrot
46520 #-- Copyright: (c) 2002 Gilles Depeyrot
46521 #-- Licence: any use permitted
46522 #-----------------------------------------------------------------------------
46523
46524 verbose=0
46525 args=""
46526 objects=""
46527 linking_flag="-dynamiclib"
46528 ldargs="-r -keep_private_externs -nostdlib"
46529
46530 while test ${D}# -gt 0; do
46531 case ${D}1 in
46532
46533 -v)
46534 verbose=1
46535 ;;
46536
46537 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46538 # collect these options and values
46539 args="${D}{args} ${D}1 ${D}2"
46540 shift
46541 ;;
46542
46543 -s|-Wl,*)
46544 # collect these load args
46545 ldargs="${D}{ldargs} ${D}1"
46546 ;;
46547
46548 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46549 # collect these options
46550 args="${D}{args} ${D}1"
46551 ;;
46552
46553 -dynamiclib|-bundle)
46554 linking_flag="${D}1"
46555 ;;
46556
46557 -*)
46558 echo "shared-ld: unhandled option '${D}1'"
46559 exit 1
46560 ;;
46561
46562 *.o | *.a | *.dylib)
46563 # collect object files
46564 objects="${D}{objects} ${D}1"
46565 ;;
46566
46567 *)
46568 echo "shared-ld: unhandled argument '${D}1'"
46569 exit 1
46570 ;;
46571
46572 esac
46573 shift
46574 done
46575
46576 status=0
46577
46578 #
46579 # Link one module containing all the others
46580 #
46581 if test ${D}{verbose} = 1; then
46582 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46583 fi
46584 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46585 status=${D}?
46586
46587 #
46588 # Link the shared library from the single module created, but only if the
46589 # previous command didn't fail:
46590 #
46591 if test ${D}{status} = 0; then
46592 if test ${D}{verbose} = 1; then
46593 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46594 fi
46595 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46596 status=${D}?
46597 fi
46598
46599 #
46600 # Remove intermediate module
46601 #
46602 rm -f master.${D}${D}.o
46603
46604 exit ${D}status
46605 EOF
46606
46607 chmod +x shared-ld-sh
46608
46609 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46610 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46611
46612
46613 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46614 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46615 if test "${bakefile_cv_gcc31+set}" = set; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
46618
46619 cat >conftest.$ac_ext <<_ACEOF
46620 /* confdefs.h. */
46621 _ACEOF
46622 cat confdefs.h >>conftest.$ac_ext
46623 cat >>conftest.$ac_ext <<_ACEOF
46624 /* end confdefs.h. */
46625
46626 int
46627 main ()
46628 {
46629
46630 #if (__GNUC__ < 3) || \
46631 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46632 This is old gcc
46633 #endif
46634
46635 ;
46636 return 0;
46637 }
46638 _ACEOF
46639 rm -f conftest.$ac_objext
46640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46641 (eval $ac_compile) 2>conftest.er1
46642 ac_status=$?
46643 grep -v '^ *+' conftest.er1 >conftest.err
46644 rm -f conftest.er1
46645 cat conftest.err >&5
46646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46647 (exit $ac_status); } &&
46648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46650 (eval $ac_try) 2>&5
46651 ac_status=$?
46652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46653 (exit $ac_status); }; } &&
46654 { ac_try='test -s conftest.$ac_objext'
46655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46656 (eval $ac_try) 2>&5
46657 ac_status=$?
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); }; }; then
46660
46661 bakefile_cv_gcc31=yes
46662
46663 else
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.$ac_ext >&5
46666
46667
46668 bakefile_cv_gcc31=no
46669
46670
46671 fi
46672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46673
46674 fi
46675 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46676 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46677 if test "$bakefile_cv_gcc31" = "no"; then
46678 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46679 SHARED_LD_CXX="$SHARED_LD_CC"
46680 else
46681 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46682 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46683 fi
46684
46685 if test "x$GCC" == "xyes"; then
46686 PIC_FLAG="-dynamic -fPIC"
46687 fi
46688 if test "x$XLCC" = "xyes"; then
46689 PIC_FLAG="-dynamic -DPIC"
46690 fi
46691 ;;
46692
46693 *-*-aix* )
46694 if test "x$GCC" = "xyes"; then
46695 PIC_FLAG=""
46696
46697 case "${BAKEFILE_HOST}" in
46698 *-*-aix5* )
46699 LD_EXPFULL="-Wl,-bexpfull"
46700 ;;
46701 esac
46702
46703 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46704 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46705 else
46706 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46707 set dummy makeC++SharedLib; ac_word=$2
46708 echo "$as_me:$LINENO: checking for $ac_word" >&5
46709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46710 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46711 echo $ECHO_N "(cached) $ECHO_C" >&6
46712 else
46713 if test -n "$AIX_CXX_LD"; then
46714 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46715 else
46716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46717 for as_dir in $PATH
46718 do
46719 IFS=$as_save_IFS
46720 test -z "$as_dir" && as_dir=.
46721 for ac_exec_ext in '' $ac_executable_extensions; do
46722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46723 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46725 break 2
46726 fi
46727 done
46728 done
46729
46730 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46731 fi
46732 fi
46733 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46734 if test -n "$AIX_CXX_LD"; then
46735 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46736 echo "${ECHO_T}$AIX_CXX_LD" >&6
46737 else
46738 echo "$as_me:$LINENO: result: no" >&5
46739 echo "${ECHO_T}no" >&6
46740 fi
46741
46742 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46743 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46744 fi
46745 ;;
46746
46747 *-*-beos* )
46748 SHARED_LD_CC="${LD} -nostart -o"
46749 SHARED_LD_CXX="${LD} -nostart -o"
46750 ;;
46751
46752 *-*-irix* )
46753 if test "x$GCC" != "xyes"; then
46754 PIC_FLAG="-KPIC"
46755 fi
46756 ;;
46757
46758 *-*-cygwin* | *-*-mingw32* )
46759 PIC_FLAG=""
46760 SHARED_LD_CC="\$(CC) -shared -o"
46761 SHARED_LD_CXX="\$(CXX) -shared -o"
46762 WINDOWS_IMPLIB=1
46763 ;;
46764
46765 *-pc-os2_emx | *-pc-os2-emx )
46766 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46767 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46768 PIC_FLAG=""
46769
46770 D='$'
46771 cat <<EOF >dllar.sh
46772 #!/bin/sh
46773 #
46774 # dllar - a tool to build both a .dll and an .a file
46775 # from a set of object (.o) files for EMX/OS2.
46776 #
46777 # Written by Andrew Zabolotny, bit@freya.etu.ru
46778 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46779 #
46780 # This script will accept a set of files on the command line.
46781 # All the public symbols from the .o files will be exported into
46782 # a .DEF file, then linker will be run (through gcc) against them to
46783 # build a shared library consisting of all given .o files. All libraries
46784 # (.a) will be first decompressed into component .o files then act as
46785 # described above. You can optionally give a description (-d "description")
46786 # which will be put into .DLL. To see the list of accepted options (as well
46787 # as command-line format) simply run this program without options. The .DLL
46788 # is built to be imported by name (there is no guarantee that new versions
46789 # of the library you build will have same ordinals for same symbols).
46790 #
46791 # dllar is free software; you can redistribute it and/or modify
46792 # it under the terms of the GNU General Public License as published by
46793 # the Free Software Foundation; either version 2, or (at your option)
46794 # any later version.
46795 #
46796 # dllar is distributed in the hope that it will be useful,
46797 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46799 # GNU General Public License for more details.
46800 #
46801 # You should have received a copy of the GNU General Public License
46802 # along with dllar; see the file COPYING. If not, write to the Free
46803 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46804 # 02111-1307, USA.
46805
46806 # To successfuly run this program you will need:
46807 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46808 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46809 # - gcc
46810 # (used to build the .dll)
46811 # - emxexp
46812 # (used to create .def file from .o files)
46813 # - emximp
46814 # (used to create .a file from .def file)
46815 # - GNU text utilites (cat, sort, uniq)
46816 # used to process emxexp output
46817 # - GNU file utilities (mv, rm)
46818 # - GNU sed
46819 # - lxlite (optional, see flag below)
46820 # (used for general .dll cleanup)
46821 #
46822
46823 flag_USE_LXLITE=1;
46824
46825 #
46826 # helper functions
46827 # basnam, variant of basename, which does _not_ remove the path, _iff_
46828 # second argument (suffix to remove) is given
46829 basnam(){
46830 case ${D}# in
46831 1)
46832 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46833 ;;
46834 2)
46835 echo ${D}1 | sed 's/'${D}2'${D}//'
46836 ;;
46837 *)
46838 echo "error in basnam ${D}*"
46839 exit 8
46840 ;;
46841 esac
46842 }
46843
46844 # Cleanup temporary files and output
46845 CleanUp() {
46846 cd ${D}curDir
46847 for i in ${D}inputFiles ; do
46848 case ${D}i in
46849 *!)
46850 rm -rf \`basnam ${D}i !\`
46851 ;;
46852 *)
46853 ;;
46854 esac
46855 done
46856
46857 # Kill result in case of failure as there is just to many stupid make/nmake
46858 # things out there which doesn't do this.
46859 if [ ${D}# -eq 0 ]; then
46860 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46861 fi
46862 }
46863
46864 # Print usage and exit script with rc=1.
46865 PrintHelp() {
46866 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46867 echo ' [-name-mangler-script script.sh]'
46868 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46869 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46870 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46871 echo ' [*.o] [*.a]'
46872 echo '*> "output_file" should have no extension.'
46873 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46874 echo ' The import library name is derived from this and is set to "name".a,'
46875 echo ' unless overridden by -import'
46876 echo '*> "importlib_name" should have no extension.'
46877 echo ' If it has the .o, or .a extension, it is automatically removed.'
46878 echo ' This name is used as the import library name and may be longer and'
46879 echo ' more descriptive than the DLL name which has to follow the old '
46880 echo ' 8.3 convention of FAT.'
46881 echo '*> "script.sh may be given to override the output_file name by a'
46882 echo ' different name. It is mainly useful if the regular make process'
46883 echo ' of some package does not take into account OS/2 restriction of'
46884 echo ' DLL name lengths. It takes the importlib name as input and is'
46885 echo ' supposed to procude a shorter name as output. The script should'
46886 echo ' expect to get importlib_name without extension and should produce'
46887 echo ' a (max.) 8 letter name without extension.'
46888 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46889 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46890 echo ' These flags will be put at the start of GCC command line.'
46891 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46892 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46893 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46894 echo ' If the last character of a symbol is "*", all symbols beginning'
46895 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46896 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46897 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46898 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46899 echo ' C runtime DLLs.'
46900 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46901 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46902 echo ' unchanged to GCC at the end of command line.'
46903 echo '*> If you create a DLL from a library and you do not specify -o,'
46904 echo ' the basename for DLL and import library will be set to library name,'
46905 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46906 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46907 echo ' library will be renamed into gcc_s.a.'
46908 echo '--------'
46909 echo 'Example:'
46910 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46911 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46912 CleanUp
46913 exit 1
46914 }
46915
46916 # Execute a command.
46917 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46918 # @Uses Whatever CleanUp() uses.
46919 doCommand() {
46920 echo "${D}*"
46921 eval ${D}*
46922 rcCmd=${D}?
46923
46924 if [ ${D}rcCmd -ne 0 ]; then
46925 echo "command failed, exit code="${D}rcCmd
46926 CleanUp
46927 exit ${D}rcCmd
46928 fi
46929 }
46930
46931 # main routine
46932 # setup globals
46933 cmdLine=${D}*
46934 outFile=""
46935 outimpFile=""
46936 inputFiles=""
46937 renameScript=""
46938 description=""
46939 CC=gcc.exe
46940 CFLAGS="-s -Zcrtdll"
46941 EXTRA_CFLAGS=""
46942 EXPORT_BY_ORDINALS=0
46943 exclude_symbols=""
46944 library_flags=""
46945 curDir=\`pwd\`
46946 curDirS=curDir
46947 case ${D}curDirS in
46948 */)
46949 ;;
46950 *)
46951 curDirS=${D}{curDirS}"/"
46952 ;;
46953 esac
46954 # Parse commandline
46955 libsToLink=0
46956 omfLinking=0
46957 while [ ${D}1 ]; do
46958 case ${D}1 in
46959 -ord*)
46960 EXPORT_BY_ORDINALS=1;
46961 ;;
46962 -o*)
46963 shift
46964 outFile=${D}1
46965 ;;
46966 -i*)
46967 shift
46968 outimpFile=${D}1
46969 ;;
46970 -name-mangler-script)
46971 shift
46972 renameScript=${D}1
46973 ;;
46974 -d*)
46975 shift
46976 description=${D}1
46977 ;;
46978 -f*)
46979 shift
46980 CFLAGS=${D}1
46981 ;;
46982 -c*)
46983 shift
46984 CC=${D}1
46985 ;;
46986 -h*)
46987 PrintHelp
46988 ;;
46989 -ex*)
46990 shift
46991 exclude_symbols=${D}{exclude_symbols}${D}1" "
46992 ;;
46993 -libf*)
46994 shift
46995 library_flags=${D}{library_flags}${D}1" "
46996 ;;
46997 -nocrt*)
46998 CFLAGS="-s"
46999 ;;
47000 -nolxl*)
47001 flag_USE_LXLITE=0
47002 ;;
47003 -* | /*)
47004 case ${D}1 in
47005 -L* | -l*)
47006 libsToLink=1
47007 ;;
47008 -Zomf)
47009 omfLinking=1
47010 ;;
47011 *)
47012 ;;
47013 esac
47014 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47015 ;;
47016 *.dll)
47017 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47018 if [ ${D}omfLinking -eq 1 ]; then
47019 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47020 else
47021 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47022 fi
47023 ;;
47024 *)
47025 found=0;
47026 if [ ${D}libsToLink -ne 0 ]; then
47027 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47028 else
47029 for file in ${D}1 ; do
47030 if [ -f ${D}file ]; then
47031 inputFiles="${D}{inputFiles} ${D}file"
47032 found=1
47033 fi
47034 done
47035 if [ ${D}found -eq 0 ]; then
47036 echo "ERROR: No file(s) found: "${D}1
47037 exit 8
47038 fi
47039 fi
47040 ;;
47041 esac
47042 shift
47043 done # iterate cmdline words
47044
47045 #
47046 if [ -z "${D}inputFiles" ]; then
47047 echo "dllar: no input files"
47048 PrintHelp
47049 fi
47050
47051 # Now extract all .o files from .a files
47052 newInputFiles=""
47053 for file in ${D}inputFiles ; do
47054 case ${D}file in
47055 *.a | *.lib)
47056 case ${D}file in
47057 *.a)
47058 suffix=".a"
47059 AR="ar"
47060 ;;
47061 *.lib)
47062 suffix=".lib"
47063 AR="emxomfar"
47064 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47065 ;;
47066 *)
47067 ;;
47068 esac
47069 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47070 mkdir ${D}dirname
47071 if [ ${D}? -ne 0 ]; then
47072 echo "Failed to create subdirectory ./${D}dirname"
47073 CleanUp
47074 exit 8;
47075 fi
47076 # Append '!' to indicate archive
47077 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47078 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47079 cd ${D}curDir
47080 found=0;
47081 for subfile in ${D}dirname/*.o* ; do
47082 if [ -f ${D}subfile ]; then
47083 found=1
47084 if [ -s ${D}subfile ]; then
47085 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47086 newInputFiles="${D}newInputFiles ${D}subfile"
47087 fi
47088 fi
47089 done
47090 if [ ${D}found -eq 0 ]; then
47091 echo "WARNING: there are no files in archive \\'${D}file\\'"
47092 fi
47093 ;;
47094 *)
47095 newInputFiles="${D}{newInputFiles} ${D}file"
47096 ;;
47097 esac
47098 done
47099 inputFiles="${D}newInputFiles"
47100
47101 # Output filename(s).
47102 do_backup=0;
47103 if [ -z ${D}outFile ]; then
47104 do_backup=1;
47105 set outFile ${D}inputFiles; outFile=${D}2
47106 fi
47107
47108 # If it is an archive, remove the '!' and the '_%' suffixes
47109 case ${D}outFile in
47110 *_%!)
47111 outFile=\`basnam ${D}outFile _%!\`
47112 ;;
47113 *)
47114 ;;
47115 esac
47116 case ${D}outFile in
47117 *.dll)
47118 outFile=\`basnam ${D}outFile .dll\`
47119 ;;
47120 *.DLL)
47121 outFile=\`basnam ${D}outFile .DLL\`
47122 ;;
47123 *.o)
47124 outFile=\`basnam ${D}outFile .o\`
47125 ;;
47126 *.obj)
47127 outFile=\`basnam ${D}outFile .obj\`
47128 ;;
47129 *.a)
47130 outFile=\`basnam ${D}outFile .a\`
47131 ;;
47132 *.lib)
47133 outFile=\`basnam ${D}outFile .lib\`
47134 ;;
47135 *)
47136 ;;
47137 esac
47138 case ${D}outimpFile in
47139 *.a)
47140 outimpFile=\`basnam ${D}outimpFile .a\`
47141 ;;
47142 *.lib)
47143 outimpFile=\`basnam ${D}outimpFile .lib\`
47144 ;;
47145 *)
47146 ;;
47147 esac
47148 if [ -z ${D}outimpFile ]; then
47149 outimpFile=${D}outFile
47150 fi
47151 defFile="${D}{outFile}.def"
47152 arcFile="${D}{outimpFile}.a"
47153 arcFile2="${D}{outimpFile}.lib"
47154
47155 #create ${D}dllFile as something matching 8.3 restrictions,
47156 if [ -z ${D}renameScript ] ; then
47157 dllFile="${D}outFile"
47158 else
47159 dllFile=\`${D}renameScript ${D}outimpFile\`
47160 fi
47161
47162 if [ ${D}do_backup -ne 0 ] ; then
47163 if [ -f ${D}arcFile ] ; then
47164 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47165 fi
47166 if [ -f ${D}arcFile2 ] ; then
47167 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47168 fi
47169 fi
47170
47171 # Extract public symbols from all the object files.
47172 tmpdefFile=${D}{defFile}_%
47173 rm -f ${D}tmpdefFile
47174 for file in ${D}inputFiles ; do
47175 case ${D}file in
47176 *!)
47177 ;;
47178 *)
47179 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47180 ;;
47181 esac
47182 done
47183
47184 # Create the def file.
47185 rm -f ${D}defFile
47186 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47187 dllFile="${D}{dllFile}.dll"
47188 if [ ! -z ${D}description ]; then
47189 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47190 fi
47191 echo "EXPORTS" >> ${D}defFile
47192
47193 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47194 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47195
47196 # Checks if the export is ok or not.
47197 for word in ${D}exclude_symbols; do
47198 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47199 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47200 done
47201
47202
47203 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47204 sed "=" < ${D}tmpdefFile | \\
47205 sed '
47206 N
47207 : loop
47208 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47209 t loop
47210 ' > ${D}{tmpdefFile}%
47211 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47212 else
47213 rm -f ${D}{tmpdefFile}%
47214 fi
47215 cat ${D}tmpdefFile >> ${D}defFile
47216 rm -f ${D}tmpdefFile
47217
47218 # Do linking, create implib, and apply lxlite.
47219 gccCmdl="";
47220 for file in ${D}inputFiles ; do
47221 case ${D}file in
47222 *!)
47223 ;;
47224 *)
47225 gccCmdl="${D}gccCmdl ${D}file"
47226 ;;
47227 esac
47228 done
47229 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47230 touch "${D}{outFile}.dll"
47231
47232 doCommand "emximp -o ${D}arcFile ${D}defFile"
47233 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47234 add_flags="";
47235 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47236 add_flags="-ynd"
47237 fi
47238 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47239 fi
47240 doCommand "emxomf -s -l ${D}arcFile"
47241
47242 # Successful exit.
47243 CleanUp 1
47244 exit 0
47245 EOF
47246
47247 chmod +x dllar.sh
47248 ;;
47249
47250 powerpc-apple-macos* | \
47251 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47252 *-*-sunos4* | \
47253 *-*-osf* | \
47254 *-*-dgux5* | \
47255 *-*-sysv5* | \
47256 *-pc-msdosdjgpp )
47257 ;;
47258
47259 *)
47260 esac
47261
47262 if test "x$PIC_FLAG" != "x" ; then
47263 PIC_FLAG="$PIC_FLAG -DPIC"
47264 fi
47265
47266 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47267 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47268 fi
47269 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47270 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47271 fi
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281 USE_SOVERSION=0
47282 USE_SOVERLINUX=0
47283 USE_SOVERSOLARIS=0
47284 USE_SOVERCYGWIN=0
47285 USE_SOSYMLINKS=0
47286 USE_MACVERSION=0
47287 SONAME_FLAG=
47288
47289 case "${BAKEFILE_HOST}" in
47290 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47291 SONAME_FLAG="-Wl,-soname,"
47292 USE_SOVERSION=1
47293 USE_SOVERLINUX=1
47294 USE_SOSYMLINKS=1
47295 ;;
47296
47297 *-*-solaris2* )
47298 SONAME_FLAG="-h "
47299 USE_SOVERSION=1
47300 USE_SOVERSOLARIS=1
47301 USE_SOSYMLINKS=1
47302 ;;
47303
47304 *-*-darwin* )
47305 USE_MACVERSION=1
47306 USE_SOVERSION=1
47307 USE_SOSYMLINKS=1
47308 ;;
47309
47310 *-*-cygwin* )
47311 USE_SOVERSION=1
47312 USE_SOVERCYGWIN=1
47313 ;;
47314 esac
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47326 if test "${enable_dependency_tracking+set}" = set; then
47327 enableval="$enable_dependency_tracking"
47328 bk_use_trackdeps="$enableval"
47329 fi;
47330
47331 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47332 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47333
47334 if test "x$bk_use_trackdeps" = "xno" ; then
47335 DEPS_TRACKING=0
47336 echo "$as_me:$LINENO: result: disabled" >&5
47337 echo "${ECHO_T}disabled" >&6
47338 else
47339 DEPS_TRACKING=1
47340
47341 if test "x$GCC" = "xyes"; then
47342 DEPSMODE=gcc
47343 case "${BAKEFILE_HOST}" in
47344 *-*-darwin* )
47345 DEPSFLAG="-no-cpp-precomp -MMD"
47346 ;;
47347 * )
47348 DEPSFLAG="-MMD"
47349 ;;
47350 esac
47351 echo "$as_me:$LINENO: result: gcc" >&5
47352 echo "${ECHO_T}gcc" >&6
47353 elif test "x$MWCC" = "xyes"; then
47354 DEPSMODE=mwcc
47355 DEPSFLAG="-MM"
47356 echo "$as_me:$LINENO: result: mwcc" >&5
47357 echo "${ECHO_T}mwcc" >&6
47358 elif test "x$SUNCC" = "xyes"; then
47359 DEPSMODE=unixcc
47360 DEPSFLAG="-xM1"
47361 echo "$as_me:$LINENO: result: Sun cc" >&5
47362 echo "${ECHO_T}Sun cc" >&6
47363 elif test "x$SGICC" = "xyes"; then
47364 DEPSMODE=unixcc
47365 DEPSFLAG="-M"
47366 echo "$as_me:$LINENO: result: SGI cc" >&5
47367 echo "${ECHO_T}SGI cc" >&6
47368 elif test "x$HPCC" = "xyes"; then
47369 DEPSMODE=unixcc
47370 DEPSFLAG="+make"
47371 echo "$as_me:$LINENO: result: HP cc" >&5
47372 echo "${ECHO_T}HP cc" >&6
47373 elif test "x$COMPAQCC" = "xyes"; then
47374 DEPSMODE=gcc
47375 DEPSFLAG="-MD"
47376 echo "$as_me:$LINENO: result: Compaq cc" >&5
47377 echo "${ECHO_T}Compaq cc" >&6
47378 else
47379 DEPS_TRACKING=0
47380 echo "$as_me:$LINENO: result: none" >&5
47381 echo "${ECHO_T}none" >&6
47382 fi
47383
47384 if test $DEPS_TRACKING = 1 ; then
47385
47386 D='$'
47387 cat <<EOF >bk-deps
47388 #!/bin/sh
47389
47390 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47391 # script. It is used to track C/C++ files dependencies in portable way.
47392 #
47393 # Permission is given to use this file in any way.
47394
47395 DEPSMODE=${DEPSMODE}
47396 DEPSDIR=.deps
47397 DEPSFLAG="${DEPSFLAG}"
47398
47399 mkdir -p ${D}DEPSDIR
47400
47401 if test ${D}DEPSMODE = gcc ; then
47402 ${D}* ${D}{DEPSFLAG}
47403 status=${D}?
47404 if test ${D}{status} != 0 ; then
47405 exit ${D}{status}
47406 fi
47407 # move created file to the location we want it in:
47408 while test ${D}# -gt 0; do
47409 case "${D}1" in
47410 -o )
47411 shift
47412 objfile=${D}1
47413 ;;
47414 -* )
47415 ;;
47416 * )
47417 srcfile=${D}1
47418 ;;
47419 esac
47420 shift
47421 done
47422 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47423 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47424 if test -f ${D}depfile ; then
47425 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47426 rm -f ${D}depfile
47427 else
47428 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47429 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47430 if test ! -f ${D}depfile ; then
47431 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47432 depfile="${D}objfile.d"
47433 fi
47434 if test -f ${D}depfile ; then
47435 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47436 rm -f ${D}depfile
47437 fi
47438 fi
47439 exit 0
47440 elif test ${D}DEPSMODE = mwcc ; then
47441 ${D}* || exit ${D}?
47442 # Run mwcc again with -MM and redirect into the dep file we want
47443 # NOTE: We can't use shift here because we need ${D}* to be valid
47444 prevarg=
47445 for arg in ${D}* ; do
47446 if test "${D}prevarg" = "-o"; then
47447 objfile=${D}arg
47448 else
47449 case "${D}arg" in
47450 -* )
47451 ;;
47452 * )
47453 srcfile=${D}arg
47454 ;;
47455 esac
47456 fi
47457 prevarg="${D}arg"
47458 done
47459 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47460 exit 0
47461 elif test ${D}DEPSMODE = unixcc; then
47462 ${D}* || exit ${D}?
47463 # Run compiler again with deps flag and redirect into the dep file.
47464 # It doesn't work if the '-o FILE' option is used, but without it the
47465 # dependency file will contain the wrong name for the object. So it is
47466 # removed from the command line, and the dep file is fixed with sed.
47467 cmd=""
47468 while test ${D}# -gt 0; do
47469 case "${D}1" in
47470 -o )
47471 shift
47472 objfile=${D}1
47473 ;;
47474 * )
47475 eval arg${D}#=\\${D}1
47476 cmd="${D}cmd \\${D}arg${D}#"
47477 ;;
47478 esac
47479 shift
47480 done
47481 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47482 exit 0
47483 else
47484 ${D}*
47485 exit ${D}?
47486 fi
47487 EOF
47488
47489 chmod +x bk-deps
47490 fi
47491 fi
47492
47493
47494
47495
47496 case ${BAKEFILE_HOST} in
47497 *-*-cygwin* | *-*-mingw32* )
47498 if test -n "$ac_tool_prefix"; then
47499 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47500 set dummy ${ac_tool_prefix}windres; ac_word=$2
47501 echo "$as_me:$LINENO: checking for $ac_word" >&5
47502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47503 if test "${ac_cv_prog_WINDRES+set}" = set; then
47504 echo $ECHO_N "(cached) $ECHO_C" >&6
47505 else
47506 if test -n "$WINDRES"; then
47507 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47508 else
47509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47510 for as_dir in $PATH
47511 do
47512 IFS=$as_save_IFS
47513 test -z "$as_dir" && as_dir=.
47514 for ac_exec_ext in '' $ac_executable_extensions; do
47515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47516 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47518 break 2
47519 fi
47520 done
47521 done
47522
47523 fi
47524 fi
47525 WINDRES=$ac_cv_prog_WINDRES
47526 if test -n "$WINDRES"; then
47527 echo "$as_me:$LINENO: result: $WINDRES" >&5
47528 echo "${ECHO_T}$WINDRES" >&6
47529 else
47530 echo "$as_me:$LINENO: result: no" >&5
47531 echo "${ECHO_T}no" >&6
47532 fi
47533
47534 fi
47535 if test -z "$ac_cv_prog_WINDRES"; then
47536 ac_ct_WINDRES=$WINDRES
47537 # Extract the first word of "windres", so it can be a program name with args.
47538 set dummy windres; ac_word=$2
47539 echo "$as_me:$LINENO: checking for $ac_word" >&5
47540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47541 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544 if test -n "$ac_ct_WINDRES"; then
47545 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47546 else
47547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47548 for as_dir in $PATH
47549 do
47550 IFS=$as_save_IFS
47551 test -z "$as_dir" && as_dir=.
47552 for ac_exec_ext in '' $ac_executable_extensions; do
47553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47554 ac_cv_prog_ac_ct_WINDRES="windres"
47555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47556 break 2
47557 fi
47558 done
47559 done
47560
47561 fi
47562 fi
47563 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47564 if test -n "$ac_ct_WINDRES"; then
47565 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47566 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47567 else
47568 echo "$as_me:$LINENO: result: no" >&5
47569 echo "${ECHO_T}no" >&6
47570 fi
47571
47572 WINDRES=$ac_ct_WINDRES
47573 else
47574 WINDRES="$ac_cv_prog_WINDRES"
47575 fi
47576
47577 ;;
47578
47579 *-*-darwin* | powerpc-apple-macos* )
47580 # Extract the first word of "Rez", so it can be a program name with args.
47581 set dummy Rez; ac_word=$2
47582 echo "$as_me:$LINENO: checking for $ac_word" >&5
47583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47584 if test "${ac_cv_prog_REZ+set}" = set; then
47585 echo $ECHO_N "(cached) $ECHO_C" >&6
47586 else
47587 if test -n "$REZ"; then
47588 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47589 else
47590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47591 for as_dir in $PATH
47592 do
47593 IFS=$as_save_IFS
47594 test -z "$as_dir" && as_dir=.
47595 for ac_exec_ext in '' $ac_executable_extensions; do
47596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47597 ac_cv_prog_REZ="Rez"
47598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47599 break 2
47600 fi
47601 done
47602 done
47603
47604 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47605 fi
47606 fi
47607 REZ=$ac_cv_prog_REZ
47608 if test -n "$REZ"; then
47609 echo "$as_me:$LINENO: result: $REZ" >&5
47610 echo "${ECHO_T}$REZ" >&6
47611 else
47612 echo "$as_me:$LINENO: result: no" >&5
47613 echo "${ECHO_T}no" >&6
47614 fi
47615
47616 # Extract the first word of "SetFile", so it can be a program name with args.
47617 set dummy SetFile; ac_word=$2
47618 echo "$as_me:$LINENO: checking for $ac_word" >&5
47619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47620 if test "${ac_cv_prog_SETFILE+set}" = set; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623 if test -n "$SETFILE"; then
47624 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47625 else
47626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47627 for as_dir in $PATH
47628 do
47629 IFS=$as_save_IFS
47630 test -z "$as_dir" && as_dir=.
47631 for ac_exec_ext in '' $ac_executable_extensions; do
47632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47633 ac_cv_prog_SETFILE="SetFile"
47634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47635 break 2
47636 fi
47637 done
47638 done
47639
47640 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47641 fi
47642 fi
47643 SETFILE=$ac_cv_prog_SETFILE
47644 if test -n "$SETFILE"; then
47645 echo "$as_me:$LINENO: result: $SETFILE" >&5
47646 echo "${ECHO_T}$SETFILE" >&6
47647 else
47648 echo "$as_me:$LINENO: result: no" >&5
47649 echo "${ECHO_T}no" >&6
47650 fi
47651
47652 ;;
47653 esac
47654
47655
47656
47657
47658
47659
47660 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
47661
47662
47663 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
47664
47665
47666
47667 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47668 if test "${enable_precomp_headers+set}" = set; then
47669 enableval="$enable_precomp_headers"
47670 bk_use_pch="$enableval"
47671 fi;
47672
47673 GCC_PCH=0
47674 ICC_PCH=0
47675 USE_PCH=0
47676
47677 case ${BAKEFILE_HOST} in
47678 *-*-cygwin* )
47679 bk_use_pch="no"
47680 ;;
47681 esac
47682
47683 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47684 if test "x$GCC" = "xyes"; then
47685 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47686 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47687 cat >conftest.$ac_ext <<_ACEOF
47688 /* confdefs.h. */
47689 _ACEOF
47690 cat confdefs.h >>conftest.$ac_ext
47691 cat >>conftest.$ac_ext <<_ACEOF
47692 /* end confdefs.h. */
47693
47694 int
47695 main ()
47696 {
47697
47698 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47699 There is no PCH support
47700 #endif
47701 #if (__GNUC__ < 3)
47702 There is no PCH support
47703 #endif
47704 #if (__GNUC__ == 3) && \
47705 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47706 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47707 ( defined(__INTEL_COMPILER) )
47708 There is no PCH support
47709 #endif
47710
47711 ;
47712 return 0;
47713 }
47714 _ACEOF
47715 rm -f conftest.$ac_objext
47716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47717 (eval $ac_compile) 2>conftest.er1
47718 ac_status=$?
47719 grep -v '^ *+' conftest.er1 >conftest.err
47720 rm -f conftest.er1
47721 cat conftest.err >&5
47722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723 (exit $ac_status); } &&
47724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726 (eval $ac_try) 2>&5
47727 ac_status=$?
47728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729 (exit $ac_status); }; } &&
47730 { ac_try='test -s conftest.$ac_objext'
47731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47732 (eval $ac_try) 2>&5
47733 ac_status=$?
47734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47735 (exit $ac_status); }; }; then
47736
47737 echo "$as_me:$LINENO: result: yes" >&5
47738 echo "${ECHO_T}yes" >&6
47739 GCC_PCH=1
47740
47741 else
47742 echo "$as_me: failed program was:" >&5
47743 sed 's/^/| /' conftest.$ac_ext >&5
47744
47745
47746 cat >conftest.$ac_ext <<_ACEOF
47747 /* confdefs.h. */
47748 _ACEOF
47749 cat confdefs.h >>conftest.$ac_ext
47750 cat >>conftest.$ac_ext <<_ACEOF
47751 /* end confdefs.h. */
47752
47753 int
47754 main ()
47755 {
47756
47757 #if !defined(__INTEL_COMPILER) || \
47758 (__INTEL_COMPILER < 800)
47759 There is no PCH support
47760 #endif
47761
47762 ;
47763 return 0;
47764 }
47765 _ACEOF
47766 rm -f conftest.$ac_objext
47767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47768 (eval $ac_compile) 2>conftest.er1
47769 ac_status=$?
47770 grep -v '^ *+' conftest.er1 >conftest.err
47771 rm -f conftest.er1
47772 cat conftest.err >&5
47773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774 (exit $ac_status); } &&
47775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47777 (eval $ac_try) 2>&5
47778 ac_status=$?
47779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780 (exit $ac_status); }; } &&
47781 { ac_try='test -s conftest.$ac_objext'
47782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47783 (eval $ac_try) 2>&5
47784 ac_status=$?
47785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786 (exit $ac_status); }; }; then
47787
47788 echo "$as_me:$LINENO: result: yes" >&5
47789 echo "${ECHO_T}yes" >&6
47790 ICC_PCH=1
47791
47792 else
47793 echo "$as_me: failed program was:" >&5
47794 sed 's/^/| /' conftest.$ac_ext >&5
47795
47796
47797 echo "$as_me:$LINENO: result: no" >&5
47798 echo "${ECHO_T}no" >&6
47799
47800 fi
47801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47802
47803 fi
47804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47805 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47806 USE_PCH=1
47807
47808 D='$'
47809 cat <<EOF >bk-make-pch
47810 #!/bin/sh
47811
47812 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47813 # script. It is used to generated precompiled headers.
47814 #
47815 # Permission is given to use this file in any way.
47816
47817 outfile="${D}{1}"
47818 header="${D}{2}"
47819 shift
47820 shift
47821
47822 compiler=""
47823 headerfile=""
47824
47825 while test ${D}{#} -gt 0; do
47826 add_to_cmdline=1
47827 case "${D}{1}" in
47828 -I* )
47829 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47830 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47831 headerfile="${D}{incdir}/${D}{header}"
47832 fi
47833 ;;
47834 -use-pch|-use_pch )
47835 shift
47836 add_to_cmdline=0
47837 ;;
47838 esac
47839 if test ${D}add_to_cmdline = 1 ; then
47840 compiler="${D}{compiler} ${D}{1}"
47841 fi
47842 shift
47843 done
47844
47845 if test "x${D}{headerfile}" = "x" ; then
47846 echo "error: can't find header ${D}{header} in include paths" >&2
47847 else
47848 if test -f ${D}{outfile} ; then
47849 rm -f ${D}{outfile}
47850 else
47851 mkdir -p \`dirname ${D}{outfile}\`
47852 fi
47853 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47854 mkdir -p .deps
47855 if test "x${GCC_PCH}" = "x1" ; then
47856 # can do this because gcc is >= 3.4:
47857 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47858 elif test "x${ICC_PCH}" = "x1" ; then
47859 filename=pch_gen-${D}${D}
47860 file=${D}{filename}.c
47861 dfile=${D}{filename}.d
47862 cat > ${D}file <<EOT
47863 #include "${D}header"
47864 EOT
47865 # using -MF icc complains about differing command lines in creation/use
47866 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47867 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47868 rm -f ${D}file ${D}dfile ${D}{filename}.o
47869 fi
47870 exit ${D}{?}
47871 fi
47872 EOF
47873
47874 chmod +x bk-make-pch
47875 fi
47876 fi
47877 fi
47878
47879
47880
47881
47882 COND_BUILD_DEBUG="#"
47883 if test "x$BUILD" = "xdebug" ; then
47884 COND_BUILD_DEBUG=""
47885 fi
47886
47887 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47888 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47890 fi
47891
47892 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47893 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47895 fi
47896
47897 COND_BUILD_DEBUG_UNICODE_0="#"
47898 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47899 COND_BUILD_DEBUG_UNICODE_0=""
47900 fi
47901
47902 COND_BUILD_DEBUG_UNICODE_1="#"
47903 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47904 COND_BUILD_DEBUG_UNICODE_1=""
47905 fi
47906
47907 COND_BUILD_RELEASE="#"
47908 if test "x$BUILD" = "xrelease" ; then
47909 COND_BUILD_RELEASE=""
47910 fi
47911
47912 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47913 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47915 fi
47916
47917 COND_BUILD_RELEASE_UNICODE_0="#"
47918 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47919 COND_BUILD_RELEASE_UNICODE_0=""
47920 fi
47921
47922 COND_BUILD_RELEASE_UNICODE_1="#"
47923 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47924 COND_BUILD_RELEASE_UNICODE_1=""
47925 fi
47926
47927 COND_DEBUG_FLAG_1="#"
47928 if test "x$DEBUG_FLAG" = "x1" ; then
47929 COND_DEBUG_FLAG_1=""
47930 fi
47931
47932 COND_DEBUG_INFO_0="#"
47933 if test "x$DEBUG_INFO" = "x0" ; then
47934 COND_DEBUG_INFO_0=""
47935 fi
47936
47937 COND_DEBUG_INFO_1="#"
47938 if test "x$DEBUG_INFO" = "x1" ; then
47939 COND_DEBUG_INFO_1=""
47940 fi
47941
47942 COND_DEPS_TRACKING_0="#"
47943 if test "x$DEPS_TRACKING" = "x0" ; then
47944 COND_DEPS_TRACKING_0=""
47945 fi
47946
47947 COND_DEPS_TRACKING_1="#"
47948 if test "x$DEPS_TRACKING" = "x1" ; then
47949 COND_DEPS_TRACKING_1=""
47950 fi
47951
47952 COND_GCC_PCH_1="#"
47953 if test "x$GCC_PCH" = "x1" ; then
47954 COND_GCC_PCH_1=""
47955 fi
47956
47957 COND_ICC_PCH_1="#"
47958 if test "x$ICC_PCH" = "x1" ; then
47959 COND_ICC_PCH_1=""
47960 fi
47961
47962 COND_MONOLITHIC_0="#"
47963 if test "x$MONOLITHIC" = "x0" ; then
47964 COND_MONOLITHIC_0=""
47965 fi
47966
47967 COND_MONOLITHIC_0_SHARED_0="#"
47968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47969 COND_MONOLITHIC_0_SHARED_0=""
47970 fi
47971
47972 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47975 fi
47976
47977 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47979 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47980 fi
47981
47982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47985 fi
47986
47987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47990 fi
47991
47992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47995 fi
47996
47997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48000 fi
48001
48002 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48005 fi
48006
48007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48010 fi
48011
48012 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48015 fi
48016
48017 COND_MONOLITHIC_0_SHARED_1="#"
48018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48019 COND_MONOLITHIC_0_SHARED_1=""
48020 fi
48021
48022 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48025 fi
48026
48027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48030 fi
48031
48032 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48035 fi
48036
48037 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48040 fi
48041
48042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48045 fi
48046
48047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48049 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48050 fi
48051
48052 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48054 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48055 fi
48056
48057 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48059 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48060 fi
48061
48062 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48064 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48065 fi
48066
48067 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48068 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48069 COND_MONOLITHIC_0_USE_MEDIA_1=""
48070 fi
48071
48072 COND_MONOLITHIC_0_USE_ODBC_1="#"
48073 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48074 COND_MONOLITHIC_0_USE_ODBC_1=""
48075 fi
48076
48077 COND_MONOLITHIC_1="#"
48078 if test "x$MONOLITHIC" = "x1" ; then
48079 COND_MONOLITHIC_1=""
48080 fi
48081
48082 COND_MONOLITHIC_1_SHARED_0="#"
48083 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48084 COND_MONOLITHIC_1_SHARED_0=""
48085 fi
48086
48087 COND_MONOLITHIC_1_SHARED_1="#"
48088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48089 COND_MONOLITHIC_1_SHARED_1=""
48090 fi
48091
48092 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48093 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48095 fi
48096
48097 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48098 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48100 fi
48101
48102 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48103 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48105 fi
48106
48107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48110 fi
48111
48112 COND_PLATFORM_MACOSX_1="#"
48113 if test "x$PLATFORM_MACOSX" = "x1" ; then
48114 COND_PLATFORM_MACOSX_1=""
48115 fi
48116
48117 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48119 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48120 fi
48121
48122 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48125 fi
48126
48127 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48130 fi
48131
48132 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48135 fi
48136
48137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48140 fi
48141
48142 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48144 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48145 fi
48146
48147 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48149 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48150 fi
48151
48152 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48154 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48155 fi
48156
48157 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48159 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48160 fi
48161
48162 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48163 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48164 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48165 fi
48166
48167 COND_PLATFORM_MACOS_1="#"
48168 if test "x$PLATFORM_MACOS" = "x1" ; then
48169 COND_PLATFORM_MACOS_1=""
48170 fi
48171
48172 COND_PLATFORM_MAC_1="#"
48173 if test "x$PLATFORM_MAC" = "x1" ; then
48174 COND_PLATFORM_MAC_1=""
48175 fi
48176
48177 COND_PLATFORM_MSDOS_0="#"
48178 if test "x$PLATFORM_MSDOS" = "x0" ; then
48179 COND_PLATFORM_MSDOS_0=""
48180 fi
48181
48182 COND_PLATFORM_MSDOS_1="#"
48183 if test "x$PLATFORM_MSDOS" = "x1" ; then
48184 COND_PLATFORM_MSDOS_1=""
48185 fi
48186
48187 COND_PLATFORM_OS2_1="#"
48188 if test "x$PLATFORM_OS2" = "x1" ; then
48189 COND_PLATFORM_OS2_1=""
48190 fi
48191
48192 COND_PLATFORM_UNIX_0="#"
48193 if test "x$PLATFORM_UNIX" = "x0" ; then
48194 COND_PLATFORM_UNIX_0=""
48195 fi
48196
48197 COND_PLATFORM_UNIX_1="#"
48198 if test "x$PLATFORM_UNIX" = "x1" ; then
48199 COND_PLATFORM_UNIX_1=""
48200 fi
48201
48202 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48203 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48204 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48205 fi
48206
48207 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48209 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48210 fi
48211
48212 COND_PLATFORM_WIN32_0="#"
48213 if test "x$PLATFORM_WIN32" = "x0" ; then
48214 COND_PLATFORM_WIN32_0=""
48215 fi
48216
48217 COND_PLATFORM_WIN32_1="#"
48218 if test "x$PLATFORM_WIN32" = "x1" ; then
48219 COND_PLATFORM_WIN32_1=""
48220 fi
48221
48222 COND_SHARED_0="#"
48223 if test "x$SHARED" = "x0" ; then
48224 COND_SHARED_0=""
48225 fi
48226
48227 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48228 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48229 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48230 fi
48231
48232 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48233 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48234 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48235 fi
48236
48237 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48239 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48240 fi
48241
48242 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48243 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48244 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48245 fi
48246
48247 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48248 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48249 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48250 fi
48251
48252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48255 fi
48256
48257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48260 fi
48261
48262 COND_SHARED_0_USE_XRC_1="#"
48263 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48264 COND_SHARED_0_USE_XRC_1=""
48265 fi
48266
48267 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48268 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48269 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48270 fi
48271
48272 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48273 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48274 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48275 fi
48276
48277 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48278 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48279 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48280 fi
48281
48282 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48283 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48284 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48285 fi
48286
48287 COND_SHARED_1="#"
48288 if test "x$SHARED" = "x1" ; then
48289 COND_SHARED_1=""
48290 fi
48291
48292 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48293 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48294 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48295 fi
48296
48297 COND_SHARED_1_USE_XRC_1="#"
48298 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48299 COND_SHARED_1_USE_XRC_1=""
48300 fi
48301
48302 COND_TOOLKIT_="#"
48303 if test "x$TOOLKIT" = "x" ; then
48304 COND_TOOLKIT_=""
48305 fi
48306
48307 COND_TOOLKIT_COCOA="#"
48308 if test "x$TOOLKIT" = "xCOCOA" ; then
48309 COND_TOOLKIT_COCOA=""
48310 fi
48311
48312 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48313 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48314 COND_TOOLKIT_COCOA_USE_GUI_1=""
48315 fi
48316
48317 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48318 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48319 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48320 fi
48321
48322 COND_TOOLKIT_GTK="#"
48323 if test "x$TOOLKIT" = "xGTK" ; then
48324 COND_TOOLKIT_GTK=""
48325 fi
48326
48327 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48328 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48329 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48330 fi
48331
48332 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48333 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48335 fi
48336
48337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48338 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48340 fi
48341
48342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48345 fi
48346
48347 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48349 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48350 fi
48351
48352 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48354 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48355 fi
48356
48357 COND_TOOLKIT_GTK_USE_GUI_1="#"
48358 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48359 COND_TOOLKIT_GTK_USE_GUI_1=""
48360 fi
48361
48362 COND_TOOLKIT_MAC="#"
48363 if test "x$TOOLKIT" = "xMAC" ; then
48364 COND_TOOLKIT_MAC=""
48365 fi
48366
48367 COND_TOOLKIT_MAC_USE_GUI_1="#"
48368 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48369 COND_TOOLKIT_MAC_USE_GUI_1=""
48370 fi
48371
48372 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48373 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48374 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48375 fi
48376
48377 COND_TOOLKIT_MGL="#"
48378 if test "x$TOOLKIT" = "xMGL" ; then
48379 COND_TOOLKIT_MGL=""
48380 fi
48381
48382 COND_TOOLKIT_MGL_USE_GUI_1="#"
48383 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48384 COND_TOOLKIT_MGL_USE_GUI_1=""
48385 fi
48386
48387 COND_TOOLKIT_MOTIF="#"
48388 if test "x$TOOLKIT" = "xMOTIF" ; then
48389 COND_TOOLKIT_MOTIF=""
48390 fi
48391
48392 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48393 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48394 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48395 fi
48396
48397 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48398 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48399 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48400 fi
48401
48402 COND_TOOLKIT_MSW="#"
48403 if test "x$TOOLKIT" = "xMSW" ; then
48404 COND_TOOLKIT_MSW=""
48405 fi
48406
48407 COND_TOOLKIT_MSW_USE_GUI_1="#"
48408 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48409 COND_TOOLKIT_MSW_USE_GUI_1=""
48410 fi
48411
48412 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48413 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48414 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48415 fi
48416
48417 COND_TOOLKIT_MSW_WXUNIV_0="#"
48418 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48419 COND_TOOLKIT_MSW_WXUNIV_0=""
48420 fi
48421
48422 COND_TOOLKIT_PM="#"
48423 if test "x$TOOLKIT" = "xPM" ; then
48424 COND_TOOLKIT_PM=""
48425 fi
48426
48427 COND_TOOLKIT_PM_USE_GUI_1="#"
48428 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48429 COND_TOOLKIT_PM_USE_GUI_1=""
48430 fi
48431
48432 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48433 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48434 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48435 fi
48436
48437 COND_TOOLKIT_WINCE="#"
48438 if test "x$TOOLKIT" = "xWINCE" ; then
48439 COND_TOOLKIT_WINCE=""
48440 fi
48441
48442 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48443 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48444 COND_TOOLKIT_WINCE_USE_GUI_1=""
48445 fi
48446
48447 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48448 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48449 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48450 fi
48451
48452 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48453 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48454 COND_TOOLKIT_WINCE_WXUNIV_0=""
48455 fi
48456
48457 COND_TOOLKIT_X11="#"
48458 if test "x$TOOLKIT" = "xX11" ; then
48459 COND_TOOLKIT_X11=""
48460 fi
48461
48462 COND_TOOLKIT_X11_USE_GUI_1="#"
48463 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48464 COND_TOOLKIT_X11_USE_GUI_1=""
48465 fi
48466
48467 COND_UNICODE_1="#"
48468 if test "x$UNICODE" = "x1" ; then
48469 COND_UNICODE_1=""
48470 fi
48471
48472 COND_USE_EXCEPTIONS_0="#"
48473 if test "x$USE_EXCEPTIONS" = "x0" ; then
48474 COND_USE_EXCEPTIONS_0=""
48475 fi
48476
48477 COND_USE_EXCEPTIONS_1="#"
48478 if test "x$USE_EXCEPTIONS" = "x1" ; then
48479 COND_USE_EXCEPTIONS_1=""
48480 fi
48481
48482 COND_USE_GUI_0="#"
48483 if test "x$USE_GUI" = "x0" ; then
48484 COND_USE_GUI_0=""
48485 fi
48486
48487 COND_USE_GUI_1="#"
48488 if test "x$USE_GUI" = "x1" ; then
48489 COND_USE_GUI_1=""
48490 fi
48491
48492 COND_USE_GUI_1_WXUNIV_0="#"
48493 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48494 COND_USE_GUI_1_WXUNIV_0=""
48495 fi
48496
48497 COND_USE_GUI_1_WXUNIV_1="#"
48498 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48499 COND_USE_GUI_1_WXUNIV_1=""
48500 fi
48501
48502 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48503 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48504 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48505 fi
48506
48507 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48508 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48509 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48510 fi
48511
48512 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48513 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48514 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48515 fi
48516
48517 COND_USE_ODBC_1="#"
48518 if test "x$USE_ODBC" = "x1" ; then
48519 COND_USE_ODBC_1=""
48520 fi
48521
48522 COND_USE_OPENGL_1="#"
48523 if test "x$USE_OPENGL" = "x1" ; then
48524 COND_USE_OPENGL_1=""
48525 fi
48526
48527 COND_USE_PCH_1="#"
48528 if test "x$USE_PCH" = "x1" ; then
48529 COND_USE_PCH_1=""
48530 fi
48531
48532 COND_USE_PLUGINS_0="#"
48533 if test "x$USE_PLUGINS" = "x0" ; then
48534 COND_USE_PLUGINS_0=""
48535 fi
48536
48537 COND_USE_RTTI_0="#"
48538 if test "x$USE_RTTI" = "x0" ; then
48539 COND_USE_RTTI_0=""
48540 fi
48541
48542 COND_USE_RTTI_1="#"
48543 if test "x$USE_RTTI" = "x1" ; then
48544 COND_USE_RTTI_1=""
48545 fi
48546
48547 COND_USE_SOSYMLINKS_1="#"
48548 if test "x$USE_SOSYMLINKS" = "x1" ; then
48549 COND_USE_SOSYMLINKS_1=""
48550 fi
48551
48552 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48553 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48554 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48555 fi
48556
48557 COND_USE_SOVERLINUX_1="#"
48558 if test "x$USE_SOVERLINUX" = "x1" ; then
48559 COND_USE_SOVERLINUX_1=""
48560 fi
48561
48562 COND_USE_SOVERSION_0="#"
48563 if test "x$USE_SOVERSION" = "x0" ; then
48564 COND_USE_SOVERSION_0=""
48565 fi
48566
48567 COND_USE_SOVERSOLARIS_1="#"
48568 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48569 COND_USE_SOVERSOLARIS_1=""
48570 fi
48571
48572 COND_USE_THREADS_0="#"
48573 if test "x$USE_THREADS" = "x0" ; then
48574 COND_USE_THREADS_0=""
48575 fi
48576
48577 COND_USE_THREADS_1="#"
48578 if test "x$USE_THREADS" = "x1" ; then
48579 COND_USE_THREADS_1=""
48580 fi
48581
48582 COND_USE_XRC_1="#"
48583 if test "x$USE_XRC" = "x1" ; then
48584 COND_USE_XRC_1=""
48585 fi
48586
48587 COND_WINDOWS_IMPLIB_1="#"
48588 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48589 COND_WINDOWS_IMPLIB_1=""
48590 fi
48591
48592 COND_WITH_PLUGIN_SDL_1="#"
48593 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48594 COND_WITH_PLUGIN_SDL_1=""
48595 fi
48596
48597 COND_WXUNIV_0="#"
48598 if test "x$WXUNIV" = "x0" ; then
48599 COND_WXUNIV_0=""
48600 fi
48601
48602 COND_WXUNIV_1="#"
48603 if test "x$WXUNIV" = "x1" ; then
48604 COND_WXUNIV_1=""
48605 fi
48606
48607 COND_WXUSE_EXPAT_BUILTIN="#"
48608 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48609 COND_WXUSE_EXPAT_BUILTIN=""
48610 fi
48611
48612 COND_WXUSE_LIBJPEG_BUILTIN="#"
48613 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48614 COND_WXUSE_LIBJPEG_BUILTIN=""
48615 fi
48616
48617 COND_WXUSE_LIBPNG_BUILTIN="#"
48618 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48619 COND_WXUSE_LIBPNG_BUILTIN=""
48620 fi
48621
48622 COND_WXUSE_LIBTIFF_BUILTIN="#"
48623 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48624 COND_WXUSE_LIBTIFF_BUILTIN=""
48625 fi
48626
48627 COND_WXUSE_ODBC_BUILTIN="#"
48628 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48629 COND_WXUSE_ODBC_BUILTIN=""
48630 fi
48631
48632 COND_WXUSE_REGEX_BUILTIN="#"
48633 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48634 COND_WXUSE_REGEX_BUILTIN=""
48635 fi
48636
48637 COND_WXUSE_ZLIB_BUILTIN="#"
48638 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48639 COND_WXUSE_ZLIB_BUILTIN=""
48640 fi
48641
48642
48643
48644 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48645 { { 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
48646 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;}
48647 { (exit 1); exit 1; }; }
48648 fi
48649
48650 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48651 { { 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
48652 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;}
48653 { (exit 1); exit 1; }; }
48654 fi
48655
48656
48657
48658 if test "$wxUSE_MAC" = 1 ; then
48659 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48660 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48661 mv temp bk-deps
48662 chmod +x bk-deps
48663 fi
48664 fi
48665
48666 if test "$wxUSE_SHARED" = "yes"; then
48667
48668 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48669 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48670
48671 case "${host}" in
48672 *-pc-os2_emx | *-pc-os2-emx )
48673 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48674 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48675 cp -p ${srcdir}/src/os2/dllnames.sh .
48676 cp -p ${srcdir}/src/os2/dllar.sh .
48677 ;;
48678 esac
48679 else
48680
48681 EXE_LINKER="$CXX -o"
48682
48683 fi
48684 if test "$wxUSE_OMF" = "yes"; then
48685 case "${host}" in
48686 *-pc-os2_emx | *-pc-os2-emx )
48687 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48688 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48689 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48690 ;;
48691 esac
48692 fi
48693
48694 if test $GCC_PCH = 1 ; then
48695 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48696 fi
48697
48698 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48699
48700 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48763 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48764 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48765 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48766 echo $ECHO_N "(cached) $ECHO_C" >&6
48767 else
48768 cat >conftest.make <<\_ACEOF
48769 all:
48770 @echo 'ac_maketemp="$(MAKE)"'
48771 _ACEOF
48772 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48773 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48774 if test -n "$ac_maketemp"; then
48775 eval ac_cv_prog_make_${ac_make}_set=yes
48776 else
48777 eval ac_cv_prog_make_${ac_make}_set=no
48778 fi
48779 rm -f conftest.make
48780 fi
48781 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48782 echo "$as_me:$LINENO: result: yes" >&5
48783 echo "${ECHO_T}yes" >&6
48784 SET_MAKE=
48785 else
48786 echo "$as_me:$LINENO: result: no" >&5
48787 echo "${ECHO_T}no" >&6
48788 SET_MAKE="MAKE=${MAKE-make}"
48789 fi
48790
48791
48792
48793 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48794
48795
48796 if test "$USE_WIN32" = 1; then
48797 ac_config_commands="$ac_config_commands
48798 rcdefs.h
48799 "
48800
48801 fi
48802
48803 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48804
48805
48806 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48807
48808
48809 ac_config_files="$ac_config_files version-script Makefile"
48810
48811
48812 ac_config_commands="$ac_config_commands wx-config"
48813
48814
48815
48816 if test "$wxWITH_SUBDIRS" != "no"; then
48817 if test "$wxUSE_GUI" = "yes"; then
48818 SUBDIRS="samples demos utils contrib"
48819 else SUBDIRS="samples utils"
48820 fi
48821
48822
48823
48824 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48825 if test "${with_cppunit_prefix+set}" = set; then
48826 withval="$with_cppunit_prefix"
48827 cppunit_config_prefix="$withval"
48828 else
48829 cppunit_config_prefix=""
48830 fi;
48831
48832 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48833 if test "${with_cppunit_exec_prefix+set}" = set; then
48834 withval="$with_cppunit_exec_prefix"
48835 cppunit_config_exec_prefix="$withval"
48836 else
48837 cppunit_config_exec_prefix=""
48838 fi;
48839
48840 if test x$cppunit_config_exec_prefix != x ; then
48841 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48842 if test x${CPPUNIT_CONFIG+set} != xset ; then
48843 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48844 fi
48845 fi
48846 if test x$cppunit_config_prefix != x ; then
48847 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48848 if test x${CPPUNIT_CONFIG+set} != xset ; then
48849 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48850 fi
48851 fi
48852
48853 # Extract the first word of "cppunit-config", so it can be a program name with args.
48854 set dummy cppunit-config; ac_word=$2
48855 echo "$as_me:$LINENO: checking for $ac_word" >&5
48856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48857 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48858 echo $ECHO_N "(cached) $ECHO_C" >&6
48859 else
48860 case $CPPUNIT_CONFIG in
48861 [\\/]* | ?:[\\/]*)
48862 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48863 ;;
48864 *)
48865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48866 for as_dir in $PATH
48867 do
48868 IFS=$as_save_IFS
48869 test -z "$as_dir" && as_dir=.
48870 for ac_exec_ext in '' $ac_executable_extensions; do
48871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48872 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48874 break 2
48875 fi
48876 done
48877 done
48878
48879 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48880 ;;
48881 esac
48882 fi
48883 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48884
48885 if test -n "$CPPUNIT_CONFIG"; then
48886 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48887 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48888 else
48889 echo "$as_me:$LINENO: result: no" >&5
48890 echo "${ECHO_T}no" >&6
48891 fi
48892
48893 cppunit_version_min=1.8.0
48894
48895 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48896 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48897 no_cppunit=""
48898 if test "$CPPUNIT_CONFIG" = "no" ; then
48899 echo "$as_me:$LINENO: result: no" >&5
48900 echo "${ECHO_T}no" >&6
48901 no_cppunit=yes
48902 else
48903 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48904 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48905 cppunit_version=`$CPPUNIT_CONFIG --version`
48906
48907 cppunit_major_version=`echo $cppunit_version | \
48908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48909 cppunit_minor_version=`echo $cppunit_version | \
48910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48911 cppunit_micro_version=`echo $cppunit_version | \
48912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48913
48914 cppunit_major_min=`echo $cppunit_version_min | \
48915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48916 cppunit_minor_min=`echo $cppunit_version_min | \
48917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48918 cppunit_micro_min=`echo $cppunit_version_min | \
48919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48920
48921 cppunit_version_proper=`expr \
48922 $cppunit_major_version \> $cppunit_major_min \| \
48923 $cppunit_major_version \= $cppunit_major_min \& \
48924 $cppunit_minor_version \> $cppunit_minor_min \| \
48925 $cppunit_major_version \= $cppunit_major_min \& \
48926 $cppunit_minor_version \= $cppunit_minor_min \& \
48927 $cppunit_micro_version \>= $cppunit_micro_min `
48928
48929 if test "$cppunit_version_proper" = "1" ; then
48930 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48931 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48932 else
48933 echo "$as_me:$LINENO: result: no" >&5
48934 echo "${ECHO_T}no" >&6
48935 no_cppunit=yes
48936 fi
48937 fi
48938
48939 if test "x$no_cppunit" = x ; then
48940 SUBDIRS="$SUBDIRS tests"
48941 else
48942 CPPUNIT_CFLAGS=""
48943 CPPUNIT_LIBS=""
48944 :
48945 fi
48946
48947
48948
48949
48950
48951 for subdir in `echo $SUBDIRS`; do
48952 if test -d ${srcdir}/${subdir} ; then
48953 if test "$wxUSE_GUI" = "yes"; then
48954 if test ${subdir} = "samples"; then
48955 makefiles="samples/Makefile.in $makefiles"
48956 for sample in `echo $SAMPLES_SUBDIRS`; do
48957 if test -d $srcdir/samples/$sample; then
48958 makefiles="samples/$sample/Makefile.in $makefiles"
48959 fi
48960 done
48961 else
48962 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48963 eval "disabled=\$$disabled_var"
48964 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48965 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48966 fi
48967 else if test ${subdir} = "samples"; then
48968 makefiles="samples/Makefile.in samples/console/Makefile.in"
48969 elif test ${subdir} = "utils"; then
48970 makefiles=""
48971 for util in HelpGen tex2rtf ; do
48972 if test -d $srcdir/utils/$util ; then
48973 makefiles="utils/$util/Makefile.in \
48974 utils/$util/src/Makefile.in \
48975 $makefiles"
48976 fi
48977 done
48978 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48979 fi
48980 fi
48981
48982 for mkin in $makefiles ; do
48983 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48984 ac_config_files="$ac_config_files $mk"
48985
48986 done
48987 fi
48988 done
48989 fi
48990 cat >confcache <<\_ACEOF
48991 # This file is a shell script that caches the results of configure
48992 # tests run on this system so they can be shared between configure
48993 # scripts and configure runs, see configure's option --config-cache.
48994 # It is not useful on other systems. If it contains results you don't
48995 # want to keep, you may remove or edit it.
48996 #
48997 # config.status only pays attention to the cache file if you give it
48998 # the --recheck option to rerun configure.
48999 #
49000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49002 # following values.
49003
49004 _ACEOF
49005
49006 # The following way of writing the cache mishandles newlines in values,
49007 # but we know of no workaround that is simple, portable, and efficient.
49008 # So, don't put newlines in cache variables' values.
49009 # Ultrix sh set writes to stderr and can't be redirected directly,
49010 # and sets the high bit in the cache file unless we assign to the vars.
49011 {
49012 (set) 2>&1 |
49013 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49014 *ac_space=\ *)
49015 # `set' does not quote correctly, so add quotes (double-quote
49016 # substitution turns \\\\ into \\, and sed turns \\ into \).
49017 sed -n \
49018 "s/'/'\\\\''/g;
49019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49020 ;;
49021 *)
49022 # `set' quotes correctly as required by POSIX, so do not add quotes.
49023 sed -n \
49024 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49025 ;;
49026 esac;
49027 } |
49028 sed '
49029 t clear
49030 : clear
49031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49032 t end
49033 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49034 : end' >>confcache
49035 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49036 if test -w $cache_file; then
49037 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49038 cat confcache >$cache_file
49039 else
49040 echo "not updating unwritable cache $cache_file"
49041 fi
49042 fi
49043 rm -f confcache
49044
49045 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49046 # Let make expand exec_prefix.
49047 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49048
49049 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49050 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49051 # trailing colons and then remove the whole line if VPATH becomes empty
49052 # (actually we leave an empty line to preserve line numbers).
49053 if test "x$srcdir" = x.; then
49054 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49055 s/:*\$(srcdir):*/:/;
49056 s/:*\${srcdir}:*/:/;
49057 s/:*@srcdir@:*/:/;
49058 s/^\([^=]*=[ ]*\):*/\1/;
49059 s/:*$//;
49060 s/^[^=]*=[ ]*$//;
49061 }'
49062 fi
49063
49064 DEFS=-DHAVE_CONFIG_H
49065
49066 ac_libobjs=
49067 ac_ltlibobjs=
49068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49069 # 1. Remove the extension, and $U if already installed.
49070 ac_i=`echo "$ac_i" |
49071 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49072 # 2. Add them.
49073 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49074 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49075 done
49076 LIBOBJS=$ac_libobjs
49077
49078 LTLIBOBJS=$ac_ltlibobjs
49079
49080
49081
49082 : ${CONFIG_STATUS=./config.status}
49083 ac_clean_files_save=$ac_clean_files
49084 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49085 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49086 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49087 cat >$CONFIG_STATUS <<_ACEOF
49088 #! $SHELL
49089 # Generated by $as_me.
49090 # Run this file to recreate the current configuration.
49091 # Compiler output produced by configure, useful for debugging
49092 # configure, is in config.log if it exists.
49093
49094 debug=false
49095 ac_cs_recheck=false
49096 ac_cs_silent=false
49097 SHELL=\${CONFIG_SHELL-$SHELL}
49098 _ACEOF
49099
49100 cat >>$CONFIG_STATUS <<\_ACEOF
49101 ## --------------------- ##
49102 ## M4sh Initialization. ##
49103 ## --------------------- ##
49104
49105 # Be Bourne compatible
49106 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49107 emulate sh
49108 NULLCMD=:
49109 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49110 # is contrary to our usage. Disable this feature.
49111 alias -g '${1+"$@"}'='"$@"'
49112 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49113 set -o posix
49114 fi
49115 DUALCASE=1; export DUALCASE # for MKS sh
49116
49117 # Support unset when possible.
49118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49119 as_unset=unset
49120 else
49121 as_unset=false
49122 fi
49123
49124
49125 # Work around bugs in pre-3.0 UWIN ksh.
49126 $as_unset ENV MAIL MAILPATH
49127 PS1='$ '
49128 PS2='> '
49129 PS4='+ '
49130
49131 # NLS nuisances.
49132 for as_var in \
49133 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49134 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49135 LC_TELEPHONE LC_TIME
49136 do
49137 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49138 eval $as_var=C; export $as_var
49139 else
49140 $as_unset $as_var
49141 fi
49142 done
49143
49144 # Required to use basename.
49145 if expr a : '\(a\)' >/dev/null 2>&1; then
49146 as_expr=expr
49147 else
49148 as_expr=false
49149 fi
49150
49151 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49152 as_basename=basename
49153 else
49154 as_basename=false
49155 fi
49156
49157
49158 # Name of the executable.
49159 as_me=`$as_basename "$0" ||
49160 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49161 X"$0" : 'X\(//\)$' \| \
49162 X"$0" : 'X\(/\)$' \| \
49163 . : '\(.\)' 2>/dev/null ||
49164 echo X/"$0" |
49165 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49166 /^X\/\(\/\/\)$/{ s//\1/; q; }
49167 /^X\/\(\/\).*/{ s//\1/; q; }
49168 s/.*/./; q'`
49169
49170
49171 # PATH needs CR, and LINENO needs CR and PATH.
49172 # Avoid depending upon Character Ranges.
49173 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49174 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49175 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49176 as_cr_digits='0123456789'
49177 as_cr_alnum=$as_cr_Letters$as_cr_digits
49178
49179 # The user is always right.
49180 if test "${PATH_SEPARATOR+set}" != set; then
49181 echo "#! /bin/sh" >conf$$.sh
49182 echo "exit 0" >>conf$$.sh
49183 chmod +x conf$$.sh
49184 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49185 PATH_SEPARATOR=';'
49186 else
49187 PATH_SEPARATOR=:
49188 fi
49189 rm -f conf$$.sh
49190 fi
49191
49192
49193 as_lineno_1=$LINENO
49194 as_lineno_2=$LINENO
49195 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49196 test "x$as_lineno_1" != "x$as_lineno_2" &&
49197 test "x$as_lineno_3" = "x$as_lineno_2" || {
49198 # Find who we are. Look in the path if we contain no path at all
49199 # relative or not.
49200 case $0 in
49201 *[\\/]* ) as_myself=$0 ;;
49202 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49203 for as_dir in $PATH
49204 do
49205 IFS=$as_save_IFS
49206 test -z "$as_dir" && as_dir=.
49207 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49208 done
49209
49210 ;;
49211 esac
49212 # We did not find ourselves, most probably we were run as `sh COMMAND'
49213 # in which case we are not to be found in the path.
49214 if test "x$as_myself" = x; then
49215 as_myself=$0
49216 fi
49217 if test ! -f "$as_myself"; then
49218 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49219 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49220 { (exit 1); exit 1; }; }
49221 fi
49222 case $CONFIG_SHELL in
49223 '')
49224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49226 do
49227 IFS=$as_save_IFS
49228 test -z "$as_dir" && as_dir=.
49229 for as_base in sh bash ksh sh5; do
49230 case $as_dir in
49231 /*)
49232 if ("$as_dir/$as_base" -c '
49233 as_lineno_1=$LINENO
49234 as_lineno_2=$LINENO
49235 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49236 test "x$as_lineno_1" != "x$as_lineno_2" &&
49237 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49238 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49239 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49240 CONFIG_SHELL=$as_dir/$as_base
49241 export CONFIG_SHELL
49242 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49243 fi;;
49244 esac
49245 done
49246 done
49247 ;;
49248 esac
49249
49250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49251 # uniformly replaced by the line number. The first 'sed' inserts a
49252 # line-number line before each line; the second 'sed' does the real
49253 # work. The second script uses 'N' to pair each line-number line
49254 # with the numbered line, and appends trailing '-' during
49255 # substitution so that $LINENO is not a special case at line end.
49256 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49257 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49258 sed '=' <$as_myself |
49259 sed '
49260 N
49261 s,$,-,
49262 : loop
49263 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49264 t loop
49265 s,-$,,
49266 s,^['$as_cr_digits']*\n,,
49267 ' >$as_me.lineno &&
49268 chmod +x $as_me.lineno ||
49269 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49270 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49271 { (exit 1); exit 1; }; }
49272
49273 # Don't try to exec as it changes $[0], causing all sort of problems
49274 # (the dirname of $[0] is not the place where we might find the
49275 # original and so on. Autoconf is especially sensible to this).
49276 . ./$as_me.lineno
49277 # Exit status is that of the last command.
49278 exit
49279 }
49280
49281
49282 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49283 *c*,-n*) ECHO_N= ECHO_C='
49284 ' ECHO_T=' ' ;;
49285 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49286 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49287 esac
49288
49289 if expr a : '\(a\)' >/dev/null 2>&1; then
49290 as_expr=expr
49291 else
49292 as_expr=false
49293 fi
49294
49295 rm -f conf$$ conf$$.exe conf$$.file
49296 echo >conf$$.file
49297 if ln -s conf$$.file conf$$ 2>/dev/null; then
49298 # We could just check for DJGPP; but this test a) works b) is more generic
49299 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49300 if test -f conf$$.exe; then
49301 # Don't use ln at all; we don't have any links
49302 as_ln_s='cp -p'
49303 else
49304 as_ln_s='ln -s'
49305 fi
49306 elif ln conf$$.file conf$$ 2>/dev/null; then
49307 as_ln_s=ln
49308 else
49309 as_ln_s='cp -p'
49310 fi
49311 rm -f conf$$ conf$$.exe conf$$.file
49312
49313 if mkdir -p . 2>/dev/null; then
49314 as_mkdir_p=:
49315 else
49316 test -d ./-p && rmdir ./-p
49317 as_mkdir_p=false
49318 fi
49319
49320 as_executable_p="test -f"
49321
49322 # Sed expression to map a string onto a valid CPP name.
49323 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49324
49325 # Sed expression to map a string onto a valid variable name.
49326 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49327
49328
49329 # IFS
49330 # We need space, tab and new line, in precisely that order.
49331 as_nl='
49332 '
49333 IFS=" $as_nl"
49334
49335 # CDPATH.
49336 $as_unset CDPATH
49337
49338 exec 6>&1
49339
49340 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49341 # report actual input values of CONFIG_FILES etc. instead of their
49342 # values after options handling. Logging --version etc. is OK.
49343 exec 5>>config.log
49344 {
49345 echo
49346 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49347 ## Running $as_me. ##
49348 _ASBOX
49349 } >&5
49350 cat >&5 <<_CSEOF
49351
49352 This file was extended by wxWidgets $as_me 2.7.0, which was
49353 generated by GNU Autoconf 2.59. Invocation command line was
49354
49355 CONFIG_FILES = $CONFIG_FILES
49356 CONFIG_HEADERS = $CONFIG_HEADERS
49357 CONFIG_LINKS = $CONFIG_LINKS
49358 CONFIG_COMMANDS = $CONFIG_COMMANDS
49359 $ $0 $@
49360
49361 _CSEOF
49362 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49363 echo >&5
49364 _ACEOF
49365
49366 # Files that config.status was made for.
49367 if test -n "$ac_config_files"; then
49368 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49369 fi
49370
49371 if test -n "$ac_config_headers"; then
49372 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49373 fi
49374
49375 if test -n "$ac_config_links"; then
49376 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49377 fi
49378
49379 if test -n "$ac_config_commands"; then
49380 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49381 fi
49382
49383 cat >>$CONFIG_STATUS <<\_ACEOF
49384
49385 ac_cs_usage="\
49386 \`$as_me' instantiates files from templates according to the
49387 current configuration.
49388
49389 Usage: $0 [OPTIONS] [FILE]...
49390
49391 -h, --help print this help, then exit
49392 -V, --version print version number, then exit
49393 -q, --quiet do not print progress messages
49394 -d, --debug don't remove temporary files
49395 --recheck update $as_me by reconfiguring in the same conditions
49396 --file=FILE[:TEMPLATE]
49397 instantiate the configuration file FILE
49398 --header=FILE[:TEMPLATE]
49399 instantiate the configuration header FILE
49400
49401 Configuration files:
49402 $config_files
49403
49404 Configuration headers:
49405 $config_headers
49406
49407 Configuration commands:
49408 $config_commands
49409
49410 Report bugs to <bug-autoconf@gnu.org>."
49411 _ACEOF
49412
49413 cat >>$CONFIG_STATUS <<_ACEOF
49414 ac_cs_version="\\
49415 wxWidgets config.status 2.7.0
49416 configured by $0, generated by GNU Autoconf 2.59,
49417 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49418
49419 Copyright (C) 2003 Free Software Foundation, Inc.
49420 This config.status script is free software; the Free Software Foundation
49421 gives unlimited permission to copy, distribute and modify it."
49422 srcdir=$srcdir
49423 INSTALL="$INSTALL"
49424 _ACEOF
49425
49426 cat >>$CONFIG_STATUS <<\_ACEOF
49427 # If no file are specified by the user, then we need to provide default
49428 # value. By we need to know if files were specified by the user.
49429 ac_need_defaults=:
49430 while test $# != 0
49431 do
49432 case $1 in
49433 --*=*)
49434 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49435 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49436 ac_shift=:
49437 ;;
49438 -*)
49439 ac_option=$1
49440 ac_optarg=$2
49441 ac_shift=shift
49442 ;;
49443 *) # This is not an option, so the user has probably given explicit
49444 # arguments.
49445 ac_option=$1
49446 ac_need_defaults=false;;
49447 esac
49448
49449 case $ac_option in
49450 # Handling of the options.
49451 _ACEOF
49452 cat >>$CONFIG_STATUS <<\_ACEOF
49453 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49454 ac_cs_recheck=: ;;
49455 --version | --vers* | -V )
49456 echo "$ac_cs_version"; exit 0 ;;
49457 --he | --h)
49458 # Conflict between --help and --header
49459 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49460 Try \`$0 --help' for more information." >&5
49461 echo "$as_me: error: ambiguous option: $1
49462 Try \`$0 --help' for more information." >&2;}
49463 { (exit 1); exit 1; }; };;
49464 --help | --hel | -h )
49465 echo "$ac_cs_usage"; exit 0 ;;
49466 --debug | --d* | -d )
49467 debug=: ;;
49468 --file | --fil | --fi | --f )
49469 $ac_shift
49470 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49471 ac_need_defaults=false;;
49472 --header | --heade | --head | --hea )
49473 $ac_shift
49474 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49475 ac_need_defaults=false;;
49476 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49477 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49478 ac_cs_silent=: ;;
49479
49480 # This is an error.
49481 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49482 Try \`$0 --help' for more information." >&5
49483 echo "$as_me: error: unrecognized option: $1
49484 Try \`$0 --help' for more information." >&2;}
49485 { (exit 1); exit 1; }; } ;;
49486
49487 *) ac_config_targets="$ac_config_targets $1" ;;
49488
49489 esac
49490 shift
49491 done
49492
49493 ac_configure_extra_args=
49494
49495 if $ac_cs_silent; then
49496 exec 6>/dev/null
49497 ac_configure_extra_args="$ac_configure_extra_args --silent"
49498 fi
49499
49500 _ACEOF
49501 cat >>$CONFIG_STATUS <<_ACEOF
49502 if \$ac_cs_recheck; then
49503 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49504 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49505 fi
49506
49507 _ACEOF
49508
49509 cat >>$CONFIG_STATUS <<_ACEOF
49510 #
49511 # INIT-COMMANDS section.
49512 #
49513
49514
49515 CPP="$CPP"
49516 infile="$srcdir/include/wx/msw/genrcdefs.h"
49517 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49518
49519
49520 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49521 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49522 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49523 LN_S="${LN_S}"
49524
49525
49526 _ACEOF
49527
49528
49529
49530 cat >>$CONFIG_STATUS <<\_ACEOF
49531 for ac_config_target in $ac_config_targets
49532 do
49533 case "$ac_config_target" in
49534 # Handling of arguments.
49535 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49536 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49537 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49538 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49539 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49540 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49541 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49542 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49543 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49544 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49545 { (exit 1); exit 1; }; };;
49546 esac
49547 done
49548
49549 # If the user did not use the arguments to specify the items to instantiate,
49550 # then the envvar interface is used. Set only those that are not.
49551 # We use the long form for the default assignment because of an extremely
49552 # bizarre bug on SunOS 4.1.3.
49553 if $ac_need_defaults; then
49554 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49555 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49556 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49557 fi
49558
49559 # Have a temporary directory for convenience. Make it in the build tree
49560 # simply because there is no reason to put it here, and in addition,
49561 # creating and moving files from /tmp can sometimes cause problems.
49562 # Create a temporary directory, and hook for its removal unless debugging.
49563 $debug ||
49564 {
49565 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49566 trap '{ (exit 1); exit 1; }' 1 2 13 15
49567 }
49568
49569 # Create a (secure) tmp directory for tmp files.
49570
49571 {
49572 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49573 test -n "$tmp" && test -d "$tmp"
49574 } ||
49575 {
49576 tmp=./confstat$$-$RANDOM
49577 (umask 077 && mkdir $tmp)
49578 } ||
49579 {
49580 echo "$me: cannot create a temporary directory in ." >&2
49581 { (exit 1); exit 1; }
49582 }
49583
49584 _ACEOF
49585
49586 cat >>$CONFIG_STATUS <<_ACEOF
49587
49588 #
49589 # CONFIG_FILES section.
49590 #
49591
49592 # No need to generate the scripts if there are no CONFIG_FILES.
49593 # This happens for instance when ./config.status config.h
49594 if test -n "\$CONFIG_FILES"; then
49595 # Protect against being on the right side of a sed subst in config.status.
49596 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49597 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49598 s,@SHELL@,$SHELL,;t t
49599 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49600 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49601 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49602 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49603 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49604 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49605 s,@exec_prefix@,$exec_prefix,;t t
49606 s,@prefix@,$prefix,;t t
49607 s,@program_transform_name@,$program_transform_name,;t t
49608 s,@bindir@,$bindir,;t t
49609 s,@sbindir@,$sbindir,;t t
49610 s,@libexecdir@,$libexecdir,;t t
49611 s,@datadir@,$datadir,;t t
49612 s,@sysconfdir@,$sysconfdir,;t t
49613 s,@sharedstatedir@,$sharedstatedir,;t t
49614 s,@localstatedir@,$localstatedir,;t t
49615 s,@libdir@,$libdir,;t t
49616 s,@includedir@,$includedir,;t t
49617 s,@oldincludedir@,$oldincludedir,;t t
49618 s,@infodir@,$infodir,;t t
49619 s,@mandir@,$mandir,;t t
49620 s,@build_alias@,$build_alias,;t t
49621 s,@host_alias@,$host_alias,;t t
49622 s,@target_alias@,$target_alias,;t t
49623 s,@DEFS@,$DEFS,;t t
49624 s,@ECHO_C@,$ECHO_C,;t t
49625 s,@ECHO_N@,$ECHO_N,;t t
49626 s,@ECHO_T@,$ECHO_T,;t t
49627 s,@LIBS@,$LIBS,;t t
49628 s,@build@,$build,;t t
49629 s,@build_cpu@,$build_cpu,;t t
49630 s,@build_vendor@,$build_vendor,;t t
49631 s,@build_os@,$build_os,;t t
49632 s,@host@,$host,;t t
49633 s,@host_cpu@,$host_cpu,;t t
49634 s,@host_vendor@,$host_vendor,;t t
49635 s,@host_os@,$host_os,;t t
49636 s,@target@,$target,;t t
49637 s,@target_cpu@,$target_cpu,;t t
49638 s,@target_vendor@,$target_vendor,;t t
49639 s,@target_os@,$target_os,;t t
49640 s,@CC@,$CC,;t t
49641 s,@CFLAGS@,$CFLAGS,;t t
49642 s,@LDFLAGS@,$LDFLAGS,;t t
49643 s,@CPPFLAGS@,$CPPFLAGS,;t t
49644 s,@ac_ct_CC@,$ac_ct_CC,;t t
49645 s,@EXEEXT@,$EXEEXT,;t t
49646 s,@OBJEXT@,$OBJEXT,;t t
49647 s,@CPP@,$CPP,;t t
49648 s,@EGREP@,$EGREP,;t t
49649 s,@CXX@,$CXX,;t t
49650 s,@CXXFLAGS@,$CXXFLAGS,;t t
49651 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49652 s,@RANLIB@,$RANLIB,;t t
49653 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49654 s,@AR@,$AR,;t t
49655 s,@ac_ct_AR@,$ac_ct_AR,;t t
49656 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49657 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49658 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49659 s,@STRIP@,$STRIP,;t t
49660 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49661 s,@WINDRES@,$WINDRES,;t t
49662 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49663 s,@DLLTOOL@,$DLLTOOL,;t t
49664 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49665 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49666 s,@LN_S@,$LN_S,;t t
49667 s,@CXXCPP@,$CXXCPP,;t t
49668 s,@subdirs@,$subdirs,;t t
49669 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49670 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49671 s,@GTK_LIBS@,$GTK_LIBS,;t t
49672 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49673 s,@X_CFLAGS@,$X_CFLAGS,;t t
49674 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49675 s,@X_LIBS@,$X_LIBS,;t t
49676 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49677 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49678 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49679 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49680 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49681 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49682 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49683 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49684 s,@REZ@,$REZ,;t t
49685 s,@DEREZ@,$DEREZ,;t t
49686 s,@SETFILE@,$SETFILE,;t t
49687 s,@LIBICONV@,$LIBICONV,;t t
49688 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49689 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49690 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49691 s,@SDL_LIBS@,$SDL_LIBS,;t t
49692 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49693 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49694 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49695 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49696 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49697 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49698 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49699 s,@GST_LIBS@,$GST_LIBS,;t t
49700 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49701 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49702 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49703 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49704 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49705 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49706 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49707 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49708 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49709 s,@VENDOR@,$VENDOR,;t t
49710 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49711 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49712 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49713 s,@WXUNIV@,$WXUNIV,;t t
49714 s,@MONOLITHIC@,$MONOLITHIC,;t t
49715 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49716 s,@EXTRALIBS@,$EXTRALIBS,;t t
49717 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49718 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49719 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49720 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49721 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49722 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49723 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49724 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49725 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49726 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49727 s,@UNICODE@,$UNICODE,;t t
49728 s,@BUILD@,$BUILD,;t t
49729 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49730 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49731 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49732 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49733 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49734 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49735 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49736 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49737 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49738 s,@SET_MAKE@,$SET_MAKE,;t t
49739 s,@MAKE_SET@,$MAKE_SET,;t t
49740 s,@NM@,$NM,;t t
49741 s,@ac_ct_NM@,$ac_ct_NM,;t t
49742 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49743 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49744 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49745 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49746 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49747 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49748 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49749 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49750 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49751 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49752 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49753 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49754 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49755 s,@LIBPREFIX@,$LIBPREFIX,;t t
49756 s,@LIBEXT@,$LIBEXT,;t t
49757 s,@DLLPREFIX@,$DLLPREFIX,;t t
49758 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49759 s,@dlldir@,$dlldir,;t t
49760 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49761 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49762 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49763 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49764 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49765 s,@PIC_FLAG@,$PIC_FLAG,;t t
49766 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49767 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49768 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49769 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49770 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49771 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49772 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49773 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49774 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49775 s,@GCC_PCH@,$GCC_PCH,;t t
49776 s,@ICC_PCH@,$ICC_PCH,;t t
49777 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49778 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49779 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49780 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49781 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49782 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49783 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49784 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49785 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49786 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49787 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49788 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49789 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49790 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49791 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49792 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49793 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49794 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49795 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49796 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49797 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
49798 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
49799 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
49800 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
49801 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49802 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49803 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49804 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49805 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49806 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49807 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
49808 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
49809 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
49810 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
49811 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49812 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49813 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49814 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49815 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49816 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49817 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49818 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49819 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49820 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49821 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49822 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49823 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49824 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49825 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49826 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49827 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49828 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49829 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
49830 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49831 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49832 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49833 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49834 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49835 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49836 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49837 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49838 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49839 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49840 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49841 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49842 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49843 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49844 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49845 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49846 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49847 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49848 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49849 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49850 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49851 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49852 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49853 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49854 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49855 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49856 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49857 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49858 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49859 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49860 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49861 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49862 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49863 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49864 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49865 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49866 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49867 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49868 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49869 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
49870 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49871 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49872 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49873 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49874 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49875 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49876 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49877 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49878 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49879 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49880 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49881 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49882 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49883 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49884 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49885 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49886 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49887 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49888 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49889 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49890 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49891 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49892 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49893 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49894 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49895 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49896 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49897 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49898 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49899 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49900 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49901 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49902 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49903 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49904 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49905 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49906 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49907 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49908 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49909 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49910 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49911 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49912 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49913 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49914 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49915 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49916 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49917 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49918 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49919 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49920 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49921 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49922 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49923 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49924 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49925 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49926 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49927 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49928 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49929 s,@SHARED@,$SHARED,;t t
49930 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49931 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49932 s,@USE_GUI@,$USE_GUI,;t t
49933 s,@AFMINSTALL@,$AFMINSTALL,;t t
49934 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49935 s,@TOOLKIT@,$TOOLKIT,;t t
49936 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49937 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49938 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49939 s,@cross_compiling@,$cross_compiling,;t t
49940 s,@WIDGET_SET@,$WIDGET_SET,;t t
49941 s,@WX_RELEASE@,$WX_RELEASE,;t t
49942 s,@WX_VERSION@,$WX_VERSION,;t t
49943 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49944 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49945 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49946 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49947 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49948 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49949 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49950 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49951 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49952 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49953 s,@EXE_LINKER@,$EXE_LINKER,;t t
49954 s,@GUIDIST@,$GUIDIST,;t t
49955 s,@DISTDIR@,$DISTDIR,;t t
49956 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49957 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49958 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49959 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49960 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49961 s,@RESCOMP@,$RESCOMP,;t t
49962 s,@RESFLAGS@,$RESFLAGS,;t t
49963 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49964 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49965 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49966 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49967 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49968 s,@MACSETFILE@,$MACSETFILE,;t t
49969 s,@GCC@,$GCC,;t t
49970 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49971 s,@LIBOBJS@,$LIBOBJS,;t t
49972 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49973 CEOF
49974
49975 _ACEOF
49976
49977 cat >>$CONFIG_STATUS <<\_ACEOF
49978 # Split the substitutions into bite-sized pieces for seds with
49979 # small command number limits, like on Digital OSF/1 and HP-UX.
49980 ac_max_sed_lines=48
49981 ac_sed_frag=1 # Number of current file.
49982 ac_beg=1 # First line for current file.
49983 ac_end=$ac_max_sed_lines # Line after last line for current file.
49984 ac_more_lines=:
49985 ac_sed_cmds=
49986 while $ac_more_lines; do
49987 if test $ac_beg -gt 1; then
49988 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49989 else
49990 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49991 fi
49992 if test ! -s $tmp/subs.frag; then
49993 ac_more_lines=false
49994 else
49995 # The purpose of the label and of the branching condition is to
49996 # speed up the sed processing (if there are no `@' at all, there
49997 # is no need to browse any of the substitutions).
49998 # These are the two extra sed commands mentioned above.
49999 (echo ':t
50000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50001 if test -z "$ac_sed_cmds"; then
50002 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50003 else
50004 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50005 fi
50006 ac_sed_frag=`expr $ac_sed_frag + 1`
50007 ac_beg=$ac_end
50008 ac_end=`expr $ac_end + $ac_max_sed_lines`
50009 fi
50010 done
50011 if test -z "$ac_sed_cmds"; then
50012 ac_sed_cmds=cat
50013 fi
50014 fi # test -n "$CONFIG_FILES"
50015
50016 _ACEOF
50017 cat >>$CONFIG_STATUS <<\_ACEOF
50018 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50019 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50020 case $ac_file in
50021 - | *:- | *:-:* ) # input from stdin
50022 cat >$tmp/stdin
50023 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50025 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50027 * ) ac_file_in=$ac_file.in ;;
50028 esac
50029
50030 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50031 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50032 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50033 X"$ac_file" : 'X\(//\)[^/]' \| \
50034 X"$ac_file" : 'X\(//\)$' \| \
50035 X"$ac_file" : 'X\(/\)' \| \
50036 . : '\(.\)' 2>/dev/null ||
50037 echo X"$ac_file" |
50038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50040 /^X\(\/\/\)$/{ s//\1/; q; }
50041 /^X\(\/\).*/{ s//\1/; q; }
50042 s/.*/./; q'`
50043 { if $as_mkdir_p; then
50044 mkdir -p "$ac_dir"
50045 else
50046 as_dir="$ac_dir"
50047 as_dirs=
50048 while test ! -d "$as_dir"; do
50049 as_dirs="$as_dir $as_dirs"
50050 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50052 X"$as_dir" : 'X\(//\)[^/]' \| \
50053 X"$as_dir" : 'X\(//\)$' \| \
50054 X"$as_dir" : 'X\(/\)' \| \
50055 . : '\(.\)' 2>/dev/null ||
50056 echo X"$as_dir" |
50057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50059 /^X\(\/\/\)$/{ s//\1/; q; }
50060 /^X\(\/\).*/{ s//\1/; q; }
50061 s/.*/./; q'`
50062 done
50063 test ! -n "$as_dirs" || mkdir $as_dirs
50064 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50065 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50066 { (exit 1); exit 1; }; }; }
50067
50068 ac_builddir=.
50069
50070 if test "$ac_dir" != .; then
50071 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50072 # A "../" for each directory in $ac_dir_suffix.
50073 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50074 else
50075 ac_dir_suffix= ac_top_builddir=
50076 fi
50077
50078 case $srcdir in
50079 .) # No --srcdir option. We are building in place.
50080 ac_srcdir=.
50081 if test -z "$ac_top_builddir"; then
50082 ac_top_srcdir=.
50083 else
50084 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50085 fi ;;
50086 [\\/]* | ?:[\\/]* ) # Absolute path.
50087 ac_srcdir=$srcdir$ac_dir_suffix;
50088 ac_top_srcdir=$srcdir ;;
50089 *) # Relative path.
50090 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50091 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50092 esac
50093
50094 # Do not use `cd foo && pwd` to compute absolute paths, because
50095 # the directories may not exist.
50096 case `pwd` in
50097 .) ac_abs_builddir="$ac_dir";;
50098 *)
50099 case "$ac_dir" in
50100 .) ac_abs_builddir=`pwd`;;
50101 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50102 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50103 esac;;
50104 esac
50105 case $ac_abs_builddir in
50106 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50107 *)
50108 case ${ac_top_builddir}. in
50109 .) ac_abs_top_builddir=$ac_abs_builddir;;
50110 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50111 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50112 esac;;
50113 esac
50114 case $ac_abs_builddir in
50115 .) ac_abs_srcdir=$ac_srcdir;;
50116 *)
50117 case $ac_srcdir in
50118 .) ac_abs_srcdir=$ac_abs_builddir;;
50119 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50120 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50121 esac;;
50122 esac
50123 case $ac_abs_builddir in
50124 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50125 *)
50126 case $ac_top_srcdir in
50127 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50128 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50129 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50130 esac;;
50131 esac
50132
50133
50134 case $INSTALL in
50135 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50136 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50137 esac
50138
50139 # Let's still pretend it is `configure' which instantiates (i.e., don't
50140 # use $as_me), people would be surprised to read:
50141 # /* config.h. Generated by config.status. */
50142 if test x"$ac_file" = x-; then
50143 configure_input=
50144 else
50145 configure_input="$ac_file. "
50146 fi
50147 configure_input=$configure_input"Generated from `echo $ac_file_in |
50148 sed 's,.*/,,'` by configure."
50149
50150 # First look for the input files in the build tree, otherwise in the
50151 # src tree.
50152 ac_file_inputs=`IFS=:
50153 for f in $ac_file_in; do
50154 case $f in
50155 -) echo $tmp/stdin ;;
50156 [\\/$]*)
50157 # Absolute (can't be DOS-style, as IFS=:)
50158 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50159 echo "$as_me: error: cannot find input file: $f" >&2;}
50160 { (exit 1); exit 1; }; }
50161 echo "$f";;
50162 *) # Relative
50163 if test -f "$f"; then
50164 # Build tree
50165 echo "$f"
50166 elif test -f "$srcdir/$f"; then
50167 # Source tree
50168 echo "$srcdir/$f"
50169 else
50170 # /dev/null tree
50171 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50172 echo "$as_me: error: cannot find input file: $f" >&2;}
50173 { (exit 1); exit 1; }; }
50174 fi;;
50175 esac
50176 done` || { (exit 1); exit 1; }
50177
50178 if test x"$ac_file" != x-; then
50179 { echo "$as_me:$LINENO: creating $ac_file" >&5
50180 echo "$as_me: creating $ac_file" >&6;}
50181 rm -f "$ac_file"
50182 fi
50183 _ACEOF
50184 cat >>$CONFIG_STATUS <<_ACEOF
50185 sed "$ac_vpsub
50186 $extrasub
50187 _ACEOF
50188 cat >>$CONFIG_STATUS <<\_ACEOF
50189 :t
50190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50191 s,@configure_input@,$configure_input,;t t
50192 s,@srcdir@,$ac_srcdir,;t t
50193 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50194 s,@top_srcdir@,$ac_top_srcdir,;t t
50195 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50196 s,@builddir@,$ac_builddir,;t t
50197 s,@abs_builddir@,$ac_abs_builddir,;t t
50198 s,@top_builddir@,$ac_top_builddir,;t t
50199 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50200 s,@INSTALL@,$ac_INSTALL,;t t
50201 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50202 rm -f $tmp/stdin
50203 if test x"$ac_file" != x-; then
50204 mv $tmp/out $ac_file
50205 else
50206 cat $tmp/out
50207 rm -f $tmp/out
50208 fi
50209
50210 # Run the commands associated with the file.
50211 case $ac_file in
50212 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50213 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50214 esac
50215 done
50216 _ACEOF
50217 cat >>$CONFIG_STATUS <<\_ACEOF
50218
50219 #
50220 # CONFIG_HEADER section.
50221 #
50222
50223 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50224 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50225 #
50226 # ac_d sets the value in "#define NAME VALUE" lines.
50227 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50228 ac_dB='[ ].*$,\1#\2'
50229 ac_dC=' '
50230 ac_dD=',;t'
50231 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50232 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50233 ac_uB='$,\1#\2define\3'
50234 ac_uC=' '
50235 ac_uD=',;t'
50236
50237 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50238 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50239 case $ac_file in
50240 - | *:- | *:-:* ) # input from stdin
50241 cat >$tmp/stdin
50242 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50244 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50245 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50246 * ) ac_file_in=$ac_file.in ;;
50247 esac
50248
50249 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50250 echo "$as_me: creating $ac_file" >&6;}
50251
50252 # First look for the input files in the build tree, otherwise in the
50253 # src tree.
50254 ac_file_inputs=`IFS=:
50255 for f in $ac_file_in; do
50256 case $f in
50257 -) echo $tmp/stdin ;;
50258 [\\/$]*)
50259 # Absolute (can't be DOS-style, as IFS=:)
50260 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50261 echo "$as_me: error: cannot find input file: $f" >&2;}
50262 { (exit 1); exit 1; }; }
50263 # Do quote $f, to prevent DOS paths from being IFS'd.
50264 echo "$f";;
50265 *) # Relative
50266 if test -f "$f"; then
50267 # Build tree
50268 echo "$f"
50269 elif test -f "$srcdir/$f"; then
50270 # Source tree
50271 echo "$srcdir/$f"
50272 else
50273 # /dev/null tree
50274 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50275 echo "$as_me: error: cannot find input file: $f" >&2;}
50276 { (exit 1); exit 1; }; }
50277 fi;;
50278 esac
50279 done` || { (exit 1); exit 1; }
50280 # Remove the trailing spaces.
50281 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50282
50283 _ACEOF
50284
50285 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50286 # `conftest.undefs', that substitutes the proper values into
50287 # config.h.in to produce config.h. The first handles `#define'
50288 # templates, and the second `#undef' templates.
50289 # And first: Protect against being on the right side of a sed subst in
50290 # config.status. Protect against being in an unquoted here document
50291 # in config.status.
50292 rm -f conftest.defines conftest.undefs
50293 # Using a here document instead of a string reduces the quoting nightmare.
50294 # Putting comments in sed scripts is not portable.
50295 #
50296 # `end' is used to avoid that the second main sed command (meant for
50297 # 0-ary CPP macros) applies to n-ary macro definitions.
50298 # See the Autoconf documentation for `clear'.
50299 cat >confdef2sed.sed <<\_ACEOF
50300 s/[\\&,]/\\&/g
50301 s,[\\$`],\\&,g
50302 t clear
50303 : clear
50304 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50305 t end
50306 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50307 : end
50308 _ACEOF
50309 # If some macros were called several times there might be several times
50310 # the same #defines, which is useless. Nevertheless, we may not want to
50311 # sort them, since we want the *last* AC-DEFINE to be honored.
50312 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50313 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50314 rm -f confdef2sed.sed
50315
50316 # This sed command replaces #undef with comments. This is necessary, for
50317 # example, in the case of _POSIX_SOURCE, which is predefined and required
50318 # on some systems where configure will not decide to define it.
50319 cat >>conftest.undefs <<\_ACEOF
50320 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50321 _ACEOF
50322
50323 # Break up conftest.defines because some shells have a limit on the size
50324 # of here documents, and old seds have small limits too (100 cmds).
50325 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50326 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50327 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50328 echo ' :' >>$CONFIG_STATUS
50329 rm -f conftest.tail
50330 while grep . conftest.defines >/dev/null
50331 do
50332 # Write a limited-size here document to $tmp/defines.sed.
50333 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50334 # Speed up: don't consider the non `#define' lines.
50335 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50336 # Work around the forget-to-reset-the-flag bug.
50337 echo 't clr' >>$CONFIG_STATUS
50338 echo ': clr' >>$CONFIG_STATUS
50339 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50340 echo 'CEOF
50341 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50342 rm -f $tmp/in
50343 mv $tmp/out $tmp/in
50344 ' >>$CONFIG_STATUS
50345 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50346 rm -f conftest.defines
50347 mv conftest.tail conftest.defines
50348 done
50349 rm -f conftest.defines
50350 echo ' fi # grep' >>$CONFIG_STATUS
50351 echo >>$CONFIG_STATUS
50352
50353 # Break up conftest.undefs because some shells have a limit on the size
50354 # of here documents, and old seds have small limits too (100 cmds).
50355 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50356 rm -f conftest.tail
50357 while grep . conftest.undefs >/dev/null
50358 do
50359 # Write a limited-size here document to $tmp/undefs.sed.
50360 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50361 # Speed up: don't consider the non `#undef'
50362 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50363 # Work around the forget-to-reset-the-flag bug.
50364 echo 't clr' >>$CONFIG_STATUS
50365 echo ': clr' >>$CONFIG_STATUS
50366 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50367 echo 'CEOF
50368 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50369 rm -f $tmp/in
50370 mv $tmp/out $tmp/in
50371 ' >>$CONFIG_STATUS
50372 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50373 rm -f conftest.undefs
50374 mv conftest.tail conftest.undefs
50375 done
50376 rm -f conftest.undefs
50377
50378 cat >>$CONFIG_STATUS <<\_ACEOF
50379 # Let's still pretend it is `configure' which instantiates (i.e., don't
50380 # use $as_me), people would be surprised to read:
50381 # /* config.h. Generated by config.status. */
50382 if test x"$ac_file" = x-; then
50383 echo "/* Generated by configure. */" >$tmp/config.h
50384 else
50385 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50386 fi
50387 cat $tmp/in >>$tmp/config.h
50388 rm -f $tmp/in
50389 if test x"$ac_file" != x-; then
50390 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50391 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50392 echo "$as_me: $ac_file is unchanged" >&6;}
50393 else
50394 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50395 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50396 X"$ac_file" : 'X\(//\)[^/]' \| \
50397 X"$ac_file" : 'X\(//\)$' \| \
50398 X"$ac_file" : 'X\(/\)' \| \
50399 . : '\(.\)' 2>/dev/null ||
50400 echo X"$ac_file" |
50401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50403 /^X\(\/\/\)$/{ s//\1/; q; }
50404 /^X\(\/\).*/{ s//\1/; q; }
50405 s/.*/./; q'`
50406 { if $as_mkdir_p; then
50407 mkdir -p "$ac_dir"
50408 else
50409 as_dir="$ac_dir"
50410 as_dirs=
50411 while test ! -d "$as_dir"; do
50412 as_dirs="$as_dir $as_dirs"
50413 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50415 X"$as_dir" : 'X\(//\)[^/]' \| \
50416 X"$as_dir" : 'X\(//\)$' \| \
50417 X"$as_dir" : 'X\(/\)' \| \
50418 . : '\(.\)' 2>/dev/null ||
50419 echo X"$as_dir" |
50420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50422 /^X\(\/\/\)$/{ s//\1/; q; }
50423 /^X\(\/\).*/{ s//\1/; q; }
50424 s/.*/./; q'`
50425 done
50426 test ! -n "$as_dirs" || mkdir $as_dirs
50427 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50428 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50429 { (exit 1); exit 1; }; }; }
50430
50431 rm -f $ac_file
50432 mv $tmp/config.h $ac_file
50433 fi
50434 else
50435 cat $tmp/config.h
50436 rm -f $tmp/config.h
50437 fi
50438 done
50439 _ACEOF
50440 cat >>$CONFIG_STATUS <<\_ACEOF
50441
50442 #
50443 # CONFIG_COMMANDS section.
50444 #
50445 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50446 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50447 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50448 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50449 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50450 X"$ac_dest" : 'X\(//\)[^/]' \| \
50451 X"$ac_dest" : 'X\(//\)$' \| \
50452 X"$ac_dest" : 'X\(/\)' \| \
50453 . : '\(.\)' 2>/dev/null ||
50454 echo X"$ac_dest" |
50455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50457 /^X\(\/\/\)$/{ s//\1/; q; }
50458 /^X\(\/\).*/{ s//\1/; q; }
50459 s/.*/./; q'`
50460 { if $as_mkdir_p; then
50461 mkdir -p "$ac_dir"
50462 else
50463 as_dir="$ac_dir"
50464 as_dirs=
50465 while test ! -d "$as_dir"; do
50466 as_dirs="$as_dir $as_dirs"
50467 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50468 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50469 X"$as_dir" : 'X\(//\)[^/]' \| \
50470 X"$as_dir" : 'X\(//\)$' \| \
50471 X"$as_dir" : 'X\(/\)' \| \
50472 . : '\(.\)' 2>/dev/null ||
50473 echo X"$as_dir" |
50474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50476 /^X\(\/\/\)$/{ s//\1/; q; }
50477 /^X\(\/\).*/{ s//\1/; q; }
50478 s/.*/./; q'`
50479 done
50480 test ! -n "$as_dirs" || mkdir $as_dirs
50481 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50482 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50483 { (exit 1); exit 1; }; }; }
50484
50485 ac_builddir=.
50486
50487 if test "$ac_dir" != .; then
50488 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50489 # A "../" for each directory in $ac_dir_suffix.
50490 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50491 else
50492 ac_dir_suffix= ac_top_builddir=
50493 fi
50494
50495 case $srcdir in
50496 .) # No --srcdir option. We are building in place.
50497 ac_srcdir=.
50498 if test -z "$ac_top_builddir"; then
50499 ac_top_srcdir=.
50500 else
50501 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50502 fi ;;
50503 [\\/]* | ?:[\\/]* ) # Absolute path.
50504 ac_srcdir=$srcdir$ac_dir_suffix;
50505 ac_top_srcdir=$srcdir ;;
50506 *) # Relative path.
50507 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50508 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50509 esac
50510
50511 # Do not use `cd foo && pwd` to compute absolute paths, because
50512 # the directories may not exist.
50513 case `pwd` in
50514 .) ac_abs_builddir="$ac_dir";;
50515 *)
50516 case "$ac_dir" in
50517 .) ac_abs_builddir=`pwd`;;
50518 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50519 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50520 esac;;
50521 esac
50522 case $ac_abs_builddir in
50523 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50524 *)
50525 case ${ac_top_builddir}. in
50526 .) ac_abs_top_builddir=$ac_abs_builddir;;
50527 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50528 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50529 esac;;
50530 esac
50531 case $ac_abs_builddir in
50532 .) ac_abs_srcdir=$ac_srcdir;;
50533 *)
50534 case $ac_srcdir in
50535 .) ac_abs_srcdir=$ac_abs_builddir;;
50536 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50537 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50538 esac;;
50539 esac
50540 case $ac_abs_builddir in
50541 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50542 *)
50543 case $ac_top_srcdir in
50544 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50545 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50546 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50547 esac;;
50548 esac
50549
50550
50551 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50552 echo "$as_me: executing $ac_dest commands" >&6;}
50553 case $ac_dest in
50554 rcdefs.h )
50555 mkdir -p $outdir &&
50556 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50557 ;;
50558 wx-config ) rm -f wx-config
50559 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50560 ;;
50561 esac
50562 done
50563 _ACEOF
50564
50565 cat >>$CONFIG_STATUS <<\_ACEOF
50566
50567 { (exit 0); exit 0; }
50568 _ACEOF
50569 chmod +x $CONFIG_STATUS
50570 ac_clean_files=$ac_clean_files_save
50571
50572
50573 # configure is writing to config.log, and then calls config.status.
50574 # config.status does its own redirection, appending to config.log.
50575 # Unfortunately, on DOS this fails, as config.log is still kept open
50576 # by configure, so config.status won't be able to write to it; its
50577 # output is simply discarded. So we exec the FD to /dev/null,
50578 # effectively closing config.log, so it can be properly (re)opened and
50579 # appended to by config.status. When coming back to configure, we
50580 # need to make the FD available again.
50581 if test "$no_create" != yes; then
50582 ac_cs_success=:
50583 ac_config_status_args=
50584 test "$silent" = yes &&
50585 ac_config_status_args="$ac_config_status_args --quiet"
50586 exec 5>/dev/null
50587 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50588 exec 5>>config.log
50589 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50590 # would make configure fail if this is the last instruction.
50591 $ac_cs_success || { (exit 1); exit 1; }
50592 fi
50593
50594 #
50595 # CONFIG_SUBDIRS section.
50596 #
50597 if test "$no_recursion" != yes; then
50598
50599 # Remove --cache-file and --srcdir arguments so they do not pile up.
50600 ac_sub_configure_args=
50601 ac_prev=
50602 for ac_arg in $ac_configure_args; do
50603 if test -n "$ac_prev"; then
50604 ac_prev=
50605 continue
50606 fi
50607 case $ac_arg in
50608 -cache-file | --cache-file | --cache-fil | --cache-fi \
50609 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50610 ac_prev=cache_file ;;
50611 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50612 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50613 | --c=*)
50614 ;;
50615 --config-cache | -C)
50616 ;;
50617 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50618 ac_prev=srcdir ;;
50619 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50620 ;;
50621 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50622 ac_prev=prefix ;;
50623 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50624 ;;
50625 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50626 esac
50627 done
50628
50629 # Always prepend --prefix to ensure using the same prefix
50630 # in subdir configurations.
50631 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50632
50633 ac_popdir=`pwd`
50634 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50635
50636 # Do not complain, so a configure script can configure whichever
50637 # parts of a large source tree are present.
50638 test -d $srcdir/$ac_dir || continue
50639
50640 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50641 echo "$as_me: configuring in $ac_dir" >&6;}
50642 { if $as_mkdir_p; then
50643 mkdir -p "$ac_dir"
50644 else
50645 as_dir="$ac_dir"
50646 as_dirs=
50647 while test ! -d "$as_dir"; do
50648 as_dirs="$as_dir $as_dirs"
50649 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50651 X"$as_dir" : 'X\(//\)[^/]' \| \
50652 X"$as_dir" : 'X\(//\)$' \| \
50653 X"$as_dir" : 'X\(/\)' \| \
50654 . : '\(.\)' 2>/dev/null ||
50655 echo X"$as_dir" |
50656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50658 /^X\(\/\/\)$/{ s//\1/; q; }
50659 /^X\(\/\).*/{ s//\1/; q; }
50660 s/.*/./; q'`
50661 done
50662 test ! -n "$as_dirs" || mkdir $as_dirs
50663 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50665 { (exit 1); exit 1; }; }; }
50666
50667 ac_builddir=.
50668
50669 if test "$ac_dir" != .; then
50670 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50671 # A "../" for each directory in $ac_dir_suffix.
50672 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50673 else
50674 ac_dir_suffix= ac_top_builddir=
50675 fi
50676
50677 case $srcdir in
50678 .) # No --srcdir option. We are building in place.
50679 ac_srcdir=.
50680 if test -z "$ac_top_builddir"; then
50681 ac_top_srcdir=.
50682 else
50683 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50684 fi ;;
50685 [\\/]* | ?:[\\/]* ) # Absolute path.
50686 ac_srcdir=$srcdir$ac_dir_suffix;
50687 ac_top_srcdir=$srcdir ;;
50688 *) # Relative path.
50689 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50690 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50691 esac
50692
50693 # Do not use `cd foo && pwd` to compute absolute paths, because
50694 # the directories may not exist.
50695 case `pwd` in
50696 .) ac_abs_builddir="$ac_dir";;
50697 *)
50698 case "$ac_dir" in
50699 .) ac_abs_builddir=`pwd`;;
50700 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50701 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50702 esac;;
50703 esac
50704 case $ac_abs_builddir in
50705 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50706 *)
50707 case ${ac_top_builddir}. in
50708 .) ac_abs_top_builddir=$ac_abs_builddir;;
50709 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50710 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50711 esac;;
50712 esac
50713 case $ac_abs_builddir in
50714 .) ac_abs_srcdir=$ac_srcdir;;
50715 *)
50716 case $ac_srcdir in
50717 .) ac_abs_srcdir=$ac_abs_builddir;;
50718 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50719 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50720 esac;;
50721 esac
50722 case $ac_abs_builddir in
50723 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50724 *)
50725 case $ac_top_srcdir in
50726 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50727 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50728 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50729 esac;;
50730 esac
50731
50732
50733 cd $ac_dir
50734
50735 # Check for guested configure; otherwise get Cygnus style configure.
50736 if test -f $ac_srcdir/configure.gnu; then
50737 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50738 elif test -f $ac_srcdir/configure; then
50739 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50740 elif test -f $ac_srcdir/configure.in; then
50741 ac_sub_configure=$ac_configure
50742 else
50743 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50744 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50745 ac_sub_configure=
50746 fi
50747
50748 # The recursion is here.
50749 if test -n "$ac_sub_configure"; then
50750 # Make the cache file name correct relative to the subdirectory.
50751 case $cache_file in
50752 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50753 *) # Relative path.
50754 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50755 esac
50756
50757 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50758 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50759 # The eval makes quoting arguments work.
50760 eval $ac_sub_configure $ac_sub_configure_args \
50761 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50762 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50763 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50764 { (exit 1); exit 1; }; }
50765 fi
50766
50767 cd "$ac_popdir"
50768 done
50769 fi
50770
50771
50772 echo
50773 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50774 echo ""
50775 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50776 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50777
50778 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50779 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50780 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50781
50782 echo " What level of wxWidgets compatibility should be enabled?"
50783 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50784 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50785
50786 echo " Which libraries should wxWidgets use?"
50787 echo " jpeg ${wxUSE_LIBJPEG-none}"
50788 echo " png ${wxUSE_LIBPNG-none}"
50789 echo " regex ${wxUSE_REGEX}"
50790 echo " tiff ${wxUSE_LIBTIFF-none}"
50791 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50792 echo " xpm ${wxUSE_LIBXPM-none}"
50793 fi
50794 echo " zlib ${wxUSE_ZLIB}"
50795 echo " odbc ${wxUSE_ODBC}"
50796 echo " expat ${wxUSE_EXPAT}"
50797 echo " libmspack ${wxUSE_LIBMSPACK}"
50798 echo " sdl ${wxUSE_LIBSDL}"
50799 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50800 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50801 echo " hildon ${wxUSE_LIBHILDON-none}"
50802
50803 echo ""
50804