]> git.saurik.com Git - wxWidgets.git/blob - configure
setting a non valid font is permitted, implemented now
[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.1.
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.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET 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_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_inet use virtual HTTP/FTP filesystems
998 --enable-fs_zip use virtual ZIP filesystems
999 --enable-geometry use geometry class
1000 --enable-log use logging system
1001 --enable-longlong use wxLongLong class
1002 --enable-mimetype use wxMimeTypesManager
1003 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C++ stream classes
1006 --enable-std_string use standard C++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-textbuf use wxTextBuffer class
1012 --enable-textfile use wxTextFile class
1013 --enable-timer use wxTimer class
1014 --enable-unicode compile wxString with Unicode support
1015 --enable-sound use wxSound class
1016 --enable-mediactrl use wxMediaCtrl class
1017 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1018 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1019 --enable-zipstream use wxZip streams
1020 --enable-url use wxURL class
1021 --enable-variant use wxVariant class
1022 --enable-protocol use wxProtocol class
1023 --enable-protocol-http HTTP support in wxProtocol
1024 --enable-protocol-ftp FTP support in wxProtocol
1025 --enable-protocol-file FILE support in wxProtocol
1026 --enable-threads use threads
1027 --enable-docview use document view architecture
1028 --enable-help use help subsystem
1029 --enable-mshtmlhelp use MS HTML Help (win32)
1030 --enable-html use wxHTML sub-library
1031 --enable-htmlhelp use wxHTML-based help
1032 --enable-xrc use XRC resources sub-library
1033 --enable-aui use AUI docking library
1034 --enable-constraints use layout-constraints system
1035 --enable-printarch use printing architecture
1036 --enable-mdi use multiple document interface architecture
1037 --enable-mdidoc use docview architecture with MDI
1038 --enable-loggui use standard GUI logger
1039 --enable-logwin use wxLogWindow
1040 --enable-logdialog use wxLogDialog
1041 --enable-webkit use wxWebKitCtrl (Mac)
1042 --enable-richtext use wxRichTextCtrl
1043 --enable-graphics_ctx use graphics context 2D drawing API
1044 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1045 --enable-prologio not available; see contrib
1046 --enable-resources not available; see contrib
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-colourpicker use wxColourPickerCtrl class
1063 --enable-combobox use wxComboBox class
1064 --enable-comboctrl use wxComboCtrl class
1065 --enable-datepick use wxDatePickerCtrl class
1066 --enable-dirpicker use wxDirPickerCtrl class
1067 --enable-display use wxDisplay class
1068 --enable-detect_sm use code to detect X11 session manager
1069 --enable-filepicker use wxFilePickerCtrl class
1070 --enable-fontpicker use wxFontPickerCtrl class
1071 --enable-gauge use wxGauge class
1072 --enable-grid use wxGrid class
1073 --enable-dataviewctrl, use wxDataViewCtrl class
1074 --enable-hyperlink use wxHyperlinkCtrl class
1075 --enable-imaglist use wxImageList class
1076 --enable-listbook use wxListbook class
1077 --enable-listbox use wxListBox class
1078 --enable-listctrl use wxListCtrl class
1079 --enable-notebook use wxNotebook class
1080 --enable-odcombobox use wxOwnerDrawnComboBox class
1081 --enable-radiobox use wxRadioBox class
1082 --enable-radiobtn use wxRadioButton class
1083 --enable-sash use wxSashWindow class
1084 --enable-scrollbar use wxScrollBar class and scrollable windows
1085 --enable-slider use wxSlider class
1086 --enable-spinbtn use wxSpinButton class
1087 --enable-spinctrl use wxSpinCtrl class
1088 --enable-splitter use wxSplitterWindow class
1089 --enable-statbmp use wxStaticBitmap class
1090 --enable-statbox use wxStaticBox class
1091 --enable-statline use wxStaticLine class
1092 --enable-stattext use wxStaticText class
1093 --enable-statusbar use wxStatusBar class
1094 --enable-tabdialog use wxTabControl class
1095 --enable-textctrl use wxTextCtrl class
1096 --enable-togglebtn use wxToggleButton class
1097 --enable-toolbar use wxToolBar class
1098 --enable-tbarnative use native wxToolBar class
1099 --enable-treebook use wxTreebook class
1100 --enable-toolbook use wxToolbook class
1101 --enable-treectrl use wxTreeCtrl class
1102 --enable-tipwindow use wxTipWindow class
1103 --enable-popupwin use wxPopUpWindow class
1104 --enable-commondlg use all common dialogs
1105 --enable-aboutdlg use wxAboutBox
1106 --enable-choicedlg use wxChoiceDialog
1107 --enable-coldlg use wxColourDialog
1108 --enable-filedlg use wxFileDialog
1109 --enable-finddlg use wxFindReplaceDialog
1110 --enable-fontdlg use wxFontDialog
1111 --enable-dirdlg use wxDirDialog
1112 --enable-msgdlg use wxMessageDialog
1113 --enable-numberdlg use wxNumberEntryDialog
1114 --enable-splash use wxSplashScreen
1115 --enable-textdlg use wxTextDialog
1116 --enable-tipdlg use startup tips
1117 --enable-progressdlg use wxProgressDialog
1118 --enable-wizarddlg use wxWizard
1119 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1120 --enable-miniframe use wxMiniFrame class
1121 --enable-tooltips use wxToolTip class
1122 --enable-splines use spline drawing code
1123 --enable-mousewheel use mousewheel
1124 --enable-validators use wxValidator and derived classes
1125 --enable-busyinfo use wxBusyInfo
1126 --enable-joystick use wxJoystick
1127 --enable-metafiles use wxMetaFile (Win32 only)
1128 --enable-dragimage use wxDragImage
1129 --enable-accessibility enable accessibility support
1130 --enable-dccache cache temporary wxDC objects (Win32 only)
1131 --enable-palette use wxPalette class
1132 --enable-image use wxImage class
1133 --enable-gif use gif images (GIF file format)
1134 --enable-pcx use pcx images (PCX file format)
1135 --enable-iff use iff images (IFF file format)
1136 --enable-pnm use pnm images (PNM file format)
1137 --enable-xpm use xpm images (XPM file format)
1138 --enable-icocur use Windows ICO and CUR formats
1139 --enable-official_build official build of wxWidgets (win32 DLL only)
1140 --enable-vendor=VENDOR vendor name (win32 DLL only)
1141 --disable-largefile omit support for large files
1142 --disable-gtktest do not try to compile and run a test GTK+ program
1143 --disable-gtktest Do not try to compile and run a test GTK program
1144 --disable-sdltest Do not try to compile and run a test SDL program
1145 --enable-omf use OMF object format (OS/2)
1146 --disable-dependency-tracking
1147 don't use dependency tracking even if the compiler
1148 can
1149 --disable-precomp-headers
1150 don't use precompiled headers even if compiler can
1151
1152 Optional Packages:
1153 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1154 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1155 --without-subdirs don't generate makefiles for samples/demos/...
1156 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1157 --with-motif use Motif/Lesstif
1158 --with-mac use Mac OS X
1159 --with-cocoa use Cocoa
1160 --with-wine use Wine
1161 --with-msw use MS-Windows
1162 --with-pm use OS/2 Presentation Manager
1163 --with-mgl use SciTech MGL
1164 --with-directfb use DirectFB
1165 --with-microwin use MicroWindows
1166 --with-x11 use X11
1167 --with-libpng use libpng (PNG image format)
1168 --with-libjpeg use libjpeg (JPEG file format)
1169 --with-libtiff use libtiff (TIFF file format)
1170 --with-libxpm use libxpm (XPM file format)
1171 --with-libmspack use libmspack (CHM help files loading)
1172 --with-sdl use SDL for audio on Unix
1173 --with-gnomeprint use GNOME print for printing under GNOME
1174 --with-gnomevfs use GNOME VFS for associating MIME types
1175 --with-hildon use Hildon framework for Nokia 770
1176 --with-opengl use OpenGL (or Mesa)
1177 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1178 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1179 --with-regex enable support for wxRegEx class
1180 --with-zlib use zlib for LZW compression
1181 --with-odbc use the IODBC and wxODBC classes
1182 --with-expat enable XML support using expat parser
1183 --with-flavour=NAME specify a name to identify this build
1184 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1185 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1186 --with-x use the X Window System
1187 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1188 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1189 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1190 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1191 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1192
1193 Some influential environment variables:
1194 CC C compiler command
1195 CFLAGS C compiler flags
1196 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1197 nonstandard directory <lib dir>
1198 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1199 headers in a nonstandard directory <include dir>
1200 CPP C preprocessor
1201 CXX C++ compiler command
1202 CXXFLAGS C++ compiler flags
1203 CXXCPP C++ preprocessor
1204 PKG_CONFIG path to pkg-config utility
1205 DIRECTFB_CFLAGS
1206 C compiler flags for DIRECTFB, overriding pkg-config
1207 DIRECTFB_LIBS
1208 linker flags for DIRECTFB, overriding pkg-config
1209 PANGOX_CFLAGS
1210 C compiler flags for PANGOX, overriding pkg-config
1211 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1212 PANGOFT2_CFLAGS
1213 C compiler flags for PANGOFT2, overriding pkg-config
1214 PANGOFT2_LIBS
1215 linker flags for PANGOFT2, overriding pkg-config
1216 PANGOXFT_CFLAGS
1217 C compiler flags for PANGOXFT, overriding pkg-config
1218 PANGOXFT_LIBS
1219 linker flags for PANGOXFT, overriding pkg-config
1220 LIBGNOMEPRINTUI_CFLAGS
1221 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1222 LIBGNOMEPRINTUI_LIBS
1223 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1224 GNOMEVFS_CFLAGS
1225 C compiler flags for GNOMEVFS, overriding pkg-config
1226 GNOMEVFS_LIBS
1227 linker flags for GNOMEVFS, overriding pkg-config
1228 HILDON_CFLAGS
1229 C compiler flags for HILDON, overriding pkg-config
1230 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1231 CAIRO_CFLAGS
1232 C compiler flags for CAIRO, overriding pkg-config
1233 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1234 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1235 GST_LIBS linker flags for GST, overriding pkg-config
1236
1237 Use these variables to override the choices made by `configure' or to help
1238 it to find libraries and programs with nonstandard names/locations.
1239
1240 Report bugs to <wx-dev@lists.wxwidgets.org>.
1241 _ACEOF
1242 fi
1243
1244 if test "$ac_init_help" = "recursive"; then
1245 # If there are subdirs, report their specific --help.
1246 ac_popdir=`pwd`
1247 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1248 test -d $ac_dir || continue
1249 ac_builddir=.
1250
1251 if test "$ac_dir" != .; then
1252 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A "../" for each directory in $ac_dir_suffix.
1254 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1255 else
1256 ac_dir_suffix= ac_top_builddir=
1257 fi
1258
1259 case $srcdir in
1260 .) # No --srcdir option. We are building in place.
1261 ac_srcdir=.
1262 if test -z "$ac_top_builddir"; then
1263 ac_top_srcdir=.
1264 else
1265 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1266 fi ;;
1267 [\\/]* | ?:[\\/]* ) # Absolute path.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir ;;
1270 *) # Relative path.
1271 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1272 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1273 esac
1274
1275 # Do not use `cd foo && pwd` to compute absolute paths, because
1276 # the directories may not exist.
1277 case `pwd` in
1278 .) ac_abs_builddir="$ac_dir";;
1279 *)
1280 case "$ac_dir" in
1281 .) ac_abs_builddir=`pwd`;;
1282 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1283 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1284 esac;;
1285 esac
1286 case $ac_abs_builddir in
1287 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1288 *)
1289 case ${ac_top_builddir}. in
1290 .) ac_abs_top_builddir=$ac_abs_builddir;;
1291 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1293 esac;;
1294 esac
1295 case $ac_abs_builddir in
1296 .) ac_abs_srcdir=$ac_srcdir;;
1297 *)
1298 case $ac_srcdir in
1299 .) ac_abs_srcdir=$ac_abs_builddir;;
1300 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1301 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1302 esac;;
1303 esac
1304 case $ac_abs_builddir in
1305 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1306 *)
1307 case $ac_top_srcdir in
1308 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1309 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1311 esac;;
1312 esac
1313
1314 cd $ac_dir
1315 # Check for guested configure; otherwise get Cygnus style configure.
1316 if test -f $ac_srcdir/configure.gnu; then
1317 echo
1318 $SHELL $ac_srcdir/configure.gnu --help=recursive
1319 elif test -f $ac_srcdir/configure; then
1320 echo
1321 $SHELL $ac_srcdir/configure --help=recursive
1322 elif test -f $ac_srcdir/configure.ac ||
1323 test -f $ac_srcdir/configure.in; then
1324 echo
1325 $ac_configure --help
1326 else
1327 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1328 fi
1329 cd "$ac_popdir"
1330 done
1331 fi
1332
1333 test -n "$ac_init_help" && exit 0
1334 if $ac_init_version; then
1335 cat <<\_ACEOF
1336 wxWidgets configure 2.7.1
1337 generated by GNU Autoconf 2.59
1338
1339 Copyright (C) 2003 Free Software Foundation, Inc.
1340 This configure script is free software; the Free Software Foundation
1341 gives unlimited permission to copy, distribute and modify it.
1342 _ACEOF
1343 exit 0
1344 fi
1345 exec 5>config.log
1346 cat >&5 <<_ACEOF
1347 This file contains any messages produced by compilers while
1348 running configure, to aid debugging if configure makes a mistake.
1349
1350 It was created by wxWidgets $as_me 2.7.1, which was
1351 generated by GNU Autoconf 2.59. Invocation command line was
1352
1353 $ $0 $@
1354
1355 _ACEOF
1356 {
1357 cat <<_ASUNAME
1358 ## --------- ##
1359 ## Platform. ##
1360 ## --------- ##
1361
1362 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1367
1368 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1370
1371 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1375 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1378
1379 _ASUNAME
1380
1381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382 for as_dir in $PATH
1383 do
1384 IFS=$as_save_IFS
1385 test -z "$as_dir" && as_dir=.
1386 echo "PATH: $as_dir"
1387 done
1388
1389 } >&5
1390
1391 cat >&5 <<_ACEOF
1392
1393
1394 ## ----------- ##
1395 ## Core tests. ##
1396 ## ----------- ##
1397
1398 _ACEOF
1399
1400
1401 # Keep a trace of the command line.
1402 # Strip out --no-create and --no-recursion so they do not pile up.
1403 # Strip out --silent because we don't want to record it for future runs.
1404 # Also quote any args containing shell meta-characters.
1405 # Make two passes to allow for proper duplicate-argument suppression.
1406 ac_configure_args=
1407 ac_configure_args0=
1408 ac_configure_args1=
1409 ac_sep=
1410 ac_must_keep_next=false
1411 for ac_pass in 1 2
1412 do
1413 for ac_arg
1414 do
1415 case $ac_arg in
1416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418 | -silent | --silent | --silen | --sile | --sil)
1419 continue ;;
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1422 esac
1423 case $ac_pass in
1424 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1425 2)
1426 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1427 if test $ac_must_keep_next = true; then
1428 ac_must_keep_next=false # Got value, back to normal.
1429 else
1430 case $ac_arg in
1431 *=* | --config-cache | -C | -disable-* | --disable-* \
1432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434 | -with-* | --with-* | -without-* | --without-* | --x)
1435 case "$ac_configure_args0 " in
1436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1437 esac
1438 ;;
1439 -* ) ac_must_keep_next=true ;;
1440 esac
1441 fi
1442 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1443 # Get rid of the leading space.
1444 ac_sep=" "
1445 ;;
1446 esac
1447 done
1448 done
1449 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1450 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1451
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Be sure not to use single quotes in there, as some shells,
1456 # such as our DU 5.0 friend, will then `close' the trap.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1459 {
1460 echo
1461
1462 cat <<\_ASBOX
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1466 _ASBOX
1467 echo
1468 # The following way of writing the cache mishandles newlines in values,
1469 {
1470 (set) 2>&1 |
1471 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1472 *ac_space=\ *)
1473 sed -n \
1474 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1476 ;;
1477 *)
1478 sed -n \
1479 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1480 ;;
1481 esac;
1482 }
1483 echo
1484
1485 cat <<\_ASBOX
1486 ## ----------------- ##
1487 ## Output variables. ##
1488 ## ----------------- ##
1489 _ASBOX
1490 echo
1491 for ac_var in $ac_subst_vars
1492 do
1493 eval ac_val=$`echo $ac_var`
1494 echo "$ac_var='"'"'$ac_val'"'"'"
1495 done | sort
1496 echo
1497
1498 if test -n "$ac_subst_files"; then
1499 cat <<\_ASBOX
1500 ## ------------- ##
1501 ## Output files. ##
1502 ## ------------- ##
1503 _ASBOX
1504 echo
1505 for ac_var in $ac_subst_files
1506 do
1507 eval ac_val=$`echo $ac_var`
1508 echo "$ac_var='"'"'$ac_val'"'"'"
1509 done | sort
1510 echo
1511 fi
1512
1513 if test -s confdefs.h; then
1514 cat <<\_ASBOX
1515 ## ----------- ##
1516 ## confdefs.h. ##
1517 ## ----------- ##
1518 _ASBOX
1519 echo
1520 sed "/^$/d" confdefs.h | sort
1521 echo
1522 fi
1523 test "$ac_signal" != 0 &&
1524 echo "$as_me: caught signal $ac_signal"
1525 echo "$as_me: exit $exit_status"
1526 } >&5
1527 rm -f core *.core &&
1528 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1529 exit $exit_status
1530 ' 0
1531 for ac_signal in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1533 done
1534 ac_signal=0
1535
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1537 rm -rf conftest* confdefs.h
1538 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1539 echo >confdefs.h
1540
1541 # Predefined preprocessor variables.
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_NAME "$PACKAGE_NAME"
1545 _ACEOF
1546
1547
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1550 _ACEOF
1551
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1555 _ACEOF
1556
1557
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_STRING "$PACKAGE_STRING"
1560 _ACEOF
1561
1562
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1565 _ACEOF
1566
1567
1568 # Let the site file select an alternate cache file if it wants to.
1569 # Prefer explicitly selected file to automatically selected ones.
1570 if test -z "$CONFIG_SITE"; then
1571 if test "x$prefix" != xNONE; then
1572 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1573 else
1574 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1575 fi
1576 fi
1577 for ac_site_file in $CONFIG_SITE; do
1578 if test -r "$ac_site_file"; then
1579 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1580 echo "$as_me: loading site script $ac_site_file" >&6;}
1581 sed 's/^/| /' "$ac_site_file" >&5
1582 . "$ac_site_file"
1583 fi
1584 done
1585
1586 if test -r "$cache_file"; then
1587 # Some versions of bash will fail to source /dev/null (special
1588 # files actually), so we avoid doing that.
1589 if test -f "$cache_file"; then
1590 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1591 echo "$as_me: loading cache $cache_file" >&6;}
1592 case $cache_file in
1593 [\\/]* | ?:[\\/]* ) . $cache_file;;
1594 *) . ./$cache_file;;
1595 esac
1596 fi
1597 else
1598 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1599 echo "$as_me: creating cache $cache_file" >&6;}
1600 >$cache_file
1601 fi
1602
1603 # Check that the precious variables saved in the cache have kept the same
1604 # value.
1605 ac_cache_corrupted=false
1606 for ac_var in `(set) 2>&1 |
1607 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1608 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1609 eval ac_new_set=\$ac_env_${ac_var}_set
1610 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1611 eval ac_new_val="\$ac_env_${ac_var}_value"
1612 case $ac_old_set,$ac_new_set in
1613 set,)
1614 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1615 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1616 ac_cache_corrupted=: ;;
1617 ,set)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,);;
1622 *)
1623 if test "x$ac_old_val" != "x$ac_new_val"; then
1624 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1625 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1626 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1627 echo "$as_me: former value: $ac_old_val" >&2;}
1628 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1629 echo "$as_me: current value: $ac_new_val" >&2;}
1630 ac_cache_corrupted=:
1631 fi;;
1632 esac
1633 # Pass precious variables to config.status.
1634 if test "$ac_new_set" = set; then
1635 case $ac_new_val in
1636 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1637 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638 *) ac_arg=$ac_var=$ac_new_val ;;
1639 esac
1640 case " $ac_configure_args " in
1641 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1642 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1643 esac
1644 fi
1645 done
1646 if $ac_cache_corrupted; then
1647 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651 { (exit 1); exit 1; }; }
1652 fi
1653
1654 ac_ext=c
1655 ac_cpp='$CPP $CPPFLAGS'
1656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689 ac_aux_dir=
1690 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1691 if test -f $ac_dir/install-sh; then
1692 ac_aux_dir=$ac_dir
1693 ac_install_sh="$ac_aux_dir/install-sh -c"
1694 break
1695 elif test -f $ac_dir/install.sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install.sh -c"
1698 break
1699 elif test -f $ac_dir/shtool; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/shtool install -c"
1702 break
1703 fi
1704 done
1705 if test -z "$ac_aux_dir"; then
1706 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1707 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1708 { (exit 1); exit 1; }; }
1709 fi
1710 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1711 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1712 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1713
1714 # Make sure we can run config.sub.
1715 $ac_config_sub sun4 >/dev/null 2>&1 ||
1716 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1717 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1718 { (exit 1); exit 1; }; }
1719
1720 echo "$as_me:$LINENO: checking build system type" >&5
1721 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1722 if test "${ac_cv_build+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 else
1725 ac_cv_build_alias=$build_alias
1726 test -z "$ac_cv_build_alias" &&
1727 ac_cv_build_alias=`$ac_config_guess`
1728 test -z "$ac_cv_build_alias" &&
1729 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1730 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1731 { (exit 1); exit 1; }; }
1732 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1733 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1734 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1735 { (exit 1); exit 1; }; }
1736
1737 fi
1738 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1739 echo "${ECHO_T}$ac_cv_build" >&6
1740 build=$ac_cv_build
1741 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1742 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1743 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1744
1745
1746 echo "$as_me:$LINENO: checking host system type" >&5
1747 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1748 if test "${ac_cv_host+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 else
1751 ac_cv_host_alias=$host_alias
1752 test -z "$ac_cv_host_alias" &&
1753 ac_cv_host_alias=$ac_cv_build_alias
1754 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1755 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1756 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1757 { (exit 1); exit 1; }; }
1758
1759 fi
1760 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1761 echo "${ECHO_T}$ac_cv_host" >&6
1762 host=$ac_cv_host
1763 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1764 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1765 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1766
1767
1768 echo "$as_me:$LINENO: checking target system type" >&5
1769 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1770 if test "${ac_cv_target+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 ac_cv_target_alias=$target_alias
1774 test "x$ac_cv_target_alias" = "x" &&
1775 ac_cv_target_alias=$ac_cv_host_alias
1776 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1777 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1778 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1779 { (exit 1); exit 1; }; }
1780
1781 fi
1782 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1783 echo "${ECHO_T}$ac_cv_target" >&6
1784 target=$ac_cv_target
1785 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1786 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1787 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1788
1789
1790 # The aliases save the names the user supplied, while $host etc.
1791 # will get canonicalized.
1792 test -n "$target_alias" &&
1793 test "$program_prefix$program_suffix$program_transform_name" = \
1794 NONENONEs,x,x, &&
1795 program_prefix=${target_alias}-
1796
1797
1798
1799 wx_major_version_number=2
1800 wx_minor_version_number=7
1801 wx_release_number=1
1802 wx_subrelease_number=2
1803
1804 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1805 WX_VERSION=$WX_RELEASE.$wx_release_number
1806 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1807
1808 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1809
1810
1811
1812
1813 USE_UNIX=1
1814 USE_OS2=0
1815 USE_WIN32=0
1816 USE_DOS=0
1817 USE_BEOS=0
1818 USE_MAC=0
1819
1820 USE_AIX=
1821 USE_BSD= USE_DARWIN= USE_FREEBSD=
1822 USE_GNU= USE_HPUX=
1823 USE_LINUX=
1824 USE_NETBSD=
1825 USE_OPENBSD=
1826 USE_OSF= USE_SGI=
1827 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1828 USE_ULTRIX=
1829 USE_UNIXWARE=
1830
1831 USE_ALPHA=
1832
1833 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1834
1835 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1836
1837 DEFAULT_wxUSE_COCOA=0
1838 DEFAULT_wxUSE_GTK=0
1839 DEFAULT_wxUSE_MAC=0
1840 DEFAULT_wxUSE_MGL=0
1841 DEFAULT_wxUSE_MICROWIN=0
1842 DEFAULT_wxUSE_MOTIF=0
1843 DEFAULT_wxUSE_MSW=0
1844 DEFAULT_wxUSE_PM=0
1845 DEFAULT_wxUSE_X11=0
1846 DEFAULT_wxUSE_DFB=0
1847
1848 DEFAULT_DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_DEFAULT_wxUSE_GTK=0
1850 DEFAULT_DEFAULT_wxUSE_MAC=0
1851 DEFAULT_DEFAULT_wxUSE_MGL=0
1852 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1854 DEFAULT_DEFAULT_wxUSE_MSW=0
1855 DEFAULT_DEFAULT_wxUSE_PM=0
1856 DEFAULT_DEFAULT_wxUSE_X11=0
1857 DEFAULT_DEFAULT_wxUSE_DFB=0
1858
1859 PROGRAM_EXT=
1860 SO_SUFFIX=so
1861 SAMPLES_RPATH_FLAG=
1862 SAMPLES_RPATH_POSTLINK=
1863
1864 DEFAULT_STD_FLAG=yes
1865
1866 case "${host}" in
1867 *-hp-hpux* )
1868 USE_HPUX=1
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871 SO_SUFFIX=sl
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __HPUX__ 1
1874 _ACEOF
1875
1876
1877 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1878 ;;
1879 *-*-linux* )
1880 USE_LINUX=1
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __LINUX__ 1
1883 _ACEOF
1884
1885 TMP=`uname -m`
1886 if test "x$TMP" = "xalpha"; then
1887 USE_ALPHA=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __ALPHA__ 1
1890 _ACEOF
1891
1892 fi
1893 DEFAULT_DEFAULT_wxUSE_GTK=1
1894 ;;
1895 *-*-gnu* | *-*-k*bsd*-gnu )
1896 USE_GNU=1
1897 TMP=`uname -m`
1898 if test "x$TMP" = "xalpha"; then
1899 USE_ALPHA=1
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __ALPHA__ 1
1902 _ACEOF
1903
1904 fi
1905 DEFAULT_DEFAULT_wxUSE_GTK=1
1906 ;;
1907 *-*-irix5* | *-*-irix6* )
1908 USE_SGI=1
1909 USE_SVR4=1
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SGI__ 1
1912 _ACEOF
1913
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __SVR4__ 1
1916 _ACEOF
1917
1918 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1919 ;;
1920 *-*-solaris2* )
1921 USE_SUN=1
1922 USE_SOLARIS=1
1923 USE_SVR4=1
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __SUN__ 1
1926 _ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __SOLARIS__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SVR4__ 1
1934 _ACEOF
1935
1936 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1937 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1938 ;;
1939 *-*-sunos4* )
1940 USE_SUN=1
1941 USE_SUNOS=1
1942 USE_BSD=1
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __SUN__ 1
1945 _ACEOF
1946
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __SUNOS__ 1
1949 _ACEOF
1950
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __BSD__ 1
1953 _ACEOF
1954
1955 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1956 ;;
1957 *-*-freebsd*)
1958 USE_BSD=1
1959 USE_FREEBSD=1
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __FREEBSD__ 1
1962 _ACEOF
1963
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __BSD__ 1
1966 _ACEOF
1967
1968 DEFAULT_DEFAULT_wxUSE_GTK=1
1969 ;;
1970 *-*-openbsd*|*-*-mirbsd*)
1971 USE_BSD=1
1972 USE_OPENBSD=1
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __OPENBSD__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BSD__ 1
1979 _ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_GTK=1
1982 ;;
1983 *-*-netbsd*)
1984 USE_BSD=1
1985 USE_NETBSD=1
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __NETBSD__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __BSD__ 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_GTK=1
1995 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1996
1997 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1998 ;;
1999 *-*-osf* )
2000 USE_ALPHA=1
2001 USE_OSF=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __ALPHA__ 1
2004 _ACEOF
2005
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __OSF__ 1
2008 _ACEOF
2009
2010 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2011 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2012 ;;
2013 *-*-dgux5* )
2014 USE_ALPHA=1
2015 USE_SVR4=1
2016 cat >>confdefs.h <<\_ACEOF
2017 #define __ALPHA__ 1
2018 _ACEOF
2019
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __SVR4__ 1
2022 _ACEOF
2023
2024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2025 ;;
2026 *-*-sysv5* )
2027 USE_SYSV=1
2028 USE_SVR4=1
2029 cat >>confdefs.h <<\_ACEOF
2030 #define __SYSV__ 1
2031 _ACEOF
2032
2033 cat >>confdefs.h <<\_ACEOF
2034 #define __SVR4__ 1
2035 _ACEOF
2036
2037 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2038 ;;
2039 *-*-aix* )
2040 USE_AIX=1
2041 USE_SYSV=1
2042 USE_SVR4=1
2043 SO_SUFFIX=a
2044 cat >>confdefs.h <<\_ACEOF
2045 #define __AIX__ 1
2046 _ACEOF
2047
2048 cat >>confdefs.h <<\_ACEOF
2049 #define __SYSV__ 1
2050 _ACEOF
2051
2052 cat >>confdefs.h <<\_ACEOF
2053 #define __SVR4__ 1
2054 _ACEOF
2055
2056 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2057 ;;
2058
2059 *-*-*UnixWare*)
2060 USE_SYSV=1
2061 USE_SVR4=1
2062 USE_UNIXWARE=1
2063 cat >>confdefs.h <<\_ACEOF
2064 #define __UNIXWARE__ 1
2065 _ACEOF
2066
2067 ;;
2068
2069 *-*-cygwin* | *-*-mingw32* )
2070 SO_SUFFIX=dll
2071 PROGRAM_EXT=".exe"
2072 DEFAULT_DEFAULT_wxUSE_MSW=1
2073 DEFAULT_STD_FLAG=no
2074 ;;
2075
2076 *-pc-msdosdjgpp )
2077 USE_UNIX=0
2078 USE_DOS=1
2079 cat >>confdefs.h <<\_ACEOF
2080 #define __DOS__ 1
2081 _ACEOF
2082
2083 PROGRAM_EXT=".exe"
2084 DEFAULT_DEFAULT_wxUSE_MGL=1
2085 ;;
2086
2087 *-pc-os2_emx | *-pc-os2-emx )
2088 cat >>confdefs.h <<\_ACEOF
2089 #define __EMX__ 1
2090 _ACEOF
2091
2092 USE_OS2=1
2093 cat >>confdefs.h <<\_ACEOF
2094 #define __OS2__ 1
2095 _ACEOF
2096
2097 PROGRAM_EXT=".exe"
2098 DEFAULT_DEFAULT_wxUSE_PM=1
2099 CXX=gcc
2100 LDFLAGS="$LDFLAGS -Zcrtdll"
2101 ac_executable_extensions=".exe"
2102 export ac_executable_extensions
2103 ac_save_IFS="$IFS"
2104 IFS='\\'
2105 ac_TEMP_PATH=
2106 for ac_dir in $PATH; do
2107 IFS=$ac_save_IFS
2108 if test -z "$ac_TEMP_PATH"; then
2109 ac_TEMP_PATH="$ac_dir"
2110 else
2111 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2112 fi
2113 done
2114 export PATH="$ac_TEMP_PATH"
2115 unset ac_TEMP_PATH
2116 DEFAULT_STD_FLAG=no
2117 ;;
2118
2119 *-*-darwin* )
2120 USE_BSD=1
2121 USE_DARWIN=1
2122 SO_SUFFIX=dylib
2123 cat >>confdefs.h <<\_ACEOF
2124 #define __BSD__ 1
2125 _ACEOF
2126
2127 cat >>confdefs.h <<\_ACEOF
2128 #define __DARWIN__ 1
2129 _ACEOF
2130
2131 cat >>confdefs.h <<\_ACEOF
2132 #define TARGET_CARBON 1
2133 _ACEOF
2134
2135 DEFAULT_DEFAULT_wxUSE_MAC=1
2136 DEFAULT_STD_FLAG=no
2137 ;;
2138 powerpc-apple-macos* )
2139 USE_UNIX=0
2140 ac_cv_c_bigendian=yes
2141 SO_SUFFIX=shlib
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2143 DEFAULT_STD_FLAG=no
2144 ;;
2145
2146 *-*-beos* )
2147 USE_BEOS=1
2148 cat >>confdefs.h <<\_ACEOF
2149 #define __BEOS__ 1
2150 _ACEOF
2151
2152 ;;
2153
2154 *)
2155 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2156 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2157 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2158 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2159
2160 DEFAULT_DEFAULT_wxUSE_X11=1
2161 DEFAULT_wxUSE_SHARED=no
2162 esac
2163
2164
2165
2166
2167 wx_arg_cache_file="configarg.cache"
2168 echo "loading argument cache $wx_arg_cache_file"
2169 rm -f ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}
2172
2173
2174 DEBUG_CONFIGURE=0
2175 if test $DEBUG_CONFIGURE = 1; then
2176 DEFAULT_wxUSE_UNIVERSAL=no
2177 DEFAULT_wxUSE_STL=no
2178
2179 DEFAULT_wxUSE_NANOX=no
2180
2181 DEFAULT_wxUSE_THREADS=yes
2182
2183 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2184 DEFAULT_wxUSE_OPTIMISE=no
2185 DEFAULT_wxUSE_PROFILE=no
2186 DEFAULT_wxUSE_NO_DEPS=no
2187 DEFAULT_wxUSE_NO_RTTI=no
2188 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2189 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2190 DEFAULT_wxUSE_RPATH=yes
2191 DEFAULT_wxUSE_PERMISSIVE=no
2192 DEFAULT_wxUSE_DEBUG_FLAG=yes
2193 DEFAULT_wxUSE_DEBUG_INFO=yes
2194 DEFAULT_wxUSE_DEBUG_GDB=yes
2195 DEFAULT_wxUSE_MEM_TRACING=no
2196 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2197 DEFAULT_wxUSE_DMALLOC=no
2198 DEFAULT_wxUSE_APPLE_IEEE=no
2199
2200 DEFAULT_wxUSE_EXCEPTIONS=no
2201 DEFAULT_wxUSE_LOG=yes
2202 DEFAULT_wxUSE_LOGWINDOW=no
2203 DEFAULT_wxUSE_LOGGUI=no
2204 DEFAULT_wxUSE_LOGDIALOG=no
2205
2206 DEFAULT_wxUSE_GUI=yes
2207 DEFAULT_wxUSE_CONTROLS=no
2208
2209 DEFAULT_wxUSE_REGEX=no
2210 DEFAULT_wxUSE_XML=no
2211 DEFAULT_wxUSE_EXPAT=no
2212 DEFAULT_wxUSE_ZLIB=no
2213 DEFAULT_wxUSE_LIBPNG=no
2214 DEFAULT_wxUSE_LIBJPEG=no
2215 DEFAULT_wxUSE_LIBTIFF=no
2216 DEFAULT_wxUSE_LIBXPM=no
2217 DEFAULT_wxUSE_LIBMSPACK=no
2218 DEFAULT_wxUSE_LIBSDL=no
2219 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2220 DEFAULT_wxUSE_LIBGNOMEVFS=no
2221 DEFAULT_wxUSE_LIBHILDON=no
2222 DEFAULT_wxUSE_ODBC=no
2223 DEFAULT_wxUSE_OPENGL=no
2224
2225 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2226 DEFAULT_wxUSE_STACKWALKER=no
2227 DEFAULT_wxUSE_DEBUGREPORT=no
2228 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2229 DEFAULT_wxUSE_STD_IOSTREAM=no
2230 DEFAULT_wxUSE_STD_STRING=no
2231 DEFAULT_wxUSE_CMDLINE_PARSER=no
2232 DEFAULT_wxUSE_DATETIME=no
2233 DEFAULT_wxUSE_TIMER=no
2234 DEFAULT_wxUSE_STOPWATCH=no
2235 DEFAULT_wxUSE_FILE=no
2236 DEFAULT_wxUSE_FFILE=no
2237 DEFAULT_wxUSE_STDPATHS=no
2238 DEFAULT_wxUSE_TEXTBUFFER=no
2239 DEFAULT_wxUSE_TEXTFILE=no
2240 DEFAULT_wxUSE_SOUND=no
2241 DEFAULT_wxUSE_MEDIACTRL=no
2242 DEFAULT_wxUSE_GSTREAMER8=no
2243 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2244 DEFAULT_wxUSE_INTL=no
2245 DEFAULT_wxUSE_CONFIG=no
2246 DEFAULT_wxUSE_FONTMAP=no
2247 DEFAULT_wxUSE_STREAMS=no
2248 DEFAULT_wxUSE_SOCKETS=no
2249 DEFAULT_wxUSE_OLE=no
2250 DEFAULT_wxUSE_DATAOBJ=no
2251 DEFAULT_wxUSE_DIALUP_MANAGER=no
2252 DEFAULT_wxUSE_JOYSTICK=no
2253 DEFAULT_wxUSE_DYNLIB_CLASS=no
2254 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2255 DEFAULT_wxUSE_LONGLONG=no
2256 DEFAULT_wxUSE_GEOMETRY=no
2257
2258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2260 DEFAULT_wxUSE_POSTSCRIPT=no
2261
2262 DEFAULT_wxUSE_CLIPBOARD=no
2263 DEFAULT_wxUSE_TOOLTIPS=no
2264 DEFAULT_wxUSE_DRAG_AND_DROP=no
2265 DEFAULT_wxUSE_DRAGIMAGE=no
2266 DEFAULT_wxUSE_SPLINES=no
2267 DEFAULT_wxUSE_MOUSEWHEEL=no
2268
2269 DEFAULT_wxUSE_MDI=no
2270 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2273
2274 DEFAULT_wxUSE_RESOURCES=no
2275 DEFAULT_wxUSE_CONSTRAINTS=no
2276 DEFAULT_wxUSE_IPC=no
2277 DEFAULT_wxUSE_HELP=no
2278 DEFAULT_wxUSE_MS_HTML_HELP=no
2279 DEFAULT_wxUSE_WXHTML_HELP=no
2280 DEFAULT_wxUSE_TREELAYOUT=no
2281 DEFAULT_wxUSE_METAFILE=no
2282 DEFAULT_wxUSE_MIMETYPE=no
2283 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2284 DEFAULT_wxUSE_PROTOCOL=no
2285 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2286 DEFAULT_wxUSE_PROTOCOL_FTP=no
2287 DEFAULT_wxUSE_PROTOCOL_FILE=no
2288 DEFAULT_wxUSE_URL=no
2289 DEFAULT_wxUSE_VARIANT=no
2290
2291 DEFAULT_wxUSE_ABOUTDLG=no
2292 DEFAULT_wxUSE_COMMONDLGS=no
2293 DEFAULT_wxUSE_CHOICEDLG=no
2294 DEFAULT_wxUSE_COLOURDLG=no
2295 DEFAULT_wxUSE_DIRDLG=no
2296 DEFAULT_wxUSE_FILEDLG=no
2297 DEFAULT_wxUSE_FINDREPLDLG=no
2298 DEFAULT_wxUSE_FONTDLG=no
2299 DEFAULT_wxUSE_MSGDLG=no
2300 DEFAULT_wxUSE_NUMBERDLG=no
2301 DEFAULT_wxUSE_TEXTDLG=no
2302 DEFAULT_wxUSE_SPLASH=no
2303 DEFAULT_wxUSE_STARTUP_TIPS=no
2304 DEFAULT_wxUSE_PROGRESSDLG=no
2305 DEFAULT_wxUSE_WIZARDDLG=no
2306
2307 DEFAULT_wxUSE_MENUS=no
2308 DEFAULT_wxUSE_MINIFRAME=no
2309 DEFAULT_wxUSE_HTML=no
2310 DEFAULT_wxUSE_RICHTEXT=no
2311 DEFAULT_wxUSE_XRC=no
2312 DEFAULT_wxUSE_AUI=no
2313 DEFAULT_wxUSE_WEBKIT=no
2314 DEFAULT_wxUSE_FILESYSTEM=no
2315 DEFAULT_wxUSE_FS_INET=no
2316 DEFAULT_wxUSE_FS_ZIP=no
2317 DEFAULT_wxUSE_BUSYINFO=no
2318 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2319 DEFAULT_wxUSE_ZIPSTREAM=no
2320 DEFAULT_wxUSE_VALIDATORS=no
2321
2322 DEFAULT_wxUSE_ACCEL=no
2323 DEFAULT_wxUSE_ANIMATIONCTRL=no
2324 DEFAULT_wxUSE_BUTTON=no
2325 DEFAULT_wxUSE_BMPBUTTON=no
2326 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2327 DEFAULT_wxUSE_CALCTRL=no
2328 DEFAULT_wxUSE_CARET=no
2329 DEFAULT_wxUSE_CHECKBOX=no
2330 DEFAULT_wxUSE_CHECKLST=no
2331 DEFAULT_wxUSE_CHOICE=no
2332 DEFAULT_wxUSE_CHOICEBOOK=no
2333 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2334 DEFAULT_wxUSE_COMBOBOX=no
2335 DEFAULT_wxUSE_COMBOCTRL=no
2336 DEFAULT_wxUSE_DATEPICKCTRL=no
2337 DEFAULT_wxUSE_DISPLAY=no
2338 DEFAULT_wxUSE_DETECT_SM=no
2339 DEFAULT_wxUSE_DIRPICKERCTRL=no
2340 DEFAULT_wxUSE_FILEPICKERCTRL=no
2341 DEFAULT_wxUSE_FONTPICKERCTRL=no
2342 DEFAULT_wxUSE_GAUGE=no
2343 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2344 DEFAULT_wxUSE_GRID=no
2345 DEFAULT_wxUSE_HYPERLINKCTRL=no
2346 DEFAULT_wxUSE_DATAVIEWCTRL=no
2347 DEFAULT_wxUSE_IMAGLIST=no
2348 DEFAULT_wxUSE_LISTBOOK=no
2349 DEFAULT_wxUSE_LISTBOX=no
2350 DEFAULT_wxUSE_LISTCTRL=no
2351 DEFAULT_wxUSE_NOTEBOOK=no
2352 DEFAULT_wxUSE_ODCOMBOBOX=no
2353 DEFAULT_wxUSE_RADIOBOX=no
2354 DEFAULT_wxUSE_RADIOBTN=no
2355 DEFAULT_wxUSE_SASH=no
2356 DEFAULT_wxUSE_SCROLLBAR=no
2357 DEFAULT_wxUSE_SLIDER=no
2358 DEFAULT_wxUSE_SPINBTN=no
2359 DEFAULT_wxUSE_SPINCTRL=no
2360 DEFAULT_wxUSE_SPLITTER=no
2361 DEFAULT_wxUSE_STATBMP=no
2362 DEFAULT_wxUSE_STATBOX=no
2363 DEFAULT_wxUSE_STATLINE=no
2364 DEFAULT_wxUSE_STATTEXT=no
2365 DEFAULT_wxUSE_STATUSBAR=yes
2366 DEFAULT_wxUSE_TAB_DIALOG=no
2367 DEFAULT_wxUSE_TEXTCTRL=no
2368 DEFAULT_wxUSE_TOGGLEBTN=no
2369 DEFAULT_wxUSE_TOOLBAR=no
2370 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2371 DEFAULT_wxUSE_TREEBOOK=no
2372 DEFAULT_wxUSE_TOOLBOOK=no
2373 DEFAULT_wxUSE_TREECTRL=no
2374 DEFAULT_wxUSE_POPUPWIN=no
2375 DEFAULT_wxUSE_TIPWINDOW=no
2376
2377 DEFAULT_wxUSE_UNICODE=no
2378 DEFAULT_wxUSE_UNICODE_MSLU=no
2379 DEFAULT_wxUSE_WCSRTOMBS=no
2380
2381 DEFAULT_wxUSE_PALETTE=no
2382 DEFAULT_wxUSE_IMAGE=no
2383 DEFAULT_wxUSE_GIF=no
2384 DEFAULT_wxUSE_PCX=no
2385 DEFAULT_wxUSE_PNM=no
2386 DEFAULT_wxUSE_IFF=no
2387 DEFAULT_wxUSE_XPM=no
2388 DEFAULT_wxUSE_ICO_CUR=no
2389 DEFAULT_wxUSE_ACCESSIBILITY=no
2390
2391 DEFAULT_wxUSE_MONOLITHIC=no
2392 DEFAULT_wxUSE_PLUGINS=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2394 else
2395 DEFAULT_wxUSE_UNIVERSAL=no
2396 DEFAULT_wxUSE_STL=no
2397
2398 DEFAULT_wxUSE_NANOX=no
2399
2400 DEFAULT_wxUSE_THREADS=yes
2401
2402 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2403 DEFAULT_wxUSE_OPTIMISE=yes
2404 DEFAULT_wxUSE_PROFILE=no
2405 DEFAULT_wxUSE_NO_DEPS=no
2406 DEFAULT_wxUSE_NO_RTTI=no
2407 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2408 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2409 DEFAULT_wxUSE_RPATH=yes
2410 DEFAULT_wxUSE_PERMISSIVE=no
2411 DEFAULT_wxUSE_DEBUG_FLAG=no
2412 DEFAULT_wxUSE_DEBUG_INFO=no
2413 DEFAULT_wxUSE_DEBUG_GDB=no
2414 DEFAULT_wxUSE_MEM_TRACING=no
2415 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2416 DEFAULT_wxUSE_DMALLOC=no
2417 DEFAULT_wxUSE_APPLE_IEEE=yes
2418
2419 DEFAULT_wxUSE_EXCEPTIONS=yes
2420 DEFAULT_wxUSE_LOG=yes
2421 DEFAULT_wxUSE_LOGWINDOW=yes
2422 DEFAULT_wxUSE_LOGGUI=yes
2423 DEFAULT_wxUSE_LOGDIALOG=yes
2424
2425 DEFAULT_wxUSE_GUI=yes
2426
2427 DEFAULT_wxUSE_REGEX=yes
2428 DEFAULT_wxUSE_XML=yes
2429 DEFAULT_wxUSE_EXPAT=yes
2430 DEFAULT_wxUSE_ZLIB=yes
2431 DEFAULT_wxUSE_LIBPNG=yes
2432 DEFAULT_wxUSE_LIBJPEG=yes
2433 DEFAULT_wxUSE_LIBTIFF=yes
2434 DEFAULT_wxUSE_LIBXPM=yes
2435 DEFAULT_wxUSE_LIBMSPACK=yes
2436 DEFAULT_wxUSE_LIBSDL=no
2437 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2438 DEFAULT_wxUSE_LIBGNOMEVFS=no
2439 DEFAULT_wxUSE_LIBHILDON=no
2440 DEFAULT_wxUSE_ODBC=no
2441 DEFAULT_wxUSE_OPENGL=no
2442
2443 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2444 DEFAULT_wxUSE_STACKWALKER=yes
2445 DEFAULT_wxUSE_DEBUGREPORT=yes
2446 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2447 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2448 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2449 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2450 DEFAULT_wxUSE_DATETIME=yes
2451 DEFAULT_wxUSE_TIMER=yes
2452 DEFAULT_wxUSE_STOPWATCH=yes
2453 DEFAULT_wxUSE_FILE=yes
2454 DEFAULT_wxUSE_FFILE=yes
2455 DEFAULT_wxUSE_STDPATHS=yes
2456 DEFAULT_wxUSE_TEXTBUFFER=yes
2457 DEFAULT_wxUSE_TEXTFILE=yes
2458 DEFAULT_wxUSE_SOUND=yes
2459 DEFAULT_wxUSE_MEDIACTRL=no
2460 DEFAULT_wxUSE_GSTREAMER8=no
2461 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2462 DEFAULT_wxUSE_INTL=yes
2463 DEFAULT_wxUSE_CONFIG=yes
2464 DEFAULT_wxUSE_FONTMAP=yes
2465 DEFAULT_wxUSE_STREAMS=yes
2466 DEFAULT_wxUSE_SOCKETS=yes
2467 DEFAULT_wxUSE_OLE=yes
2468 DEFAULT_wxUSE_DATAOBJ=yes
2469 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2470 DEFAULT_wxUSE_JOYSTICK=yes
2471 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2472 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2473 DEFAULT_wxUSE_LONGLONG=yes
2474 DEFAULT_wxUSE_GEOMETRY=yes
2475
2476 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2477 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2478 DEFAULT_wxUSE_POSTSCRIPT=yes
2479
2480 DEFAULT_wxUSE_CLIPBOARD=yes
2481 DEFAULT_wxUSE_TOOLTIPS=yes
2482 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2483 DEFAULT_wxUSE_DRAGIMAGE=yes
2484 DEFAULT_wxUSE_SPLINES=yes
2485 DEFAULT_wxUSE_MOUSEWHEEL=yes
2486
2487 DEFAULT_wxUSE_MDI=yes
2488 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2491
2492 DEFAULT_wxUSE_RESOURCES=no
2493 DEFAULT_wxUSE_CONSTRAINTS=yes
2494 DEFAULT_wxUSE_IPC=yes
2495 DEFAULT_wxUSE_HELP=yes
2496 DEFAULT_wxUSE_MS_HTML_HELP=yes
2497 DEFAULT_wxUSE_WXHTML_HELP=yes
2498 DEFAULT_wxUSE_TREELAYOUT=yes
2499 DEFAULT_wxUSE_METAFILE=yes
2500 DEFAULT_wxUSE_MIMETYPE=yes
2501 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2502 DEFAULT_wxUSE_PROTOCOL=yes
2503 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2504 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2505 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2506 DEFAULT_wxUSE_URL=yes
2507 DEFAULT_wxUSE_VARIANT=yes
2508
2509 DEFAULT_wxUSE_ABOUTDLG=yes
2510 DEFAULT_wxUSE_COMMONDLGS=yes
2511 DEFAULT_wxUSE_CHOICEDLG=yes
2512 DEFAULT_wxUSE_COLOURDLG=yes
2513 DEFAULT_wxUSE_DIRDLG=yes
2514 DEFAULT_wxUSE_FILEDLG=yes
2515 DEFAULT_wxUSE_FINDREPLDLG=yes
2516 DEFAULT_wxUSE_FONTDLG=yes
2517 DEFAULT_wxUSE_MSGDLG=yes
2518 DEFAULT_wxUSE_NUMBERDLG=yes
2519 DEFAULT_wxUSE_TEXTDLG=yes
2520 DEFAULT_wxUSE_SPLASH=yes
2521 DEFAULT_wxUSE_STARTUP_TIPS=yes
2522 DEFAULT_wxUSE_PROGRESSDLG=yes
2523 DEFAULT_wxUSE_WIZARDDLG=yes
2524
2525 DEFAULT_wxUSE_MENUS=yes
2526 DEFAULT_wxUSE_MINIFRAME=yes
2527 DEFAULT_wxUSE_HTML=yes
2528 DEFAULT_wxUSE_RICHTEXT=yes
2529 DEFAULT_wxUSE_XRC=yes
2530 DEFAULT_wxUSE_AUI=yes
2531 DEFAULT_wxUSE_WEBKIT=yes
2532 DEFAULT_wxUSE_FILESYSTEM=yes
2533 DEFAULT_wxUSE_FS_INET=yes
2534 DEFAULT_wxUSE_FS_ZIP=yes
2535 DEFAULT_wxUSE_BUSYINFO=yes
2536 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2537 DEFAULT_wxUSE_ZIPSTREAM=yes
2538 DEFAULT_wxUSE_VALIDATORS=yes
2539
2540 DEFAULT_wxUSE_ACCEL=yes
2541 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2542 DEFAULT_wxUSE_BUTTON=yes
2543 DEFAULT_wxUSE_BMPBUTTON=yes
2544 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2545 DEFAULT_wxUSE_CALCTRL=yes
2546 DEFAULT_wxUSE_CARET=yes
2547 DEFAULT_wxUSE_CHECKBOX=yes
2548 DEFAULT_wxUSE_CHECKLST=yes
2549 DEFAULT_wxUSE_CHOICE=yes
2550 DEFAULT_wxUSE_CHOICEBOOK=yes
2551 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2552 DEFAULT_wxUSE_COMBOBOX=yes
2553 DEFAULT_wxUSE_COMBOCTRL=yes
2554 DEFAULT_wxUSE_DATEPICKCTRL=yes
2555 DEFAULT_wxUSE_DISPLAY=yes
2556 DEFAULT_wxUSE_DETECT_SM=yes
2557 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2558 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2559 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2560 DEFAULT_wxUSE_GAUGE=yes
2561 DEFAULT_wxUSE_GRID=yes
2562 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2563 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2564 DEFAULT_wxUSE_DATAVIEWCTRL=no
2565 DEFAULT_wxUSE_IMAGLIST=yes
2566 DEFAULT_wxUSE_LISTBOOK=yes
2567 DEFAULT_wxUSE_LISTBOX=yes
2568 DEFAULT_wxUSE_LISTCTRL=yes
2569 DEFAULT_wxUSE_NOTEBOOK=yes
2570 DEFAULT_wxUSE_ODCOMBOBOX=yes
2571 DEFAULT_wxUSE_RADIOBOX=yes
2572 DEFAULT_wxUSE_RADIOBTN=yes
2573 DEFAULT_wxUSE_SASH=yes
2574 DEFAULT_wxUSE_SCROLLBAR=yes
2575 DEFAULT_wxUSE_SLIDER=yes
2576 DEFAULT_wxUSE_SPINBTN=yes
2577 DEFAULT_wxUSE_SPINCTRL=yes
2578 DEFAULT_wxUSE_SPLITTER=yes
2579 DEFAULT_wxUSE_STATBMP=yes
2580 DEFAULT_wxUSE_STATBOX=yes
2581 DEFAULT_wxUSE_STATLINE=yes
2582 DEFAULT_wxUSE_STATTEXT=yes
2583 DEFAULT_wxUSE_STATUSBAR=yes
2584 DEFAULT_wxUSE_TAB_DIALOG=no
2585 DEFAULT_wxUSE_TEXTCTRL=yes
2586 DEFAULT_wxUSE_TOGGLEBTN=yes
2587 DEFAULT_wxUSE_TOOLBAR=yes
2588 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2589 DEFAULT_wxUSE_TREEBOOK=yes
2590 DEFAULT_wxUSE_TOOLBOOK=yes
2591 DEFAULT_wxUSE_TREECTRL=yes
2592 DEFAULT_wxUSE_POPUPWIN=yes
2593 DEFAULT_wxUSE_TIPWINDOW=yes
2594
2595 DEFAULT_wxUSE_UNICODE=no
2596 DEFAULT_wxUSE_UNICODE_MSLU=yes
2597 DEFAULT_wxUSE_WCSRTOMBS=no
2598
2599 DEFAULT_wxUSE_PALETTE=yes
2600 DEFAULT_wxUSE_IMAGE=yes
2601 DEFAULT_wxUSE_GIF=yes
2602 DEFAULT_wxUSE_PCX=yes
2603 DEFAULT_wxUSE_IFF=no
2604 DEFAULT_wxUSE_PNM=yes
2605 DEFAULT_wxUSE_XPM=yes
2606 DEFAULT_wxUSE_ICO_CUR=yes
2607 DEFAULT_wxUSE_ACCESSIBILITY=no
2608
2609 DEFAULT_wxUSE_MONOLITHIC=no
2610 DEFAULT_wxUSE_PLUGINS=no
2611 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2612
2613 DEFAULT_wxUSE_GTK2=yes
2614 fi
2615
2616
2617
2618
2619 for toolkit in `echo $ALL_TOOLKITS`; do
2620 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2621 if test "x$LINE" != "x" ; then
2622 has_toolkit_in_cache=1
2623 eval "DEFAULT_$LINE"
2624 eval "CACHE_$toolkit=1"
2625
2626 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2627 if test "x$LINE" != "x" ; then
2628 eval "DEFAULT_$LINE"
2629 fi
2630 fi
2631 done
2632
2633
2634
2635 enablestring=
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2638 no_cache=0
2639 # Check whether --enable-gui or --disable-gui was given.
2640 if test "${enable_gui+set}" = set; then
2641 enableval="$enable_gui"
2642
2643 if test "$enableval" = yes; then
2644 ac_cv_use_gui='wxUSE_GUI=yes'
2645 else
2646 ac_cv_use_gui='wxUSE_GUI=no'
2647 fi
2648
2649 else
2650
2651 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x ; then
2653 eval "DEFAULT_$LINE"
2654 else
2655 no_cache=1
2656 fi
2657
2658 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2659
2660 fi;
2661
2662 eval "$ac_cv_use_gui"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2665 fi
2666
2667 if test "$wxUSE_GUI" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2673 fi
2674
2675
2676 enablestring=
2677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2678 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2679 no_cache=0
2680 # Check whether --enable-monolithic or --disable-monolithic was given.
2681 if test "${enable_monolithic+set}" = set; then
2682 enableval="$enable_monolithic"
2683
2684 if test "$enableval" = yes; then
2685 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2686 else
2687 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2688 fi
2689
2690 else
2691
2692 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x ; then
2694 eval "DEFAULT_$LINE"
2695 else
2696 no_cache=1
2697 fi
2698
2699 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2700
2701 fi;
2702
2703 eval "$ac_cv_use_monolithic"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2706 fi
2707
2708 if test "$wxUSE_MONOLITHIC" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2711 else
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2714 fi
2715
2716
2717 enablestring=
2718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2719 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2720 no_cache=0
2721 # Check whether --enable-plugins or --disable-plugins was given.
2722 if test "${enable_plugins+set}" = set; then
2723 enableval="$enable_plugins"
2724
2725 if test "$enableval" = yes; then
2726 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2727 else
2728 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2729 fi
2730
2731 else
2732
2733 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x ; then
2735 eval "DEFAULT_$LINE"
2736 else
2737 no_cache=1
2738 fi
2739
2740 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2741
2742 fi;
2743
2744 eval "$ac_cv_use_plugins"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2747 fi
2748
2749 if test "$wxUSE_PLUGINS" = yes; then
2750 echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6
2752 else
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2755 fi
2756
2757
2758 withstring=without
2759 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2760 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2761 no_cache=0
2762
2763 # Check whether --with-subdirs or --without-subdirs was given.
2764 if test "${with_subdirs+set}" = set; then
2765 withval="$with_subdirs"
2766
2767 if test "$withval" = yes; then
2768 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2769 else
2770 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2771 fi
2772
2773 else
2774
2775 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2778 else
2779 no_cache=1
2780 fi
2781
2782 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2783
2784 fi;
2785
2786 eval "$ac_cv_use_subdirs"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2789 fi
2790
2791 if test "$wxWITH_SUBDIRS" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2794 else
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2797 fi
2798
2799
2800 if test "$wxUSE_GUI" = "yes"; then
2801
2802
2803 enablestring=
2804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2805 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2806 no_cache=0
2807 # Check whether --enable-universal or --disable-universal was given.
2808 if test "${enable_universal+set}" = set; then
2809 enableval="$enable_universal"
2810
2811 if test "$enableval" = yes; then
2812 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2813 else
2814 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2815 fi
2816
2817 else
2818
2819 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2822 else
2823 no_cache=1
2824 fi
2825
2826 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2827
2828 fi;
2829
2830 eval "$ac_cv_use_universal"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2833 fi
2834
2835 if test "$wxUSE_UNIVERSAL" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2838 else
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2841 fi
2842
2843
2844 # Check whether --with-gtk or --without-gtk was given.
2845 if test "${with_gtk+set}" = set; then
2846 withval="$with_gtk"
2847 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2848 fi;
2849
2850 # Check whether --with-motif or --without-motif was given.
2851 if test "${with_motif+set}" = set; then
2852 withval="$with_motif"
2853 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2854 fi;
2855
2856 # Check whether --with-mac or --without-mac was given.
2857 if test "${with_mac+set}" = set; then
2858 withval="$with_mac"
2859 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2860 fi;
2861
2862 # Check whether --with-cocoa or --without-cocoa was given.
2863 if test "${with_cocoa+set}" = set; then
2864 withval="$with_cocoa"
2865 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2866 fi;
2867
2868 # Check whether --with-wine or --without-wine was given.
2869 if test "${with_wine+set}" = set; then
2870 withval="$with_wine"
2871 wxUSE_WINE="$withval" CACHE_WINE=1
2872 fi;
2873
2874 # Check whether --with-msw or --without-msw was given.
2875 if test "${with_msw+set}" = set; then
2876 withval="$with_msw"
2877 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2878 fi;
2879
2880 # Check whether --with-pm or --without-pm was given.
2881 if test "${with_pm+set}" = set; then
2882 withval="$with_pm"
2883 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2884 fi;
2885
2886 # Check whether --with-mgl or --without-mgl was given.
2887 if test "${with_mgl+set}" = set; then
2888 withval="$with_mgl"
2889 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2890 fi;
2891
2892 # Check whether --with-directfb or --without-directfb was given.
2893 if test "${with_directfb+set}" = set; then
2894 withval="$with_directfb"
2895 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2896 fi;
2897
2898 # Check whether --with-microwin or --without-microwin was given.
2899 if test "${with_microwin+set}" = set; then
2900 withval="$with_microwin"
2901 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2902 fi;
2903
2904 # Check whether --with-x11 or --without-x11 was given.
2905 if test "${with_x11+set}" = set; then
2906 withval="$with_x11"
2907 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2908 fi;
2909
2910 enablestring=
2911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2912 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2913 no_cache=0
2914 # Check whether --enable-nanox or --disable-nanox was given.
2915 if test "${enable_nanox+set}" = set; then
2916 enableval="$enable_nanox"
2917
2918 if test "$enableval" = yes; then
2919 ac_cv_use_nanox='wxUSE_NANOX=yes'
2920 else
2921 ac_cv_use_nanox='wxUSE_NANOX=no'
2922 fi
2923
2924 else
2925
2926 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x ; then
2928 eval "DEFAULT_$LINE"
2929 else
2930 no_cache=1
2931 fi
2932
2933 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2934
2935 fi;
2936
2937 eval "$ac_cv_use_nanox"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2940 fi
2941
2942 if test "$wxUSE_NANOX" = yes; then
2943 echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6
2945 else
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2948 fi
2949
2950
2951 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2952 if test "${enable_gtk2+set}" = set; then
2953 enableval="$enable_gtk2"
2954 wxUSE_GTK2="$enableval"
2955 fi;
2956
2957 enablestring=
2958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2959 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2960 no_cache=0
2961 # Check whether --enable-gpe or --disable-gpe was given.
2962 if test "${enable_gpe+set}" = set; then
2963 enableval="$enable_gpe"
2964
2965 if test "$enableval" = yes; then
2966 ac_cv_use_gpe='wxUSE_GPE=yes'
2967 else
2968 ac_cv_use_gpe='wxUSE_GPE=no'
2969 fi
2970
2971 else
2972
2973 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x ; then
2975 eval "DEFAULT_$LINE"
2976 else
2977 no_cache=1
2978 fi
2979
2980 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2981
2982 fi;
2983
2984 eval "$ac_cv_use_gpe"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2987 fi
2988
2989 if test "$wxUSE_GPE" = yes; then
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2992 else
2993 echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2995 fi
2996
2997
2998
2999 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3000 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3001 no_cache=0
3002
3003 # Check whether --with-libpng or --without-libpng was given.
3004 if test "${with_libpng+set}" = set; then
3005 withval="$with_libpng"
3006
3007 if test "$withval" = yes; then
3008 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3009 elif test "$withval" = no; then
3010 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3011 elif test "$withval" = sys; then
3012 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3013 elif test "$withval" = builtin; then
3014 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3015 else
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3019 fi
3020
3021 else
3022
3023 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x ; then
3025 eval "DEFAULT_$LINE"
3026 else
3027 no_cache=1
3028 fi
3029
3030 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3031
3032 fi;
3033
3034 eval "$ac_cv_use_libpng"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3037 fi
3038
3039 if test "$wxUSE_LIBPNG" = yes; then
3040 echo "$as_me:$LINENO: result: yes" >&5
3041 echo "${ECHO_T}yes" >&6
3042 elif test "$wxUSE_LIBPNG" = no; then
3043 echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6
3045 elif test "$wxUSE_LIBPNG" = sys; then
3046 echo "$as_me:$LINENO: result: system version" >&5
3047 echo "${ECHO_T}system version" >&6
3048 elif test "$wxUSE_LIBPNG" = builtin; then
3049 echo "$as_me:$LINENO: result: builtin version" >&5
3050 echo "${ECHO_T}builtin version" >&6
3051 else
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3055 fi
3056
3057
3058 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3059 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3060 no_cache=0
3061
3062 # Check whether --with-libjpeg or --without-libjpeg was given.
3063 if test "${with_libjpeg+set}" = set; then
3064 withval="$with_libjpeg"
3065
3066 if test "$withval" = yes; then
3067 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3068 elif test "$withval" = no; then
3069 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3070 elif test "$withval" = sys; then
3071 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3072 elif test "$withval" = builtin; then
3073 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3074 else
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3078 fi
3079
3080 else
3081
3082 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x ; then
3084 eval "DEFAULT_$LINE"
3085 else
3086 no_cache=1
3087 fi
3088
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3090
3091 fi;
3092
3093 eval "$ac_cv_use_libjpeg"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3096 fi
3097
3098 if test "$wxUSE_LIBJPEG" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3101 elif test "$wxUSE_LIBJPEG" = no; then
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3104 elif test "$wxUSE_LIBJPEG" = sys; then
3105 echo "$as_me:$LINENO: result: system version" >&5
3106 echo "${ECHO_T}system version" >&6
3107 elif test "$wxUSE_LIBJPEG" = builtin; then
3108 echo "$as_me:$LINENO: result: builtin version" >&5
3109 echo "${ECHO_T}builtin version" >&6
3110 else
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3114 fi
3115
3116
3117 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3118 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3119 no_cache=0
3120
3121 # Check whether --with-libtiff or --without-libtiff was given.
3122 if test "${with_libtiff+set}" = set; then
3123 withval="$with_libtiff"
3124
3125 if test "$withval" = yes; then
3126 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3127 elif test "$withval" = no; then
3128 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3129 elif test "$withval" = sys; then
3130 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3131 elif test "$withval" = builtin; then
3132 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3133 else
3134 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3135 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3136 { (exit 1); exit 1; }; }
3137 fi
3138
3139 else
3140
3141 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3149
3150 fi;
3151
3152 eval "$ac_cv_use_libtiff"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test "$wxUSE_LIBTIFF" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 elif test "$wxUSE_LIBTIFF" = no; then
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 elif test "$wxUSE_LIBTIFF" = sys; then
3164 echo "$as_me:$LINENO: result: system version" >&5
3165 echo "${ECHO_T}system version" >&6
3166 elif test "$wxUSE_LIBTIFF" = builtin; then
3167 echo "$as_me:$LINENO: result: builtin version" >&5
3168 echo "${ECHO_T}builtin version" >&6
3169 else
3170 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3171 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3172 { (exit 1); exit 1; }; }
3173 fi
3174
3175
3176 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3177 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3178 no_cache=0
3179
3180 # Check whether --with-libxpm or --without-libxpm was given.
3181 if test "${with_libxpm+set}" = set; then
3182 withval="$with_libxpm"
3183
3184 if test "$withval" = yes; then
3185 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3186 elif test "$withval" = no; then
3187 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3188 elif test "$withval" = sys; then
3189 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3190 elif test "$withval" = builtin; then
3191 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3192 else
3193 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3194 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3195 { (exit 1); exit 1; }; }
3196 fi
3197
3198 else
3199
3200 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3203 else
3204 no_cache=1
3205 fi
3206
3207 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3208
3209 fi;
3210
3211 eval "$ac_cv_use_libxpm"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3214 fi
3215
3216 if test "$wxUSE_LIBXPM" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3219 elif test "$wxUSE_LIBXPM" = no; then
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3222 elif test "$wxUSE_LIBXPM" = sys; then
3223 echo "$as_me:$LINENO: result: system version" >&5
3224 echo "${ECHO_T}system version" >&6
3225 elif test "$wxUSE_LIBXPM" = builtin; then
3226 echo "$as_me:$LINENO: result: builtin version" >&5
3227 echo "${ECHO_T}builtin version" >&6
3228 else
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3232 fi
3233
3234
3235 withstring=
3236 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3237 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3238 no_cache=0
3239
3240 # Check whether --with-libmspack or --without-libmspack was given.
3241 if test "${with_libmspack+set}" = set; then
3242 withval="$with_libmspack"
3243
3244 if test "$withval" = yes; then
3245 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3246 else
3247 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3248 fi
3249
3250 else
3251
3252 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x ; then
3254 eval "DEFAULT_$LINE"
3255 else
3256 no_cache=1
3257 fi
3258
3259 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3260
3261 fi;
3262
3263 eval "$ac_cv_use_libmspack"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3266 fi
3267
3268 if test "$wxUSE_LIBMSPACK" = yes; then
3269 echo "$as_me:$LINENO: result: yes" >&5
3270 echo "${ECHO_T}yes" >&6
3271 else
3272 echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6
3274 fi
3275
3276
3277 withstring=
3278 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3279 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3280 no_cache=0
3281
3282 # Check whether --with-sdl or --without-sdl was given.
3283 if test "${with_sdl+set}" = set; then
3284 withval="$with_sdl"
3285
3286 if test "$withval" = yes; then
3287 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3288 else
3289 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3290 fi
3291
3292 else
3293
3294 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 else
3298 no_cache=1
3299 fi
3300
3301 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3302
3303 fi;
3304
3305 eval "$ac_cv_use_sdl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test "$wxUSE_LIBSDL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3313 else
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3316 fi
3317
3318
3319 withstring=
3320 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3321 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3322 no_cache=0
3323
3324 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3325 if test "${with_gnomeprint+set}" = set; then
3326 withval="$with_gnomeprint"
3327
3328 if test "$withval" = yes; then
3329 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3330 else
3331 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3332 fi
3333
3334 else
3335
3336 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3339 else
3340 no_cache=1
3341 fi
3342
3343 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3344
3345 fi;
3346
3347 eval "$ac_cv_use_gnomeprint"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3350 fi
3351
3352 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3355 else
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3358 fi
3359
3360
3361 withstring=
3362 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3363 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3364 no_cache=0
3365
3366 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3367 if test "${with_gnomevfs+set}" = set; then
3368 withval="$with_gnomevfs"
3369
3370 if test "$withval" = yes; then
3371 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3372 else
3373 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3374 fi
3375
3376 else
3377
3378 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x ; then
3380 eval "DEFAULT_$LINE"
3381 else
3382 no_cache=1
3383 fi
3384
3385 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3386
3387 fi;
3388
3389 eval "$ac_cv_use_gnomevfs"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3392 fi
3393
3394 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3395 echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6
3397 else
3398 echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6
3400 fi
3401
3402
3403 withstring=
3404 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3405 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3406 no_cache=0
3407
3408 # Check whether --with-hildon or --without-hildon was given.
3409 if test "${with_hildon+set}" = set; then
3410 withval="$with_hildon"
3411
3412 if test "$withval" = yes; then
3413 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3414 else
3415 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3416 fi
3417
3418 else
3419
3420 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x ; then
3422 eval "DEFAULT_$LINE"
3423 else
3424 no_cache=1
3425 fi
3426
3427 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3428
3429 fi;
3430
3431 eval "$ac_cv_use_hildon"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3434 fi
3435
3436 if test "$wxUSE_LIBHILDON" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3439 else
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442 fi
3443
3444
3445 withstring=
3446 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3447 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3448 no_cache=0
3449
3450 # Check whether --with-opengl or --without-opengl was given.
3451 if test "${with_opengl+set}" = set; then
3452 withval="$with_opengl"
3453
3454 if test "$withval" = yes; then
3455 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3456 else
3457 ac_cv_use_opengl='wxUSE_OPENGL=no'
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3470
3471 fi;
3472
3473 eval "$ac_cv_use_opengl"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_OPENGL" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486
3487 if test "$wxUSE_UNIVERSAL" = "yes"; then
3488
3489 # Check whether --with-themes or --without-themes was given.
3490 if test "${with_themes+set}" = set; then
3491 withval="$with_themes"
3492 wxUNIV_THEMES="$withval"
3493 fi;
3494 fi
3495
3496 fi
3497
3498
3499 withstring=
3500 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3501 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3502 no_cache=0
3503
3504 # Check whether --with-dmalloc or --without-dmalloc was given.
3505 if test "${with_dmalloc+set}" = set; then
3506 withval="$with_dmalloc"
3507
3508 if test "$withval" = yes; then
3509 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3510 else
3511 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3512 fi
3513
3514 else
3515
3516 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3524
3525 fi;
3526
3527 eval "$ac_cv_use_dmalloc"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3530 fi
3531
3532 if test "$wxUSE_DMALLOC" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3535 else
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 fi
3539
3540
3541 echo "$as_me:$LINENO: checking for --with-regex" >&5
3542 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3543 no_cache=0
3544
3545 # Check whether --with-regex or --without-regex was given.
3546 if test "${with_regex+set}" = set; then
3547 withval="$with_regex"
3548
3549 if test "$withval" = yes; then
3550 ac_cv_use_regex='wxUSE_REGEX=yes'
3551 elif test "$withval" = no; then
3552 ac_cv_use_regex='wxUSE_REGEX=no'
3553 elif test "$withval" = sys; then
3554 ac_cv_use_regex='wxUSE_REGEX=sys'
3555 elif test "$withval" = builtin; then
3556 ac_cv_use_regex='wxUSE_REGEX=builtin'
3557 else
3558 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3559 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3560 { (exit 1); exit 1; }; }
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3573
3574 fi;
3575
3576 eval "$ac_cv_use_regex"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_REGEX" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 elif test "$wxUSE_REGEX" = no; then
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 elif test "$wxUSE_REGEX" = sys; then
3588 echo "$as_me:$LINENO: result: system version" >&5
3589 echo "${ECHO_T}system version" >&6
3590 elif test "$wxUSE_REGEX" = builtin; then
3591 echo "$as_me:$LINENO: result: builtin version" >&5
3592 echo "${ECHO_T}builtin version" >&6
3593 else
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3597 fi
3598
3599
3600 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3601 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3602 no_cache=0
3603
3604 # Check whether --with-zlib or --without-zlib was given.
3605 if test "${with_zlib+set}" = set; then
3606 withval="$with_zlib"
3607
3608 if test "$withval" = yes; then
3609 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3610 elif test "$withval" = no; then
3611 ac_cv_use_zlib='wxUSE_ZLIB=no'
3612 elif test "$withval" = sys; then
3613 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3614 elif test "$withval" = builtin; then
3615 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3616 else
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3620 fi
3621
3622 else
3623
3624 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x ; then
3626 eval "DEFAULT_$LINE"
3627 else
3628 no_cache=1
3629 fi
3630
3631 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3632
3633 fi;
3634
3635 eval "$ac_cv_use_zlib"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3638 fi
3639
3640 if test "$wxUSE_ZLIB" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3643 elif test "$wxUSE_ZLIB" = no; then
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3646 elif test "$wxUSE_ZLIB" = sys; then
3647 echo "$as_me:$LINENO: result: system version" >&5
3648 echo "${ECHO_T}system version" >&6
3649 elif test "$wxUSE_ZLIB" = builtin; then
3650 echo "$as_me:$LINENO: result: builtin version" >&5
3651 echo "${ECHO_T}builtin version" >&6
3652 else
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3656 fi
3657
3658
3659 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3660 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3661 no_cache=0
3662
3663 # Check whether --with-odbc or --without-odbc was given.
3664 if test "${with_odbc+set}" = set; then
3665 withval="$with_odbc"
3666
3667 if test "$withval" = yes; then
3668 ac_cv_use_odbc='wxUSE_ODBC=yes'
3669 elif test "$withval" = no; then
3670 ac_cv_use_odbc='wxUSE_ODBC=no'
3671 elif test "$withval" = sys; then
3672 ac_cv_use_odbc='wxUSE_ODBC=sys'
3673 elif test "$withval" = builtin; then
3674 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3675 else
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3679 fi
3680
3681 else
3682
3683 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3686 else
3687 no_cache=1
3688 fi
3689
3690 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3691
3692 fi;
3693
3694 eval "$ac_cv_use_odbc"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_ODBC" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 elif test "$wxUSE_ODBC" = no; then
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3705 elif test "$wxUSE_ODBC" = sys; then
3706 echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6
3708 elif test "$wxUSE_ODBC" = builtin; then
3709 echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717
3718 echo "$as_me:$LINENO: checking for --with-expat" >&5
3719 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3720 no_cache=0
3721
3722 # Check whether --with-expat or --without-expat was given.
3723 if test "${with_expat+set}" = set; then
3724 withval="$with_expat"
3725
3726 if test "$withval" = yes; then
3727 ac_cv_use_expat='wxUSE_EXPAT=yes'
3728 elif test "$withval" = no; then
3729 ac_cv_use_expat='wxUSE_EXPAT=no'
3730 elif test "$withval" = sys; then
3731 ac_cv_use_expat='wxUSE_EXPAT=sys'
3732 elif test "$withval" = builtin; then
3733 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3750
3751 fi;
3752
3753 eval "$ac_cv_use_expat"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_EXPAT" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 elif test "$wxUSE_EXPAT" = no; then
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 elif test "$wxUSE_EXPAT" = sys; then
3765 echo "$as_me:$LINENO: result: system version" >&5
3766 echo "${ECHO_T}system version" >&6
3767 elif test "$wxUSE_EXPAT" = builtin; then
3768 echo "$as_me:$LINENO: result: builtin version" >&5
3769 echo "${ECHO_T}builtin version" >&6
3770 else
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3774 fi
3775
3776
3777
3778
3779 enablestring=
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3782 no_cache=0
3783 # Check whether --enable-shared or --disable-shared was given.
3784 if test "${enable_shared+set}" = set; then
3785 enableval="$enable_shared"
3786
3787 if test "$enableval" = yes; then
3788 ac_cv_use_shared='wxUSE_SHARED=yes'
3789 else
3790 ac_cv_use_shared='wxUSE_SHARED=no'
3791 fi
3792
3793 else
3794
3795 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 else
3799 no_cache=1
3800 fi
3801
3802 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3803
3804 fi;
3805
3806 eval "$ac_cv_use_shared"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3809 fi
3810
3811 if test "$wxUSE_SHARED" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3817 fi
3818
3819
3820 enablestring=
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3823 no_cache=0
3824 # Check whether --enable-optimise or --disable-optimise was given.
3825 if test "${enable_optimise+set}" = set; then
3826 enableval="$enable_optimise"
3827
3828 if test "$enableval" = yes; then
3829 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3830 else
3831 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3832 fi
3833
3834 else
3835
3836 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3839 else
3840 no_cache=1
3841 fi
3842
3843 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3844
3845 fi;
3846
3847 eval "$ac_cv_use_optimise"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3850 fi
3851
3852 if test "$wxUSE_OPTIMISE" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3858 fi
3859
3860
3861 enablestring=
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3864 no_cache=0
3865 # Check whether --enable-debug or --disable-debug was given.
3866 if test "${enable_debug+set}" = set; then
3867 enableval="$enable_debug"
3868
3869 if test "$enableval" = yes; then
3870 ac_cv_use_debug='wxUSE_DEBUG=yes'
3871 else
3872 ac_cv_use_debug='wxUSE_DEBUG=no'
3873 fi
3874
3875 else
3876
3877 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 else
3881 no_cache=1
3882 fi
3883
3884 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3885
3886 fi;
3887
3888 eval "$ac_cv_use_debug"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test "$wxUSE_DEBUG" = yes; then
3894 echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3899 fi
3900
3901
3902 enablestring=
3903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3904 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3905 no_cache=0
3906 # Check whether --enable-stl or --disable-stl was given.
3907 if test "${enable_stl+set}" = set; then
3908 enableval="$enable_stl"
3909
3910 if test "$enableval" = yes; then
3911 ac_cv_use_stl='wxUSE_STL=yes'
3912 else
3913 ac_cv_use_stl='wxUSE_STL=no'
3914 fi
3915
3916 else
3917
3918 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x ; then
3920 eval "DEFAULT_$LINE"
3921 else
3922 no_cache=1
3923 fi
3924
3925 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3926
3927 fi;
3928
3929 eval "$ac_cv_use_stl"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3932 fi
3933
3934 if test "$wxUSE_STL" = yes; then
3935 echo "$as_me:$LINENO: result: yes" >&5
3936 echo "${ECHO_T}yes" >&6
3937 else
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3940 fi
3941
3942 if test "$USE_OS2" = "1"; then
3943 DEFAULT_wxUSE_OMF=no
3944
3945 enablestring=
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3948 no_cache=0
3949 # Check whether --enable-omf or --disable-omf was given.
3950 if test "${enable_omf+set}" = set; then
3951 enableval="$enable_omf"
3952
3953 if test "$enableval" = yes; then
3954 ac_cv_use_omf='wxUSE_OMF=yes'
3955 else
3956 ac_cv_use_omf='wxUSE_OMF=no'
3957 fi
3958
3959 else
3960
3961 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3964 else
3965 no_cache=1
3966 fi
3967
3968 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3969
3970 fi;
3971
3972 eval "$ac_cv_use_omf"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3975 fi
3976
3977 if test "$wxUSE_OMF" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3980 else
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3983 fi
3984
3985 fi
3986
3987 if test "$wxUSE_DEBUG" = "yes"; then
3988 DEFAULT_wxUSE_DEBUG_FLAG=yes
3989 DEFAULT_wxUSE_DEBUG_INFO=yes
3990 BUILD=debug
3991 elif test "$wxUSE_DEBUG" = "no"; then
3992 DEFAULT_wxUSE_DEBUG_FLAG=no
3993 DEFAULT_wxUSE_DEBUG_INFO=no
3994 BUILD=release
3995 fi
3996
3997
3998 enablestring=
3999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4000 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4001 no_cache=0
4002 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4003 if test "${enable_debug_flag+set}" = set; then
4004 enableval="$enable_debug_flag"
4005
4006 if test "$enableval" = yes; then
4007 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4008 else
4009 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4010 fi
4011
4012 else
4013
4014 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x ; then
4016 eval "DEFAULT_$LINE"
4017 else
4018 no_cache=1
4019 fi
4020
4021 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4022
4023 fi;
4024
4025 eval "$ac_cv_use_debug_flag"
4026 if test "$no_cache" != 1; then
4027 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4028 fi
4029
4030 if test "$wxUSE_DEBUG_FLAG" = yes; then
4031 echo "$as_me:$LINENO: result: yes" >&5
4032 echo "${ECHO_T}yes" >&6
4033 else
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4036 fi
4037
4038
4039 enablestring=
4040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4041 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4042 no_cache=0
4043 # Check whether --enable-debug_info or --disable-debug_info was given.
4044 if test "${enable_debug_info+set}" = set; then
4045 enableval="$enable_debug_info"
4046
4047 if test "$enableval" = yes; then
4048 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4049 else
4050 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4051 fi
4052
4053 else
4054
4055 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x ; then
4057 eval "DEFAULT_$LINE"
4058 else
4059 no_cache=1
4060 fi
4061
4062 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4063
4064 fi;
4065
4066 eval "$ac_cv_use_debug_info"
4067 if test "$no_cache" != 1; then
4068 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4069 fi
4070
4071 if test "$wxUSE_DEBUG_INFO" = yes; then
4072 echo "$as_me:$LINENO: result: yes" >&5
4073 echo "${ECHO_T}yes" >&6
4074 else
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4077 fi
4078
4079
4080 enablestring=
4081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4082 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4083 no_cache=0
4084 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4085 if test "${enable_debug_gdb+set}" = set; then
4086 enableval="$enable_debug_gdb"
4087
4088 if test "$enableval" = yes; then
4089 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4090 else
4091 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4092 fi
4093
4094 else
4095
4096 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x ; then
4098 eval "DEFAULT_$LINE"
4099 else
4100 no_cache=1
4101 fi
4102
4103 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4104
4105 fi;
4106
4107 eval "$ac_cv_use_debug_gdb"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4110 fi
4111
4112 if test "$wxUSE_DEBUG_GDB" = yes; then
4113 echo "$as_me:$LINENO: result: yes" >&5
4114 echo "${ECHO_T}yes" >&6
4115 else
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4118 fi
4119
4120
4121 enablestring=
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4124 no_cache=0
4125 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4126 if test "${enable_debug_cntxt+set}" = set; then
4127 enableval="$enable_debug_cntxt"
4128
4129 if test "$enableval" = yes; then
4130 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4131 else
4132 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4133 fi
4134
4135 else
4136
4137 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4140 else
4141 no_cache=1
4142 fi
4143
4144 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4145
4146 fi;
4147
4148 eval "$ac_cv_use_debug_cntxt"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4156 else
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4159 fi
4160
4161
4162 enablestring=
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4167 if test "${enable_mem_tracing+set}" = set; then
4168 enableval="$enable_mem_tracing"
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4172 else
4173 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4174 fi
4175
4176 else
4177
4178 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4186
4187 fi;
4188
4189 eval "$ac_cv_use_mem_tracing"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$wxUSE_MEM_TRACING" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4197 else
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4200 fi
4201
4202
4203 enablestring=
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4206 no_cache=0
4207 # Check whether --enable-profile or --disable-profile was given.
4208 if test "${enable_profile+set}" = set; then
4209 enableval="$enable_profile"
4210
4211 if test "$enableval" = yes; then
4212 ac_cv_use_profile='wxUSE_PROFILE=yes'
4213 else
4214 ac_cv_use_profile='wxUSE_PROFILE=no'
4215 fi
4216
4217 else
4218
4219 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4222 else
4223 no_cache=1
4224 fi
4225
4226 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4227
4228 fi;
4229
4230 eval "$ac_cv_use_profile"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_PROFILE" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4241 fi
4242
4243
4244 enablestring=
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4247 no_cache=0
4248 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4249 if test "${enable_no_rtti+set}" = set; then
4250 enableval="$enable_no_rtti"
4251
4252 if test "$enableval" = yes; then
4253 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4254 else
4255 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4256 fi
4257
4258 else
4259
4260 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4263 else
4264 no_cache=1
4265 fi
4266
4267 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4268
4269 fi;
4270
4271 eval "$ac_cv_use_no_rtti"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_NO_RTTI" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284
4285 enablestring=
4286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4287 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4288 no_cache=0
4289 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4290 if test "${enable_no_exceptions+set}" = set; then
4291 enableval="$enable_no_exceptions"
4292
4293 if test "$enableval" = yes; then
4294 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4295 else
4296 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4297 fi
4298
4299 else
4300
4301 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4302 if test "x$LINE" != x ; then
4303 eval "DEFAULT_$LINE"
4304 else
4305 no_cache=1
4306 fi
4307
4308 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4309
4310 fi;
4311
4312 eval "$ac_cv_use_no_exceptions"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4318 echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6
4320 else
4321 echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4323 fi
4324
4325
4326 enablestring=
4327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4328 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4329 no_cache=0
4330 # Check whether --enable-permissive or --disable-permissive was given.
4331 if test "${enable_permissive+set}" = set; then
4332 enableval="$enable_permissive"
4333
4334 if test "$enableval" = yes; then
4335 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4336 else
4337 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4338 fi
4339
4340 else
4341
4342 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4343 if test "x$LINE" != x ; then
4344 eval "DEFAULT_$LINE"
4345 else
4346 no_cache=1
4347 fi
4348
4349 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4350
4351 fi;
4352
4353 eval "$ac_cv_use_permissive"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4356 fi
4357
4358 if test "$wxUSE_PERMISSIVE" = yes; then
4359 echo "$as_me:$LINENO: result: yes" >&5
4360 echo "${ECHO_T}yes" >&6
4361 else
4362 echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4364 fi
4365
4366
4367 enablestring=
4368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4370 no_cache=0
4371 # Check whether --enable-no_deps or --disable-no_deps was given.
4372 if test "${enable_no_deps+set}" = set; then
4373 enableval="$enable_no_deps"
4374
4375 if test "$enableval" = yes; then
4376 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4377 else
4378 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4379 fi
4380
4381 else
4382
4383 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x ; then
4385 eval "DEFAULT_$LINE"
4386 else
4387 no_cache=1
4388 fi
4389
4390 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4391
4392 fi;
4393
4394 eval "$ac_cv_use_no_deps"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4397 fi
4398
4399 if test "$wxUSE_NO_DEPS" = yes; then
4400 echo "$as_me:$LINENO: result: yes" >&5
4401 echo "${ECHO_T}yes" >&6
4402 else
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4405 fi
4406
4407
4408 enablestring=
4409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4410 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4411 no_cache=0
4412 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4413 if test "${enable_universal_binary+set}" = set; then
4414 enableval="$enable_universal_binary"
4415
4416 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4417
4418 else
4419
4420 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4424 else
4425 no_cache=1
4426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4427 fi
4428
4429 fi;
4430
4431 eval "$wx_cv_use_universal_binary"
4432 if test "$no_cache" != 1; then
4433 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4434 fi
4435
4436 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4437 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4438
4439
4440
4441 enablestring=enable
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4444 no_cache=0
4445 # Check whether --enable-compat24 or --disable-compat24 was given.
4446 if test "${enable_compat24+set}" = set; then
4447 enableval="$enable_compat24"
4448
4449 if test "$enableval" = yes; then
4450 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4451 else
4452 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4453 fi
4454
4455 else
4456
4457 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 else
4461 no_cache=1
4462 fi
4463
4464 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4465
4466 fi;
4467
4468 eval "$ac_cv_use_compat24"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4471 fi
4472
4473 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4476 else
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4479 fi
4480
4481
4482 enablestring=disable
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4485 no_cache=0
4486 # Check whether --enable-compat26 or --disable-compat26 was given.
4487 if test "${enable_compat26+set}" = set; then
4488 enableval="$enable_compat26"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4492 else
4493 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4494 fi
4495
4496 else
4497
4498 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4506
4507 fi;
4508
4509 eval "$ac_cv_use_compat26"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4512 fi
4513
4514 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4520 fi
4521
4522
4523
4524 enablestring=
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4527 no_cache=0
4528 # Check whether --enable-rpath or --disable-rpath was given.
4529 if test "${enable_rpath+set}" = set; then
4530 enableval="$enable_rpath"
4531
4532 if test "$enableval" = yes; then
4533 ac_cv_use_rpath='wxUSE_RPATH=yes'
4534 else
4535 ac_cv_use_rpath='wxUSE_RPATH=no'
4536 fi
4537
4538 else
4539
4540 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4543 else
4544 no_cache=1
4545 fi
4546
4547 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4548
4549 fi;
4550
4551 eval "$ac_cv_use_rpath"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4554 fi
4555
4556 if test "$wxUSE_RPATH" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4559 else
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4562 fi
4563
4564
4565
4566
4567
4568 enablestring=
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4571 no_cache=0
4572 # Check whether --enable-intl or --disable-intl was given.
4573 if test "${enable_intl+set}" = set; then
4574 enableval="$enable_intl"
4575
4576 if test "$enableval" = yes; then
4577 ac_cv_use_intl='wxUSE_INTL=yes'
4578 else
4579 ac_cv_use_intl='wxUSE_INTL=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4592
4593 fi;
4594
4595 eval "$ac_cv_use_intl"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4598 fi
4599
4600 if test "$wxUSE_INTL" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4603 else
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4606 fi
4607
4608
4609 enablestring=
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4612 no_cache=0
4613 # Check whether --enable-config or --disable-config was given.
4614 if test "${enable_config+set}" = set; then
4615 enableval="$enable_config"
4616
4617 if test "$enableval" = yes; then
4618 ac_cv_use_config='wxUSE_CONFIG=yes'
4619 else
4620 ac_cv_use_config='wxUSE_CONFIG=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4633
4634 fi;
4635
4636 eval "$ac_cv_use_config"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4639 fi
4640
4641 if test "$wxUSE_CONFIG" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4644 else
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4647 fi
4648
4649
4650
4651 enablestring=
4652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4654 no_cache=0
4655 # Check whether --enable-protocols or --disable-protocols was given.
4656 if test "${enable_protocols+set}" = set; then
4657 enableval="$enable_protocols"
4658
4659 if test "$enableval" = yes; then
4660 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4661 else
4662 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4663 fi
4664
4665 else
4666
4667 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4670 else
4671 no_cache=1
4672 fi
4673
4674 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4675
4676 fi;
4677
4678 eval "$ac_cv_use_protocols"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_PROTOCOL" = yes; then
4684 echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6
4686 else
4687 echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6
4689 fi
4690
4691
4692 enablestring=
4693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4695 no_cache=0
4696 # Check whether --enable-ftp or --disable-ftp was given.
4697 if test "${enable_ftp+set}" = set; then
4698 enableval="$enable_ftp"
4699
4700 if test "$enableval" = yes; then
4701 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4702 else
4703 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4704 fi
4705
4706 else
4707
4708 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x ; then
4710 eval "DEFAULT_$LINE"
4711 else
4712 no_cache=1
4713 fi
4714
4715 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4716
4717 fi;
4718
4719 eval "$ac_cv_use_ftp"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4725 echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6
4727 else
4728 echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6
4730 fi
4731
4732
4733 enablestring=
4734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4736 no_cache=0
4737 # Check whether --enable-http or --disable-http was given.
4738 if test "${enable_http+set}" = set; then
4739 enableval="$enable_http"
4740
4741 if test "$enableval" = yes; then
4742 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4743 else
4744 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4745 fi
4746
4747 else
4748
4749 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4752 else
4753 no_cache=1
4754 fi
4755
4756 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4757
4758 fi;
4759
4760 eval "$ac_cv_use_http"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4763 fi
4764
4765 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4766 echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6
4768 else
4769 echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6
4771 fi
4772
4773
4774 enablestring=
4775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4777 no_cache=0
4778 # Check whether --enable-fileproto or --disable-fileproto was given.
4779 if test "${enable_fileproto+set}" = set; then
4780 enableval="$enable_fileproto"
4781
4782 if test "$enableval" = yes; then
4783 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4784 else
4785 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4786 fi
4787
4788 else
4789
4790 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x ; then
4792 eval "DEFAULT_$LINE"
4793 else
4794 no_cache=1
4795 fi
4796
4797 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4798
4799 fi;
4800
4801 eval "$ac_cv_use_fileproto"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4804 fi
4805
4806 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4807 echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6
4809 else
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4812 fi
4813
4814
4815 enablestring=
4816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4818 no_cache=0
4819 # Check whether --enable-sockets or --disable-sockets was given.
4820 if test "${enable_sockets+set}" = set; then
4821 enableval="$enable_sockets"
4822
4823 if test "$enableval" = yes; then
4824 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4825 else
4826 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4827 fi
4828
4829 else
4830
4831 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4834 else
4835 no_cache=1
4836 fi
4837
4838 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4839
4840 fi;
4841
4842 eval "$ac_cv_use_sockets"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4845 fi
4846
4847 if test "$wxUSE_SOCKETS" = yes; then
4848 echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6
4850 else
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4853 fi
4854
4855
4856 enablestring=
4857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4859 no_cache=0
4860 # Check whether --enable-ole or --disable-ole was given.
4861 if test "${enable_ole+set}" = set; then
4862 enableval="$enable_ole"
4863
4864 if test "$enableval" = yes; then
4865 ac_cv_use_ole='wxUSE_OLE=yes'
4866 else
4867 ac_cv_use_ole='wxUSE_OLE=no'
4868 fi
4869
4870 else
4871
4872 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x ; then
4874 eval "DEFAULT_$LINE"
4875 else
4876 no_cache=1
4877 fi
4878
4879 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4880
4881 fi;
4882
4883 eval "$ac_cv_use_ole"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4886 fi
4887
4888 if test "$wxUSE_OLE" = yes; then
4889 echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6
4891 else
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4894 fi
4895
4896
4897 enablestring=
4898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4900 no_cache=0
4901 # Check whether --enable-dataobj or --disable-dataobj was given.
4902 if test "${enable_dataobj+set}" = set; then
4903 enableval="$enable_dataobj"
4904
4905 if test "$enableval" = yes; then
4906 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4907 else
4908 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4909 fi
4910
4911 else
4912
4913 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4916 else
4917 no_cache=1
4918 fi
4919
4920 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4921
4922 fi;
4923
4924 eval "$ac_cv_use_dataobj"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4927 fi
4928
4929 if test "$wxUSE_DATAOBJ" = yes; then
4930 echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6
4932 else
4933 echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6
4935 fi
4936
4937
4938
4939 enablestring=
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4942 no_cache=0
4943 # Check whether --enable-ipc or --disable-ipc was given.
4944 if test "${enable_ipc+set}" = set; then
4945 enableval="$enable_ipc"
4946
4947 if test "$enableval" = yes; then
4948 ac_cv_use_ipc='wxUSE_IPC=yes'
4949 else
4950 ac_cv_use_ipc='wxUSE_IPC=no'
4951 fi
4952
4953 else
4954
4955 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4958 else
4959 no_cache=1
4960 fi
4961
4962 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4963
4964 fi;
4965
4966 eval "$ac_cv_use_ipc"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_IPC" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 fi
4978
4979
4980
4981 enablestring=
4982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4984 no_cache=0
4985 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4986 if test "${enable_apple_ieee+set}" = set; then
4987 enableval="$enable_apple_ieee"
4988
4989 if test "$enableval" = yes; then
4990 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4991 else
4992 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4993 fi
4994
4995 else
4996
4997 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x ; then
4999 eval "DEFAULT_$LINE"
5000 else
5001 no_cache=1
5002 fi
5003
5004 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5005
5006 fi;
5007
5008 eval "$ac_cv_use_apple_ieee"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5011 fi
5012
5013 if test "$wxUSE_APPLE_IEEE" = yes; then
5014 echo "$as_me:$LINENO: result: yes" >&5
5015 echo "${ECHO_T}yes" >&6
5016 else
5017 echo "$as_me:$LINENO: result: no" >&5
5018 echo "${ECHO_T}no" >&6
5019 fi
5020
5021
5022 enablestring=
5023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5025 no_cache=0
5026 # Check whether --enable-arcstream or --disable-arcstream was given.
5027 if test "${enable_arcstream+set}" = set; then
5028 enableval="$enable_arcstream"
5029
5030 if test "$enableval" = yes; then
5031 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5032 else
5033 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5034 fi
5035
5036 else
5037
5038 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x ; then
5040 eval "DEFAULT_$LINE"
5041 else
5042 no_cache=1
5043 fi
5044
5045 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5046
5047 fi;
5048
5049 eval "$ac_cv_use_arcstream"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5052 fi
5053
5054 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5055 echo "$as_me:$LINENO: result: yes" >&5
5056 echo "${ECHO_T}yes" >&6
5057 else
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5060 fi
5061
5062
5063 enablestring=
5064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5065 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5066 no_cache=0
5067 # Check whether --enable-backtrace or --disable-backtrace was given.
5068 if test "${enable_backtrace+set}" = set; then
5069 enableval="$enable_backtrace"
5070
5071 if test "$enableval" = yes; then
5072 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5073 else
5074 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5075 fi
5076
5077 else
5078
5079 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x ; then
5081 eval "DEFAULT_$LINE"
5082 else
5083 no_cache=1
5084 fi
5085
5086 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5087
5088 fi;
5089
5090 eval "$ac_cv_use_backtrace"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5093 fi
5094
5095 if test "$wxUSE_STACKWALKER" = yes; then
5096 echo "$as_me:$LINENO: result: yes" >&5
5097 echo "${ECHO_T}yes" >&6
5098 else
5099 echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6
5101 fi
5102
5103
5104 enablestring=
5105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5106 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5107 no_cache=0
5108 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5109 if test "${enable_catch_segvs+set}" = set; then
5110 enableval="$enable_catch_segvs"
5111
5112 if test "$enableval" = yes; then
5113 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5114 else
5115 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5116 fi
5117
5118 else
5119
5120 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x ; then
5122 eval "DEFAULT_$LINE"
5123 else
5124 no_cache=1
5125 fi
5126
5127 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5128
5129 fi;
5130
5131 eval "$ac_cv_use_catch_segvs"
5132 if test "$no_cache" != 1; then
5133 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5134 fi
5135
5136 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5137 echo "$as_me:$LINENO: result: yes" >&5
5138 echo "${ECHO_T}yes" >&6
5139 else
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5142 fi
5143
5144
5145 enablestring=
5146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5148 no_cache=0
5149 # Check whether --enable-cmdline or --disable-cmdline was given.
5150 if test "${enable_cmdline+set}" = set; then
5151 enableval="$enable_cmdline"
5152
5153 if test "$enableval" = yes; then
5154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5155 else
5156 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5157 fi
5158
5159 else
5160
5161 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5162 if test "x$LINE" != x ; then
5163 eval "DEFAULT_$LINE"
5164 else
5165 no_cache=1
5166 fi
5167
5168 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5169
5170 fi;
5171
5172 eval "$ac_cv_use_cmdline"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5175 fi
5176
5177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5178 echo "$as_me:$LINENO: result: yes" >&5
5179 echo "${ECHO_T}yes" >&6
5180 else
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5183 fi
5184
5185
5186 enablestring=
5187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5189 no_cache=0
5190 # Check whether --enable-datetime or --disable-datetime was given.
5191 if test "${enable_datetime+set}" = set; then
5192 enableval="$enable_datetime"
5193
5194 if test "$enableval" = yes; then
5195 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5196 else
5197 ac_cv_use_datetime='wxUSE_DATETIME=no'
5198 fi
5199
5200 else
5201
5202 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x ; then
5204 eval "DEFAULT_$LINE"
5205 else
5206 no_cache=1
5207 fi
5208
5209 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5210
5211 fi;
5212
5213 eval "$ac_cv_use_datetime"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5216 fi
5217
5218 if test "$wxUSE_DATETIME" = yes; then
5219 echo "$as_me:$LINENO: result: yes" >&5
5220 echo "${ECHO_T}yes" >&6
5221 else
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5224 fi
5225
5226
5227 enablestring=
5228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5229 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5230 no_cache=0
5231 # Check whether --enable-debugreport or --disable-debugreport was given.
5232 if test "${enable_debugreport+set}" = set; then
5233 enableval="$enable_debugreport"
5234
5235 if test "$enableval" = yes; then
5236 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5237 else
5238 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5239 fi
5240
5241 else
5242
5243 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5246 else
5247 no_cache=1
5248 fi
5249
5250 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5251
5252 fi;
5253
5254 eval "$ac_cv_use_debugreport"
5255 if test "$no_cache" != 1; then
5256 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5257 fi
5258
5259 if test "$wxUSE_DEBUGREPORT" = yes; then
5260 echo "$as_me:$LINENO: result: yes" >&5
5261 echo "${ECHO_T}yes" >&6
5262 else
5263 echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5265 fi
5266
5267
5268 enablestring=
5269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5270 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5271 no_cache=0
5272 # Check whether --enable-dialupman or --disable-dialupman was given.
5273 if test "${enable_dialupman+set}" = set; then
5274 enableval="$enable_dialupman"
5275
5276 if test "$enableval" = yes; then
5277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5278 else
5279 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5280 fi
5281
5282 else
5283
5284 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x ; then
5286 eval "DEFAULT_$LINE"
5287 else
5288 no_cache=1
5289 fi
5290
5291 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5292
5293 fi;
5294
5295 eval "$ac_cv_use_dialupman"
5296 if test "$no_cache" != 1; then
5297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5298 fi
5299
5300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5301 echo "$as_me:$LINENO: result: yes" >&5
5302 echo "${ECHO_T}yes" >&6
5303 else
5304 echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6
5306 fi
5307
5308
5309 enablestring=
5310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5311 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5312 no_cache=0
5313 # Check whether --enable-dynlib or --disable-dynlib was given.
5314 if test "${enable_dynlib+set}" = set; then
5315 enableval="$enable_dynlib"
5316
5317 if test "$enableval" = yes; then
5318 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5319 else
5320 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5321 fi
5322
5323 else
5324
5325 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5326 if test "x$LINE" != x ; then
5327 eval "DEFAULT_$LINE"
5328 else
5329 no_cache=1
5330 fi
5331
5332 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5333
5334 fi;
5335
5336 eval "$ac_cv_use_dynlib"
5337 if test "$no_cache" != 1; then
5338 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5339 fi
5340
5341 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5342 echo "$as_me:$LINENO: result: yes" >&5
5343 echo "${ECHO_T}yes" >&6
5344 else
5345 echo "$as_me:$LINENO: result: no" >&5
5346 echo "${ECHO_T}no" >&6
5347 fi
5348
5349
5350 enablestring=
5351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5353 no_cache=0
5354 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5355 if test "${enable_dynamicloader+set}" = set; then
5356 enableval="$enable_dynamicloader"
5357
5358 if test "$enableval" = yes; then
5359 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5360 else
5361 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5362 fi
5363
5364 else
5365
5366 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5369 else
5370 no_cache=1
5371 fi
5372
5373 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5374
5375 fi;
5376
5377 eval "$ac_cv_use_dynamicloader"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5380 fi
5381
5382 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5385 else
5386 echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6
5388 fi
5389
5390
5391 enablestring=
5392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5393 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5394 no_cache=0
5395 # Check whether --enable-exceptions or --disable-exceptions was given.
5396 if test "${enable_exceptions+set}" = set; then
5397 enableval="$enable_exceptions"
5398
5399 if test "$enableval" = yes; then
5400 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5401 else
5402 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5403 fi
5404
5405 else
5406
5407 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x ; then
5409 eval "DEFAULT_$LINE"
5410 else
5411 no_cache=1
5412 fi
5413
5414 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5415
5416 fi;
5417
5418 eval "$ac_cv_use_exceptions"
5419 if test "$no_cache" != 1; then
5420 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5421 fi
5422
5423 if test "$wxUSE_EXCEPTIONS" = yes; then
5424 echo "$as_me:$LINENO: result: yes" >&5
5425 echo "${ECHO_T}yes" >&6
5426 else
5427 echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6
5429 fi
5430
5431
5432 enablestring=
5433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5435 no_cache=0
5436 # Check whether --enable-ffile or --disable-ffile was given.
5437 if test "${enable_ffile+set}" = set; then
5438 enableval="$enable_ffile"
5439
5440 if test "$enableval" = yes; then
5441 ac_cv_use_ffile='wxUSE_FFILE=yes'
5442 else
5443 ac_cv_use_ffile='wxUSE_FFILE=no'
5444 fi
5445
5446 else
5447
5448 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x ; then
5450 eval "DEFAULT_$LINE"
5451 else
5452 no_cache=1
5453 fi
5454
5455 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5456
5457 fi;
5458
5459 eval "$ac_cv_use_ffile"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5462 fi
5463
5464 if test "$wxUSE_FFILE" = yes; then
5465 echo "$as_me:$LINENO: result: yes" >&5
5466 echo "${ECHO_T}yes" >&6
5467 else
5468 echo "$as_me:$LINENO: result: no" >&5
5469 echo "${ECHO_T}no" >&6
5470 fi
5471
5472
5473 enablestring=
5474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5476 no_cache=0
5477 # Check whether --enable-file or --disable-file was given.
5478 if test "${enable_file+set}" = set; then
5479 enableval="$enable_file"
5480
5481 if test "$enableval" = yes; then
5482 ac_cv_use_file='wxUSE_FILE=yes'
5483 else
5484 ac_cv_use_file='wxUSE_FILE=no'
5485 fi
5486
5487 else
5488
5489 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5492 else
5493 no_cache=1
5494 fi
5495
5496 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5497
5498 fi;
5499
5500 eval "$ac_cv_use_file"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5503 fi
5504
5505 if test "$wxUSE_FILE" = yes; then
5506 echo "$as_me:$LINENO: result: yes" >&5
5507 echo "${ECHO_T}yes" >&6
5508 else
5509 echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5511 fi
5512
5513
5514 enablestring=
5515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5516 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5517 no_cache=0
5518 # Check whether --enable-filesystem or --disable-filesystem was given.
5519 if test "${enable_filesystem+set}" = set; then
5520 enableval="$enable_filesystem"
5521
5522 if test "$enableval" = yes; then
5523 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5524 else
5525 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5526 fi
5527
5528 else
5529
5530 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5531 if test "x$LINE" != x ; then
5532 eval "DEFAULT_$LINE"
5533 else
5534 no_cache=1
5535 fi
5536
5537 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5538
5539 fi;
5540
5541 eval "$ac_cv_use_filesystem"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5544 fi
5545
5546 if test "$wxUSE_FILESYSTEM" = yes; then
5547 echo "$as_me:$LINENO: result: yes" >&5
5548 echo "${ECHO_T}yes" >&6
5549 else
5550 echo "$as_me:$LINENO: result: no" >&5
5551 echo "${ECHO_T}no" >&6
5552 fi
5553
5554
5555 enablestring=
5556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5557 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5558 no_cache=0
5559 # Check whether --enable-fontmap or --disable-fontmap was given.
5560 if test "${enable_fontmap+set}" = set; then
5561 enableval="$enable_fontmap"
5562
5563 if test "$enableval" = yes; then
5564 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5565 else
5566 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5567 fi
5568
5569 else
5570
5571 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x ; then
5573 eval "DEFAULT_$LINE"
5574 else
5575 no_cache=1
5576 fi
5577
5578 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5579
5580 fi;
5581
5582 eval "$ac_cv_use_fontmap"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5585 fi
5586
5587 if test "$wxUSE_FONTMAP" = yes; then
5588 echo "$as_me:$LINENO: result: yes" >&5
5589 echo "${ECHO_T}yes" >&6
5590 else
5591 echo "$as_me:$LINENO: result: no" >&5
5592 echo "${ECHO_T}no" >&6
5593 fi
5594
5595
5596 enablestring=
5597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5598 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5599 no_cache=0
5600 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5601 if test "${enable_fs_inet+set}" = set; then
5602 enableval="$enable_fs_inet"
5603
5604 if test "$enableval" = yes; then
5605 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5606 else
5607 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5608 fi
5609
5610 else
5611
5612 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5613 if test "x$LINE" != x ; then
5614 eval "DEFAULT_$LINE"
5615 else
5616 no_cache=1
5617 fi
5618
5619 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5620
5621 fi;
5622
5623 eval "$ac_cv_use_fs_inet"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5626 fi
5627
5628 if test "$wxUSE_FS_INET" = yes; then
5629 echo "$as_me:$LINENO: result: yes" >&5
5630 echo "${ECHO_T}yes" >&6
5631 else
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5634 fi
5635
5636
5637 enablestring=
5638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5639 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5640 no_cache=0
5641 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5642 if test "${enable_fs_zip+set}" = set; then
5643 enableval="$enable_fs_zip"
5644
5645 if test "$enableval" = yes; then
5646 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5647 else
5648 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5649 fi
5650
5651 else
5652
5653 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5654 if test "x$LINE" != x ; then
5655 eval "DEFAULT_$LINE"
5656 else
5657 no_cache=1
5658 fi
5659
5660 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5661
5662 fi;
5663
5664 eval "$ac_cv_use_fs_zip"
5665 if test "$no_cache" != 1; then
5666 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5667 fi
5668
5669 if test "$wxUSE_FS_ZIP" = yes; then
5670 echo "$as_me:$LINENO: result: yes" >&5
5671 echo "${ECHO_T}yes" >&6
5672 else
5673 echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6
5675 fi
5676
5677
5678 enablestring=
5679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5680 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5681 no_cache=0
5682 # Check whether --enable-geometry or --disable-geometry was given.
5683 if test "${enable_geometry+set}" = set; then
5684 enableval="$enable_geometry"
5685
5686 if test "$enableval" = yes; then
5687 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5688 else
5689 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5690 fi
5691
5692 else
5693
5694 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x ; then
5696 eval "DEFAULT_$LINE"
5697 else
5698 no_cache=1
5699 fi
5700
5701 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5702
5703 fi;
5704
5705 eval "$ac_cv_use_geometry"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5708 fi
5709
5710 if test "$wxUSE_GEOMETRY" = yes; then
5711 echo "$as_me:$LINENO: result: yes" >&5
5712 echo "${ECHO_T}yes" >&6
5713 else
5714 echo "$as_me:$LINENO: result: no" >&5
5715 echo "${ECHO_T}no" >&6
5716 fi
5717
5718
5719 enablestring=
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5722 no_cache=0
5723 # Check whether --enable-log or --disable-log was given.
5724 if test "${enable_log+set}" = set; then
5725 enableval="$enable_log"
5726
5727 if test "$enableval" = yes; then
5728 ac_cv_use_log='wxUSE_LOG=yes'
5729 else
5730 ac_cv_use_log='wxUSE_LOG=no'
5731 fi
5732
5733 else
5734
5735 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5738 else
5739 no_cache=1
5740 fi
5741
5742 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5743
5744 fi;
5745
5746 eval "$ac_cv_use_log"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5749 fi
5750
5751 if test "$wxUSE_LOG" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5754 else
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5757 fi
5758
5759
5760 enablestring=
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5763 no_cache=0
5764 # Check whether --enable-longlong or --disable-longlong was given.
5765 if test "${enable_longlong+set}" = set; then
5766 enableval="$enable_longlong"
5767
5768 if test "$enableval" = yes; then
5769 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5770 else
5771 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5772 fi
5773
5774 else
5775
5776 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5779 else
5780 no_cache=1
5781 fi
5782
5783 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5784
5785 fi;
5786
5787 eval "$ac_cv_use_longlong"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5790 fi
5791
5792 if test "$wxUSE_LONGLONG" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5795 else
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5798 fi
5799
5800
5801 enablestring=
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5804 no_cache=0
5805 # Check whether --enable-mimetype or --disable-mimetype was given.
5806 if test "${enable_mimetype+set}" = set; then
5807 enableval="$enable_mimetype"
5808
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5811 else
5812 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5813 fi
5814
5815 else
5816
5817 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5820 else
5821 no_cache=1
5822 fi
5823
5824 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5825
5826 fi;
5827
5828 eval "$ac_cv_use_mimetype"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5831 fi
5832
5833 if test "$wxUSE_MIMETYPE" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5836 else
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5839 fi
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-mslu or --disable-mslu was given.
5847 if test "${enable_mslu+set}" = set; then
5848 enableval="$enable_mslu"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5852 else
5853 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5854 fi
5855
5856 else
5857
5858 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5866
5867 fi;
5868
5869 eval "$ac_cv_use_mslu"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_UNICODE_MSLU" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-snglinst or --disable-snglinst was given.
5888 if test "${enable_snglinst+set}" = set; then
5889 enableval="$enable_snglinst"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5893 else
5894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5895 fi
5896
5897 else
5898
5899 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5907
5908 fi;
5909
5910 eval "$ac_cv_use_snglinst"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5929 if test "${enable_std_iostreams+set}" = set; then
5930 enableval="$enable_std_iostreams"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5934 else
5935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5948
5949 fi;
5950
5951 eval "$ac_cv_use_std_iostreams"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_STD_IOSTREAM" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 enablestring=
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-std_string or --disable-std_string was given.
5970 if test "${enable_std_string+set}" = set; then
5971 enableval="$enable_std_string"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5975 else
5976 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5977 fi
5978
5979 else
5980
5981 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5989
5990 fi;
5991
5992 eval "$ac_cv_use_std_string"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test "$wxUSE_STD_STRING" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6000 else
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6003 fi
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6011 if test "${enable_stdpaths+set}" = set; then
6012 enableval="$enable_stdpaths"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6016 else
6017 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6030
6031 fi;
6032
6033 eval "$ac_cv_use_stdpaths"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_STDPATHS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047 enablestring=
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6050 no_cache=0
6051 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6052 if test "${enable_stopwatch+set}" = set; then
6053 enableval="$enable_stopwatch"
6054
6055 if test "$enableval" = yes; then
6056 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6057 else
6058 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6059 fi
6060
6061 else
6062
6063 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6066 else
6067 no_cache=1
6068 fi
6069
6070 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6071
6072 fi;
6073
6074 eval "$ac_cv_use_stopwatch"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6077 fi
6078
6079 if test "$wxUSE_STOPWATCH" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081 echo "${ECHO_T}yes" >&6
6082 else
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6085 fi
6086
6087
6088 enablestring=
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6091 no_cache=0
6092 # Check whether --enable-streams or --disable-streams was given.
6093 if test "${enable_streams+set}" = set; then
6094 enableval="$enable_streams"
6095
6096 if test "$enableval" = yes; then
6097 ac_cv_use_streams='wxUSE_STREAMS=yes'
6098 else
6099 ac_cv_use_streams='wxUSE_STREAMS=no'
6100 fi
6101
6102 else
6103
6104 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6107 else
6108 no_cache=1
6109 fi
6110
6111 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6112
6113 fi;
6114
6115 eval "$ac_cv_use_streams"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6118 fi
6119
6120 if test "$wxUSE_STREAMS" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122 echo "${ECHO_T}yes" >&6
6123 else
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6126 fi
6127
6128
6129 enablestring=
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6132 no_cache=0
6133 # Check whether --enable-system_options or --disable-system_options was given.
6134 if test "${enable_system_options+set}" = set; then
6135 enableval="$enable_system_options"
6136
6137 if test "$enableval" = yes; then
6138 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6139 else
6140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6141 fi
6142
6143 else
6144
6145 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6148 else
6149 no_cache=1
6150 fi
6151
6152 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6153
6154 fi;
6155
6156 eval "$ac_cv_use_system_options"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6159 fi
6160
6161 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163 echo "${ECHO_T}yes" >&6
6164 else
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6167 fi
6168
6169
6170 enablestring=
6171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6172 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6173 no_cache=0
6174 # Check whether --enable-textbuf or --disable-textbuf was given.
6175 if test "${enable_textbuf+set}" = set; then
6176 enableval="$enable_textbuf"
6177
6178 if test "$enableval" = yes; then
6179 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6180 else
6181 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6182 fi
6183
6184 else
6185
6186 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6187 if test "x$LINE" != x ; then
6188 eval "DEFAULT_$LINE"
6189 else
6190 no_cache=1
6191 fi
6192
6193 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6194
6195 fi;
6196
6197 eval "$ac_cv_use_textbuf"
6198 if test "$no_cache" != 1; then
6199 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6200 fi
6201
6202 if test "$wxUSE_TEXTBUFFER" = yes; then
6203 echo "$as_me:$LINENO: result: yes" >&5
6204 echo "${ECHO_T}yes" >&6
6205 else
6206 echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6
6208 fi
6209
6210
6211 enablestring=
6212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6214 no_cache=0
6215 # Check whether --enable-textfile or --disable-textfile was given.
6216 if test "${enable_textfile+set}" = set; then
6217 enableval="$enable_textfile"
6218
6219 if test "$enableval" = yes; then
6220 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6221 else
6222 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6223 fi
6224
6225 else
6226
6227 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6228 if test "x$LINE" != x ; then
6229 eval "DEFAULT_$LINE"
6230 else
6231 no_cache=1
6232 fi
6233
6234 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6235
6236 fi;
6237
6238 eval "$ac_cv_use_textfile"
6239 if test "$no_cache" != 1; then
6240 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6241 fi
6242
6243 if test "$wxUSE_TEXTFILE" = yes; then
6244 echo "$as_me:$LINENO: result: yes" >&5
6245 echo "${ECHO_T}yes" >&6
6246 else
6247 echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6
6249 fi
6250
6251
6252 enablestring=
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6255 no_cache=0
6256 # Check whether --enable-timer or --disable-timer was given.
6257 if test "${enable_timer+set}" = set; then
6258 enableval="$enable_timer"
6259
6260 if test "$enableval" = yes; then
6261 ac_cv_use_timer='wxUSE_TIMER=yes'
6262 else
6263 ac_cv_use_timer='wxUSE_TIMER=no'
6264 fi
6265
6266 else
6267
6268 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x ; then
6270 eval "DEFAULT_$LINE"
6271 else
6272 no_cache=1
6273 fi
6274
6275 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6276
6277 fi;
6278
6279 eval "$ac_cv_use_timer"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6282 fi
6283
6284 if test "$wxUSE_TIMER" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286 echo "${ECHO_T}yes" >&6
6287 else
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6290 fi
6291
6292
6293 enablestring=
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6296 no_cache=0
6297 # Check whether --enable-unicode or --disable-unicode was given.
6298 if test "${enable_unicode+set}" = set; then
6299 enableval="$enable_unicode"
6300
6301 if test "$enableval" = yes; then
6302 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6303 else
6304 ac_cv_use_unicode='wxUSE_UNICODE=no'
6305 fi
6306
6307 else
6308
6309 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x ; then
6311 eval "DEFAULT_$LINE"
6312 else
6313 no_cache=1
6314 fi
6315
6316 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6317
6318 fi;
6319
6320 eval "$ac_cv_use_unicode"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6323 fi
6324
6325 if test "$wxUSE_UNICODE" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6
6328 else
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6331 fi
6332
6333
6334 enablestring=
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6337 no_cache=0
6338 # Check whether --enable-sound or --disable-sound was given.
6339 if test "${enable_sound+set}" = set; then
6340 enableval="$enable_sound"
6341
6342 if test "$enableval" = yes; then
6343 ac_cv_use_sound='wxUSE_SOUND=yes'
6344 else
6345 ac_cv_use_sound='wxUSE_SOUND=no'
6346 fi
6347
6348 else
6349
6350 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6353 else
6354 no_cache=1
6355 fi
6356
6357 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6358
6359 fi;
6360
6361 eval "$ac_cv_use_sound"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test "$wxUSE_SOUND" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368 echo "${ECHO_T}yes" >&6
6369 else
6370 echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6
6372 fi
6373
6374
6375 enablestring=
6376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6378 no_cache=0
6379 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6380 if test "${enable_mediactrl+set}" = set; then
6381 enableval="$enable_mediactrl"
6382
6383 if test "$enableval" = yes; then
6384 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6385 else
6386 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6387 fi
6388
6389 else
6390
6391 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x ; then
6393 eval "DEFAULT_$LINE"
6394 else
6395 no_cache=1
6396 fi
6397
6398 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6399
6400 fi;
6401
6402 eval "$ac_cv_use_mediactrl"
6403 if test "$no_cache" != 1; then
6404 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6405 fi
6406
6407 if test "$wxUSE_MEDIACTRL" = yes; then
6408 echo "$as_me:$LINENO: result: yes" >&5
6409 echo "${ECHO_T}yes" >&6
6410 else
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6413 fi
6414
6415
6416 enablestring=
6417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6418 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6419 no_cache=0
6420 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6421 if test "${enable_gstreamer8+set}" = set; then
6422 enableval="$enable_gstreamer8"
6423
6424 if test "$enableval" = yes; then
6425 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6426 else
6427 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6428 fi
6429
6430 else
6431
6432 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x ; then
6434 eval "DEFAULT_$LINE"
6435 else
6436 no_cache=1
6437 fi
6438
6439 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6440
6441 fi;
6442
6443 eval "$ac_cv_use_gstreamer8"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6446 fi
6447
6448 if test "$wxUSE_GSTREAMER8" = yes; then
6449 echo "$as_me:$LINENO: result: yes" >&5
6450 echo "${ECHO_T}yes" >&6
6451 else
6452 echo "$as_me:$LINENO: result: no" >&5
6453 echo "${ECHO_T}no" >&6
6454 fi
6455
6456
6457 enablestring=
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6460 no_cache=0
6461 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6462 if test "${enable_printfposparam+set}" = set; then
6463 enableval="$enable_printfposparam"
6464
6465 if test "$enableval" = yes; then
6466 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6467 else
6468 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6469 fi
6470
6471 else
6472
6473 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 else
6477 no_cache=1
6478 fi
6479
6480 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6481
6482 fi;
6483
6484 eval "$ac_cv_use_printfposparam"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6487 fi
6488
6489 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6492 else
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6495 fi
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-zipstream or --disable-zipstream was given.
6503 if test "${enable_zipstream+set}" = set; then
6504 enableval="$enable_zipstream"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6508 else
6509 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6510 fi
6511
6512 else
6513
6514 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6522
6523 fi;
6524
6525 eval "$ac_cv_use_zipstream"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_ZIPSTREAM" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539
6540 enablestring=
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6543 no_cache=0
6544 # Check whether --enable-url or --disable-url was given.
6545 if test "${enable_url+set}" = set; then
6546 enableval="$enable_url"
6547
6548 if test "$enableval" = yes; then
6549 ac_cv_use_url='wxUSE_URL=yes'
6550 else
6551 ac_cv_use_url='wxUSE_URL=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6564
6565 fi;
6566
6567 eval "$ac_cv_use_url"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6570 fi
6571
6572 if test "$wxUSE_URL" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6575 else
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6578 fi
6579
6580
6581 enablestring=
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6584 no_cache=0
6585 # Check whether --enable-variant or --disable-variant was given.
6586 if test "${enable_variant+set}" = set; then
6587 enableval="$enable_variant"
6588
6589 if test "$enableval" = yes; then
6590 ac_cv_use_variant='wxUSE_VARIANT=yes'
6591 else
6592 ac_cv_use_variant='wxUSE_VARIANT=no'
6593 fi
6594
6595 else
6596
6597 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6600 else
6601 no_cache=1
6602 fi
6603
6604 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6605
6606 fi;
6607
6608 eval "$ac_cv_use_variant"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6611 fi
6612
6613 if test "$wxUSE_VARIANT" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6616 else
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6619 fi
6620
6621
6622 enablestring=
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6625 no_cache=0
6626 # Check whether --enable-protocol or --disable-protocol was given.
6627 if test "${enable_protocol+set}" = set; then
6628 enableval="$enable_protocol"
6629
6630 if test "$enableval" = yes; then
6631 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6632 else
6633 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6634 fi
6635
6636 else
6637
6638 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6641 else
6642 no_cache=1
6643 fi
6644
6645 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6646
6647 fi;
6648
6649 eval "$ac_cv_use_protocol"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6652 fi
6653
6654 if test "$wxUSE_PROTOCOL" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6657 else
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6660 fi
6661
6662
6663 enablestring=
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6666 no_cache=0
6667 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6668 if test "${enable_protocol_http+set}" = set; then
6669 enableval="$enable_protocol_http"
6670
6671 if test "$enableval" = yes; then
6672 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6673 else
6674 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6675 fi
6676
6677 else
6678
6679 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6682 else
6683 no_cache=1
6684 fi
6685
6686 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6687
6688 fi;
6689
6690 eval "$ac_cv_use_protocol_http"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6693 fi
6694
6695 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6698 else
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6701 fi
6702
6703
6704 enablestring=
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6707 no_cache=0
6708 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6709 if test "${enable_protocol_ftp+set}" = set; then
6710 enableval="$enable_protocol_ftp"
6711
6712 if test "$enableval" = yes; then
6713 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6714 else
6715 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6716 fi
6717
6718 else
6719
6720 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6723 else
6724 no_cache=1
6725 fi
6726
6727 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6728
6729 fi;
6730
6731 eval "$ac_cv_use_protocol_ftp"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6734 fi
6735
6736 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6739 else
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6742 fi
6743
6744
6745 enablestring=
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6748 no_cache=0
6749 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6750 if test "${enable_protocol_file+set}" = set; then
6751 enableval="$enable_protocol_file"
6752
6753 if test "$enableval" = yes; then
6754 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6755 else
6756 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6757 fi
6758
6759 else
6760
6761 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x ; then
6763 eval "DEFAULT_$LINE"
6764 else
6765 no_cache=1
6766 fi
6767
6768 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6769
6770 fi;
6771
6772 eval "$ac_cv_use_protocol_file"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6775 fi
6776
6777 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6780 else
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6783 fi
6784
6785
6786
6787
6788
6789 enablestring=
6790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6792 no_cache=0
6793 # Check whether --enable-threads or --disable-threads was given.
6794 if test "${enable_threads+set}" = set; then
6795 enableval="$enable_threads"
6796
6797 if test "$enableval" = yes; then
6798 ac_cv_use_threads='wxUSE_THREADS=yes'
6799 else
6800 ac_cv_use_threads='wxUSE_THREADS=no'
6801 fi
6802
6803 else
6804
6805 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x ; then
6807 eval "DEFAULT_$LINE"
6808 else
6809 no_cache=1
6810 fi
6811
6812 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6813
6814 fi;
6815
6816 eval "$ac_cv_use_threads"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6819 fi
6820
6821 if test "$wxUSE_THREADS" = yes; then
6822 echo "$as_me:$LINENO: result: yes" >&5
6823 echo "${ECHO_T}yes" >&6
6824 else
6825 echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6
6827 fi
6828
6829
6830 if test "$wxUSE_GUI" = "yes"; then
6831
6832
6833
6834 enablestring=
6835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6836 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6837 no_cache=0
6838 # Check whether --enable-docview or --disable-docview was given.
6839 if test "${enable_docview+set}" = set; then
6840 enableval="$enable_docview"
6841
6842 if test "$enableval" = yes; then
6843 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6844 else
6845 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6846 fi
6847
6848 else
6849
6850 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6851 if test "x$LINE" != x ; then
6852 eval "DEFAULT_$LINE"
6853 else
6854 no_cache=1
6855 fi
6856
6857 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6858
6859 fi;
6860
6861 eval "$ac_cv_use_docview"
6862 if test "$no_cache" != 1; then
6863 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6864 fi
6865
6866 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6867 echo "$as_me:$LINENO: result: yes" >&5
6868 echo "${ECHO_T}yes" >&6
6869 else
6870 echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6
6872 fi
6873
6874
6875 enablestring=
6876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6877 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6878 no_cache=0
6879 # Check whether --enable-help or --disable-help was given.
6880 if test "${enable_help+set}" = set; then
6881 enableval="$enable_help"
6882
6883 if test "$enableval" = yes; then
6884 ac_cv_use_help='wxUSE_HELP=yes'
6885 else
6886 ac_cv_use_help='wxUSE_HELP=no'
6887 fi
6888
6889 else
6890
6891 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6892 if test "x$LINE" != x ; then
6893 eval "DEFAULT_$LINE"
6894 else
6895 no_cache=1
6896 fi
6897
6898 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6899
6900 fi;
6901
6902 eval "$ac_cv_use_help"
6903 if test "$no_cache" != 1; then
6904 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6905 fi
6906
6907 if test "$wxUSE_HELP" = yes; then
6908 echo "$as_me:$LINENO: result: yes" >&5
6909 echo "${ECHO_T}yes" >&6
6910 else
6911 echo "$as_me:$LINENO: result: no" >&5
6912 echo "${ECHO_T}no" >&6
6913 fi
6914
6915
6916 enablestring=
6917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6919 no_cache=0
6920 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6921 if test "${enable_mshtmlhelp+set}" = set; then
6922 enableval="$enable_mshtmlhelp"
6923
6924 if test "$enableval" = yes; then
6925 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6926 else
6927 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6928 fi
6929
6930 else
6931
6932 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6935 else
6936 no_cache=1
6937 fi
6938
6939 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6940
6941 fi;
6942
6943 eval "$ac_cv_use_mshtmlhelp"
6944 if test "$no_cache" != 1; then
6945 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6946 fi
6947
6948 if test "$wxUSE_MS_HTML_HELP" = yes; then
6949 echo "$as_me:$LINENO: result: yes" >&5
6950 echo "${ECHO_T}yes" >&6
6951 else
6952 echo "$as_me:$LINENO: result: no" >&5
6953 echo "${ECHO_T}no" >&6
6954 fi
6955
6956
6957 enablestring=
6958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6960 no_cache=0
6961 # Check whether --enable-html or --disable-html was given.
6962 if test "${enable_html+set}" = set; then
6963 enableval="$enable_html"
6964
6965 if test "$enableval" = yes; then
6966 ac_cv_use_html='wxUSE_HTML=yes'
6967 else
6968 ac_cv_use_html='wxUSE_HTML=no'
6969 fi
6970
6971 else
6972
6973 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x ; then
6975 eval "DEFAULT_$LINE"
6976 else
6977 no_cache=1
6978 fi
6979
6980 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6981
6982 fi;
6983
6984 eval "$ac_cv_use_html"
6985 if test "$no_cache" != 1; then
6986 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6987 fi
6988
6989 if test "$wxUSE_HTML" = yes; then
6990 echo "$as_me:$LINENO: result: yes" >&5
6991 echo "${ECHO_T}yes" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6995 fi
6996
6997
6998 enablestring=
6999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7001 no_cache=0
7002 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7003 if test "${enable_htmlhelp+set}" = set; then
7004 enableval="$enable_htmlhelp"
7005
7006 if test "$enableval" = yes; then
7007 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7008 else
7009 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7010 fi
7011
7012 else
7013
7014 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7015 if test "x$LINE" != x ; then
7016 eval "DEFAULT_$LINE"
7017 else
7018 no_cache=1
7019 fi
7020
7021 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7022
7023 fi;
7024
7025 eval "$ac_cv_use_htmlhelp"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7028 fi
7029
7030 if test "$wxUSE_WXHTML_HELP" = yes; then
7031 echo "$as_me:$LINENO: result: yes" >&5
7032 echo "${ECHO_T}yes" >&6
7033 else
7034 echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6
7036 fi
7037
7038
7039 enablestring=
7040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7042 no_cache=0
7043 # Check whether --enable-xrc or --disable-xrc was given.
7044 if test "${enable_xrc+set}" = set; then
7045 enableval="$enable_xrc"
7046
7047 if test "$enableval" = yes; then
7048 ac_cv_use_xrc='wxUSE_XRC=yes'
7049 else
7050 ac_cv_use_xrc='wxUSE_XRC=no'
7051 fi
7052
7053 else
7054
7055 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x ; then
7057 eval "DEFAULT_$LINE"
7058 else
7059 no_cache=1
7060 fi
7061
7062 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7063
7064 fi;
7065
7066 eval "$ac_cv_use_xrc"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7069 fi
7070
7071 if test "$wxUSE_XRC" = yes; then
7072 echo "$as_me:$LINENO: result: yes" >&5
7073 echo "${ECHO_T}yes" >&6
7074 else
7075 echo "$as_me:$LINENO: result: no" >&5
7076 echo "${ECHO_T}no" >&6
7077 fi
7078
7079
7080 enablestring=
7081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7083 no_cache=0
7084 # Check whether --enable-aui or --disable-aui was given.
7085 if test "${enable_aui+set}" = set; then
7086 enableval="$enable_aui"
7087
7088 if test "$enableval" = yes; then
7089 ac_cv_use_aui='wxUSE_AUI=yes'
7090 else
7091 ac_cv_use_aui='wxUSE_AUI=no'
7092 fi
7093
7094 else
7095
7096 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x ; then
7098 eval "DEFAULT_$LINE"
7099 else
7100 no_cache=1
7101 fi
7102
7103 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7104
7105 fi;
7106
7107 eval "$ac_cv_use_aui"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7110 fi
7111
7112 if test "$wxUSE_AUI" = yes; then
7113 echo "$as_me:$LINENO: result: yes" >&5
7114 echo "${ECHO_T}yes" >&6
7115 else
7116 echo "$as_me:$LINENO: result: no" >&5
7117 echo "${ECHO_T}no" >&6
7118 fi
7119
7120
7121 enablestring=
7122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7124 no_cache=0
7125 # Check whether --enable-constraints or --disable-constraints was given.
7126 if test "${enable_constraints+set}" = set; then
7127 enableval="$enable_constraints"
7128
7129 if test "$enableval" = yes; then
7130 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7131 else
7132 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7133 fi
7134
7135 else
7136
7137 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7140 else
7141 no_cache=1
7142 fi
7143
7144 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7145
7146 fi;
7147
7148 eval "$ac_cv_use_constraints"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7151 fi
7152
7153 if test "$wxUSE_CONSTRAINTS" = yes; then
7154 echo "$as_me:$LINENO: result: yes" >&5
7155 echo "${ECHO_T}yes" >&6
7156 else
7157 echo "$as_me:$LINENO: result: no" >&5
7158 echo "${ECHO_T}no" >&6
7159 fi
7160
7161
7162 enablestring=
7163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7164 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7165 no_cache=0
7166 # Check whether --enable-printarch or --disable-printarch was given.
7167 if test "${enable_printarch+set}" = set; then
7168 enableval="$enable_printarch"
7169
7170 if test "$enableval" = yes; then
7171 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7172 else
7173 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7174 fi
7175
7176 else
7177
7178 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7179 if test "x$LINE" != x ; then
7180 eval "DEFAULT_$LINE"
7181 else
7182 no_cache=1
7183 fi
7184
7185 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7186
7187 fi;
7188
7189 eval "$ac_cv_use_printarch"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7192 fi
7193
7194 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7195 echo "$as_me:$LINENO: result: yes" >&5
7196 echo "${ECHO_T}yes" >&6
7197 else
7198 echo "$as_me:$LINENO: result: no" >&5
7199 echo "${ECHO_T}no" >&6
7200 fi
7201
7202
7203 enablestring=
7204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7206 no_cache=0
7207 # Check whether --enable-mdi or --disable-mdi was given.
7208 if test "${enable_mdi+set}" = set; then
7209 enableval="$enable_mdi"
7210
7211 if test "$enableval" = yes; then
7212 ac_cv_use_mdi='wxUSE_MDI=yes'
7213 else
7214 ac_cv_use_mdi='wxUSE_MDI=no'
7215 fi
7216
7217 else
7218
7219 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7222 else
7223 no_cache=1
7224 fi
7225
7226 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7227
7228 fi;
7229
7230 eval "$ac_cv_use_mdi"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7233 fi
7234
7235 if test "$wxUSE_MDI" = yes; then
7236 echo "$as_me:$LINENO: result: yes" >&5
7237 echo "${ECHO_T}yes" >&6
7238 else
7239 echo "$as_me:$LINENO: result: no" >&5
7240 echo "${ECHO_T}no" >&6
7241 fi
7242
7243
7244 enablestring=
7245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7247 no_cache=0
7248 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7249 if test "${enable_mdidoc+set}" = set; then
7250 enableval="$enable_mdidoc"
7251
7252 if test "$enableval" = yes; then
7253 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7254 else
7255 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7256 fi
7257
7258 else
7259
7260 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x ; then
7262 eval "DEFAULT_$LINE"
7263 else
7264 no_cache=1
7265 fi
7266
7267 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7268
7269 fi;
7270
7271 eval "$ac_cv_use_mdidoc"
7272 if test "$no_cache" != 1; then
7273 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7274 fi
7275
7276 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7277 echo "$as_me:$LINENO: result: yes" >&5
7278 echo "${ECHO_T}yes" >&6
7279 else
7280 echo "$as_me:$LINENO: result: no" >&5
7281 echo "${ECHO_T}no" >&6
7282 fi
7283
7284
7285 enablestring=
7286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7288 no_cache=0
7289 # Check whether --enable-loggui or --disable-loggui was given.
7290 if test "${enable_loggui+set}" = set; then
7291 enableval="$enable_loggui"
7292
7293 if test "$enableval" = yes; then
7294 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7295 else
7296 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7297 fi
7298
7299 else
7300
7301 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7302 if test "x$LINE" != x ; then
7303 eval "DEFAULT_$LINE"
7304 else
7305 no_cache=1
7306 fi
7307
7308 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7309
7310 fi;
7311
7312 eval "$ac_cv_use_loggui"
7313 if test "$no_cache" != 1; then
7314 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7315 fi
7316
7317 if test "$wxUSE_LOGGUI" = yes; then
7318 echo "$as_me:$LINENO: result: yes" >&5
7319 echo "${ECHO_T}yes" >&6
7320 else
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7323 fi
7324
7325
7326 enablestring=
7327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7329 no_cache=0
7330 # Check whether --enable-logwin or --disable-logwin was given.
7331 if test "${enable_logwin+set}" = set; then
7332 enableval="$enable_logwin"
7333
7334 if test "$enableval" = yes; then
7335 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7336 else
7337 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7338 fi
7339
7340 else
7341
7342 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x ; then
7344 eval "DEFAULT_$LINE"
7345 else
7346 no_cache=1
7347 fi
7348
7349 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7350
7351 fi;
7352
7353 eval "$ac_cv_use_logwin"
7354 if test "$no_cache" != 1; then
7355 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7356 fi
7357
7358 if test "$wxUSE_LOGWINDOW" = yes; then
7359 echo "$as_me:$LINENO: result: yes" >&5
7360 echo "${ECHO_T}yes" >&6
7361 else
7362 echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6
7364 fi
7365
7366
7367 enablestring=
7368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7369 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7370 no_cache=0
7371 # Check whether --enable-logdialog or --disable-logdialog was given.
7372 if test "${enable_logdialog+set}" = set; then
7373 enableval="$enable_logdialog"
7374
7375 if test "$enableval" = yes; then
7376 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7377 else
7378 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7379 fi
7380
7381 else
7382
7383 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x ; then
7385 eval "DEFAULT_$LINE"
7386 else
7387 no_cache=1
7388 fi
7389
7390 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7391
7392 fi;
7393
7394 eval "$ac_cv_use_logdialog"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7397 fi
7398
7399 if test "$wxUSE_LOGDIALOG" = yes; then
7400 echo "$as_me:$LINENO: result: yes" >&5
7401 echo "${ECHO_T}yes" >&6
7402 else
7403 echo "$as_me:$LINENO: result: no" >&5
7404 echo "${ECHO_T}no" >&6
7405 fi
7406
7407
7408 enablestring=
7409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7411 no_cache=0
7412 # Check whether --enable-webkit or --disable-webkit was given.
7413 if test "${enable_webkit+set}" = set; then
7414 enableval="$enable_webkit"
7415
7416 if test "$enableval" = yes; then
7417 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7418 else
7419 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7420 fi
7421
7422 else
7423
7424 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7427 else
7428 no_cache=1
7429 fi
7430
7431 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7432
7433 fi;
7434
7435 eval "$ac_cv_use_webkit"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7438 fi
7439
7440 if test "$wxUSE_WEBKIT" = yes; then
7441 echo "$as_me:$LINENO: result: yes" >&5
7442 echo "${ECHO_T}yes" >&6
7443 else
7444 echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6
7446 fi
7447
7448
7449 enablestring=
7450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7451 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7452 no_cache=0
7453 # Check whether --enable-html or --disable-html was given.
7454 if test "${enable_html+set}" = set; then
7455 enableval="$enable_html"
7456
7457 if test "$enableval" = yes; then
7458 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7459 else
7460 ac_cv_use_html='wxUSE_RICHTEXT=no'
7461 fi
7462
7463 else
7464
7465 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x ; then
7467 eval "DEFAULT_$LINE"
7468 else
7469 no_cache=1
7470 fi
7471
7472 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7473
7474 fi;
7475
7476 eval "$ac_cv_use_html"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7479 fi
7480
7481 if test "$wxUSE_RICHTEXT" = yes; then
7482 echo "$as_me:$LINENO: result: yes" >&5
7483 echo "${ECHO_T}yes" >&6
7484 else
7485 echo "$as_me:$LINENO: result: no" >&5
7486 echo "${ECHO_T}no" >&6
7487 fi
7488
7489
7490 enablestring=
7491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7493 no_cache=0
7494 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7495 if test "${enable_graphics_ctx+set}" = set; then
7496 enableval="$enable_graphics_ctx"
7497
7498 if test "$enableval" = yes; then
7499 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7500 else
7501 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7502 fi
7503
7504 else
7505
7506 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7509 else
7510 no_cache=1
7511 fi
7512
7513 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7514
7515 fi;
7516
7517 eval "$ac_cv_use_graphics_ctx"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7520 fi
7521
7522 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7523 echo "$as_me:$LINENO: result: yes" >&5
7524 echo "${ECHO_T}yes" >&6
7525 else
7526 echo "$as_me:$LINENO: result: no" >&5
7527 echo "${ECHO_T}no" >&6
7528 fi
7529
7530
7531
7532 enablestring=
7533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7535 no_cache=0
7536 # Check whether --enable-postscript or --disable-postscript was given.
7537 if test "${enable_postscript+set}" = set; then
7538 enableval="$enable_postscript"
7539
7540 if test "$enableval" = yes; then
7541 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7542 else
7543 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7544 fi
7545
7546 else
7547
7548 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x ; then
7550 eval "DEFAULT_$LINE"
7551 else
7552 no_cache=1
7553 fi
7554
7555 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7556
7557 fi;
7558
7559 eval "$ac_cv_use_postscript"
7560 if test "$no_cache" != 1; then
7561 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7562 fi
7563
7564 if test "$wxUSE_POSTSCRIPT" = yes; then
7565 echo "$as_me:$LINENO: result: yes" >&5
7566 echo "${ECHO_T}yes" >&6
7567 else
7568 echo "$as_me:$LINENO: result: no" >&5
7569 echo "${ECHO_T}no" >&6
7570 fi
7571
7572
7573
7574
7575
7576 enablestring=
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7579 no_cache=0
7580 # Check whether --enable-prologio or --disable-prologio was given.
7581 if test "${enable_prologio+set}" = set; then
7582 enableval="$enable_prologio"
7583
7584 if test "$enableval" = yes; then
7585 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7586 else
7587 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7588 fi
7589
7590 else
7591
7592 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7595 else
7596 no_cache=1
7597 fi
7598
7599 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7600
7601 fi;
7602
7603 eval "$ac_cv_use_prologio"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7606 fi
7607
7608 if test "$wxUSE_PROLOGIO" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7611 else
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7614 fi
7615
7616
7617 enablestring=
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7620 no_cache=0
7621 # Check whether --enable-resources or --disable-resources was given.
7622 if test "${enable_resources+set}" = set; then
7623 enableval="$enable_resources"
7624
7625 if test "$enableval" = yes; then
7626 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7627 else
7628 ac_cv_use_resources='wxUSE_RESOURCES=no'
7629 fi
7630
7631 else
7632
7633 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7636 else
7637 no_cache=1
7638 fi
7639
7640 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7641
7642 fi;
7643
7644 eval "$ac_cv_use_resources"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7647 fi
7648
7649 if test "$wxUSE_RESOURCES" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7652 else
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7655 fi
7656
7657
7658
7659
7660 enablestring=
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7663 no_cache=0
7664 # Check whether --enable-clipboard or --disable-clipboard was given.
7665 if test "${enable_clipboard+set}" = set; then
7666 enableval="$enable_clipboard"
7667
7668 if test "$enableval" = yes; then
7669 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7670 else
7671 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7672 fi
7673
7674 else
7675
7676 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x ; then
7678 eval "DEFAULT_$LINE"
7679 else
7680 no_cache=1
7681 fi
7682
7683 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7684
7685 fi;
7686
7687 eval "$ac_cv_use_clipboard"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7690 fi
7691
7692 if test "$wxUSE_CLIPBOARD" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7695 else
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7698 fi
7699
7700
7701 enablestring=
7702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7704 no_cache=0
7705 # Check whether --enable-dnd or --disable-dnd was given.
7706 if test "${enable_dnd+set}" = set; then
7707 enableval="$enable_dnd"
7708
7709 if test "$enableval" = yes; then
7710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7711 else
7712 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7713 fi
7714
7715 else
7716
7717 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x ; then
7719 eval "DEFAULT_$LINE"
7720 else
7721 no_cache=1
7722 fi
7723
7724 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7725
7726 fi;
7727
7728 eval "$ac_cv_use_dnd"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7734 echo "$as_me:$LINENO: result: yes" >&5
7735 echo "${ECHO_T}yes" >&6
7736 else
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7739 fi
7740
7741
7742 enablestring=
7743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7745 no_cache=0
7746 # Check whether --enable-metafile or --disable-metafile was given.
7747 if test "${enable_metafile+set}" = set; then
7748 enableval="$enable_metafile"
7749
7750 if test "$enableval" = yes; then
7751 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7752 else
7753 ac_cv_use_metafile='wxUSE_METAFILE=no'
7754 fi
7755
7756 else
7757
7758 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x ; then
7760 eval "DEFAULT_$LINE"
7761 else
7762 no_cache=1
7763 fi
7764
7765 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7766
7767 fi;
7768
7769 eval "$ac_cv_use_metafile"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7772 fi
7773
7774 if test "$wxUSE_METAFILE" = yes; then
7775 echo "$as_me:$LINENO: result: yes" >&5
7776 echo "${ECHO_T}yes" >&6
7777 else
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7780 fi
7781
7782
7783
7784
7785
7786 enablestring=
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7789 no_cache=0
7790 # Check whether --enable-controls or --disable-controls was given.
7791 if test "${enable_controls+set}" = set; then
7792 enableval="$enable_controls"
7793
7794 if test "$enableval" = yes; then
7795 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7796 else
7797 ac_cv_use_controls='wxUSE_CONTROLS=no'
7798 fi
7799
7800 else
7801
7802 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x ; then
7804 eval "DEFAULT_$LINE"
7805 else
7806 no_cache=1
7807 fi
7808
7809 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7810
7811 fi;
7812
7813 eval "$ac_cv_use_controls"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7816 fi
7817
7818 if test "$wxUSE_CONTROLS" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7821 else
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7824 fi
7825
7826
7827 if test "$wxUSE_CONTROLS" = "yes"; then
7828 DEFAULT_wxUSE_ACCEL=yes
7829 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7830 DEFAULT_wxUSE_BMPBUTTON=yes
7831 DEFAULT_wxUSE_BUTTON=yes
7832 DEFAULT_wxUSE_CALCTRL=yes
7833 DEFAULT_wxUSE_CARET=yes
7834 DEFAULT_wxUSE_COMBOBOX=yes
7835 DEFAULT_wxUSE_CHECKBOX=yes
7836 DEFAULT_wxUSE_CHECKLISTBOX=yes
7837 DEFAULT_wxUSE_CHOICE=yes
7838 DEFAULT_wxUSE_CHOICEBOOK=yes
7839 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7840 DEFAULT_wxUSE_COMBOBOX=yes
7841 DEFAULT_wxUSE_DATEPICKCTRL=yes
7842 DEFAULT_wxUSE_DISPLAY=yes
7843 DEFAULT_wxUSE_DETECT_SM=yes
7844 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7845 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7846 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7847 DEFAULT_wxUSE_GAUGE=yes
7848 DEFAULT_wxUSE_GRID=yes
7849 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7850 DEFAULT_wxUSE_DATAVIEWCTRL=no
7851 DEFAULT_wxUSE_IMAGLIST=yes
7852 DEFAULT_wxUSE_LISTBOOK=yes
7853 DEFAULT_wxUSE_LISTBOX=yes
7854 DEFAULT_wxUSE_LISTCTRL=yes
7855 DEFAULT_wxUSE_NOTEBOOK=yes
7856 DEFAULT_wxUSE_RADIOBOX=yes
7857 DEFAULT_wxUSE_RADIOBTN=yes
7858 DEFAULT_wxUSE_SASH=yes
7859 DEFAULT_wxUSE_SCROLLBAR=yes
7860 DEFAULT_wxUSE_SLIDER=yes
7861 DEFAULT_wxUSE_SPINBTN=yes
7862 DEFAULT_wxUSE_SPINCTRL=yes
7863 DEFAULT_wxUSE_SPLITTER=yes
7864 DEFAULT_wxUSE_STATBMP=yes
7865 DEFAULT_wxUSE_STATBOX=yes
7866 DEFAULT_wxUSE_STATLINE=yes
7867 DEFAULT_wxUSE_STATUSBAR=yes
7868 DEFAULT_wxUSE_TAB_DIALOG=yes
7869 DEFAULT_wxUSE_TOGGLEBTN=yes
7870 DEFAULT_wxUSE_TOOLBAR=yes
7871 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7872 DEFAULT_wxUSE_TOOLTIPS=yes
7873 DEFAULT_wxUSE_TREEBOOK=yes
7874 DEFAULT_wxUSE_TOOLBOOK=yes
7875 DEFAULT_wxUSE_TREECTRL=yes
7876 DEFAULT_wxUSE_POPUPWIN=yes
7877 DEFAULT_wxUSE_TIPWINDOW=yes
7878 elif test "$wxUSE_CONTROLS" = "no"; then
7879 DEFAULT_wxUSE_ACCEL=no
7880 DEFAULT_wxUSE_ANIMATIONCTRL=no
7881 DEFAULT_wxUSE_BMPBUTTON=no
7882 DEFAULT_wxUSE_BUTTON=no
7883 DEFAULT_wxUSE_CALCTRL=no
7884 DEFAULT_wxUSE_CARET=no
7885 DEFAULT_wxUSE_COMBOBOX=no
7886 DEFAULT_wxUSE_CHECKBOX=no
7887 DEFAULT_wxUSE_CHECKLISTBOX=no
7888 DEFAULT_wxUSE_CHOICE=no
7889 DEFAULT_wxUSE_CHOICEBOOK=no
7890 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7891 DEFAULT_wxUSE_COMBOBOX=no
7892 DEFAULT_wxUSE_DATEPICKCTRL=no
7893 DEFAULT_wxUSE_DISPLAY=no
7894 DEFAULT_wxUSE_DETECT_SM=no
7895 DEFAULT_wxUSE_DIRPICKERCTRL=no
7896 DEFAULT_wxUSE_FILEPICKERCTRL=no
7897 DEFAULT_wxUSE_FONTPICKERCTRL=no
7898 DEFAULT_wxUSE_GAUGE=no
7899 DEFAULT_wxUSE_GRID=no
7900 DEFAULT_wxUSE_HYPERLINKCTRL=no
7901 DEFAULT_wxUSE_DATAVIEWCTRL=no
7902 DEFAULT_wxUSE_IMAGLIST=no
7903 DEFAULT_wxUSE_LISTBOOK=no
7904 DEFAULT_wxUSE_LISTBOX=no
7905 DEFAULT_wxUSE_LISTCTRL=no
7906 DEFAULT_wxUSE_NOTEBOOK=no
7907 DEFAULT_wxUSE_RADIOBOX=no
7908 DEFAULT_wxUSE_RADIOBTN=no
7909 DEFAULT_wxUSE_SASH=no
7910 DEFAULT_wxUSE_SCROLLBAR=no
7911 DEFAULT_wxUSE_SLIDER=no
7912 DEFAULT_wxUSE_SPINBTN=no
7913 DEFAULT_wxUSE_SPINCTRL=no
7914 DEFAULT_wxUSE_SPLITTER=no
7915 DEFAULT_wxUSE_STATBMP=no
7916 DEFAULT_wxUSE_STATBOX=no
7917 DEFAULT_wxUSE_STATLINE=no
7918 DEFAULT_wxUSE_STATUSBAR=no
7919 DEFAULT_wxUSE_TAB_DIALOG=no
7920 DEFAULT_wxUSE_TOGGLEBTN=no
7921 DEFAULT_wxUSE_TOOLBAR=no
7922 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7923 DEFAULT_wxUSE_TOOLTIPS=no
7924 DEFAULT_wxUSE_TREEBOOK=no
7925 DEFAULT_wxUSE_TOOLBOOK=no
7926 DEFAULT_wxUSE_TREECTRL=no
7927 DEFAULT_wxUSE_POPUPWIN=no
7928 DEFAULT_wxUSE_TIPWINDOW=no
7929 fi
7930
7931
7932 enablestring=
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7935 no_cache=0
7936 # Check whether --enable-accel or --disable-accel was given.
7937 if test "${enable_accel+set}" = set; then
7938 enableval="$enable_accel"
7939
7940 if test "$enableval" = yes; then
7941 ac_cv_use_accel='wxUSE_ACCEL=yes'
7942 else
7943 ac_cv_use_accel='wxUSE_ACCEL=no'
7944 fi
7945
7946 else
7947
7948 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x ; then
7950 eval "DEFAULT_$LINE"
7951 else
7952 no_cache=1
7953 fi
7954
7955 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7956
7957 fi;
7958
7959 eval "$ac_cv_use_accel"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7962 fi
7963
7964 if test "$wxUSE_ACCEL" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7967 else
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7970 fi
7971
7972
7973 enablestring=
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7976 no_cache=0
7977 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7978 if test "${enable_animatectrl+set}" = set; then
7979 enableval="$enable_animatectrl"
7980
7981 if test "$enableval" = yes; then
7982 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
7983 else
7984 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
7985 fi
7986
7987 else
7988
7989 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x ; then
7991 eval "DEFAULT_$LINE"
7992 else
7993 no_cache=1
7994 fi
7995
7996 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7997
7998 fi;
7999
8000 eval "$ac_cv_use_animatectrl"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8003 fi
8004
8005 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8008 else
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8011 fi
8012
8013
8014 enablestring=
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8017 no_cache=0
8018 # Check whether --enable-button or --disable-button was given.
8019 if test "${enable_button+set}" = set; then
8020 enableval="$enable_button"
8021
8022 if test "$enableval" = yes; then
8023 ac_cv_use_button='wxUSE_BUTTON=yes'
8024 else
8025 ac_cv_use_button='wxUSE_BUTTON=no'
8026 fi
8027
8028 else
8029
8030 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8033 else
8034 no_cache=1
8035 fi
8036
8037 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8038
8039 fi;
8040
8041 eval "$ac_cv_use_button"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8044 fi
8045
8046 if test "$wxUSE_BUTTON" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8049 else
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8052 fi
8053
8054
8055 enablestring=
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8058 no_cache=0
8059 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8060 if test "${enable_bmpbutton+set}" = set; then
8061 enableval="$enable_bmpbutton"
8062
8063 if test "$enableval" = yes; then
8064 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8065 else
8066 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8067 fi
8068
8069 else
8070
8071 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x ; then
8073 eval "DEFAULT_$LINE"
8074 else
8075 no_cache=1
8076 fi
8077
8078 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8079
8080 fi;
8081
8082 eval "$ac_cv_use_bmpbutton"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8085 fi
8086
8087 if test "$wxUSE_BMPBUTTON" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8090 else
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8093 fi
8094
8095
8096 enablestring=
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8099 no_cache=0
8100 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8101 if test "${enable_bmpcombobox+set}" = set; then
8102 enableval="$enable_bmpcombobox"
8103
8104 if test "$enableval" = yes; then
8105 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8106 else
8107 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8108 fi
8109
8110 else
8111
8112 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8115 else
8116 no_cache=1
8117 fi
8118
8119 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8120
8121 fi;
8122
8123 eval "$ac_cv_use_bmpcombobox"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8126 fi
8127
8128 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8131 else
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8134 fi
8135
8136
8137 enablestring=
8138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8140 no_cache=0
8141 # Check whether --enable-calendar or --disable-calendar was given.
8142 if test "${enable_calendar+set}" = set; then
8143 enableval="$enable_calendar"
8144
8145 if test "$enableval" = yes; then
8146 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8147 else
8148 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8149 fi
8150
8151 else
8152
8153 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 else
8157 no_cache=1
8158 fi
8159
8160 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8161
8162 fi;
8163
8164 eval "$ac_cv_use_calendar"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8167 fi
8168
8169 if test "$wxUSE_CALCTRL" = yes; then
8170 echo "$as_me:$LINENO: result: yes" >&5
8171 echo "${ECHO_T}yes" >&6
8172 else
8173 echo "$as_me:$LINENO: result: no" >&5
8174 echo "${ECHO_T}no" >&6
8175 fi
8176
8177
8178 enablestring=
8179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8181 no_cache=0
8182 # Check whether --enable-caret or --disable-caret was given.
8183 if test "${enable_caret+set}" = set; then
8184 enableval="$enable_caret"
8185
8186 if test "$enableval" = yes; then
8187 ac_cv_use_caret='wxUSE_CARET=yes'
8188 else
8189 ac_cv_use_caret='wxUSE_CARET=no'
8190 fi
8191
8192 else
8193
8194 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8197 else
8198 no_cache=1
8199 fi
8200
8201 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8202
8203 fi;
8204
8205 eval "$ac_cv_use_caret"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8208 fi
8209
8210 if test "$wxUSE_CARET" = yes; then
8211 echo "$as_me:$LINENO: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8213 else
8214 echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8216 fi
8217
8218
8219 enablestring=
8220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8222 no_cache=0
8223 # Check whether --enable-checkbox or --disable-checkbox was given.
8224 if test "${enable_checkbox+set}" = set; then
8225 enableval="$enable_checkbox"
8226
8227 if test "$enableval" = yes; then
8228 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8229 else
8230 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8231 fi
8232
8233 else
8234
8235 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x ; then
8237 eval "DEFAULT_$LINE"
8238 else
8239 no_cache=1
8240 fi
8241
8242 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8243
8244 fi;
8245
8246 eval "$ac_cv_use_checkbox"
8247 if test "$no_cache" != 1; then
8248 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8249 fi
8250
8251 if test "$wxUSE_CHECKBOX" = yes; then
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8254 else
8255 echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6
8257 fi
8258
8259
8260 enablestring=
8261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8263 no_cache=0
8264 # Check whether --enable-checklst or --disable-checklst was given.
8265 if test "${enable_checklst+set}" = set; then
8266 enableval="$enable_checklst"
8267
8268 if test "$enableval" = yes; then
8269 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8270 else
8271 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8272 fi
8273
8274 else
8275
8276 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8279 else
8280 no_cache=1
8281 fi
8282
8283 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8284
8285 fi;
8286
8287 eval "$ac_cv_use_checklst"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8290 fi
8291
8292 if test "$wxUSE_CHECKLST" = yes; then
8293 echo "$as_me:$LINENO: result: yes" >&5
8294 echo "${ECHO_T}yes" >&6
8295 else
8296 echo "$as_me:$LINENO: result: no" >&5
8297 echo "${ECHO_T}no" >&6
8298 fi
8299
8300
8301 enablestring=
8302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8304 no_cache=0
8305 # Check whether --enable-choice or --disable-choice was given.
8306 if test "${enable_choice+set}" = set; then
8307 enableval="$enable_choice"
8308
8309 if test "$enableval" = yes; then
8310 ac_cv_use_choice='wxUSE_CHOICE=yes'
8311 else
8312 ac_cv_use_choice='wxUSE_CHOICE=no'
8313 fi
8314
8315 else
8316
8317 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8318 if test "x$LINE" != x ; then
8319 eval "DEFAULT_$LINE"
8320 else
8321 no_cache=1
8322 fi
8323
8324 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8325
8326 fi;
8327
8328 eval "$ac_cv_use_choice"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8331 fi
8332
8333 if test "$wxUSE_CHOICE" = yes; then
8334 echo "$as_me:$LINENO: result: yes" >&5
8335 echo "${ECHO_T}yes" >&6
8336 else
8337 echo "$as_me:$LINENO: result: no" >&5
8338 echo "${ECHO_T}no" >&6
8339 fi
8340
8341
8342 enablestring=
8343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8345 no_cache=0
8346 # Check whether --enable-choicebook or --disable-choicebook was given.
8347 if test "${enable_choicebook+set}" = set; then
8348 enableval="$enable_choicebook"
8349
8350 if test "$enableval" = yes; then
8351 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8352 else
8353 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8354 fi
8355
8356 else
8357
8358 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8361 else
8362 no_cache=1
8363 fi
8364
8365 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8366
8367 fi;
8368
8369 eval "$ac_cv_use_choicebook"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8372 fi
8373
8374 if test "$wxUSE_CHOICEBOOK" = yes; then
8375 echo "$as_me:$LINENO: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8377 else
8378 echo "$as_me:$LINENO: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8380 fi
8381
8382
8383 enablestring=
8384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8386 no_cache=0
8387 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8388 if test "${enable_colourpicker+set}" = set; then
8389 enableval="$enable_colourpicker"
8390
8391 if test "$enableval" = yes; then
8392 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8393 else
8394 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8395 fi
8396
8397 else
8398
8399 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x ; then
8401 eval "DEFAULT_$LINE"
8402 else
8403 no_cache=1
8404 fi
8405
8406 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8407
8408 fi;
8409
8410 eval "$ac_cv_use_colourpicker"
8411 if test "$no_cache" != 1; then
8412 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8413 fi
8414
8415 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8418 else
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8421 fi
8422
8423
8424 enablestring=
8425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8427 no_cache=0
8428 # Check whether --enable-combobox or --disable-combobox was given.
8429 if test "${enable_combobox+set}" = set; then
8430 enableval="$enable_combobox"
8431
8432 if test "$enableval" = yes; then
8433 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8434 else
8435 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8436 fi
8437
8438 else
8439
8440 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8443 else
8444 no_cache=1
8445 fi
8446
8447 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8448
8449 fi;
8450
8451 eval "$ac_cv_use_combobox"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8454 fi
8455
8456 if test "$wxUSE_COMBOBOX" = yes; then
8457 echo "$as_me:$LINENO: result: yes" >&5
8458 echo "${ECHO_T}yes" >&6
8459 else
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8462 fi
8463
8464
8465 enablestring=
8466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8468 no_cache=0
8469 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8470 if test "${enable_comboctrl+set}" = set; then
8471 enableval="$enable_comboctrl"
8472
8473 if test "$enableval" = yes; then
8474 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8475 else
8476 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8477 fi
8478
8479 else
8480
8481 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8484 else
8485 no_cache=1
8486 fi
8487
8488 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8489
8490 fi;
8491
8492 eval "$ac_cv_use_comboctrl"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8495 fi
8496
8497 if test "$wxUSE_COMBOCTRL" = yes; then
8498 echo "$as_me:$LINENO: result: yes" >&5
8499 echo "${ECHO_T}yes" >&6
8500 else
8501 echo "$as_me:$LINENO: result: no" >&5
8502 echo "${ECHO_T}no" >&6
8503 fi
8504
8505
8506 enablestring=
8507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8509 no_cache=0
8510 # Check whether --enable-datepick or --disable-datepick was given.
8511 if test "${enable_datepick+set}" = set; then
8512 enableval="$enable_datepick"
8513
8514 if test "$enableval" = yes; then
8515 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8516 else
8517 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8518 fi
8519
8520 else
8521
8522 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8525 else
8526 no_cache=1
8527 fi
8528
8529 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8530
8531 fi;
8532
8533 eval "$ac_cv_use_datepick"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8536 fi
8537
8538 if test "$wxUSE_DATEPICKCTRL" = yes; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8541 else
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8544 fi
8545
8546
8547 enablestring=
8548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8550 no_cache=0
8551 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8552 if test "${enable_dirpicker+set}" = set; then
8553 enableval="$enable_dirpicker"
8554
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8557 else
8558 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8559 fi
8560
8561 else
8562
8563 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8566 else
8567 no_cache=1
8568 fi
8569
8570 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8571
8572 fi;
8573
8574 eval "$ac_cv_use_dirpicker"
8575 if test "$no_cache" != 1; then
8576 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8577 fi
8578
8579 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8580 echo "$as_me:$LINENO: result: yes" >&5
8581 echo "${ECHO_T}yes" >&6
8582 else
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8585 fi
8586
8587
8588 enablestring=
8589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8591 no_cache=0
8592 # Check whether --enable-display or --disable-display was given.
8593 if test "${enable_display+set}" = set; then
8594 enableval="$enable_display"
8595
8596 if test "$enableval" = yes; then
8597 ac_cv_use_display='wxUSE_DISPLAY=yes'
8598 else
8599 ac_cv_use_display='wxUSE_DISPLAY=no'
8600 fi
8601
8602 else
8603
8604 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 else
8608 no_cache=1
8609 fi
8610
8611 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8612
8613 fi;
8614
8615 eval "$ac_cv_use_display"
8616 if test "$no_cache" != 1; then
8617 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8618 fi
8619
8620 if test "$wxUSE_DISPLAY" = yes; then
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8623 else
8624 echo "$as_me:$LINENO: result: no" >&5
8625 echo "${ECHO_T}no" >&6
8626 fi
8627
8628
8629 enablestring=
8630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8632 no_cache=0
8633 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8634 if test "${enable_detect_sm+set}" = set; then
8635 enableval="$enable_detect_sm"
8636
8637 if test "$enableval" = yes; then
8638 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8639 else
8640 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8641 fi
8642
8643 else
8644
8645 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x ; then
8647 eval "DEFAULT_$LINE"
8648 else
8649 no_cache=1
8650 fi
8651
8652 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8653
8654 fi;
8655
8656 eval "$ac_cv_use_detect_sm"
8657 if test "$no_cache" != 1; then
8658 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8659 fi
8660
8661 if test "$wxUSE_DETECT_SM" = yes; then
8662 echo "$as_me:$LINENO: result: yes" >&5
8663 echo "${ECHO_T}yes" >&6
8664 else
8665 echo "$as_me:$LINENO: result: no" >&5
8666 echo "${ECHO_T}no" >&6
8667 fi
8668
8669
8670 enablestring=
8671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8673 no_cache=0
8674 # Check whether --enable-filepicker or --disable-filepicker was given.
8675 if test "${enable_filepicker+set}" = set; then
8676 enableval="$enable_filepicker"
8677
8678 if test "$enableval" = yes; then
8679 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8680 else
8681 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8682 fi
8683
8684 else
8685
8686 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x ; then
8688 eval "DEFAULT_$LINE"
8689 else
8690 no_cache=1
8691 fi
8692
8693 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8694
8695 fi;
8696
8697 eval "$ac_cv_use_filepicker"
8698 if test "$no_cache" != 1; then
8699 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8700 fi
8701
8702 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8703 echo "$as_me:$LINENO: result: yes" >&5
8704 echo "${ECHO_T}yes" >&6
8705 else
8706 echo "$as_me:$LINENO: result: no" >&5
8707 echo "${ECHO_T}no" >&6
8708 fi
8709
8710
8711 enablestring=
8712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8714 no_cache=0
8715 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8716 if test "${enable_fontpicker+set}" = set; then
8717 enableval="$enable_fontpicker"
8718
8719 if test "$enableval" = yes; then
8720 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8721 else
8722 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8723 fi
8724
8725 else
8726
8727 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x ; then
8729 eval "DEFAULT_$LINE"
8730 else
8731 no_cache=1
8732 fi
8733
8734 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8735
8736 fi;
8737
8738 eval "$ac_cv_use_fontpicker"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8741 fi
8742
8743 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8744 echo "$as_me:$LINENO: result: yes" >&5
8745 echo "${ECHO_T}yes" >&6
8746 else
8747 echo "$as_me:$LINENO: result: no" >&5
8748 echo "${ECHO_T}no" >&6
8749 fi
8750
8751
8752 enablestring=
8753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8755 no_cache=0
8756 # Check whether --enable-gauge or --disable-gauge was given.
8757 if test "${enable_gauge+set}" = set; then
8758 enableval="$enable_gauge"
8759
8760 if test "$enableval" = yes; then
8761 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8762 else
8763 ac_cv_use_gauge='wxUSE_GAUGE=no'
8764 fi
8765
8766 else
8767
8768 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8769 if test "x$LINE" != x ; then
8770 eval "DEFAULT_$LINE"
8771 else
8772 no_cache=1
8773 fi
8774
8775 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8776
8777 fi;
8778
8779 eval "$ac_cv_use_gauge"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8782 fi
8783
8784 if test "$wxUSE_GAUGE" = yes; then
8785 echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6
8787 else
8788 echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6
8790 fi
8791
8792
8793 enablestring=
8794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8796 no_cache=0
8797 # Check whether --enable-grid or --disable-grid was given.
8798 if test "${enable_grid+set}" = set; then
8799 enableval="$enable_grid"
8800
8801 if test "$enableval" = yes; then
8802 ac_cv_use_grid='wxUSE_GRID=yes'
8803 else
8804 ac_cv_use_grid='wxUSE_GRID=no'
8805 fi
8806
8807 else
8808
8809 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8810 if test "x$LINE" != x ; then
8811 eval "DEFAULT_$LINE"
8812 else
8813 no_cache=1
8814 fi
8815
8816 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8817
8818 fi;
8819
8820 eval "$ac_cv_use_grid"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8823 fi
8824
8825 if test "$wxUSE_GRID" = yes; then
8826 echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6
8828 else
8829 echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6
8831 fi
8832
8833
8834 enablestring=
8835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8837 no_cache=0
8838 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8839 if test "${enable_dataviewctrl+set}" = set; then
8840 enableval="$enable_dataviewctrl"
8841
8842 if test "$enableval" = yes; then
8843 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8844 else
8845 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8846 fi
8847
8848 else
8849
8850 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8851 if test "x$LINE" != x ; then
8852 eval "DEFAULT_$LINE"
8853 else
8854 no_cache=1
8855 fi
8856
8857 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8858
8859 fi;
8860
8861 eval "$ac_cv_use_dataviewctrl"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8864 fi
8865
8866 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8867 echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6
8869 else
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8872 fi
8873
8874
8875 enablestring=
8876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8878 no_cache=0
8879 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8880 if test "${enable_hyperlink+set}" = set; then
8881 enableval="$enable_hyperlink"
8882
8883 if test "$enableval" = yes; then
8884 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8885 else
8886 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8887 fi
8888
8889 else
8890
8891 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8894 else
8895 no_cache=1
8896 fi
8897
8898 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8899
8900 fi;
8901
8902 eval "$ac_cv_use_hyperlink"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8905 fi
8906
8907 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8910 else
8911 echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6
8913 fi
8914
8915
8916 enablestring=
8917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8919 no_cache=0
8920 # Check whether --enable-imaglist or --disable-imaglist was given.
8921 if test "${enable_imaglist+set}" = set; then
8922 enableval="$enable_imaglist"
8923
8924 if test "$enableval" = yes; then
8925 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8926 else
8927 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8928 fi
8929
8930 else
8931
8932 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8933 if test "x$LINE" != x ; then
8934 eval "DEFAULT_$LINE"
8935 else
8936 no_cache=1
8937 fi
8938
8939 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8940
8941 fi;
8942
8943 eval "$ac_cv_use_imaglist"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8946 fi
8947
8948 if test "$wxUSE_IMAGLIST" = yes; then
8949 echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6
8951 else
8952 echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6
8954 fi
8955
8956
8957 enablestring=
8958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8960 no_cache=0
8961 # Check whether --enable-listbook or --disable-listbook was given.
8962 if test "${enable_listbook+set}" = set; then
8963 enableval="$enable_listbook"
8964
8965 if test "$enableval" = yes; then
8966 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8967 else
8968 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8969 fi
8970
8971 else
8972
8973 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8974 if test "x$LINE" != x ; then
8975 eval "DEFAULT_$LINE"
8976 else
8977 no_cache=1
8978 fi
8979
8980 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8981
8982 fi;
8983
8984 eval "$ac_cv_use_listbook"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8987 fi
8988
8989 if test "$wxUSE_LISTBOOK" = yes; then
8990 echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6
8992 else
8993 echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6
8995 fi
8996
8997
8998 enablestring=
8999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9001 no_cache=0
9002 # Check whether --enable-listbox or --disable-listbox was given.
9003 if test "${enable_listbox+set}" = set; then
9004 enableval="$enable_listbox"
9005
9006 if test "$enableval" = yes; then
9007 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9008 else
9009 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9010 fi
9011
9012 else
9013
9014 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9015 if test "x$LINE" != x ; then
9016 eval "DEFAULT_$LINE"
9017 else
9018 no_cache=1
9019 fi
9020
9021 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9022
9023 fi;
9024
9025 eval "$ac_cv_use_listbox"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9028 fi
9029
9030 if test "$wxUSE_LISTBOX" = yes; then
9031 echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6
9033 else
9034 echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6
9036 fi
9037
9038
9039 enablestring=
9040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9042 no_cache=0
9043 # Check whether --enable-listctrl or --disable-listctrl was given.
9044 if test "${enable_listctrl+set}" = set; then
9045 enableval="$enable_listctrl"
9046
9047 if test "$enableval" = yes; then
9048 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9049 else
9050 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9051 fi
9052
9053 else
9054
9055 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9056 if test "x$LINE" != x ; then
9057 eval "DEFAULT_$LINE"
9058 else
9059 no_cache=1
9060 fi
9061
9062 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9063
9064 fi;
9065
9066 eval "$ac_cv_use_listctrl"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test "$wxUSE_LISTCTRL" = yes; then
9072 echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6
9074 else
9075 echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6
9077 fi
9078
9079
9080 enablestring=
9081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9083 no_cache=0
9084 # Check whether --enable-notebook or --disable-notebook was given.
9085 if test "${enable_notebook+set}" = set; then
9086 enableval="$enable_notebook"
9087
9088 if test "$enableval" = yes; then
9089 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9090 else
9091 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9092 fi
9093
9094 else
9095
9096 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9097 if test "x$LINE" != x ; then
9098 eval "DEFAULT_$LINE"
9099 else
9100 no_cache=1
9101 fi
9102
9103 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9104
9105 fi;
9106
9107 eval "$ac_cv_use_notebook"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9110 fi
9111
9112 if test "$wxUSE_NOTEBOOK" = yes; then
9113 echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6
9115 else
9116 echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6
9118 fi
9119
9120
9121 enablestring=
9122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9124 no_cache=0
9125 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9126 if test "${enable_odcombobox+set}" = set; then
9127 enableval="$enable_odcombobox"
9128
9129 if test "$enableval" = yes; then
9130 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9131 else
9132 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9133 fi
9134
9135 else
9136
9137 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9138 if test "x$LINE" != x ; then
9139 eval "DEFAULT_$LINE"
9140 else
9141 no_cache=1
9142 fi
9143
9144 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9145
9146 fi;
9147
9148 eval "$ac_cv_use_odcombobox"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9151 fi
9152
9153 if test "$wxUSE_ODCOMBOBOX" = yes; then
9154 echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6
9156 else
9157 echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6
9159 fi
9160
9161
9162 enablestring=
9163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9165 no_cache=0
9166 # Check whether --enable-radiobox or --disable-radiobox was given.
9167 if test "${enable_radiobox+set}" = set; then
9168 enableval="$enable_radiobox"
9169
9170 if test "$enableval" = yes; then
9171 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9172 else
9173 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9174 fi
9175
9176 else
9177
9178 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9179 if test "x$LINE" != x ; then
9180 eval "DEFAULT_$LINE"
9181 else
9182 no_cache=1
9183 fi
9184
9185 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9186
9187 fi;
9188
9189 eval "$ac_cv_use_radiobox"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9192 fi
9193
9194 if test "$wxUSE_RADIOBOX" = yes; then
9195 echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6
9197 else
9198 echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6
9200 fi
9201
9202
9203 enablestring=
9204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9206 no_cache=0
9207 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9208 if test "${enable_radiobtn+set}" = set; then
9209 enableval="$enable_radiobtn"
9210
9211 if test "$enableval" = yes; then
9212 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9213 else
9214 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9215 fi
9216
9217 else
9218
9219 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9220 if test "x$LINE" != x ; then
9221 eval "DEFAULT_$LINE"
9222 else
9223 no_cache=1
9224 fi
9225
9226 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9227
9228 fi;
9229
9230 eval "$ac_cv_use_radiobtn"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9233 fi
9234
9235 if test "$wxUSE_RADIOBTN" = yes; then
9236 echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6
9238 else
9239 echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6
9241 fi
9242
9243
9244 enablestring=
9245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9247 no_cache=0
9248 # Check whether --enable-sash or --disable-sash was given.
9249 if test "${enable_sash+set}" = set; then
9250 enableval="$enable_sash"
9251
9252 if test "$enableval" = yes; then
9253 ac_cv_use_sash='wxUSE_SASH=yes'
9254 else
9255 ac_cv_use_sash='wxUSE_SASH=no'
9256 fi
9257
9258 else
9259
9260 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9261 if test "x$LINE" != x ; then
9262 eval "DEFAULT_$LINE"
9263 else
9264 no_cache=1
9265 fi
9266
9267 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9268
9269 fi;
9270
9271 eval "$ac_cv_use_sash"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9274 fi
9275
9276 if test "$wxUSE_SASH" = yes; then
9277 echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6
9279 else
9280 echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6
9282 fi
9283
9284
9285 enablestring=
9286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9288 no_cache=0
9289 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9290 if test "${enable_scrollbar+set}" = set; then
9291 enableval="$enable_scrollbar"
9292
9293 if test "$enableval" = yes; then
9294 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9295 else
9296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9297 fi
9298
9299 else
9300
9301 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9302 if test "x$LINE" != x ; then
9303 eval "DEFAULT_$LINE"
9304 else
9305 no_cache=1
9306 fi
9307
9308 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9309
9310 fi;
9311
9312 eval "$ac_cv_use_scrollbar"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9315 fi
9316
9317 if test "$wxUSE_SCROLLBAR" = yes; then
9318 echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6
9320 else
9321 echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6
9323 fi
9324
9325
9326 enablestring=
9327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9329 no_cache=0
9330 # Check whether --enable-slider or --disable-slider was given.
9331 if test "${enable_slider+set}" = set; then
9332 enableval="$enable_slider"
9333
9334 if test "$enableval" = yes; then
9335 ac_cv_use_slider='wxUSE_SLIDER=yes'
9336 else
9337 ac_cv_use_slider='wxUSE_SLIDER=no'
9338 fi
9339
9340 else
9341
9342 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9343 if test "x$LINE" != x ; then
9344 eval "DEFAULT_$LINE"
9345 else
9346 no_cache=1
9347 fi
9348
9349 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9350
9351 fi;
9352
9353 eval "$ac_cv_use_slider"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9356 fi
9357
9358 if test "$wxUSE_SLIDER" = yes; then
9359 echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6
9361 else
9362 echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6
9364 fi
9365
9366
9367 enablestring=
9368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9370 no_cache=0
9371 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9372 if test "${enable_spinbtn+set}" = set; then
9373 enableval="$enable_spinbtn"
9374
9375 if test "$enableval" = yes; then
9376 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9377 else
9378 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9379 fi
9380
9381 else
9382
9383 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9384 if test "x$LINE" != x ; then
9385 eval "DEFAULT_$LINE"
9386 else
9387 no_cache=1
9388 fi
9389
9390 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9391
9392 fi;
9393
9394 eval "$ac_cv_use_spinbtn"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test "$wxUSE_SPINBTN" = yes; then
9400 echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6
9402 else
9403 echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6
9405 fi
9406
9407
9408 enablestring=
9409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9411 no_cache=0
9412 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9413 if test "${enable_spinctrl+set}" = set; then
9414 enableval="$enable_spinctrl"
9415
9416 if test "$enableval" = yes; then
9417 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9418 else
9419 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9420 fi
9421
9422 else
9423
9424 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9425 if test "x$LINE" != x ; then
9426 eval "DEFAULT_$LINE"
9427 else
9428 no_cache=1
9429 fi
9430
9431 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9432
9433 fi;
9434
9435 eval "$ac_cv_use_spinctrl"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9438 fi
9439
9440 if test "$wxUSE_SPINCTRL" = yes; then
9441 echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6
9443 else
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9446 fi
9447
9448
9449 enablestring=
9450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9452 no_cache=0
9453 # Check whether --enable-splitter or --disable-splitter was given.
9454 if test "${enable_splitter+set}" = set; then
9455 enableval="$enable_splitter"
9456
9457 if test "$enableval" = yes; then
9458 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9459 else
9460 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9461 fi
9462
9463 else
9464
9465 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9466 if test "x$LINE" != x ; then
9467 eval "DEFAULT_$LINE"
9468 else
9469 no_cache=1
9470 fi
9471
9472 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9473
9474 fi;
9475
9476 eval "$ac_cv_use_splitter"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9479 fi
9480
9481 if test "$wxUSE_SPLITTER" = yes; then
9482 echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6
9484 else
9485 echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6
9487 fi
9488
9489
9490 enablestring=
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9493 no_cache=0
9494 # Check whether --enable-statbmp or --disable-statbmp was given.
9495 if test "${enable_statbmp+set}" = set; then
9496 enableval="$enable_statbmp"
9497
9498 if test "$enableval" = yes; then
9499 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9500 else
9501 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9502 fi
9503
9504 else
9505
9506 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x ; then
9508 eval "DEFAULT_$LINE"
9509 else
9510 no_cache=1
9511 fi
9512
9513 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9514
9515 fi;
9516
9517 eval "$ac_cv_use_statbmp"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test "$wxUSE_STATBMP" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9525 else
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9528 fi
9529
9530
9531 enablestring=
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9534 no_cache=0
9535 # Check whether --enable-statbox or --disable-statbox was given.
9536 if test "${enable_statbox+set}" = set; then
9537 enableval="$enable_statbox"
9538
9539 if test "$enableval" = yes; then
9540 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9541 else
9542 ac_cv_use_statbox='wxUSE_STATBOX=no'
9543 fi
9544
9545 else
9546
9547 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9555
9556 fi;
9557
9558 eval "$ac_cv_use_statbox"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_STATBOX" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9566 else
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9569 fi
9570
9571
9572 enablestring=
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9575 no_cache=0
9576 # Check whether --enable-statline or --disable-statline was given.
9577 if test "${enable_statline+set}" = set; then
9578 enableval="$enable_statline"
9579
9580 if test "$enableval" = yes; then
9581 ac_cv_use_statline='wxUSE_STATLINE=yes'
9582 else
9583 ac_cv_use_statline='wxUSE_STATLINE=no'
9584 fi
9585
9586 else
9587
9588 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x ; then
9590 eval "DEFAULT_$LINE"
9591 else
9592 no_cache=1
9593 fi
9594
9595 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9596
9597 fi;
9598
9599 eval "$ac_cv_use_statline"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test "$wxUSE_STATLINE" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9607 else
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9610 fi
9611
9612
9613 enablestring=
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9616 no_cache=0
9617 # Check whether --enable-stattext or --disable-stattext was given.
9618 if test "${enable_stattext+set}" = set; then
9619 enableval="$enable_stattext"
9620
9621 if test "$enableval" = yes; then
9622 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9623 else
9624 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9625 fi
9626
9627 else
9628
9629 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x ; then
9631 eval "DEFAULT_$LINE"
9632 else
9633 no_cache=1
9634 fi
9635
9636 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9637
9638 fi;
9639
9640 eval "$ac_cv_use_stattext"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test "$wxUSE_STATTEXT" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9648 else
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9651 fi
9652
9653
9654 enablestring=
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9657 no_cache=0
9658 # Check whether --enable-statusbar or --disable-statusbar was given.
9659 if test "${enable_statusbar+set}" = set; then
9660 enableval="$enable_statusbar"
9661
9662 if test "$enableval" = yes; then
9663 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9664 else
9665 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9666 fi
9667
9668 else
9669
9670 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x ; then
9672 eval "DEFAULT_$LINE"
9673 else
9674 no_cache=1
9675 fi
9676
9677 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9678
9679 fi;
9680
9681 eval "$ac_cv_use_statusbar"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9684 fi
9685
9686 if test "$wxUSE_STATUSBAR" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9689 else
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9692 fi
9693
9694
9695 enablestring=
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9698 no_cache=0
9699 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9700 if test "${enable_tabdialog+set}" = set; then
9701 enableval="$enable_tabdialog"
9702
9703 if test "$enableval" = yes; then
9704 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9705 else
9706 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9707 fi
9708
9709 else
9710
9711 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9714 else
9715 no_cache=1
9716 fi
9717
9718 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9719
9720 fi;
9721
9722 eval "$ac_cv_use_tabdialog"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9725 fi
9726
9727 if test "$wxUSE_TAB_DIALOG" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9730 else
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9733 fi
9734
9735
9736 enablestring=
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9739 no_cache=0
9740 # Check whether --enable-textctrl or --disable-textctrl was given.
9741 if test "${enable_textctrl+set}" = set; then
9742 enableval="$enable_textctrl"
9743
9744 if test "$enableval" = yes; then
9745 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9746 else
9747 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9748 fi
9749
9750 else
9751
9752 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9755 else
9756 no_cache=1
9757 fi
9758
9759 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9760
9761 fi;
9762
9763 eval "$ac_cv_use_textctrl"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9766 fi
9767
9768 if test "$wxUSE_TEXTCTRL" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9771 else
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9774 fi
9775
9776
9777 enablestring=
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9780 no_cache=0
9781 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9782 if test "${enable_togglebtn+set}" = set; then
9783 enableval="$enable_togglebtn"
9784
9785 if test "$enableval" = yes; then
9786 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9787 else
9788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9789 fi
9790
9791 else
9792
9793 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9796 else
9797 no_cache=1
9798 fi
9799
9800 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9801
9802 fi;
9803
9804 eval "$ac_cv_use_togglebtn"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test "$wxUSE_TOGGLEBTN" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9812 else
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9815 fi
9816
9817
9818 enablestring=
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9821 no_cache=0
9822 # Check whether --enable-toolbar or --disable-toolbar was given.
9823 if test "${enable_toolbar+set}" = set; then
9824 enableval="$enable_toolbar"
9825
9826 if test "$enableval" = yes; then
9827 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9828 else
9829 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9830 fi
9831
9832 else
9833
9834 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9837 else
9838 no_cache=1
9839 fi
9840
9841 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9842
9843 fi;
9844
9845 eval "$ac_cv_use_toolbar"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test "$wxUSE_TOOLBAR" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9853 else
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9856 fi
9857
9858
9859 enablestring=
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9862 no_cache=0
9863 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9864 if test "${enable_tbarnative+set}" = set; then
9865 enableval="$enable_tbarnative"
9866
9867 if test "$enableval" = yes; then
9868 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9869 else
9870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9871 fi
9872
9873 else
9874
9875 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9878 else
9879 no_cache=1
9880 fi
9881
9882 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9883
9884 fi;
9885
9886 eval "$ac_cv_use_tbarnative"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9894 else
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9897 fi
9898
9899
9900 enablestring=
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9903 no_cache=0
9904 # Check whether --enable-treebook or --disable-treebook was given.
9905 if test "${enable_treebook+set}" = set; then
9906 enableval="$enable_treebook"
9907
9908 if test "$enableval" = yes; then
9909 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9910 else
9911 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9912 fi
9913
9914 else
9915
9916 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9919 else
9920 no_cache=1
9921 fi
9922
9923 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9924
9925 fi;
9926
9927 eval "$ac_cv_use_treebook"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_TREEBOOK" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940
9941 enablestring=
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9944 no_cache=0
9945 # Check whether --enable-toolbook or --disable-toolbook was given.
9946 if test "${enable_toolbook+set}" = set; then
9947 enableval="$enable_toolbook"
9948
9949 if test "$enableval" = yes; then
9950 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9951 else
9952 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9953 fi
9954
9955 else
9956
9957 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9960 else
9961 no_cache=1
9962 fi
9963
9964 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9965
9966 fi;
9967
9968 eval "$ac_cv_use_toolbook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_TOOLBOOK" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9976 else
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9979 fi
9980
9981
9982 enablestring=
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9985 no_cache=0
9986 # Check whether --enable-treectrl or --disable-treectrl was given.
9987 if test "${enable_treectrl+set}" = set; then
9988 enableval="$enable_treectrl"
9989
9990 if test "$enableval" = yes; then
9991 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9992 else
9993 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9994 fi
9995
9996 else
9997
9998 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10001 else
10002 no_cache=1
10003 fi
10004
10005 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10006
10007 fi;
10008
10009 eval "$ac_cv_use_treectrl"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_TREECTRL" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10017 else
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10020 fi
10021
10022
10023 enablestring=
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10026 no_cache=0
10027 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10028 if test "${enable_tipwindow+set}" = set; then
10029 enableval="$enable_tipwindow"
10030
10031 if test "$enableval" = yes; then
10032 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10033 else
10034 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10035 fi
10036
10037 else
10038
10039 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10042 else
10043 no_cache=1
10044 fi
10045
10046 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10047
10048 fi;
10049
10050 eval "$ac_cv_use_tipwindow"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_TIPWINDOW" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10058 else
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10061 fi
10062
10063
10064 enablestring=
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10067 no_cache=0
10068 # Check whether --enable-popupwin or --disable-popupwin was given.
10069 if test "${enable_popupwin+set}" = set; then
10070 enableval="$enable_popupwin"
10071
10072 if test "$enableval" = yes; then
10073 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10074 else
10075 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10076 fi
10077
10078 else
10079
10080 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10083 else
10084 no_cache=1
10085 fi
10086
10087 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10088
10089 fi;
10090
10091 eval "$ac_cv_use_popupwin"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_POPUPWIN" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10099 else
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10102 fi
10103
10104
10105
10106
10107 enablestring=
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10110 no_cache=0
10111 # Check whether --enable-commondlg or --disable-commondlg was given.
10112 if test "${enable_commondlg+set}" = set; then
10113 enableval="$enable_commondlg"
10114
10115 if test "$enableval" = yes; then
10116 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10117 else
10118 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10119 fi
10120
10121 else
10122
10123 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10126 else
10127 no_cache=1
10128 fi
10129
10130 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10131
10132 fi;
10133
10134 eval "$ac_cv_use_commondlg"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10137 fi
10138
10139 if test "$wxUSE_COMMONDLGS" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10142 else
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10145 fi
10146
10147
10148 enablestring=
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10151 no_cache=0
10152 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10153 if test "${enable_aboutdlg+set}" = set; then
10154 enableval="$enable_aboutdlg"
10155
10156 if test "$enableval" = yes; then
10157 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10158 else
10159 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10160 fi
10161
10162 else
10163
10164 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x ; then
10166 eval "DEFAULT_$LINE"
10167 else
10168 no_cache=1
10169 fi
10170
10171 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10172
10173 fi;
10174
10175 eval "$ac_cv_use_aboutdlg"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10178 fi
10179
10180 if test "$wxUSE_ABOUTDLG" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10183 else
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10186 fi
10187
10188
10189 enablestring=
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10192 no_cache=0
10193 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10194 if test "${enable_choicedlg+set}" = set; then
10195 enableval="$enable_choicedlg"
10196
10197 if test "$enableval" = yes; then
10198 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10199 else
10200 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10201 fi
10202
10203 else
10204
10205 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10208 else
10209 no_cache=1
10210 fi
10211
10212 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10213
10214 fi;
10215
10216 eval "$ac_cv_use_choicedlg"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10219 fi
10220
10221 if test "$wxUSE_CHOICEDLG" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10224 else
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10227 fi
10228
10229
10230 enablestring=
10231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10233 no_cache=0
10234 # Check whether --enable-coldlg or --disable-coldlg was given.
10235 if test "${enable_coldlg+set}" = set; then
10236 enableval="$enable_coldlg"
10237
10238 if test "$enableval" = yes; then
10239 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10240 else
10241 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10242 fi
10243
10244 else
10245
10246 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10247 if test "x$LINE" != x ; then
10248 eval "DEFAULT_$LINE"
10249 else
10250 no_cache=1
10251 fi
10252
10253 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10254
10255 fi;
10256
10257 eval "$ac_cv_use_coldlg"
10258 if test "$no_cache" != 1; then
10259 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10260 fi
10261
10262 if test "$wxUSE_COLOURDLG" = yes; then
10263 echo "$as_me:$LINENO: result: yes" >&5
10264 echo "${ECHO_T}yes" >&6
10265 else
10266 echo "$as_me:$LINENO: result: no" >&5
10267 echo "${ECHO_T}no" >&6
10268 fi
10269
10270
10271 enablestring=
10272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10274 no_cache=0
10275 # Check whether --enable-filedlg or --disable-filedlg was given.
10276 if test "${enable_filedlg+set}" = set; then
10277 enableval="$enable_filedlg"
10278
10279 if test "$enableval" = yes; then
10280 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10281 else
10282 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10283 fi
10284
10285 else
10286
10287 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10290 else
10291 no_cache=1
10292 fi
10293
10294 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10295
10296 fi;
10297
10298 eval "$ac_cv_use_filedlg"
10299 if test "$no_cache" != 1; then
10300 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10301 fi
10302
10303 if test "$wxUSE_FILEDLG" = yes; then
10304 echo "$as_me:$LINENO: result: yes" >&5
10305 echo "${ECHO_T}yes" >&6
10306 else
10307 echo "$as_me:$LINENO: result: no" >&5
10308 echo "${ECHO_T}no" >&6
10309 fi
10310
10311
10312 enablestring=
10313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10314 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10315 no_cache=0
10316 # Check whether --enable-finddlg or --disable-finddlg was given.
10317 if test "${enable_finddlg+set}" = set; then
10318 enableval="$enable_finddlg"
10319
10320 if test "$enableval" = yes; then
10321 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10322 else
10323 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10324 fi
10325
10326 else
10327
10328 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10329 if test "x$LINE" != x ; then
10330 eval "DEFAULT_$LINE"
10331 else
10332 no_cache=1
10333 fi
10334
10335 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10336
10337 fi;
10338
10339 eval "$ac_cv_use_finddlg"
10340 if test "$no_cache" != 1; then
10341 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10342 fi
10343
10344 if test "$wxUSE_FINDREPLDLG" = yes; then
10345 echo "$as_me:$LINENO: result: yes" >&5
10346 echo "${ECHO_T}yes" >&6
10347 else
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10350 fi
10351
10352
10353 enablestring=
10354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10356 no_cache=0
10357 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10358 if test "${enable_fontdlg+set}" = set; then
10359 enableval="$enable_fontdlg"
10360
10361 if test "$enableval" = yes; then
10362 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10363 else
10364 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10365 fi
10366
10367 else
10368
10369 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10370 if test "x$LINE" != x ; then
10371 eval "DEFAULT_$LINE"
10372 else
10373 no_cache=1
10374 fi
10375
10376 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10377
10378 fi;
10379
10380 eval "$ac_cv_use_fontdlg"
10381 if test "$no_cache" != 1; then
10382 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10383 fi
10384
10385 if test "$wxUSE_FONTDLG" = yes; then
10386 echo "$as_me:$LINENO: result: yes" >&5
10387 echo "${ECHO_T}yes" >&6
10388 else
10389 echo "$as_me:$LINENO: result: no" >&5
10390 echo "${ECHO_T}no" >&6
10391 fi
10392
10393
10394 enablestring=
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10397 no_cache=0
10398 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10399 if test "${enable_dirdlg+set}" = set; then
10400 enableval="$enable_dirdlg"
10401
10402 if test "$enableval" = yes; then
10403 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10404 else
10405 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10406 fi
10407
10408 else
10409
10410 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10413 else
10414 no_cache=1
10415 fi
10416
10417 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10418
10419 fi;
10420
10421 eval "$ac_cv_use_dirdlg"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10424 fi
10425
10426 if test "$wxUSE_DIRDLG" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434
10435 enablestring=
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10438 no_cache=0
10439 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10440 if test "${enable_msgdlg+set}" = set; then
10441 enableval="$enable_msgdlg"
10442
10443 if test "$enableval" = yes; then
10444 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10445 else
10446 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10447 fi
10448
10449 else
10450
10451 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x ; then
10453 eval "DEFAULT_$LINE"
10454 else
10455 no_cache=1
10456 fi
10457
10458 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10459
10460 fi;
10461
10462 eval "$ac_cv_use_msgdlg"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10465 fi
10466
10467 if test "$wxUSE_MSGDLG" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10470 else
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10473 fi
10474
10475
10476 enablestring=
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10479 no_cache=0
10480 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10481 if test "${enable_numberdlg+set}" = set; then
10482 enableval="$enable_numberdlg"
10483
10484 if test "$enableval" = yes; then
10485 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10486 else
10487 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10488 fi
10489
10490 else
10491
10492 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10495 else
10496 no_cache=1
10497 fi
10498
10499 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10500
10501 fi;
10502
10503 eval "$ac_cv_use_numberdlg"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10506 fi
10507
10508 if test "$wxUSE_NUMBERDLG" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10511 else
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10514 fi
10515
10516
10517 enablestring=
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10520 no_cache=0
10521 # Check whether --enable-splash or --disable-splash was given.
10522 if test "${enable_splash+set}" = set; then
10523 enableval="$enable_splash"
10524
10525 if test "$enableval" = yes; then
10526 ac_cv_use_splash='wxUSE_SPLASH=yes'
10527 else
10528 ac_cv_use_splash='wxUSE_SPLASH=no'
10529 fi
10530
10531 else
10532
10533 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x ; then
10535 eval "DEFAULT_$LINE"
10536 else
10537 no_cache=1
10538 fi
10539
10540 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10541
10542 fi;
10543
10544 eval "$ac_cv_use_splash"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10547 fi
10548
10549 if test "$wxUSE_SPLASH" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10552 else
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10555 fi
10556
10557
10558 enablestring=
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10561 no_cache=0
10562 # Check whether --enable-textdlg or --disable-textdlg was given.
10563 if test "${enable_textdlg+set}" = set; then
10564 enableval="$enable_textdlg"
10565
10566 if test "$enableval" = yes; then
10567 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10568 else
10569 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10570 fi
10571
10572 else
10573
10574 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x ; then
10576 eval "DEFAULT_$LINE"
10577 else
10578 no_cache=1
10579 fi
10580
10581 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10582
10583 fi;
10584
10585 eval "$ac_cv_use_textdlg"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10588 fi
10589
10590 if test "$wxUSE_TEXTDLG" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10593 else
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10596 fi
10597
10598
10599 enablestring=
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10602 no_cache=0
10603 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10604 if test "${enable_tipdlg+set}" = set; then
10605 enableval="$enable_tipdlg"
10606
10607 if test "$enableval" = yes; then
10608 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10609 else
10610 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10611 fi
10612
10613 else
10614
10615 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x ; then
10617 eval "DEFAULT_$LINE"
10618 else
10619 no_cache=1
10620 fi
10621
10622 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10623
10624 fi;
10625
10626 eval "$ac_cv_use_tipdlg"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10629 fi
10630
10631 if test "$wxUSE_STARTUP_TIPS" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10634 else
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10637 fi
10638
10639
10640 enablestring=
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10643 no_cache=0
10644 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10645 if test "${enable_progressdlg+set}" = set; then
10646 enableval="$enable_progressdlg"
10647
10648 if test "$enableval" = yes; then
10649 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10650 else
10651 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10652 fi
10653
10654 else
10655
10656 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x ; then
10658 eval "DEFAULT_$LINE"
10659 else
10660 no_cache=1
10661 fi
10662
10663 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10664
10665 fi;
10666
10667 eval "$ac_cv_use_progressdlg"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10670 fi
10671
10672 if test "$wxUSE_PROGRESSDLG" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10675 else
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10678 fi
10679
10680
10681 enablestring=
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10684 no_cache=0
10685 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10686 if test "${enable_wizarddlg+set}" = set; then
10687 enableval="$enable_wizarddlg"
10688
10689 if test "$enableval" = yes; then
10690 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10691 else
10692 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10693 fi
10694
10695 else
10696
10697 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x ; then
10699 eval "DEFAULT_$LINE"
10700 else
10701 no_cache=1
10702 fi
10703
10704 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10705
10706 fi;
10707
10708 eval "$ac_cv_use_wizarddlg"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10711 fi
10712
10713 if test "$wxUSE_WIZARDDLG" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10716 else
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10719 fi
10720
10721
10722
10723
10724 enablestring=
10725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10727 no_cache=0
10728 # Check whether --enable-menus or --disable-menus was given.
10729 if test "${enable_menus+set}" = set; then
10730 enableval="$enable_menus"
10731
10732 if test "$enableval" = yes; then
10733 ac_cv_use_menus='wxUSE_MENUS=yes'
10734 else
10735 ac_cv_use_menus='wxUSE_MENUS=no'
10736 fi
10737
10738 else
10739
10740 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x ; then
10742 eval "DEFAULT_$LINE"
10743 else
10744 no_cache=1
10745 fi
10746
10747 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10748
10749 fi;
10750
10751 eval "$ac_cv_use_menus"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_MENUS" = yes; then
10757 echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6
10759 else
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10762 fi
10763
10764
10765 enablestring=
10766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10768 no_cache=0
10769 # Check whether --enable-miniframe or --disable-miniframe was given.
10770 if test "${enable_miniframe+set}" = set; then
10771 enableval="$enable_miniframe"
10772
10773 if test "$enableval" = yes; then
10774 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10775 else
10776 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10777 fi
10778
10779 else
10780
10781 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10782 if test "x$LINE" != x ; then
10783 eval "DEFAULT_$LINE"
10784 else
10785 no_cache=1
10786 fi
10787
10788 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10789
10790 fi;
10791
10792 eval "$ac_cv_use_miniframe"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10795 fi
10796
10797 if test "$wxUSE_MINIFRAME" = yes; then
10798 echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6
10800 else
10801 echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6
10803 fi
10804
10805
10806 enablestring=
10807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10809 no_cache=0
10810 # Check whether --enable-tooltips or --disable-tooltips was given.
10811 if test "${enable_tooltips+set}" = set; then
10812 enableval="$enable_tooltips"
10813
10814 if test "$enableval" = yes; then
10815 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10816 else
10817 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10818 fi
10819
10820 else
10821
10822 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10823 if test "x$LINE" != x ; then
10824 eval "DEFAULT_$LINE"
10825 else
10826 no_cache=1
10827 fi
10828
10829 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10830
10831 fi;
10832
10833 eval "$ac_cv_use_tooltips"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10836 fi
10837
10838 if test "$wxUSE_TOOLTIPS" = yes; then
10839 echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6
10841 else
10842 echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6
10844 fi
10845
10846
10847 enablestring=
10848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10850 no_cache=0
10851 # Check whether --enable-splines or --disable-splines was given.
10852 if test "${enable_splines+set}" = set; then
10853 enableval="$enable_splines"
10854
10855 if test "$enableval" = yes; then
10856 ac_cv_use_splines='wxUSE_SPLINES=yes'
10857 else
10858 ac_cv_use_splines='wxUSE_SPLINES=no'
10859 fi
10860
10861 else
10862
10863 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10866 else
10867 no_cache=1
10868 fi
10869
10870 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10871
10872 fi;
10873
10874 eval "$ac_cv_use_splines"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10877 fi
10878
10879 if test "$wxUSE_SPLINES" = yes; then
10880 echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6
10882 else
10883 echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6
10885 fi
10886
10887
10888 enablestring=
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10891 no_cache=0
10892 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10893 if test "${enable_mousewheel+set}" = set; then
10894 enableval="$enable_mousewheel"
10895
10896 if test "$enableval" = yes; then
10897 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10898 else
10899 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10900 fi
10901
10902 else
10903
10904 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x ; then
10906 eval "DEFAULT_$LINE"
10907 else
10908 no_cache=1
10909 fi
10910
10911 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10912
10913 fi;
10914
10915 eval "$ac_cv_use_mousewheel"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_MOUSEWHEEL" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10923 else
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10926 fi
10927
10928
10929 enablestring=
10930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10932 no_cache=0
10933 # Check whether --enable-validators or --disable-validators was given.
10934 if test "${enable_validators+set}" = set; then
10935 enableval="$enable_validators"
10936
10937 if test "$enableval" = yes; then
10938 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10939 else
10940 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10941 fi
10942
10943 else
10944
10945 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10946 if test "x$LINE" != x ; then
10947 eval "DEFAULT_$LINE"
10948 else
10949 no_cache=1
10950 fi
10951
10952 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10953
10954 fi;
10955
10956 eval "$ac_cv_use_validators"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10959 fi
10960
10961 if test "$wxUSE_VALIDATORS" = yes; then
10962 echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6
10964 else
10965 echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6
10967 fi
10968
10969
10970 enablestring=
10971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10973 no_cache=0
10974 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10975 if test "${enable_busyinfo+set}" = set; then
10976 enableval="$enable_busyinfo"
10977
10978 if test "$enableval" = yes; then
10979 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10980 else
10981 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10982 fi
10983
10984 else
10985
10986 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10987 if test "x$LINE" != x ; then
10988 eval "DEFAULT_$LINE"
10989 else
10990 no_cache=1
10991 fi
10992
10993 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10994
10995 fi;
10996
10997 eval "$ac_cv_use_busyinfo"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11000 fi
11001
11002 if test "$wxUSE_BUSYINFO" = yes; then
11003 echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6
11005 else
11006 echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6
11008 fi
11009
11010
11011 enablestring=
11012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11014 no_cache=0
11015 # Check whether --enable-joystick or --disable-joystick was given.
11016 if test "${enable_joystick+set}" = set; then
11017 enableval="$enable_joystick"
11018
11019 if test "$enableval" = yes; then
11020 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11021 else
11022 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11023 fi
11024
11025 else
11026
11027 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11028 if test "x$LINE" != x ; then
11029 eval "DEFAULT_$LINE"
11030 else
11031 no_cache=1
11032 fi
11033
11034 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11035
11036 fi;
11037
11038 eval "$ac_cv_use_joystick"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11041 fi
11042
11043 if test "$wxUSE_JOYSTICK" = yes; then
11044 echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6
11046 else
11047 echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6
11049 fi
11050
11051
11052 enablestring=
11053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11055 no_cache=0
11056 # Check whether --enable-metafile or --disable-metafile was given.
11057 if test "${enable_metafile+set}" = set; then
11058 enableval="$enable_metafile"
11059
11060 if test "$enableval" = yes; then
11061 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11062 else
11063 ac_cv_use_metafile='wxUSE_METAFILE=no'
11064 fi
11065
11066 else
11067
11068 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11069 if test "x$LINE" != x ; then
11070 eval "DEFAULT_$LINE"
11071 else
11072 no_cache=1
11073 fi
11074
11075 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11076
11077 fi;
11078
11079 eval "$ac_cv_use_metafile"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test "$wxUSE_METAFILE" = yes; then
11085 echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6
11087 else
11088 echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6
11090 fi
11091
11092
11093 enablestring=
11094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11096 no_cache=0
11097 # Check whether --enable-dragimage or --disable-dragimage was given.
11098 if test "${enable_dragimage+set}" = set; then
11099 enableval="$enable_dragimage"
11100
11101 if test "$enableval" = yes; then
11102 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11103 else
11104 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11105 fi
11106
11107 else
11108
11109 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11110 if test "x$LINE" != x ; then
11111 eval "DEFAULT_$LINE"
11112 else
11113 no_cache=1
11114 fi
11115
11116 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11117
11118 fi;
11119
11120 eval "$ac_cv_use_dragimage"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11123 fi
11124
11125 if test "$wxUSE_DRAGIMAGE" = yes; then
11126 echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6
11128 else
11129 echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6
11131 fi
11132
11133
11134 enablestring=
11135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11137 no_cache=0
11138 # Check whether --enable-accessibility or --disable-accessibility was given.
11139 if test "${enable_accessibility+set}" = set; then
11140 enableval="$enable_accessibility"
11141
11142 if test "$enableval" = yes; then
11143 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11144 else
11145 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11146 fi
11147
11148 else
11149
11150 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11151 if test "x$LINE" != x ; then
11152 eval "DEFAULT_$LINE"
11153 else
11154 no_cache=1
11155 fi
11156
11157 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11158
11159 fi;
11160
11161 eval "$ac_cv_use_accessibility"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11164 fi
11165
11166 if test "$wxUSE_ACCESSIBILITY" = yes; then
11167 echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6
11169 else
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11172 fi
11173
11174
11175 if test "$wxUSE_MSW" = "1"; then
11176
11177 enablestring=
11178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11180 no_cache=0
11181 # Check whether --enable-dccache or --disable-dccache was given.
11182 if test "${enable_dccache+set}" = set; then
11183 enableval="$enable_dccache"
11184
11185 if test "$enableval" = yes; then
11186 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11187 else
11188 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11189 fi
11190
11191 else
11192
11193 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11196 else
11197 no_cache=1
11198 fi
11199
11200 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11201
11202 fi;
11203
11204 eval "$ac_cv_use_dccache"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_DC_CACHEING" = yes; then
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11212 else
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11215 fi
11216
11217 fi
11218
11219
11220
11221 enablestring=
11222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11224 no_cache=0
11225 # Check whether --enable-palette or --disable-palette was given.
11226 if test "${enable_palette+set}" = set; then
11227 enableval="$enable_palette"
11228
11229 if test "$enableval" = yes; then
11230 ac_cv_use_palette='wxUSE_PALETTE=yes'
11231 else
11232 ac_cv_use_palette='wxUSE_PALETTE=no'
11233 fi
11234
11235 else
11236
11237 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11238 if test "x$LINE" != x ; then
11239 eval "DEFAULT_$LINE"
11240 else
11241 no_cache=1
11242 fi
11243
11244 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11245
11246 fi;
11247
11248 eval "$ac_cv_use_palette"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_PALETTE" = yes; then
11254 echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6
11256 else
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11259 fi
11260
11261
11262 enablestring=
11263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11265 no_cache=0
11266 # Check whether --enable-image or --disable-image was given.
11267 if test "${enable_image+set}" = set; then
11268 enableval="$enable_image"
11269
11270 if test "$enableval" = yes; then
11271 ac_cv_use_image='wxUSE_IMAGE=yes'
11272 else
11273 ac_cv_use_image='wxUSE_IMAGE=no'
11274 fi
11275
11276 else
11277
11278 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11279 if test "x$LINE" != x ; then
11280 eval "DEFAULT_$LINE"
11281 else
11282 no_cache=1
11283 fi
11284
11285 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11286
11287 fi;
11288
11289 eval "$ac_cv_use_image"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11292 fi
11293
11294 if test "$wxUSE_IMAGE" = yes; then
11295 echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6
11297 else
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11300 fi
11301
11302
11303 enablestring=
11304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11306 no_cache=0
11307 # Check whether --enable-gif or --disable-gif was given.
11308 if test "${enable_gif+set}" = set; then
11309 enableval="$enable_gif"
11310
11311 if test "$enableval" = yes; then
11312 ac_cv_use_gif='wxUSE_GIF=yes'
11313 else
11314 ac_cv_use_gif='wxUSE_GIF=no'
11315 fi
11316
11317 else
11318
11319 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11320 if test "x$LINE" != x ; then
11321 eval "DEFAULT_$LINE"
11322 else
11323 no_cache=1
11324 fi
11325
11326 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11327
11328 fi;
11329
11330 eval "$ac_cv_use_gif"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11333 fi
11334
11335 if test "$wxUSE_GIF" = yes; then
11336 echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6
11338 else
11339 echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6
11341 fi
11342
11343
11344 enablestring=
11345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11347 no_cache=0
11348 # Check whether --enable-pcx or --disable-pcx was given.
11349 if test "${enable_pcx+set}" = set; then
11350 enableval="$enable_pcx"
11351
11352 if test "$enableval" = yes; then
11353 ac_cv_use_pcx='wxUSE_PCX=yes'
11354 else
11355 ac_cv_use_pcx='wxUSE_PCX=no'
11356 fi
11357
11358 else
11359
11360 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11361 if test "x$LINE" != x ; then
11362 eval "DEFAULT_$LINE"
11363 else
11364 no_cache=1
11365 fi
11366
11367 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11368
11369 fi;
11370
11371 eval "$ac_cv_use_pcx"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11374 fi
11375
11376 if test "$wxUSE_PCX" = yes; then
11377 echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6
11379 else
11380 echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6
11382 fi
11383
11384
11385 enablestring=
11386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11388 no_cache=0
11389 # Check whether --enable-iff or --disable-iff was given.
11390 if test "${enable_iff+set}" = set; then
11391 enableval="$enable_iff"
11392
11393 if test "$enableval" = yes; then
11394 ac_cv_use_iff='wxUSE_IFF=yes'
11395 else
11396 ac_cv_use_iff='wxUSE_IFF=no'
11397 fi
11398
11399 else
11400
11401 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11402 if test "x$LINE" != x ; then
11403 eval "DEFAULT_$LINE"
11404 else
11405 no_cache=1
11406 fi
11407
11408 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11409
11410 fi;
11411
11412 eval "$ac_cv_use_iff"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test "$wxUSE_IFF" = yes; then
11418 echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6
11420 else
11421 echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6
11423 fi
11424
11425
11426 enablestring=
11427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11429 no_cache=0
11430 # Check whether --enable-pnm or --disable-pnm was given.
11431 if test "${enable_pnm+set}" = set; then
11432 enableval="$enable_pnm"
11433
11434 if test "$enableval" = yes; then
11435 ac_cv_use_pnm='wxUSE_PNM=yes'
11436 else
11437 ac_cv_use_pnm='wxUSE_PNM=no'
11438 fi
11439
11440 else
11441
11442 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x ; then
11444 eval "DEFAULT_$LINE"
11445 else
11446 no_cache=1
11447 fi
11448
11449 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11450
11451 fi;
11452
11453 eval "$ac_cv_use_pnm"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11456 fi
11457
11458 if test "$wxUSE_PNM" = yes; then
11459 echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6
11461 else
11462 echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6
11464 fi
11465
11466
11467 enablestring=
11468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11470 no_cache=0
11471 # Check whether --enable-xpm or --disable-xpm was given.
11472 if test "${enable_xpm+set}" = set; then
11473 enableval="$enable_xpm"
11474
11475 if test "$enableval" = yes; then
11476 ac_cv_use_xpm='wxUSE_XPM=yes'
11477 else
11478 ac_cv_use_xpm='wxUSE_XPM=no'
11479 fi
11480
11481 else
11482
11483 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11484 if test "x$LINE" != x ; then
11485 eval "DEFAULT_$LINE"
11486 else
11487 no_cache=1
11488 fi
11489
11490 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11491
11492 fi;
11493
11494 eval "$ac_cv_use_xpm"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11497 fi
11498
11499 if test "$wxUSE_XPM" = yes; then
11500 echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6
11502 else
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11505 fi
11506
11507
11508 enablestring=
11509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11511 no_cache=0
11512 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11513 if test "${enable_ico_cur+set}" = set; then
11514 enableval="$enable_ico_cur"
11515
11516 if test "$enableval" = yes; then
11517 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11518 else
11519 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11520 fi
11521
11522 else
11523
11524 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11525 if test "x$LINE" != x ; then
11526 eval "DEFAULT_$LINE"
11527 else
11528 no_cache=1
11529 fi
11530
11531 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11532
11533 fi;
11534
11535 eval "$ac_cv_use_ico_cur"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test "$wxUSE_ICO_CUR" = yes; then
11541 echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6
11543 else
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11546 fi
11547
11548
11549 fi
11550
11551
11552
11553 # Check whether --with-flavour or --without-flavour was given.
11554 if test "${with_flavour+set}" = set; then
11555 withval="$with_flavour"
11556 WX_FLAVOUR="$withval"
11557 fi;
11558
11559
11560
11561 enablestring=
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11564 no_cache=0
11565 # Check whether --enable-official_build or --disable-official_build was given.
11566 if test "${enable_official_build+set}" = set; then
11567 enableval="$enable_official_build"
11568
11569 if test "$enableval" = yes; then
11570 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11571 else
11572 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11573 fi
11574
11575 else
11576
11577 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11580 else
11581 no_cache=1
11582 fi
11583
11584 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11585
11586 fi;
11587
11588 eval "$ac_cv_use_official_build"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11591 fi
11592
11593 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11596 else
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11599 fi
11600
11601 # Check whether --enable-vendor or --disable-vendor was given.
11602 if test "${enable_vendor+set}" = set; then
11603 enableval="$enable_vendor"
11604 VENDOR="$enableval"
11605 fi;
11606 if test "x$VENDOR" = "x"; then
11607 VENDOR="custom"
11608 fi
11609
11610
11611
11612
11613 echo "saving argument cache $wx_arg_cache_file"
11614 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11615
11616
11617
11618 echo "$as_me:$LINENO: checking for toolkit" >&5
11619 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11620
11621 # In Wine, we need to default to MSW, not GTK or MOTIF
11622 if test "$wxUSE_WINE" = "yes"; then
11623 DEFAULT_DEFAULT_wxUSE_GTK=0
11624 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11625 DEFAULT_DEFAULT_wxUSE_MSW=1
11626 wxUSE_SHARED=no
11627 fi
11628
11629
11630 if test "$wxUSE_GUI" = "yes"; then
11631
11632 if test "$USE_BEOS" = 1; then
11633 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11634 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11635 { (exit 1); exit 1; }; }
11636 fi
11637
11638 if test "$TOOLKIT_GIVEN" = 1; then
11639 for toolkit in `echo $ALL_TOOLKITS`; do
11640 var=wxUSE_$toolkit
11641 eval "value=\$${var}"
11642 if test "x$value" = "xno"; then
11643 eval "$var=0"
11644 elif test "x$value" != "x"; then
11645 eval "$var=1"
11646 fi
11647
11648 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11649 eval "wx${toolkit}_VERSION=$value"
11650 fi
11651 done
11652 else
11653 for toolkit in `echo $ALL_TOOLKITS`; do
11654 if test "$has_toolkit_in_cache" != 1; then
11655 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11656 else
11657 var=DEFAULT_wxUSE_$toolkit
11658
11659 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11660 if test "x$version" != "x"; then
11661 eval "wx${toolkit}_VERSION=$version"
11662 fi
11663 fi
11664 eval "wxUSE_$toolkit=\$${var}"
11665 done
11666 fi
11667
11668 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11669 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11670 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11671
11672 case "${host}" in
11673 *-pc-os2_emx | *-pc-os2-emx )
11674 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11675 esac
11676
11677 case "$NUM_TOOLKITS" in
11678 1)
11679 ;;
11680 0)
11681 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11682 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11683 { (exit 1); exit 1; }; }
11684 ;;
11685 *)
11686 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11687 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11688 { (exit 1); exit 1; }; }
11689 esac
11690
11691 # to be removed when --disable-gtk2 isn't needed
11692 if test "x$wxUSE_GTK2" = "xyes"; then
11693 wxGTK_VERSION=2
11694 elif test "x$wxUSE_GTK2" = "xno"; then
11695 wxGTK_VERSION=1
11696 fi
11697
11698 for toolkit in `echo $ALL_TOOLKITS`; do
11699 var=wxUSE_$toolkit
11700 eval "value=\$${var}"
11701 if test "x$value" != x; then
11702 cache_var=CACHE_$toolkit
11703 eval "cache=\$${cache_var}"
11704 if test "$cache" = 1; then
11705 echo "$var=$value" >> ${wx_arg_cache_file}
11706 eval "version=\$wx${toolkit}_VERSION"
11707 if test "x$version" != "x"; then
11708 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11709 fi
11710 fi
11711 if test "$value" = 1; then
11712 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11713 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11714 echo "${ECHO_T}$toolkit_echo" >&6
11715 fi
11716 fi
11717 done
11718 else
11719 if test "x$host_alias" != "x"; then
11720 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11721 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11722 else
11723 echo "$as_me:$LINENO: result: base only" >&5
11724 echo "${ECHO_T}base only" >&6
11725 fi
11726 fi
11727
11728 wants_win32=0
11729 doesnt_want_win32=0
11730 case "${host}" in
11731 *-*-cygwin*)
11732 if test "$wxUSE_MSW" = 1 ; then
11733 wants_win32=1
11734 BAKEFILE_FORCE_PLATFORM=win32
11735 else
11736 doesnt_want_win32=1
11737 fi
11738 ;;
11739 *-*-mingw*)
11740 wants_win32=1
11741 ;;
11742 esac
11743
11744 if test "$wxUSE_WINE" = "yes"; then
11745 wants_win32=1
11746 CC=winegcc
11747 CXX=wineg++
11748 LDFLAGS_GUI="-mwindows"
11749 fi
11750
11751 if test "$wants_win32" = 1 ; then
11752 USE_UNIX=0
11753 USE_WIN32=1
11754 cat >>confdefs.h <<\_ACEOF
11755 #define __WIN32__ 1
11756 _ACEOF
11757
11758 cat >>confdefs.h <<\_ACEOF
11759 #define __WIN95__ 1
11760 _ACEOF
11761
11762 cat >>confdefs.h <<\_ACEOF
11763 #define __WINDOWS__ 1
11764 _ACEOF
11765
11766 cat >>confdefs.h <<\_ACEOF
11767 #define __GNUWIN32__ 1
11768 _ACEOF
11769
11770 cat >>confdefs.h <<\_ACEOF
11771 #define STRICT 1
11772 _ACEOF
11773
11774 cat >>confdefs.h <<\_ACEOF
11775 #define WINVER 0x0400
11776 _ACEOF
11777
11778 fi
11779 if test "$doesnt_want_win32" = 1 ; then
11780 USE_UNIX=1
11781 USE_WIN32=0
11782 fi
11783
11784 if test "$USE_UNIX" = 1 ; then
11785 wxUSE_UNIX=yes
11786 cat >>confdefs.h <<\_ACEOF
11787 #define __UNIX__ 1
11788 _ACEOF
11789
11790 fi
11791
11792
11793 cat >confcache <<\_ACEOF
11794 # This file is a shell script that caches the results of configure
11795 # tests run on this system so they can be shared between configure
11796 # scripts and configure runs, see configure's option --config-cache.
11797 # It is not useful on other systems. If it contains results you don't
11798 # want to keep, you may remove or edit it.
11799 #
11800 # config.status only pays attention to the cache file if you give it
11801 # the --recheck option to rerun configure.
11802 #
11803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11805 # following values.
11806
11807 _ACEOF
11808
11809 # The following way of writing the cache mishandles newlines in values,
11810 # but we know of no workaround that is simple, portable, and efficient.
11811 # So, don't put newlines in cache variables' values.
11812 # Ultrix sh set writes to stderr and can't be redirected directly,
11813 # and sets the high bit in the cache file unless we assign to the vars.
11814 {
11815 (set) 2>&1 |
11816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11817 *ac_space=\ *)
11818 # `set' does not quote correctly, so add quotes (double-quote
11819 # substitution turns \\\\ into \\, and sed turns \\ into \).
11820 sed -n \
11821 "s/'/'\\\\''/g;
11822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11823 ;;
11824 *)
11825 # `set' quotes correctly as required by POSIX, so do not add quotes.
11826 sed -n \
11827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11828 ;;
11829 esac;
11830 } |
11831 sed '
11832 t clear
11833 : clear
11834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11835 t end
11836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11837 : end' >>confcache
11838 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11839 if test -w $cache_file; then
11840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11841 cat confcache >$cache_file
11842 else
11843 echo "not updating unwritable cache $cache_file"
11844 fi
11845 fi
11846 rm -f confcache
11847
11848 CFLAGS=${CFLAGS:=}
11849
11850
11851
11852 ac_ext=c
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857 if test -n "$ac_tool_prefix"; then
11858 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11859 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11860 echo "$as_me:$LINENO: checking for $ac_word" >&5
11861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11862 if test "${ac_cv_prog_CC+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 else
11865 if test -n "$CC"; then
11866 ac_cv_prog_CC="$CC" # Let the user override the test.
11867 else
11868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11869 for as_dir in $PATH
11870 do
11871 IFS=$as_save_IFS
11872 test -z "$as_dir" && as_dir=.
11873 for ac_exec_ext in '' $ac_executable_extensions; do
11874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11875 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11877 break 2
11878 fi
11879 done
11880 done
11881
11882 fi
11883 fi
11884 CC=$ac_cv_prog_CC
11885 if test -n "$CC"; then
11886 echo "$as_me:$LINENO: result: $CC" >&5
11887 echo "${ECHO_T}$CC" >&6
11888 else
11889 echo "$as_me:$LINENO: result: no" >&5
11890 echo "${ECHO_T}no" >&6
11891 fi
11892
11893 fi
11894 if test -z "$ac_cv_prog_CC"; then
11895 ac_ct_CC=$CC
11896 # Extract the first word of "gcc", so it can be a program name with args.
11897 set dummy gcc; ac_word=$2
11898 echo "$as_me:$LINENO: checking for $ac_word" >&5
11899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 else
11903 if test -n "$ac_ct_CC"; then
11904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11905 else
11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11907 for as_dir in $PATH
11908 do
11909 IFS=$as_save_IFS
11910 test -z "$as_dir" && as_dir=.
11911 for ac_exec_ext in '' $ac_executable_extensions; do
11912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_prog_ac_ct_CC="gcc"
11914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 break 2
11916 fi
11917 done
11918 done
11919
11920 fi
11921 fi
11922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11923 if test -n "$ac_ct_CC"; then
11924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11925 echo "${ECHO_T}$ac_ct_CC" >&6
11926 else
11927 echo "$as_me:$LINENO: result: no" >&5
11928 echo "${ECHO_T}no" >&6
11929 fi
11930
11931 CC=$ac_ct_CC
11932 else
11933 CC="$ac_cv_prog_CC"
11934 fi
11935
11936 if test -z "$CC"; then
11937 if test -n "$ac_tool_prefix"; then
11938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11939 set dummy ${ac_tool_prefix}cc; ac_word=$2
11940 echo "$as_me:$LINENO: checking for $ac_word" >&5
11941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11942 if test "${ac_cv_prog_CC+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 if test -n "$CC"; then
11946 ac_cv_prog_CC="$CC" # Let the user override the test.
11947 else
11948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11949 for as_dir in $PATH
11950 do
11951 IFS=$as_save_IFS
11952 test -z "$as_dir" && as_dir=.
11953 for ac_exec_ext in '' $ac_executable_extensions; do
11954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11955 ac_cv_prog_CC="${ac_tool_prefix}cc"
11956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11957 break 2
11958 fi
11959 done
11960 done
11961
11962 fi
11963 fi
11964 CC=$ac_cv_prog_CC
11965 if test -n "$CC"; then
11966 echo "$as_me:$LINENO: result: $CC" >&5
11967 echo "${ECHO_T}$CC" >&6
11968 else
11969 echo "$as_me:$LINENO: result: no" >&5
11970 echo "${ECHO_T}no" >&6
11971 fi
11972
11973 fi
11974 if test -z "$ac_cv_prog_CC"; then
11975 ac_ct_CC=$CC
11976 # Extract the first word of "cc", so it can be a program name with args.
11977 set dummy cc; ac_word=$2
11978 echo "$as_me:$LINENO: checking for $ac_word" >&5
11979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 else
11983 if test -n "$ac_ct_CC"; then
11984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11985 else
11986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11987 for as_dir in $PATH
11988 do
11989 IFS=$as_save_IFS
11990 test -z "$as_dir" && as_dir=.
11991 for ac_exec_ext in '' $ac_executable_extensions; do
11992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11993 ac_cv_prog_ac_ct_CC="cc"
11994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11995 break 2
11996 fi
11997 done
11998 done
11999
12000 fi
12001 fi
12002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12003 if test -n "$ac_ct_CC"; then
12004 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12005 echo "${ECHO_T}$ac_ct_CC" >&6
12006 else
12007 echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6
12009 fi
12010
12011 CC=$ac_ct_CC
12012 else
12013 CC="$ac_cv_prog_CC"
12014 fi
12015
12016 fi
12017 if test -z "$CC"; then
12018 # Extract the first word of "cc", so it can be a program name with args.
12019 set dummy cc; ac_word=$2
12020 echo "$as_me:$LINENO: checking for $ac_word" >&5
12021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12022 if test "${ac_cv_prog_CC+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 else
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC="$CC" # Let the user override the test.
12027 else
12028 ac_prog_rejected=no
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12031 do
12032 IFS=$as_save_IFS
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12037 ac_prog_rejected=yes
12038 continue
12039 fi
12040 ac_cv_prog_CC="cc"
12041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12042 break 2
12043 fi
12044 done
12045 done
12046
12047 if test $ac_prog_rejected = yes; then
12048 # We found a bogon in the path, so make sure we never use it.
12049 set dummy $ac_cv_prog_CC
12050 shift
12051 if test $# != 0; then
12052 # We chose a different compiler from the bogus one.
12053 # However, it has the same basename, so the bogon will be chosen
12054 # first if we set CC to just the basename; use the full file name.
12055 shift
12056 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12057 fi
12058 fi
12059 fi
12060 fi
12061 CC=$ac_cv_prog_CC
12062 if test -n "$CC"; then
12063 echo "$as_me:$LINENO: result: $CC" >&5
12064 echo "${ECHO_T}$CC" >&6
12065 else
12066 echo "$as_me:$LINENO: result: no" >&5
12067 echo "${ECHO_T}no" >&6
12068 fi
12069
12070 fi
12071 if test -z "$CC"; then
12072 if test -n "$ac_tool_prefix"; then
12073 for ac_prog in cl
12074 do
12075 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12076 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12077 echo "$as_me:$LINENO: checking for $ac_word" >&5
12078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12079 if test "${ac_cv_prog_CC+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 else
12082 if test -n "$CC"; then
12083 ac_cv_prog_CC="$CC" # Let the user override the test.
12084 else
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12087 do
12088 IFS=$as_save_IFS
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12094 break 2
12095 fi
12096 done
12097 done
12098
12099 fi
12100 fi
12101 CC=$ac_cv_prog_CC
12102 if test -n "$CC"; then
12103 echo "$as_me:$LINENO: result: $CC" >&5
12104 echo "${ECHO_T}$CC" >&6
12105 else
12106 echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6
12108 fi
12109
12110 test -n "$CC" && break
12111 done
12112 fi
12113 if test -z "$CC"; then
12114 ac_ct_CC=$CC
12115 for ac_prog in cl
12116 do
12117 # Extract the first word of "$ac_prog", so it can be a program name with args.
12118 set dummy $ac_prog; ac_word=$2
12119 echo "$as_me:$LINENO: checking for $ac_word" >&5
12120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 else
12124 if test -n "$ac_ct_CC"; then
12125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12126 else
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12129 do
12130 IFS=$as_save_IFS
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_prog_ac_ct_CC="$ac_prog"
12135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12136 break 2
12137 fi
12138 done
12139 done
12140
12141 fi
12142 fi
12143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12144 if test -n "$ac_ct_CC"; then
12145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12146 echo "${ECHO_T}$ac_ct_CC" >&6
12147 else
12148 echo "$as_me:$LINENO: result: no" >&5
12149 echo "${ECHO_T}no" >&6
12150 fi
12151
12152 test -n "$ac_ct_CC" && break
12153 done
12154
12155 CC=$ac_ct_CC
12156 fi
12157
12158 fi
12159
12160
12161 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12162 See \`config.log' for more details." >&5
12163 echo "$as_me: error: no acceptable C compiler found in \$PATH
12164 See \`config.log' for more details." >&2;}
12165 { (exit 1); exit 1; }; }
12166
12167 # Provide some information about the compiler.
12168 echo "$as_me:$LINENO:" \
12169 "checking for C compiler version" >&5
12170 ac_compiler=`set X $ac_compile; echo $2`
12171 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12172 (eval $ac_compiler --version </dev/null >&5) 2>&5
12173 ac_status=$?
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }
12176 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12177 (eval $ac_compiler -v </dev/null >&5) 2>&5
12178 ac_status=$?
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }
12181 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12182 (eval $ac_compiler -V </dev/null >&5) 2>&5
12183 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }
12186
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 ac_clean_files_save=$ac_clean_files
12203 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12204 # Try to create an executable without -o first, disregard a.out.
12205 # It will help us diagnose broken compilers, and finding out an intuition
12206 # of exeext.
12207 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12208 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12209 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12210 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12211 (eval $ac_link_default) 2>&5
12212 ac_status=$?
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; then
12215 # Find the output, starting from the most likely. This scheme is
12216 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12217 # resort.
12218
12219 # Be careful to initialize this variable, since it used to be cached.
12220 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12221 ac_cv_exeext=
12222 # b.out is created by i960 compilers.
12223 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12224 do
12225 test -f "$ac_file" || continue
12226 case $ac_file in
12227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12228 ;;
12229 conftest.$ac_ext )
12230 # This is the source file.
12231 ;;
12232 [ab].out )
12233 # We found the default executable, but exeext='' is most
12234 # certainly right.
12235 break;;
12236 *.* )
12237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12238 # FIXME: I believe we export ac_cv_exeext for Libtool,
12239 # but it would be cool to find out if it's true. Does anybody
12240 # maintain Libtool? --akim.
12241 export ac_cv_exeext
12242 break;;
12243 * )
12244 break;;
12245 esac
12246 done
12247 else
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12250
12251 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12252 See \`config.log' for more details." >&5
12253 echo "$as_me: error: C compiler cannot create executables
12254 See \`config.log' for more details." >&2;}
12255 { (exit 77); exit 77; }; }
12256 fi
12257
12258 ac_exeext=$ac_cv_exeext
12259 echo "$as_me:$LINENO: result: $ac_file" >&5
12260 echo "${ECHO_T}$ac_file" >&6
12261
12262 # Check the compiler produces executables we can run. If not, either
12263 # the compiler is broken, or we cross compile.
12264 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12265 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12267 # If not cross compiling, check that we can run a simple program.
12268 if test "$cross_compiling" != yes; then
12269 if { ac_try='./$ac_file'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 cross_compiling=no
12276 else
12277 if test "$cross_compiling" = maybe; then
12278 cross_compiling=yes
12279 else
12280 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12281 If you meant to cross compile, use \`--host'.
12282 See \`config.log' for more details." >&5
12283 echo "$as_me: error: cannot run C compiled programs.
12284 If you meant to cross compile, use \`--host'.
12285 See \`config.log' for more details." >&2;}
12286 { (exit 1); exit 1; }; }
12287 fi
12288 fi
12289 fi
12290 echo "$as_me:$LINENO: result: yes" >&5
12291 echo "${ECHO_T}yes" >&6
12292
12293 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12294 ac_clean_files=$ac_clean_files_save
12295 # Check the compiler produces executables we can run. If not, either
12296 # the compiler is broken, or we cross compile.
12297 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12298 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12299 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12300 echo "${ECHO_T}$cross_compiling" >&6
12301
12302 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12303 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>&5
12306 ac_status=$?
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; then
12309 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12310 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12311 # work properly (i.e., refer to `conftest.exe'), while it won't with
12312 # `rm'.
12313 for ac_file in conftest.exe conftest conftest.*; do
12314 test -f "$ac_file" || continue
12315 case $ac_file in
12316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12317 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12318 export ac_cv_exeext
12319 break;;
12320 * ) break;;
12321 esac
12322 done
12323 else
12324 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12325 See \`config.log' for more details." >&5
12326 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12327 See \`config.log' for more details." >&2;}
12328 { (exit 1); exit 1; }; }
12329 fi
12330
12331 rm -f conftest$ac_cv_exeext
12332 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12333 echo "${ECHO_T}$ac_cv_exeext" >&6
12334
12335 rm -f conftest.$ac_ext
12336 EXEEXT=$ac_cv_exeext
12337 ac_exeext=$EXEEXT
12338 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12339 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12340 if test "${ac_cv_objext+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 else
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349
12350 int
12351 main ()
12352 {
12353
12354 ;
12355 return 0;
12356 }
12357 _ACEOF
12358 rm -f conftest.o conftest.obj
12359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5
12361 ac_status=$?
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; then
12364 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12365 case $ac_file in
12366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12368 break;;
12369 esac
12370 done
12371 else
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12374
12375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12376 See \`config.log' for more details." >&5
12377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12378 See \`config.log' for more details." >&2;}
12379 { (exit 1); exit 1; }; }
12380 fi
12381
12382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12383 fi
12384 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12385 echo "${ECHO_T}$ac_cv_objext" >&6
12386 OBJEXT=$ac_cv_objext
12387 ac_objext=$OBJEXT
12388 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12389 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 else
12393 cat >conftest.$ac_ext <<_ACEOF
12394 /* confdefs.h. */
12395 _ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399
12400 int
12401 main ()
12402 {
12403 #ifndef __GNUC__
12404 choke me
12405 #endif
12406
12407 ;
12408 return 0;
12409 }
12410 _ACEOF
12411 rm -f conftest.$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12414 ac_status=$?
12415 grep -v '^ *+' conftest.er1 >conftest.err
12416 rm -f conftest.er1
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12423 ac_status=$?
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12432 ac_compiler_gnu=yes
12433 else
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12436
12437 ac_compiler_gnu=no
12438 fi
12439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12441
12442 fi
12443 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12445 GCC=`test $ac_compiler_gnu = yes && echo yes`
12446 ac_test_CFLAGS=${CFLAGS+set}
12447 ac_save_CFLAGS=$CFLAGS
12448 CFLAGS="-g"
12449 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12450 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12451 if test "${ac_cv_prog_cc_g+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 else
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h. */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460
12461 int
12462 main ()
12463 {
12464
12465 ;
12466 return 0;
12467 }
12468 _ACEOF
12469 rm -f conftest.$ac_objext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12471 (eval $ac_compile) 2>conftest.er1
12472 ac_status=$?
12473 grep -v '^ *+' conftest.er1 >conftest.err
12474 rm -f conftest.er1
12475 cat conftest.err >&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12481 ac_status=$?
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try='test -s conftest.$ac_objext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12487 ac_status=$?
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 ac_cv_prog_cc_g=yes
12491 else
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.$ac_ext >&5
12494
12495 ac_cv_prog_cc_g=no
12496 fi
12497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12501 if test "$ac_test_CFLAGS" = set; then
12502 CFLAGS=$ac_save_CFLAGS
12503 elif test $ac_cv_prog_cc_g = yes; then
12504 if test "$GCC" = yes; then
12505 CFLAGS="-g -O2"
12506 else
12507 CFLAGS="-g"
12508 fi
12509 else
12510 if test "$GCC" = yes; then
12511 CFLAGS="-O2"
12512 else
12513 CFLAGS=
12514 fi
12515 fi
12516 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12517 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12518 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 else
12521 ac_cv_prog_cc_stdc=no
12522 ac_save_CC=$CC
12523 cat >conftest.$ac_ext <<_ACEOF
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 #include <stdarg.h>
12530 #include <stdio.h>
12531 #include <sys/types.h>
12532 #include <sys/stat.h>
12533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12534 struct buf { int x; };
12535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12536 static char *e (p, i)
12537 char **p;
12538 int i;
12539 {
12540 return p[i];
12541 }
12542 static char *f (char * (*g) (char **, int), char **p, ...)
12543 {
12544 char *s;
12545 va_list v;
12546 va_start (v,p);
12547 s = g (p, va_arg (v,int));
12548 va_end (v);
12549 return s;
12550 }
12551
12552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12553 function prototypes and stuff, but not '\xHH' hex character constants.
12554 These don't provoke an error unfortunately, instead are silently treated
12555 as 'x'. The following induces an error, until -std1 is added to get
12556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12557 array size at least. It's necessary to write '\x00'==0 to get something
12558 that's true only with -std1. */
12559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12560
12561 int test (int i, double x);
12562 struct s1 {int (*f) (int a);};
12563 struct s2 {int (*f) (double a);};
12564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12565 int argc;
12566 char **argv;
12567 int
12568 main ()
12569 {
12570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12571 ;
12572 return 0;
12573 }
12574 _ACEOF
12575 # Don't try gcc -ansi; that turns off useful extensions and
12576 # breaks some systems' header files.
12577 # AIX -qlanglvl=ansi
12578 # Ultrix and OSF/1 -std1
12579 # HP-UX 10.20 and later -Ae
12580 # HP-UX older versions -Aa -D_HPUX_SOURCE
12581 # SVR4 -Xc -D__EXTENSIONS__
12582 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12583 do
12584 CC="$ac_save_CC $ac_arg"
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12588 ac_status=$?
12589 grep -v '^ *+' conftest.er1 >conftest.err
12590 rm -f conftest.er1
12591 cat conftest.err >&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12597 ac_status=$?
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; } &&
12600 { ac_try='test -s conftest.$ac_objext'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12603 ac_status=$?
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 ac_cv_prog_cc_stdc=$ac_arg
12607 break
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12611
12612 fi
12613 rm -f conftest.err conftest.$ac_objext
12614 done
12615 rm -f conftest.$ac_ext conftest.$ac_objext
12616 CC=$ac_save_CC
12617
12618 fi
12619
12620 case "x$ac_cv_prog_cc_stdc" in
12621 x|xno)
12622 echo "$as_me:$LINENO: result: none needed" >&5
12623 echo "${ECHO_T}none needed" >&6 ;;
12624 *)
12625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12626 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12627 CC="$CC $ac_cv_prog_cc_stdc" ;;
12628 esac
12629
12630 # Some people use a C++ compiler to compile C. Since we use `exit',
12631 # in C++ we need to declare it. In case someone uses the same compiler
12632 # for both compiling C and C++ we need to have the C++ compiler decide
12633 # the declaration of exit, since it's the most demanding environment.
12634 cat >conftest.$ac_ext <<_ACEOF
12635 #ifndef __cplusplus
12636 choke me
12637 #endif
12638 _ACEOF
12639 rm -f conftest.$ac_objext
12640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12641 (eval $ac_compile) 2>conftest.er1
12642 ac_status=$?
12643 grep -v '^ *+' conftest.er1 >conftest.err
12644 rm -f conftest.er1
12645 cat conftest.err >&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } &&
12648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12651 ac_status=$?
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; } &&
12654 { ac_try='test -s conftest.$ac_objext'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12657 ac_status=$?
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 for ac_declaration in \
12661 '' \
12662 'extern "C" void std::exit (int) throw (); using std::exit;' \
12663 'extern "C" void std::exit (int); using std::exit;' \
12664 'extern "C" void exit (int) throw ();' \
12665 'extern "C" void exit (int);' \
12666 'void exit (int);'
12667 do
12668 cat >conftest.$ac_ext <<_ACEOF
12669 /* confdefs.h. */
12670 _ACEOF
12671 cat confdefs.h >>conftest.$ac_ext
12672 cat >>conftest.$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674 $ac_declaration
12675 #include <stdlib.h>
12676 int
12677 main ()
12678 {
12679 exit (42);
12680 ;
12681 return 0;
12682 }
12683 _ACEOF
12684 rm -f conftest.$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12695 (eval $ac_try) 2>&5
12696 ac_status=$?
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); }; } &&
12699 { ac_try='test -s conftest.$ac_objext'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12702 ac_status=$?
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12705 :
12706 else
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.$ac_ext >&5
12709
12710 continue
12711 fi
12712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12713 cat >conftest.$ac_ext <<_ACEOF
12714 /* confdefs.h. */
12715 _ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 $ac_declaration
12720 int
12721 main ()
12722 {
12723 exit (42);
12724 ;
12725 return 0;
12726 }
12727 _ACEOF
12728 rm -f conftest.$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12731 ac_status=$?
12732 grep -v '^ *+' conftest.er1 >conftest.err
12733 rm -f conftest.er1
12734 cat conftest.err >&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 break
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12753
12754 fi
12755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12756 done
12757 rm -f conftest*
12758 if test -n "$ac_declaration"; then
12759 echo '#ifdef __cplusplus' >>confdefs.h
12760 echo $ac_declaration >>confdefs.h
12761 echo '#endif' >>confdefs.h
12762 fi
12763
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 fi
12769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12770 ac_ext=c
12771 ac_cpp='$CPP $CPPFLAGS'
12772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12775
12776
12777
12778 ac_ext=c
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12783
12784 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12785 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12786 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 else
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795
12796 int
12797 main ()
12798 {
12799
12800 #ifndef __INTEL_COMPILER
12801 choke me
12802 #endif
12803
12804 ;
12805 return 0;
12806 }
12807 _ACEOF
12808 rm -f conftest.$ac_objext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12810 (eval $ac_compile) 2>conftest.er1
12811 ac_status=$?
12812 grep -v '^ *+' conftest.er1 >conftest.err
12813 rm -f conftest.er1
12814 cat conftest.err >&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12820 ac_status=$?
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try='test -s conftest.$ac_objext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12826 ac_status=$?
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12830 else
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12833
12834 bakefile_cv_c_compiler___INTEL_COMPILER=no
12835
12836 fi
12837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12838
12839
12840 fi
12841 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12842 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12843 ac_ext=c
12844 ac_cpp='$CPP $CPPFLAGS'
12845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12848
12849 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12850 :; INTELCC=yes
12851 else
12852 :;
12853 fi
12854
12855
12856 if test "x$GCC" != "xyes"; then
12857 if test "xCC" = "xC"; then
12858 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12859 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12860 if test "${bakefile_cv_c_exto+set}" = set; then
12861 echo $ECHO_N "(cached) $ECHO_C" >&6
12862 else
12863 cat >conftest.$ac_ext <<_ACEOF
12864 /* confdefs.h. */
12865 _ACEOF
12866 cat confdefs.h >>conftest.$ac_ext
12867 cat >>conftest.$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12869
12870 int
12871 main ()
12872 {
12873
12874 ;
12875 return 0;
12876 }
12877 _ACEOF
12878 rm -f conftest.$ac_objext conftest.$ac_ext.o
12879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12880 (eval $ac_compile) 2>&5
12881 ac_status=$?
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; then
12884 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12885 case $ac_file in
12886 conftest.$ac_ext.o)
12887 bakefile_cv_c_exto="-ext o"
12888 ;;
12889 *)
12890 ;;
12891 esac
12892 done
12893 else
12894 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12895 See \`config.log' for more details." >&5
12896 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12897 See \`config.log' for more details." >&2;}
12898 { (exit 1); exit 1; }; }
12899
12900 fi
12901
12902 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12903
12904 fi
12905 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12906 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12907 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12908 if test "c" = "c"; then
12909 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12910 fi
12911 if test "c" = "cxx"; then
12912 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12913 fi
12914 fi
12915
12916 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12917 unset ac_cv_prog_cc_g
12918 ac_test_CFLAGS=${CFLAGS+set}
12919 ac_save_CFLAGS=$CFLAGS
12920 CFLAGS="-g"
12921 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12922 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12923 if test "${ac_cv_prog_cc_g+set}" = set; then
12924 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 else
12926 cat >conftest.$ac_ext <<_ACEOF
12927 /* confdefs.h. */
12928 _ACEOF
12929 cat confdefs.h >>conftest.$ac_ext
12930 cat >>conftest.$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12932
12933 int
12934 main ()
12935 {
12936
12937 ;
12938 return 0;
12939 }
12940 _ACEOF
12941 rm -f conftest.$ac_objext
12942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>conftest.er1
12944 ac_status=$?
12945 grep -v '^ *+' conftest.er1 >conftest.err
12946 rm -f conftest.er1
12947 cat conftest.err >&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; } &&
12956 { ac_try='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12959 ac_status=$?
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_cv_prog_cc_g=yes
12963 else
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.$ac_ext >&5
12966
12967 ac_cv_prog_cc_g=no
12968 fi
12969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12970 fi
12971 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12972 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12973 if test "$ac_test_CFLAGS" = set; then
12974 CFLAGS=$ac_save_CFLAGS
12975 elif test $ac_cv_prog_cc_g = yes; then
12976 if test "$GCC" = yes; then
12977 CFLAGS="-g -O2"
12978 else
12979 CFLAGS="-g"
12980 fi
12981 else
12982 if test "$GCC" = yes; then
12983 CFLAGS="-O2"
12984 else
12985 CFLAGS=
12986 fi
12987 fi
12988 fi
12989 fi
12990
12991 case `uname -s` in
12992 AIX*)
12993 ac_ext=c
12994 ac_cpp='$CPP $CPPFLAGS'
12995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998
12999 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13000 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13001 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 else
13004 cat >conftest.$ac_ext <<_ACEOF
13005 /* confdefs.h. */
13006 _ACEOF
13007 cat confdefs.h >>conftest.$ac_ext
13008 cat >>conftest.$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13010
13011 int
13012 main ()
13013 {
13014 #ifndef __xlC__
13015 choke me
13016 #endif
13017
13018 ;
13019 return 0;
13020 }
13021 _ACEOF
13022 rm -f conftest.$ac_objext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13034 ac_status=$?
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try='test -s conftest.$ac_objext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 bakefile_compiler_xlc=yes
13044 else
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.$ac_ext >&5
13047
13048 bakefile_compiler_xlc=no
13049 fi
13050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13051 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13052
13053 fi
13054 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13055 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13056
13057 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13058 ac_ext=c
13059 ac_cpp='$CPP $CPPFLAGS'
13060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13063
13064
13065 ;;
13066
13067 Darwin)
13068 ac_ext=c
13069 ac_cpp='$CPP $CPPFLAGS'
13070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13073
13074 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13075 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13076 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 else
13079 cat >conftest.$ac_ext <<_ACEOF
13080 /* confdefs.h. */
13081 _ACEOF
13082 cat confdefs.h >>conftest.$ac_ext
13083 cat >>conftest.$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085
13086 int
13087 main ()
13088 {
13089 #ifndef __MWERKS__
13090 choke me
13091 #endif
13092
13093 ;
13094 return 0;
13095 }
13096 _ACEOF
13097 rm -f conftest.$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13100 ac_status=$?
13101 grep -v '^ *+' conftest.er1 >conftest.err
13102 rm -f conftest.er1
13103 cat conftest.err >&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13109 ac_status=$?
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 bakefile_compiler_mwerks=yes
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13122
13123 bakefile_compiler_mwerks=no
13124 fi
13125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13126 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13127
13128 fi
13129 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13130 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13131
13132 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13133 ac_ext=c
13134 ac_cpp='$CPP $CPPFLAGS'
13135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13138
13139
13140 ac_ext=c
13141 ac_cpp='$CPP $CPPFLAGS'
13142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13145
13146 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13147 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13148 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157
13158 int
13159 main ()
13160 {
13161 #ifndef __xlC__
13162 choke me
13163 #endif
13164
13165 ;
13166 return 0;
13167 }
13168 _ACEOF
13169 rm -f conftest.$ac_objext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13171 (eval $ac_compile) 2>conftest.er1
13172 ac_status=$?
13173 grep -v '^ *+' conftest.er1 >conftest.err
13174 rm -f conftest.er1
13175 cat conftest.err >&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13181 ac_status=$?
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try='test -s conftest.$ac_objext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13187 ac_status=$?
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 bakefile_compiler_xlc=yes
13191 else
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13194
13195 bakefile_compiler_xlc=no
13196 fi
13197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13198 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13199
13200 fi
13201 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13202 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13203
13204 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13205 ac_ext=c
13206 ac_cpp='$CPP $CPPFLAGS'
13207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13210
13211
13212 ;;
13213
13214 IRIX*)
13215
13216
13217 ac_ext=c
13218 ac_cpp='$CPP $CPPFLAGS'
13219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13222
13223 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13224 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13225 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13227 else
13228 cat >conftest.$ac_ext <<_ACEOF
13229 /* confdefs.h. */
13230 _ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13234
13235 int
13236 main ()
13237 {
13238
13239 #ifndef _SGI_COMPILER_VERSION
13240 choke me
13241 #endif
13242
13243 ;
13244 return 0;
13245 }
13246 _ACEOF
13247 rm -f conftest.$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13259 ac_status=$?
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; } &&
13262 { ac_try='test -s conftest.$ac_objext'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13265 ac_status=$?
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; }; then
13268 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13269 else
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13272
13273 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13274
13275 fi
13276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13277
13278
13279 fi
13280 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13281 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13282 ac_ext=c
13283 ac_cpp='$CPP $CPPFLAGS'
13284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13287
13288 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13289 :; SGICC=yes
13290 else
13291 :;
13292 fi
13293
13294
13295 ;;
13296
13297 HP-UX*)
13298
13299
13300 ac_ext=c
13301 ac_cpp='$CPP $CPPFLAGS'
13302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13305
13306 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13307 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13308 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 else
13311 cat >conftest.$ac_ext <<_ACEOF
13312 /* confdefs.h. */
13313 _ACEOF
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317
13318 int
13319 main ()
13320 {
13321
13322 #ifndef __HP_cc
13323 choke me
13324 #endif
13325
13326 ;
13327 return 0;
13328 }
13329 _ACEOF
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13333 ac_status=$?
13334 grep -v '^ *+' conftest.er1 >conftest.err
13335 rm -f conftest.er1
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13342 ac_status=$?
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_cv_c_compiler___HP_cc=yes
13352 else
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13355
13356 bakefile_cv_c_compiler___HP_cc=no
13357
13358 fi
13359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13360
13361
13362 fi
13363 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13364 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13365 ac_ext=c
13366 ac_cpp='$CPP $CPPFLAGS'
13367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13370
13371 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13372 :; HPCC=yes
13373 else
13374 :;
13375 fi
13376
13377
13378 ;;
13379
13380 OSF1)
13381
13382
13383 ac_ext=c
13384 ac_cpp='$CPP $CPPFLAGS'
13385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388
13389 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13390 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13391 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 else
13394 cat >conftest.$ac_ext <<_ACEOF
13395 /* confdefs.h. */
13396 _ACEOF
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13400
13401 int
13402 main ()
13403 {
13404
13405 #ifndef __DECC
13406 choke me
13407 #endif
13408
13409 ;
13410 return 0;
13411 }
13412 _ACEOF
13413 rm -f conftest.$ac_objext
13414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13415 (eval $ac_compile) 2>conftest.er1
13416 ac_status=$?
13417 grep -v '^ *+' conftest.er1 >conftest.err
13418 rm -f conftest.er1
13419 cat conftest.err >&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } &&
13422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13425 ac_status=$?
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 bakefile_cv_c_compiler___DECC=yes
13435 else
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13438
13439 bakefile_cv_c_compiler___DECC=no
13440
13441 fi
13442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13443
13444
13445 fi
13446 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13447 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13448 ac_ext=c
13449 ac_cpp='$CPP $CPPFLAGS'
13450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13453
13454 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13455 :; COMPAQCC=yes
13456 else
13457 :;
13458 fi
13459
13460
13461 ;;
13462
13463 SunOS)
13464
13465
13466 ac_ext=c
13467 ac_cpp='$CPP $CPPFLAGS'
13468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13471
13472 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13473 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13474 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 cat >conftest.$ac_ext <<_ACEOF
13478 /* confdefs.h. */
13479 _ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13483
13484 int
13485 main ()
13486 {
13487
13488 #ifndef __SUNPRO_C
13489 choke me
13490 #endif
13491
13492 ;
13493 return 0;
13494 }
13495 _ACEOF
13496 rm -f conftest.$ac_objext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498 (eval $ac_compile) 2>conftest.er1
13499 ac_status=$?
13500 grep -v '^ *+' conftest.er1 >conftest.err
13501 rm -f conftest.er1
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; } &&
13511 { ac_try='test -s conftest.$ac_objext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13514 ac_status=$?
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13517 bakefile_cv_c_compiler___SUNPRO_C=yes
13518 else
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.$ac_ext >&5
13521
13522 bakefile_cv_c_compiler___SUNPRO_C=no
13523
13524 fi
13525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13526
13527
13528 fi
13529 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13530 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13531 ac_ext=c
13532 ac_cpp='$CPP $CPPFLAGS'
13533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13536
13537 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13538 :; SUNCC=yes
13539 else
13540 :;
13541 fi
13542
13543
13544 ;;
13545 esac
13546 fi
13547
13548
13549
13550 ac_ext=c
13551 ac_cpp='$CPP $CPPFLAGS'
13552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13555 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13556 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13557 # On Suns, sometimes $CPP names a directory.
13558 if test -n "$CPP" && test -d "$CPP"; then
13559 CPP=
13560 fi
13561 if test -z "$CPP"; then
13562 if test "${ac_cv_prog_CPP+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 else
13565 # Double quotes because CPP needs to be expanded
13566 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13567 do
13568 ac_preproc_ok=false
13569 for ac_c_preproc_warn_flag in '' yes
13570 do
13571 # Use a header file that comes with gcc, so configuring glibc
13572 # with a fresh cross-compiler works.
13573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13574 # <limits.h> exists even on freestanding compilers.
13575 # On the NeXT, cc -E runs the code through the compiler's parser,
13576 # not just through cpp. "Syntax error" is here to catch this case.
13577 cat >conftest.$ac_ext <<_ACEOF
13578 /* confdefs.h. */
13579 _ACEOF
13580 cat confdefs.h >>conftest.$ac_ext
13581 cat >>conftest.$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13583 #ifdef __STDC__
13584 # include <limits.h>
13585 #else
13586 # include <assert.h>
13587 #endif
13588 Syntax error
13589 _ACEOF
13590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13592 ac_status=$?
13593 grep -v '^ *+' conftest.er1 >conftest.err
13594 rm -f conftest.er1
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } >/dev/null; then
13598 if test -s conftest.err; then
13599 ac_cpp_err=$ac_c_preproc_warn_flag
13600 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13601 else
13602 ac_cpp_err=
13603 fi
13604 else
13605 ac_cpp_err=yes
13606 fi
13607 if test -z "$ac_cpp_err"; then
13608 :
13609 else
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.$ac_ext >&5
13612
13613 # Broken: fails on valid input.
13614 continue
13615 fi
13616 rm -f conftest.err conftest.$ac_ext
13617
13618 # OK, works on sane cases. Now check whether non-existent headers
13619 # can be detected and how.
13620 cat >conftest.$ac_ext <<_ACEOF
13621 /* confdefs.h. */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 #include <ac_nonexistent.h>
13627 _ACEOF
13628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } >/dev/null; then
13636 if test -s conftest.err; then
13637 ac_cpp_err=$ac_c_preproc_warn_flag
13638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13639 else
13640 ac_cpp_err=
13641 fi
13642 else
13643 ac_cpp_err=yes
13644 fi
13645 if test -z "$ac_cpp_err"; then
13646 # Broken: success on invalid input.
13647 continue
13648 else
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.$ac_ext >&5
13651
13652 # Passes both tests.
13653 ac_preproc_ok=:
13654 break
13655 fi
13656 rm -f conftest.err conftest.$ac_ext
13657
13658 done
13659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13660 rm -f conftest.err conftest.$ac_ext
13661 if $ac_preproc_ok; then
13662 break
13663 fi
13664
13665 done
13666 ac_cv_prog_CPP=$CPP
13667
13668 fi
13669 CPP=$ac_cv_prog_CPP
13670 else
13671 ac_cv_prog_CPP=$CPP
13672 fi
13673 echo "$as_me:$LINENO: result: $CPP" >&5
13674 echo "${ECHO_T}$CPP" >&6
13675 ac_preproc_ok=false
13676 for ac_c_preproc_warn_flag in '' yes
13677 do
13678 # Use a header file that comes with gcc, so configuring glibc
13679 # with a fresh cross-compiler works.
13680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13681 # <limits.h> exists even on freestanding compilers.
13682 # On the NeXT, cc -E runs the code through the compiler's parser,
13683 # not just through cpp. "Syntax error" is here to catch this case.
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690 #ifdef __STDC__
13691 # include <limits.h>
13692 #else
13693 # include <assert.h>
13694 #endif
13695 Syntax error
13696 _ACEOF
13697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13699 ac_status=$?
13700 grep -v '^ *+' conftest.er1 >conftest.err
13701 rm -f conftest.er1
13702 cat conftest.err >&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } >/dev/null; then
13705 if test -s conftest.err; then
13706 ac_cpp_err=$ac_c_preproc_warn_flag
13707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13708 else
13709 ac_cpp_err=
13710 fi
13711 else
13712 ac_cpp_err=yes
13713 fi
13714 if test -z "$ac_cpp_err"; then
13715 :
13716 else
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.$ac_ext >&5
13719
13720 # Broken: fails on valid input.
13721 continue
13722 fi
13723 rm -f conftest.err conftest.$ac_ext
13724
13725 # OK, works on sane cases. Now check whether non-existent headers
13726 # can be detected and how.
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #include <ac_nonexistent.h>
13734 _ACEOF
13735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13737 ac_status=$?
13738 grep -v '^ *+' conftest.er1 >conftest.err
13739 rm -f conftest.er1
13740 cat conftest.err >&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } >/dev/null; then
13743 if test -s conftest.err; then
13744 ac_cpp_err=$ac_c_preproc_warn_flag
13745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13746 else
13747 ac_cpp_err=
13748 fi
13749 else
13750 ac_cpp_err=yes
13751 fi
13752 if test -z "$ac_cpp_err"; then
13753 # Broken: success on invalid input.
13754 continue
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 # Passes both tests.
13760 ac_preproc_ok=:
13761 break
13762 fi
13763 rm -f conftest.err conftest.$ac_ext
13764
13765 done
13766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13767 rm -f conftest.err conftest.$ac_ext
13768 if $ac_preproc_ok; then
13769 :
13770 else
13771 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13772 See \`config.log' for more details." >&5
13773 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13774 See \`config.log' for more details." >&2;}
13775 { (exit 1); exit 1; }; }
13776 fi
13777
13778 ac_ext=c
13779 ac_cpp='$CPP $CPPFLAGS'
13780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13783
13784
13785 echo "$as_me:$LINENO: checking for egrep" >&5
13786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13787 if test "${ac_cv_prog_egrep+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13791 then ac_cv_prog_egrep='grep -E'
13792 else ac_cv_prog_egrep='egrep'
13793 fi
13794 fi
13795 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13796 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13797 EGREP=$ac_cv_prog_egrep
13798
13799
13800 if test $ac_cv_c_compiler_gnu = yes; then
13801 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13802 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13803 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 else
13806 ac_pattern="Autoconf.*'x'"
13807 cat >conftest.$ac_ext <<_ACEOF
13808 /* confdefs.h. */
13809 _ACEOF
13810 cat confdefs.h >>conftest.$ac_ext
13811 cat >>conftest.$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13813 #include <sgtty.h>
13814 Autoconf TIOCGETP
13815 _ACEOF
13816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13817 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13818 ac_cv_prog_gcc_traditional=yes
13819 else
13820 ac_cv_prog_gcc_traditional=no
13821 fi
13822 rm -f conftest*
13823
13824
13825 if test $ac_cv_prog_gcc_traditional = no; then
13826 cat >conftest.$ac_ext <<_ACEOF
13827 /* confdefs.h. */
13828 _ACEOF
13829 cat confdefs.h >>conftest.$ac_ext
13830 cat >>conftest.$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 #include <termio.h>
13833 Autoconf TCGETA
13834 _ACEOF
13835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13836 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13837 ac_cv_prog_gcc_traditional=yes
13838 fi
13839 rm -f conftest*
13840
13841 fi
13842 fi
13843 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13844 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13845 if test $ac_cv_prog_gcc_traditional = yes; then
13846 CC="$CC -traditional"
13847 fi
13848 fi
13849
13850
13851 ac_ext=cc
13852 ac_cpp='$CXXCPP $CPPFLAGS'
13853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13856
13857
13858 CXXFLAGS=${CXXFLAGS:=}
13859
13860
13861
13862 ac_ext=cc
13863 ac_cpp='$CXXCPP $CPPFLAGS'
13864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13867 if test -n "$ac_tool_prefix"; then
13868 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13869 do
13870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13872 echo "$as_me:$LINENO: checking for $ac_word" >&5
13873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13874 if test "${ac_cv_prog_CXX+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877 if test -n "$CXX"; then
13878 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13879 else
13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13881 for as_dir in $PATH
13882 do
13883 IFS=$as_save_IFS
13884 test -z "$as_dir" && as_dir=.
13885 for ac_exec_ext in '' $ac_executable_extensions; do
13886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13887 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13889 break 2
13890 fi
13891 done
13892 done
13893
13894 fi
13895 fi
13896 CXX=$ac_cv_prog_CXX
13897 if test -n "$CXX"; then
13898 echo "$as_me:$LINENO: result: $CXX" >&5
13899 echo "${ECHO_T}$CXX" >&6
13900 else
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13903 fi
13904
13905 test -n "$CXX" && break
13906 done
13907 fi
13908 if test -z "$CXX"; then
13909 ac_ct_CXX=$CXX
13910 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13911 do
13912 # Extract the first word of "$ac_prog", so it can be a program name with args.
13913 set dummy $ac_prog; ac_word=$2
13914 echo "$as_me:$LINENO: checking for $ac_word" >&5
13915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13916 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 else
13919 if test -n "$ac_ct_CXX"; then
13920 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13921 else
13922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 for as_dir in $PATH
13924 do
13925 IFS=$as_save_IFS
13926 test -z "$as_dir" && as_dir=.
13927 for ac_exec_ext in '' $ac_executable_extensions; do
13928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13929 ac_cv_prog_ac_ct_CXX="$ac_prog"
13930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 break 2
13932 fi
13933 done
13934 done
13935
13936 fi
13937 fi
13938 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13939 if test -n "$ac_ct_CXX"; then
13940 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13941 echo "${ECHO_T}$ac_ct_CXX" >&6
13942 else
13943 echo "$as_me:$LINENO: result: no" >&5
13944 echo "${ECHO_T}no" >&6
13945 fi
13946
13947 test -n "$ac_ct_CXX" && break
13948 done
13949 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13950
13951 CXX=$ac_ct_CXX
13952 fi
13953
13954
13955 # Provide some information about the compiler.
13956 echo "$as_me:$LINENO:" \
13957 "checking for C++ compiler version" >&5
13958 ac_compiler=`set X $ac_compile; echo $2`
13959 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13960 (eval $ac_compiler --version </dev/null >&5) 2>&5
13961 ac_status=$?
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }
13964 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13965 (eval $ac_compiler -v </dev/null >&5) 2>&5
13966 ac_status=$?
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }
13969 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13970 (eval $ac_compiler -V </dev/null >&5) 2>&5
13971 ac_status=$?
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }
13974
13975 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13976 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13977 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13986
13987 int
13988 main ()
13989 {
13990 #ifndef __GNUC__
13991 choke me
13992 #endif
13993
13994 ;
13995 return 0;
13996 }
13997 _ACEOF
13998 rm -f conftest.$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>conftest.er1
14001 ac_status=$?
14002 grep -v '^ *+' conftest.er1 >conftest.err
14003 rm -f conftest.er1
14004 cat conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; } &&
14013 { ac_try='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 ac_compiler_gnu=yes
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14023
14024 ac_compiler_gnu=no
14025 fi
14026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14027 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14028
14029 fi
14030 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14032 GXX=`test $ac_compiler_gnu = yes && echo yes`
14033 ac_test_CXXFLAGS=${CXXFLAGS+set}
14034 ac_save_CXXFLAGS=$CXXFLAGS
14035 CXXFLAGS="-g"
14036 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14037 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14038 if test "${ac_cv_prog_cxx_g+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041 cat >conftest.$ac_ext <<_ACEOF
14042 /* confdefs.h. */
14043 _ACEOF
14044 cat confdefs.h >>conftest.$ac_ext
14045 cat >>conftest.$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14047
14048 int
14049 main ()
14050 {
14051
14052 ;
14053 return 0;
14054 }
14055 _ACEOF
14056 rm -f conftest.$ac_objext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 (eval $ac_compile) 2>conftest.er1
14059 ac_status=$?
14060 grep -v '^ *+' conftest.er1 >conftest.err
14061 rm -f conftest.er1
14062 cat conftest.err >&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } &&
14065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14067 (eval $ac_try) 2>&5
14068 ac_status=$?
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); }; } &&
14071 { ac_try='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_cv_prog_cxx_g=yes
14078 else
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.$ac_ext >&5
14081
14082 ac_cv_prog_cxx_g=no
14083 fi
14084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14085 fi
14086 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14087 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14088 if test "$ac_test_CXXFLAGS" = set; then
14089 CXXFLAGS=$ac_save_CXXFLAGS
14090 elif test $ac_cv_prog_cxx_g = yes; then
14091 if test "$GXX" = yes; then
14092 CXXFLAGS="-g -O2"
14093 else
14094 CXXFLAGS="-g"
14095 fi
14096 else
14097 if test "$GXX" = yes; then
14098 CXXFLAGS="-O2"
14099 else
14100 CXXFLAGS=
14101 fi
14102 fi
14103 for ac_declaration in \
14104 '' \
14105 'extern "C" void std::exit (int) throw (); using std::exit;' \
14106 'extern "C" void std::exit (int); using std::exit;' \
14107 'extern "C" void exit (int) throw ();' \
14108 'extern "C" void exit (int);' \
14109 'void exit (int);'
14110 do
14111 cat >conftest.$ac_ext <<_ACEOF
14112 /* confdefs.h. */
14113 _ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 $ac_declaration
14118 #include <stdlib.h>
14119 int
14120 main ()
14121 {
14122 exit (42);
14123 ;
14124 return 0;
14125 }
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14130 ac_status=$?
14131 grep -v '^ *+' conftest.er1 >conftest.err
14132 rm -f conftest.er1
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138 (eval $ac_try) 2>&5
14139 ac_status=$?
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); }; } &&
14142 { ac_try='test -s conftest.$ac_objext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14145 ac_status=$?
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 :
14149 else
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14152
14153 continue
14154 fi
14155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_declaration
14163 int
14164 main ()
14165 {
14166 exit (42);
14167 ;
14168 return 0;
14169 }
14170 _ACEOF
14171 rm -f conftest.$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14189 ac_status=$?
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 break
14193 else
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14196
14197 fi
14198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14199 done
14200 rm -f conftest*
14201 if test -n "$ac_declaration"; then
14202 echo '#ifdef __cplusplus' >>confdefs.h
14203 echo $ac_declaration >>confdefs.h
14204 echo '#endif' >>confdefs.h
14205 fi
14206
14207 ac_ext=cc
14208 ac_cpp='$CXXCPP $CPPFLAGS'
14209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14212
14213
14214
14215 ac_ext=cc
14216 ac_cpp='$CXXCPP $CPPFLAGS'
14217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14220
14221 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14222 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14223 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 else
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232
14233 int
14234 main ()
14235 {
14236
14237 #ifndef __INTEL_COMPILER
14238 choke me
14239 #endif
14240
14241 ;
14242 return 0;
14243 }
14244 _ACEOF
14245 rm -f conftest.$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>conftest.er1
14248 ac_status=$?
14249 grep -v '^ *+' conftest.er1 >conftest.err
14250 rm -f conftest.er1
14251 cat conftest.err >&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14257 ac_status=$?
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; } &&
14260 { ac_try='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14263 ac_status=$?
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14266 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14267 else
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14270
14271 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14272
14273 fi
14274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14275
14276
14277 fi
14278 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14279 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14280 ac_ext=cc
14281 ac_cpp='$CXXCPP $CPPFLAGS'
14282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14285
14286 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14287 :; INTELCXX=yes
14288 else
14289 :;
14290 fi
14291
14292
14293 if test "x$GCXX" != "xyes"; then
14294 if test "xCXX" = "xC"; then
14295 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14296 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14297 if test "${bakefile_cv_cxx_exto+set}" = set; then
14298 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 else
14300 cat >conftest.$ac_ext <<_ACEOF
14301 /* confdefs.h. */
14302 _ACEOF
14303 cat confdefs.h >>conftest.$ac_ext
14304 cat >>conftest.$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14306
14307 int
14308 main ()
14309 {
14310
14311 ;
14312 return 0;
14313 }
14314 _ACEOF
14315 rm -f conftest.$ac_objext conftest.$ac_ext.o
14316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14317 (eval $ac_compile) 2>&5
14318 ac_status=$?
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; then
14321 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14322 case $ac_file in
14323 conftest.$ac_ext.o)
14324 bakefile_cv_cxx_exto="-ext o"
14325 ;;
14326 *)
14327 ;;
14328 esac
14329 done
14330 else
14331 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14332 See \`config.log' for more details." >&5
14333 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14334 See \`config.log' for more details." >&2;}
14335 { (exit 1); exit 1; }; }
14336
14337 fi
14338
14339 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14340
14341 fi
14342 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14343 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14344 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14345 if test "cxx" = "c"; then
14346 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14347 fi
14348 if test "cxx" = "cxx"; then
14349 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14350 fi
14351 fi
14352
14353 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14354 unset ac_cv_prog_cc_g
14355 ac_test_CFLAGS=${CFLAGS+set}
14356 ac_save_CFLAGS=$CFLAGS
14357 CFLAGS="-g"
14358 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14359 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14360 if test "${ac_cv_prog_cc_g+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 ;
14375 return 0;
14376 }
14377 _ACEOF
14378 rm -f conftest.$ac_objext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380 (eval $ac_compile) 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14396 ac_status=$?
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 ac_cv_prog_cc_g=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 ac_cv_prog_cc_g=no
14405 fi
14406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 fi
14408 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14410 if test "$ac_test_CFLAGS" = set; then
14411 CFLAGS=$ac_save_CFLAGS
14412 elif test $ac_cv_prog_cc_g = yes; then
14413 if test "$GCC" = yes; then
14414 CFLAGS="-g -O2"
14415 else
14416 CFLAGS="-g"
14417 fi
14418 else
14419 if test "$GCC" = yes; then
14420 CFLAGS="-O2"
14421 else
14422 CFLAGS=
14423 fi
14424 fi
14425 fi
14426 fi
14427
14428 case `uname -s` in
14429 AIX*)
14430 ac_ext=cc
14431 ac_cpp='$CXXCPP $CPPFLAGS'
14432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14435
14436 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14437 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14438 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 else
14441 cat >conftest.$ac_ext <<_ACEOF
14442 /* confdefs.h. */
14443 _ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447
14448 int
14449 main ()
14450 {
14451 #ifndef __xlC__
14452 choke me
14453 #endif
14454
14455 ;
14456 return 0;
14457 }
14458 _ACEOF
14459 rm -f conftest.$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 bakefile_compiler_xlc=yes
14481 else
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14484
14485 bakefile_compiler_xlc=no
14486 fi
14487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14488 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14489
14490 fi
14491 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14492 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14493
14494 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14495 ac_ext=cc
14496 ac_cpp='$CXXCPP $CPPFLAGS'
14497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14500
14501
14502 ;;
14503
14504 Darwin)
14505 ac_ext=cc
14506 ac_cpp='$CXXCPP $CPPFLAGS'
14507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14510
14511 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14512 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14513 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 else
14516 cat >conftest.$ac_ext <<_ACEOF
14517 /* confdefs.h. */
14518 _ACEOF
14519 cat confdefs.h >>conftest.$ac_ext
14520 cat >>conftest.$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14522
14523 int
14524 main ()
14525 {
14526 #ifndef __MWERKS__
14527 choke me
14528 #endif
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>conftest.er1
14537 ac_status=$?
14538 grep -v '^ *+' conftest.er1 >conftest.err
14539 rm -f conftest.er1
14540 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } &&
14543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14546 ac_status=$?
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try='test -s conftest.$ac_objext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14552 ac_status=$?
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 bakefile_compiler_mwerks=yes
14556 else
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14559
14560 bakefile_compiler_mwerks=no
14561 fi
14562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14563 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14564
14565 fi
14566 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14567 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14568
14569 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14570 ac_ext=cc
14571 ac_cpp='$CXXCPP $CPPFLAGS'
14572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14575
14576
14577 ac_ext=cc
14578 ac_cpp='$CXXCPP $CPPFLAGS'
14579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14582
14583 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14584 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14585 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 else
14588 cat >conftest.$ac_ext <<_ACEOF
14589 /* confdefs.h. */
14590 _ACEOF
14591 cat confdefs.h >>conftest.$ac_ext
14592 cat >>conftest.$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14594
14595 int
14596 main ()
14597 {
14598 #ifndef __xlC__
14599 choke me
14600 #endif
14601
14602 ;
14603 return 0;
14604 }
14605 _ACEOF
14606 rm -f conftest.$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14609 ac_status=$?
14610 grep -v '^ *+' conftest.er1 >conftest.err
14611 rm -f conftest.er1
14612 cat conftest.err >&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 bakefile_compiler_xlc=yes
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14631
14632 bakefile_compiler_xlc=no
14633 fi
14634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14635 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14636
14637 fi
14638 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14639 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14640
14641 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14642 ac_ext=cc
14643 ac_cpp='$CXXCPP $CPPFLAGS'
14644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14647
14648
14649 ;;
14650
14651 IRIX*)
14652
14653
14654 ac_ext=cc
14655 ac_cpp='$CXXCPP $CPPFLAGS'
14656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14659
14660 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14661 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14662 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 cat >conftest.$ac_ext <<_ACEOF
14666 /* confdefs.h. */
14667 _ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671
14672 int
14673 main ()
14674 {
14675
14676 #ifndef _SGI_COMPILER_VERSION
14677 choke me
14678 #endif
14679
14680 ;
14681 return 0;
14682 }
14683 _ACEOF
14684 rm -f conftest.$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14711
14712 fi
14713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14714
14715
14716 fi
14717 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14718 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14719 ac_ext=cc
14720 ac_cpp='$CXXCPP $CPPFLAGS'
14721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14724
14725 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14726 :; SGICXX=yes
14727 else
14728 :;
14729 fi
14730
14731
14732 ;;
14733
14734 HP-UX*)
14735
14736
14737 ac_ext=cc
14738 ac_cpp='$CXXCPP $CPPFLAGS'
14739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14742
14743 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14744 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14745 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 else
14748 cat >conftest.$ac_ext <<_ACEOF
14749 /* confdefs.h. */
14750 _ACEOF
14751 cat confdefs.h >>conftest.$ac_ext
14752 cat >>conftest.$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754
14755 int
14756 main ()
14757 {
14758
14759 #ifndef __HP_aCC
14760 choke me
14761 #endif
14762
14763 ;
14764 return 0;
14765 }
14766 _ACEOF
14767 rm -f conftest.$ac_objext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14769 (eval $ac_compile) 2>conftest.er1
14770 ac_status=$?
14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14779 ac_status=$?
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try='test -s conftest.$ac_objext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 bakefile_cv_cxx_compiler___HP_aCC=yes
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14792
14793 bakefile_cv_cxx_compiler___HP_aCC=no
14794
14795 fi
14796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14797
14798
14799 fi
14800 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14801 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14802 ac_ext=cc
14803 ac_cpp='$CXXCPP $CPPFLAGS'
14804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14807
14808 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14809 :; HPCXX=yes
14810 else
14811 :;
14812 fi
14813
14814
14815 ;;
14816
14817 OSF1)
14818
14819
14820 ac_ext=cc
14821 ac_cpp='$CXXCPP $CPPFLAGS'
14822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14825
14826 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14827 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14828 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 else
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837
14838 int
14839 main ()
14840 {
14841
14842 #ifndef __DECCXX
14843 choke me
14844 #endif
14845
14846 ;
14847 return 0;
14848 }
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852 (eval $ac_compile) 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; } &&
14865 { ac_try='test -s conftest.$ac_objext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14868 ac_status=$?
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 bakefile_cv_cxx_compiler___DECCXX=yes
14872 else
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.$ac_ext >&5
14875
14876 bakefile_cv_cxx_compiler___DECCXX=no
14877
14878 fi
14879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14880
14881
14882 fi
14883 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14884 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14885 ac_ext=cc
14886 ac_cpp='$CXXCPP $CPPFLAGS'
14887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14890
14891 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14892 :; COMPAQCXX=yes
14893 else
14894 :;
14895 fi
14896
14897
14898 ;;
14899
14900 SunOS)
14901
14902
14903 ac_ext=cc
14904 ac_cpp='$CXXCPP $CPPFLAGS'
14905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14908
14909 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14910 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14911 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 else
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920
14921 int
14922 main ()
14923 {
14924
14925 #ifndef __SUNPRO_CC
14926 choke me
14927 #endif
14928
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14960
14961 fi
14962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14963
14964
14965 fi
14966 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14967 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14968 ac_ext=cc
14969 ac_cpp='$CXXCPP $CPPFLAGS'
14970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14973
14974 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14975 :; SUNCXX=yes
14976 else
14977 :;
14978 fi
14979
14980
14981 ;;
14982 esac
14983 fi
14984
14985
14986
14987 if test -n "$ac_tool_prefix"; then
14988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14990 echo "$as_me:$LINENO: checking for $ac_word" >&5
14991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14992 if test "${ac_cv_prog_RANLIB+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14995 if test -n "$RANLIB"; then
14996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14997 else
14998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14999 for as_dir in $PATH
15000 do
15001 IFS=$as_save_IFS
15002 test -z "$as_dir" && as_dir=.
15003 for ac_exec_ext in '' $ac_executable_extensions; do
15004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15007 break 2
15008 fi
15009 done
15010 done
15011
15012 fi
15013 fi
15014 RANLIB=$ac_cv_prog_RANLIB
15015 if test -n "$RANLIB"; then
15016 echo "$as_me:$LINENO: result: $RANLIB" >&5
15017 echo "${ECHO_T}$RANLIB" >&6
15018 else
15019 echo "$as_me:$LINENO: result: no" >&5
15020 echo "${ECHO_T}no" >&6
15021 fi
15022
15023 fi
15024 if test -z "$ac_cv_prog_RANLIB"; then
15025 ac_ct_RANLIB=$RANLIB
15026 # Extract the first word of "ranlib", so it can be a program name with args.
15027 set dummy ranlib; ac_word=$2
15028 echo "$as_me:$LINENO: checking for $ac_word" >&5
15029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 else
15033 if test -n "$ac_ct_RANLIB"; then
15034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15035 else
15036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15037 for as_dir in $PATH
15038 do
15039 IFS=$as_save_IFS
15040 test -z "$as_dir" && as_dir=.
15041 for ac_exec_ext in '' $ac_executable_extensions; do
15042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15043 ac_cv_prog_ac_ct_RANLIB="ranlib"
15044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15045 break 2
15046 fi
15047 done
15048 done
15049
15050 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15051 fi
15052 fi
15053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15054 if test -n "$ac_ct_RANLIB"; then
15055 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15056 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15057 else
15058 echo "$as_me:$LINENO: result: no" >&5
15059 echo "${ECHO_T}no" >&6
15060 fi
15061
15062 RANLIB=$ac_ct_RANLIB
15063 else
15064 RANLIB="$ac_cv_prog_RANLIB"
15065 fi
15066
15067
15068 if test -n "$ac_tool_prefix"; then
15069 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15070 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076 if test -n "$AR"; then
15077 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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 AR=$ac_cv_prog_AR
15096 if test -n "$AR"; then
15097 echo "$as_me:$LINENO: result: $AR" >&5
15098 echo "${ECHO_T}$AR" >&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_AR"; then
15106 ac_ct_AR=$AR
15107 # Extract the first word of "ar", so it can be a program name with args.
15108 set dummy ar; 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_AR+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114 if test -n "$ac_ct_AR"; then
15115 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar"
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_AR=$ac_cv_prog_ac_ct_AR
15134 if test -n "$ac_ct_AR"; then
15135 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15136 echo "${ECHO_T}$ac_ct_AR" >&6
15137 else
15138 echo "$as_me:$LINENO: result: no" >&5
15139 echo "${ECHO_T}no" >&6
15140 fi
15141
15142 AR=$ac_ct_AR
15143 else
15144 AR="$ac_cv_prog_AR"
15145 fi
15146
15147 if test "x$AR" = "x" ; then
15148 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15149 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15150 { (exit 1); exit 1; }; }
15151 fi
15152
15153 # Find a good install program. We prefer a C program (faster),
15154 # so one script is as good as another. But avoid the broken or
15155 # incompatible versions:
15156 # SysV /etc/install, /usr/sbin/install
15157 # SunOS /usr/etc/install
15158 # IRIX /sbin/install
15159 # AIX /bin/install
15160 # AmigaOS /C/install, which installs bootblocks on floppy discs
15161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15164 # OS/2's system install, which has a completely different semantic
15165 # ./install, which can be erroneously created by make from ./install.sh.
15166 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15167 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15168 if test -z "$INSTALL"; then
15169 if test "${ac_cv_path_install+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 else
15172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15173 for as_dir in $PATH
15174 do
15175 IFS=$as_save_IFS
15176 test -z "$as_dir" && as_dir=.
15177 # Account for people who put trailing slashes in PATH elements.
15178 case $as_dir/ in
15179 ./ | .// | /cC/* | \
15180 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15181 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15182 /usr/ucb/* ) ;;
15183 *)
15184 # OSF1 and SCO ODT 3.0 have their own names for install.
15185 # Don't use installbsd from OSF since it installs stuff as root
15186 # by default.
15187 for ac_prog in ginstall scoinst install; do
15188 for ac_exec_ext in '' $ac_executable_extensions; do
15189 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15190 if test $ac_prog = install &&
15191 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15192 # AIX install. It has an incompatible calling convention.
15193 :
15194 elif test $ac_prog = install &&
15195 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15196 # program-specific install script used by HP pwplus--don't use.
15197 :
15198 else
15199 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15200 break 3
15201 fi
15202 fi
15203 done
15204 done
15205 ;;
15206 esac
15207 done
15208
15209
15210 fi
15211 if test "${ac_cv_path_install+set}" = set; then
15212 INSTALL=$ac_cv_path_install
15213 else
15214 # As a last resort, use the slow shell script. We don't cache a
15215 # path for INSTALL within a source directory, because that will
15216 # break other packages using the cache if that directory is
15217 # removed, or if the path is relative.
15218 INSTALL=$ac_install_sh
15219 fi
15220 fi
15221 echo "$as_me:$LINENO: result: $INSTALL" >&5
15222 echo "${ECHO_T}$INSTALL" >&6
15223
15224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15225 # It thinks the first close brace ends the variable substitution.
15226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15227
15228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15229
15230 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15231
15232
15233 case ${INSTALL} in
15234 /* ) # Absolute
15235 ;;
15236 ?:* ) # Drive letter, considered as absolute.
15237 ;;
15238 *)
15239 INSTALL=`pwd`/${INSTALL} ;;
15240 esac
15241
15242
15243 case "${host}" in
15244
15245 *-*-darwin* )
15246 INSTALL_PROGRAM="cp -fp"
15247 INSTALL_DATA="cp -fp"
15248 ;;
15249 *)
15250 ;;
15251 esac
15252
15253 if test -n "$ac_tool_prefix"; then
15254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15255 set dummy ${ac_tool_prefix}strip; ac_word=$2
15256 echo "$as_me:$LINENO: checking for $ac_word" >&5
15257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15258 if test "${ac_cv_prog_STRIP+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261 if test -n "$STRIP"; then
15262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15263 else
15264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15265 for as_dir in $PATH
15266 do
15267 IFS=$as_save_IFS
15268 test -z "$as_dir" && as_dir=.
15269 for ac_exec_ext in '' $ac_executable_extensions; do
15270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15271 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15273 break 2
15274 fi
15275 done
15276 done
15277
15278 fi
15279 fi
15280 STRIP=$ac_cv_prog_STRIP
15281 if test -n "$STRIP"; then
15282 echo "$as_me:$LINENO: result: $STRIP" >&5
15283 echo "${ECHO_T}$STRIP" >&6
15284 else
15285 echo "$as_me:$LINENO: result: no" >&5
15286 echo "${ECHO_T}no" >&6
15287 fi
15288
15289 fi
15290 if test -z "$ac_cv_prog_STRIP"; then
15291 ac_ct_STRIP=$STRIP
15292 # Extract the first word of "strip", so it can be a program name with args.
15293 set dummy strip; ac_word=$2
15294 echo "$as_me:$LINENO: checking for $ac_word" >&5
15295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 else
15299 if test -n "$ac_ct_STRIP"; then
15300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15301 else
15302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15303 for as_dir in $PATH
15304 do
15305 IFS=$as_save_IFS
15306 test -z "$as_dir" && as_dir=.
15307 for ac_exec_ext in '' $ac_executable_extensions; do
15308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15309 ac_cv_prog_ac_ct_STRIP="strip"
15310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15311 break 2
15312 fi
15313 done
15314 done
15315
15316 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15317 fi
15318 fi
15319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15320 if test -n "$ac_ct_STRIP"; then
15321 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15322 echo "${ECHO_T}$ac_ct_STRIP" >&6
15323 else
15324 echo "$as_me:$LINENO: result: no" >&5
15325 echo "${ECHO_T}no" >&6
15326 fi
15327
15328 STRIP=$ac_ct_STRIP
15329 else
15330 STRIP="$ac_cv_prog_STRIP"
15331 fi
15332
15333
15334 if test "$wxUSE_WINE" = "yes"; then
15335 if test -n "$ac_tool_prefix"; then
15336 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15337 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15338 echo "$as_me:$LINENO: checking for $ac_word" >&5
15339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15340 if test "${ac_cv_prog_WINDRES+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 else
15343 if test -n "$WINDRES"; then
15344 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15345 else
15346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15347 for as_dir in $PATH
15348 do
15349 IFS=$as_save_IFS
15350 test -z "$as_dir" && as_dir=.
15351 for ac_exec_ext in '' $ac_executable_extensions; do
15352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15353 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15355 break 2
15356 fi
15357 done
15358 done
15359
15360 fi
15361 fi
15362 WINDRES=$ac_cv_prog_WINDRES
15363 if test -n "$WINDRES"; then
15364 echo "$as_me:$LINENO: result: $WINDRES" >&5
15365 echo "${ECHO_T}$WINDRES" >&6
15366 else
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15369 fi
15370
15371 fi
15372 if test -z "$ac_cv_prog_WINDRES"; then
15373 ac_ct_WINDRES=$WINDRES
15374 # Extract the first word of "wrc", so it can be a program name with args.
15375 set dummy wrc; ac_word=$2
15376 echo "$as_me:$LINENO: checking for $ac_word" >&5
15377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 else
15381 if test -n "$ac_ct_WINDRES"; then
15382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15383 else
15384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385 for as_dir in $PATH
15386 do
15387 IFS=$as_save_IFS
15388 test -z "$as_dir" && as_dir=.
15389 for ac_exec_ext in '' $ac_executable_extensions; do
15390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15391 ac_cv_prog_ac_ct_WINDRES="wrc"
15392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15393 break 2
15394 fi
15395 done
15396 done
15397
15398 fi
15399 fi
15400 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15401 if test -n "$ac_ct_WINDRES"; then
15402 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15403 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15404 else
15405 echo "$as_me:$LINENO: result: no" >&5
15406 echo "${ECHO_T}no" >&6
15407 fi
15408
15409 WINDRES=$ac_ct_WINDRES
15410 else
15411 WINDRES="$ac_cv_prog_WINDRES"
15412 fi
15413
15414 RESCOMP="$WINDRES"
15415 else
15416 case "${host}" in
15417 *-*-cygwin* | *-*-mingw32* )
15418 if test -n "$ac_tool_prefix"; then
15419 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15420 set dummy ${ac_tool_prefix}windres; ac_word=$2
15421 echo "$as_me:$LINENO: checking for $ac_word" >&5
15422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15423 if test "${ac_cv_prog_WINDRES+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 else
15426 if test -n "$WINDRES"; then
15427 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15428 else
15429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15430 for as_dir in $PATH
15431 do
15432 IFS=$as_save_IFS
15433 test -z "$as_dir" && as_dir=.
15434 for ac_exec_ext in '' $ac_executable_extensions; do
15435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15436 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15438 break 2
15439 fi
15440 done
15441 done
15442
15443 fi
15444 fi
15445 WINDRES=$ac_cv_prog_WINDRES
15446 if test -n "$WINDRES"; then
15447 echo "$as_me:$LINENO: result: $WINDRES" >&5
15448 echo "${ECHO_T}$WINDRES" >&6
15449 else
15450 echo "$as_me:$LINENO: result: no" >&5
15451 echo "${ECHO_T}no" >&6
15452 fi
15453
15454 fi
15455 if test -z "$ac_cv_prog_WINDRES"; then
15456 ac_ct_WINDRES=$WINDRES
15457 # Extract the first word of "windres", so it can be a program name with args.
15458 set dummy windres; ac_word=$2
15459 echo "$as_me:$LINENO: checking for $ac_word" >&5
15460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15461 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464 if test -n "$ac_ct_WINDRES"; then
15465 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15466 else
15467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468 for as_dir in $PATH
15469 do
15470 IFS=$as_save_IFS
15471 test -z "$as_dir" && as_dir=.
15472 for ac_exec_ext in '' $ac_executable_extensions; do
15473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15474 ac_cv_prog_ac_ct_WINDRES="windres"
15475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15476 break 2
15477 fi
15478 done
15479 done
15480
15481 fi
15482 fi
15483 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15484 if test -n "$ac_ct_WINDRES"; then
15485 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15486 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15487 else
15488 echo "$as_me:$LINENO: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15490 fi
15491
15492 WINDRES=$ac_ct_WINDRES
15493 else
15494 WINDRES="$ac_cv_prog_WINDRES"
15495 fi
15496
15497 RESCOMP="$WINDRES"
15498 if test -n "$ac_tool_prefix"; then
15499 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15500 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15501 echo "$as_me:$LINENO: checking for $ac_word" >&5
15502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15503 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 else
15506 if test -n "$DLLTOOL"; then
15507 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15508 else
15509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15510 for as_dir in $PATH
15511 do
15512 IFS=$as_save_IFS
15513 test -z "$as_dir" && as_dir=.
15514 for ac_exec_ext in '' $ac_executable_extensions; do
15515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15516 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15518 break 2
15519 fi
15520 done
15521 done
15522
15523 fi
15524 fi
15525 DLLTOOL=$ac_cv_prog_DLLTOOL
15526 if test -n "$DLLTOOL"; then
15527 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15528 echo "${ECHO_T}$DLLTOOL" >&6
15529 else
15530 echo "$as_me:$LINENO: result: no" >&5
15531 echo "${ECHO_T}no" >&6
15532 fi
15533
15534 fi
15535 if test -z "$ac_cv_prog_DLLTOOL"; then
15536 ac_ct_DLLTOOL=$DLLTOOL
15537 # Extract the first word of "dlltool", so it can be a program name with args.
15538 set dummy dlltool; ac_word=$2
15539 echo "$as_me:$LINENO: checking for $ac_word" >&5
15540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15541 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544 if test -n "$ac_ct_DLLTOOL"; then
15545 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15546 else
15547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15548 for as_dir in $PATH
15549 do
15550 IFS=$as_save_IFS
15551 test -z "$as_dir" && as_dir=.
15552 for ac_exec_ext in '' $ac_executable_extensions; do
15553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15554 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15556 break 2
15557 fi
15558 done
15559 done
15560
15561 fi
15562 fi
15563 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15564 if test -n "$ac_ct_DLLTOOL"; then
15565 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15566 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15567 else
15568 echo "$as_me:$LINENO: result: no" >&5
15569 echo "${ECHO_T}no" >&6
15570 fi
15571
15572 DLLTOOL=$ac_ct_DLLTOOL
15573 else
15574 DLLTOOL="$ac_cv_prog_DLLTOOL"
15575 fi
15576
15577 ;;
15578 esac
15579 fi
15580
15581 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15582 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15583 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 else
15586
15587 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15588 egrep -s GNU > /dev/null); then
15589 wx_cv_prog_makeisgnu="yes"
15590 else
15591 wx_cv_prog_makeisgnu="no"
15592 fi
15593
15594 fi
15595 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15596 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15597
15598 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15599 IF_GNU_MAKE=""
15600 else
15601 IF_GNU_MAKE="#"
15602 fi
15603
15604
15605
15606 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15607 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15608 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15609 if test "${wx_cv_prog_makevpath+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 else
15612
15613 cat - << EOF > confMake
15614 check : file
15615 cp \$? \$@
15616 cp \$? final_file
15617 EOF
15618
15619 if test ! -d sub ; then
15620 mkdir sub
15621 fi
15622 echo dummy > sub/file
15623 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15624 RESULT=$?
15625 rm -f sub/file check final_file confMake
15626 rmdir sub
15627 if test "$RESULT" = 0; then
15628 wx_cv_prog_makevpath="yes"
15629 else
15630 wx_cv_prog_makevpath="no"
15631 fi
15632
15633 fi
15634 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15635 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15636
15637 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15638 { { echo "$as_me:$LINENO: error:
15639 You need a make-utility that is able to use the variable
15640 VPATH correctly.
15641 If your version of make does not support VPATH correctly,
15642 please install GNU-make (possibly as gmake), and start
15643 configure with the following command:
15644 export MAKE=gmake; ./configure for sh-type shells
15645 setenv MAKE gmake; ./configure for csh-type shells
15646 Also please do remember to use gmake in this case every time
15647 you are trying to compile.
15648 " >&5
15649 echo "$as_me: error:
15650 You need a make-utility that is able to use the variable
15651 VPATH correctly.
15652 If your version of make does not support VPATH correctly,
15653 please install GNU-make (possibly as gmake), and start
15654 configure with the following command:
15655 export MAKE=gmake; ./configure for sh-type shells
15656 setenv MAKE gmake; ./configure for csh-type shells
15657 Also please do remember to use gmake in this case every time
15658 you are trying to compile.
15659 " >&2;}
15660 { (exit 1); exit 1; }; }
15661 fi fi
15662 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15663 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15664 LN_S=$as_ln_s
15665 if test "$LN_S" = "ln -s"; then
15666 echo "$as_me:$LINENO: result: yes" >&5
15667 echo "${ECHO_T}yes" >&6
15668 else
15669 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15670 echo "${ECHO_T}no, using $LN_S" >&6
15671 fi
15672
15673
15674
15675
15676 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15677 CXXFLAGS="-qunique $CXXFLAGS"
15678 fi
15679
15680 case "${host}" in
15681 powerpc-*-darwin* )
15682 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15683 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690
15691 int
15692 main ()
15693 {
15694 #ifndef __POWERPC__
15695 choke me for lack of PowerPC
15696 #endif
15697
15698 ;
15699 return 0;
15700 }
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15705 ac_status=$?
15706 grep -v '^ *+' conftest.er1 >conftest.err
15707 rm -f conftest.er1
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest.$ac_objext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15720 ac_status=$?
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 echo "$as_me:$LINENO: result: yes" >&5
15724 echo "${ECHO_T}yes" >&6
15725 else
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15728
15729 echo "$as_me:$LINENO: result: no" >&5
15730 echo "${ECHO_T}no" >&6
15731 cat >>confdefs.h <<\_ACEOF
15732 #define __POWERPC__ 1
15733 _ACEOF
15734
15735
15736 fi
15737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15738 ;;
15739 esac
15740
15741 case "${host}" in
15742 *-*-darwin* )
15743 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15744 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <CoreFoundation/CFBase.h>
15752
15753 int
15754 main ()
15755 {
15756
15757 ;
15758 return 0;
15759 }
15760 _ACEOF
15761 rm -f conftest.$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 echo "$as_me:$LINENO: result: yes" >&5
15783 echo "${ECHO_T}yes" >&6
15784 else
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.$ac_ext >&5
15787
15788 echo "$as_me:$LINENO: result: no" >&5
15789 echo "${ECHO_T}no" >&6
15790 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15791 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 #define __CF_USE_FRAMEWORK_INCLUDES__
15799 #include <CoreFoundation/CFBase.h>
15800
15801 int
15802 main ()
15803 {
15804
15805 ;
15806 return 0;
15807 }
15808 _ACEOF
15809 rm -f conftest.$ac_objext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15811 (eval $ac_compile) 2>conftest.er1
15812 ac_status=$?
15813 grep -v '^ *+' conftest.er1 >conftest.err
15814 rm -f conftest.er1
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15821 ac_status=$?
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; } &&
15824 { ac_try='test -s conftest.$ac_objext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15827 ac_status=$?
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 echo "$as_me:$LINENO: result: yes" >&5
15831 echo "${ECHO_T}yes" >&6
15832 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15836
15837 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15838 See \`config.log' for more details." >&5
15839 echo "$as_me: error: no. CoreFoundation not available.
15840 See \`config.log' for more details." >&2;}
15841 { (exit 1); exit 1; }; }
15842
15843 fi
15844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15845
15846
15847 fi
15848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15849 ;;
15850 esac
15851
15852 case "${host}" in
15853 *-pc-os2_emx | *-pc-os2-emx )
15854 ac_ext=c
15855 ac_cpp='$CPP $CPPFLAGS'
15856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15859
15860 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15861 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15862 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15863 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 ac_check_lib_save_LIBS=$LIBS
15867 LIBS="-lcExt $LIBS"
15868 cat >conftest.$ac_ext <<_ACEOF
15869 /* confdefs.h. */
15870 _ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874
15875 /* Override any gcc2 internal prototype to avoid an error. */
15876 #ifdef __cplusplus
15877 extern "C"
15878 #endif
15879 /* We use char because int might match the return type of a gcc2
15880 builtin and then its argument prototype would still apply. */
15881 char drand48 ();
15882 int
15883 main ()
15884 {
15885 drand48 ();
15886 ;
15887 return 0;
15888 }
15889 _ACEOF
15890 rm -f conftest.$ac_objext conftest$ac_exeext
15891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15892 (eval $ac_link) 2>conftest.er1
15893 ac_status=$?
15894 grep -v '^ *+' conftest.er1 >conftest.err
15895 rm -f conftest.er1
15896 cat conftest.err >&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest$ac_exeext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 ac_cv_lib_cExt_drand48=yes
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15915
15916 ac_cv_lib_cExt_drand48=no
15917 fi
15918 rm -f conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_lib_save_LIBS
15921 fi
15922 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15923 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15924 if test $ac_cv_lib_cExt_drand48 = yes; then
15925 LIBS="$LIBS -lcExt"
15926 fi
15927
15928 else
15929 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15930 fi
15931 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15932 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15933 if test "${wx_cv_gccversion+set}" = set; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 else
15936
15937 if test "$cross_compiling" = yes; then
15938 wx_cv_gccversion="EMX2"
15939
15940 else
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947
15948 #include <stdio.h>
15949
15950 int main()
15951 {
15952 FILE *f=fopen("conftestval", "w");
15953 if (!f) exit(1);
15954 fprintf(f,
15955 #if (__GNUC__ < 3)
15956 "EMX2"
15957 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15958 "EMX3"
15959 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15960 "Innotek5"
15961 #else
15962 "Innotek6"
15963 #endif
15964 );
15965 exit(0);
15966 }
15967
15968 _ACEOF
15969 rm -f conftest$ac_exeext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15971 (eval $ac_link) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 wx_cv_gccversion=`cat conftestval`
15981 else
15982 echo "$as_me: program exited with status $ac_status" >&5
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15985
15986 ( exit $ac_status )
15987 wx_cv_gccversion="EMX2"
15988 fi
15989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15990 fi
15991
15992 fi
15993 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15994 echo "${ECHO_T}$wx_cv_gccversion" >&6
15995 ac_ext=cc
15996 ac_cpp='$CXXCPP $CPPFLAGS'
15997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16000
16001 if test "$wx_cv_gccversion" = "EMX2"; then
16002 LIBS="$LIBS -lstdcpp"
16003 LDFLAGS="$LDFLAGS -Zsysv-signals"
16004 else
16005 if test "$wx_cv_gccversion" = "EMX3"; then
16006 LIBS="$LIBS -lstdcxx -lgcc"
16007 LDFLAGS="$LDFLAGS -Zsysv-signals"
16008 else
16009 LIBS="$LIBS -lstdc++"
16010 fi
16011 fi
16012 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16013 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16014 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16015 wxUSE_OMF=yes
16016 enable_omf=yes
16017 fi
16018 ;;
16019 *)
16020
16021 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16022 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16023 if test "${ac_cv_string_strcasecmp+set}" = set; then
16024 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 else
16026
16027 cat >conftest.$ac_ext <<_ACEOF
16028 /* confdefs.h. */
16029 _ACEOF
16030 cat confdefs.h >>conftest.$ac_ext
16031 cat >>conftest.$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16033
16034 #include <string.h>
16035
16036 int
16037 main ()
16038 {
16039
16040 strcasecmp("foo", "bar");
16041
16042 ;
16043 return 0;
16044 }
16045 _ACEOF
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048 (eval $ac_link) 2>conftest.er1
16049 ac_status=$?
16050 grep -v '^ *+' conftest.er1 >conftest.err
16051 rm -f conftest.er1
16052 cat conftest.err >&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16058 ac_status=$?
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; } &&
16061 { ac_try='test -s conftest$ac_exeext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_cv_string_strcasecmp=yes
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16071
16072 ac_cv_string_strcasecmp=no
16073
16074 fi
16075 rm -f conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16077
16078 fi
16079 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16080 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16081
16082 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16083 cat >>confdefs.h <<\_ACEOF
16084 #define HAVE_STRCASECMP_IN_STRING_H 1
16085 _ACEOF
16086
16087 else
16088 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16089 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16090 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16091 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 else
16093
16094 cat >conftest.$ac_ext <<_ACEOF
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100
16101 #include <strings.h>
16102
16103 int
16104 main ()
16105 {
16106
16107 strcasecmp("foo", "bar");
16108
16109 ;
16110 return 0;
16111 }
16112 _ACEOF
16113 rm -f conftest.$ac_objext conftest$ac_exeext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16115 (eval $ac_link) 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; } &&
16128 { ac_try='test -s conftest$ac_exeext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_cv_strings_strcasecmp=yes
16135 else
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16138
16139 ac_cv_strings_strcasecmp=no
16140
16141 fi
16142 rm -f conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext conftest.$ac_ext
16144
16145 fi
16146 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16147 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16148
16149 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16150 cat >>confdefs.h <<\_ACEOF
16151 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16152 _ACEOF
16153
16154 else
16155 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16156 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16157 { (exit 1); exit 1; }; }
16158 fi
16159 fi
16160
16161 ;;
16162 esac
16163
16164
16165 ac_ext=cc
16166 ac_cpp='$CXXCPP $CPPFLAGS'
16167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16170 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16171 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16172 if test -z "$CXXCPP"; then
16173 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16175 else
16176 # Double quotes because CXXCPP needs to be expanded
16177 for CXXCPP in "$CXX -E" "/lib/cpp"
16178 do
16179 ac_preproc_ok=false
16180 for ac_cxx_preproc_warn_flag in '' yes
16181 do
16182 # Use a header file that comes with gcc, so configuring glibc
16183 # with a fresh cross-compiler works.
16184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16185 # <limits.h> exists even on freestanding compilers.
16186 # On the NeXT, cc -E runs the code through the compiler's parser,
16187 # not just through cpp. "Syntax error" is here to catch this case.
16188 cat >conftest.$ac_ext <<_ACEOF
16189 /* confdefs.h. */
16190 _ACEOF
16191 cat confdefs.h >>conftest.$ac_ext
16192 cat >>conftest.$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 #ifdef __STDC__
16195 # include <limits.h>
16196 #else
16197 # include <assert.h>
16198 #endif
16199 Syntax error
16200 _ACEOF
16201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16203 ac_status=$?
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } >/dev/null; then
16209 if test -s conftest.err; then
16210 ac_cpp_err=$ac_cxx_preproc_warn_flag
16211 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16212 else
16213 ac_cpp_err=
16214 fi
16215 else
16216 ac_cpp_err=yes
16217 fi
16218 if test -z "$ac_cpp_err"; then
16219 :
16220 else
16221 echo "$as_me: failed program was:" >&5
16222 sed 's/^/| /' conftest.$ac_ext >&5
16223
16224 # Broken: fails on valid input.
16225 continue
16226 fi
16227 rm -f conftest.err conftest.$ac_ext
16228
16229 # OK, works on sane cases. Now check whether non-existent headers
16230 # can be detected and how.
16231 cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h. */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #include <ac_nonexistent.h>
16238 _ACEOF
16239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } >/dev/null; then
16247 if test -s conftest.err; then
16248 ac_cpp_err=$ac_cxx_preproc_warn_flag
16249 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16250 else
16251 ac_cpp_err=
16252 fi
16253 else
16254 ac_cpp_err=yes
16255 fi
16256 if test -z "$ac_cpp_err"; then
16257 # Broken: success on invalid input.
16258 continue
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16262
16263 # Passes both tests.
16264 ac_preproc_ok=:
16265 break
16266 fi
16267 rm -f conftest.err conftest.$ac_ext
16268
16269 done
16270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16271 rm -f conftest.err conftest.$ac_ext
16272 if $ac_preproc_ok; then
16273 break
16274 fi
16275
16276 done
16277 ac_cv_prog_CXXCPP=$CXXCPP
16278
16279 fi
16280 CXXCPP=$ac_cv_prog_CXXCPP
16281 else
16282 ac_cv_prog_CXXCPP=$CXXCPP
16283 fi
16284 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16285 echo "${ECHO_T}$CXXCPP" >&6
16286 ac_preproc_ok=false
16287 for ac_cxx_preproc_warn_flag in '' yes
16288 do
16289 # Use a header file that comes with gcc, so configuring glibc
16290 # with a fresh cross-compiler works.
16291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 # <limits.h> exists even on freestanding compilers.
16293 # On the NeXT, cc -E runs the code through the compiler's parser,
16294 # not just through cpp. "Syntax error" is here to catch this case.
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 #ifdef __STDC__
16302 # include <limits.h>
16303 #else
16304 # include <assert.h>
16305 #endif
16306 Syntax error
16307 _ACEOF
16308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16310 ac_status=$?
16311 grep -v '^ *+' conftest.er1 >conftest.err
16312 rm -f conftest.er1
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } >/dev/null; then
16316 if test -s conftest.err; then
16317 ac_cpp_err=$ac_cxx_preproc_warn_flag
16318 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16319 else
16320 ac_cpp_err=
16321 fi
16322 else
16323 ac_cpp_err=yes
16324 fi
16325 if test -z "$ac_cpp_err"; then
16326 :
16327 else
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.$ac_ext >&5
16330
16331 # Broken: fails on valid input.
16332 continue
16333 fi
16334 rm -f conftest.err conftest.$ac_ext
16335
16336 # OK, works on sane cases. Now check whether non-existent headers
16337 # can be detected and how.
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 #include <ac_nonexistent.h>
16345 _ACEOF
16346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } >/dev/null; then
16354 if test -s conftest.err; then
16355 ac_cpp_err=$ac_cxx_preproc_warn_flag
16356 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16357 else
16358 ac_cpp_err=
16359 fi
16360 else
16361 ac_cpp_err=yes
16362 fi
16363 if test -z "$ac_cpp_err"; then
16364 # Broken: success on invalid input.
16365 continue
16366 else
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16369
16370 # Passes both tests.
16371 ac_preproc_ok=:
16372 break
16373 fi
16374 rm -f conftest.err conftest.$ac_ext
16375
16376 done
16377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16378 rm -f conftest.err conftest.$ac_ext
16379 if $ac_preproc_ok; then
16380 :
16381 else
16382 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16383 See \`config.log' for more details." >&5
16384 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16385 See \`config.log' for more details." >&2;}
16386 { (exit 1); exit 1; }; }
16387 fi
16388
16389 ac_ext=cc
16390 ac_cpp='$CXXCPP $CPPFLAGS'
16391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16394
16395
16396 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16397 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16398 if test "${ac_cv_header_stdc+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h. */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407 #include <stdlib.h>
16408 #include <stdarg.h>
16409 #include <string.h>
16410 #include <float.h>
16411
16412 int
16413 main ()
16414 {
16415
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16432 ac_status=$?
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; } &&
16435 { ac_try='test -s conftest.$ac_objext'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
16441 ac_cv_header_stdc=yes
16442 else
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16445
16446 ac_cv_header_stdc=no
16447 fi
16448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16449
16450 if test $ac_cv_header_stdc = yes; then
16451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16452 cat >conftest.$ac_ext <<_ACEOF
16453 /* confdefs.h. */
16454 _ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 #include <string.h>
16459
16460 _ACEOF
16461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16462 $EGREP "memchr" >/dev/null 2>&1; then
16463 :
16464 else
16465 ac_cv_header_stdc=no
16466 fi
16467 rm -f conftest*
16468
16469 fi
16470
16471 if test $ac_cv_header_stdc = yes; then
16472 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16473 cat >conftest.$ac_ext <<_ACEOF
16474 /* confdefs.h. */
16475 _ACEOF
16476 cat confdefs.h >>conftest.$ac_ext
16477 cat >>conftest.$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <stdlib.h>
16480
16481 _ACEOF
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "free" >/dev/null 2>&1; then
16484 :
16485 else
16486 ac_cv_header_stdc=no
16487 fi
16488 rm -f conftest*
16489
16490 fi
16491
16492 if test $ac_cv_header_stdc = yes; then
16493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16494 if test "$cross_compiling" = yes; then
16495 :
16496 else
16497 cat >conftest.$ac_ext <<_ACEOF
16498 /* confdefs.h. */
16499 _ACEOF
16500 cat confdefs.h >>conftest.$ac_ext
16501 cat >>conftest.$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503 #include <ctype.h>
16504 #if ((' ' & 0x0FF) == 0x020)
16505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16507 #else
16508 # define ISLOWER(c) \
16509 (('a' <= (c) && (c) <= 'i') \
16510 || ('j' <= (c) && (c) <= 'r') \
16511 || ('s' <= (c) && (c) <= 'z'))
16512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16513 #endif
16514
16515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16516 int
16517 main ()
16518 {
16519 int i;
16520 for (i = 0; i < 256; i++)
16521 if (XOR (islower (i), ISLOWER (i))
16522 || toupper (i) != TOUPPER (i))
16523 exit(2);
16524 exit (0);
16525 }
16526 _ACEOF
16527 rm -f conftest$ac_exeext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16529 (eval $ac_link) 2>&5
16530 ac_status=$?
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 :
16539 else
16540 echo "$as_me: program exited with status $ac_status" >&5
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.$ac_ext >&5
16543
16544 ( exit $ac_status )
16545 ac_cv_header_stdc=no
16546 fi
16547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16548 fi
16549 fi
16550 fi
16551 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16552 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16553 if test $ac_cv_header_stdc = yes; then
16554
16555 cat >>confdefs.h <<\_ACEOF
16556 #define STDC_HEADERS 1
16557 _ACEOF
16558
16559 fi
16560
16561 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16572 inttypes.h stdint.h unistd.h
16573 do
16574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16575 echo "$as_me:$LINENO: checking for $ac_header" >&5
16576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 else
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587
16588 #include <$ac_header>
16589 _ACEOF
16590 rm -f conftest.$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16593 ac_status=$?
16594 grep -v '^ *+' conftest.er1 >conftest.err
16595 rm -f conftest.er1
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 eval "$as_ac_Header=yes"
16612 else
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.$ac_ext >&5
16615
16616 eval "$as_ac_Header=no"
16617 fi
16618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16619 fi
16620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16623 cat >>confdefs.h <<_ACEOF
16624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16625 _ACEOF
16626
16627 fi
16628
16629 done
16630
16631
16632
16633 for ac_header in stdlib.h
16634 do
16635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo "$as_me:$LINENO: checking for $ac_header" >&5
16638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 fi
16642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16644 else
16645 # Is the header compilable?
16646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16648 cat >conftest.$ac_ext <<_ACEOF
16649 /* confdefs.h. */
16650 _ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16654 $ac_includes_default
16655 #include <$ac_header>
16656 _ACEOF
16657 rm -f conftest.$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16660 ac_status=$?
16661 grep -v '^ *+' conftest.er1 >conftest.err
16662 rm -f conftest.er1
16663 cat conftest.err >&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest.$ac_objext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16675 ac_status=$?
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16678 ac_header_compiler=yes
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16682
16683 ac_header_compiler=no
16684 fi
16685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16687 echo "${ECHO_T}$ac_header_compiler" >&6
16688
16689 # Is the header present?
16690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 #include <$ac_header>
16699 _ACEOF
16700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16702 ac_status=$?
16703 grep -v '^ *+' conftest.er1 >conftest.err
16704 rm -f conftest.er1
16705 cat conftest.err >&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } >/dev/null; then
16708 if test -s conftest.err; then
16709 ac_cpp_err=$ac_cxx_preproc_warn_flag
16710 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16711 else
16712 ac_cpp_err=
16713 fi
16714 else
16715 ac_cpp_err=yes
16716 fi
16717 if test -z "$ac_cpp_err"; then
16718 ac_header_preproc=yes
16719 else
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.$ac_ext >&5
16722
16723 ac_header_preproc=no
16724 fi
16725 rm -f conftest.err conftest.$ac_ext
16726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16727 echo "${ECHO_T}$ac_header_preproc" >&6
16728
16729 # So? What about this header?
16730 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16731 yes:no: )
16732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16736 ac_header_preproc=yes
16737 ;;
16738 no:yes:* )
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16751 (
16752 cat <<\_ASBOX
16753 ## ----------------------------------------- ##
16754 ## Report this to wx-dev@lists.wxwidgets.org ##
16755 ## ----------------------------------------- ##
16756 _ASBOX
16757 ) |
16758 sed "s/^/$as_me: WARNING: /" >&2
16759 ;;
16760 esac
16761 echo "$as_me:$LINENO: checking for $ac_header" >&5
16762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16764 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 else
16766 eval "$as_ac_Header=\$ac_header_preproc"
16767 fi
16768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16770
16771 fi
16772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16773 cat >>confdefs.h <<_ACEOF
16774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16775 _ACEOF
16776
16777 fi
16778
16779 done
16780
16781
16782 for ac_header in malloc.h
16783 do
16784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16786 echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 fi
16791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16793 else
16794 # Is the header compilable?
16795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16797 cat >conftest.$ac_ext <<_ACEOF
16798 /* confdefs.h. */
16799 _ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 #include <$ac_header>
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_header_compiler=yes
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16831
16832 ac_header_compiler=no
16833 fi
16834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16836 echo "${ECHO_T}$ac_header_compiler" >&6
16837
16838 # Is the header present?
16839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16841 cat >conftest.$ac_ext <<_ACEOF
16842 /* confdefs.h. */
16843 _ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 #include <$ac_header>
16848 _ACEOF
16849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } >/dev/null; then
16857 if test -s conftest.err; then
16858 ac_cpp_err=$ac_cxx_preproc_warn_flag
16859 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16860 else
16861 ac_cpp_err=
16862 fi
16863 else
16864 ac_cpp_err=yes
16865 fi
16866 if test -z "$ac_cpp_err"; then
16867 ac_header_preproc=yes
16868 else
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.$ac_ext >&5
16871
16872 ac_header_preproc=no
16873 fi
16874 rm -f conftest.err conftest.$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16876 echo "${ECHO_T}$ac_header_preproc" >&6
16877
16878 # So? What about this header?
16879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16880 yes:no: )
16881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16885 ac_header_preproc=yes
16886 ;;
16887 no:yes:* )
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16900 (
16901 cat <<\_ASBOX
16902 ## ----------------------------------------- ##
16903 ## Report this to wx-dev@lists.wxwidgets.org ##
16904 ## ----------------------------------------- ##
16905 _ASBOX
16906 ) |
16907 sed "s/^/$as_me: WARNING: /" >&2
16908 ;;
16909 esac
16910 echo "$as_me:$LINENO: checking for $ac_header" >&5
16911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 eval "$as_ac_Header=\$ac_header_preproc"
16916 fi
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16919
16920 fi
16921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16922 cat >>confdefs.h <<_ACEOF
16923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16924 _ACEOF
16925
16926 fi
16927
16928 done
16929
16930
16931 for ac_header in unistd.h
16932 do
16933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16935 echo "$as_me:$LINENO: checking for $ac_header" >&5
16936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16938 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 fi
16940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16942 else
16943 # Is the header compilable?
16944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16946 cat >conftest.$ac_ext <<_ACEOF
16947 /* confdefs.h. */
16948 _ACEOF
16949 cat confdefs.h >>conftest.$ac_ext
16950 cat >>conftest.$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16953 #include <$ac_header>
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16957 (eval $ac_compile) 2>conftest.er1
16958 ac_status=$?
16959 grep -v '^ *+' conftest.er1 >conftest.err
16960 rm -f conftest.er1
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16973 ac_status=$?
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_header_compiler=yes
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 ac_header_compiler=no
16982 fi
16983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16985 echo "${ECHO_T}$ac_header_compiler" >&6
16986
16987 # Is the header present?
16988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16990 cat >conftest.$ac_ext <<_ACEOF
16991 /* confdefs.h. */
16992 _ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 #include <$ac_header>
16997 _ACEOF
16998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17000 ac_status=$?
17001 grep -v '^ *+' conftest.er1 >conftest.err
17002 rm -f conftest.er1
17003 cat conftest.err >&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } >/dev/null; then
17006 if test -s conftest.err; then
17007 ac_cpp_err=$ac_cxx_preproc_warn_flag
17008 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17009 else
17010 ac_cpp_err=
17011 fi
17012 else
17013 ac_cpp_err=yes
17014 fi
17015 if test -z "$ac_cpp_err"; then
17016 ac_header_preproc=yes
17017 else
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17020
17021 ac_header_preproc=no
17022 fi
17023 rm -f conftest.err conftest.$ac_ext
17024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17025 echo "${ECHO_T}$ac_header_preproc" >&6
17026
17027 # So? What about this header?
17028 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17029 yes:no: )
17030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17034 ac_header_preproc=yes
17035 ;;
17036 no:yes:* )
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17049 (
17050 cat <<\_ASBOX
17051 ## ----------------------------------------- ##
17052 ## Report this to wx-dev@lists.wxwidgets.org ##
17053 ## ----------------------------------------- ##
17054 _ASBOX
17055 ) |
17056 sed "s/^/$as_me: WARNING: /" >&2
17057 ;;
17058 esac
17059 echo "$as_me:$LINENO: checking for $ac_header" >&5
17060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 else
17064 eval "$as_ac_Header=\$ac_header_preproc"
17065 fi
17066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17068
17069 fi
17070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17073 _ACEOF
17074
17075 fi
17076
17077 done
17078
17079
17080 for ac_header in wchar.h
17081 do
17082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo "$as_me:$LINENO: checking for $ac_header" >&5
17085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 fi
17089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17091 else
17092 # Is the header compilable?
17093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17095 cat >conftest.$ac_ext <<_ACEOF
17096 /* confdefs.h. */
17097 _ACEOF
17098 cat confdefs.h >>conftest.$ac_ext
17099 cat >>conftest.$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 $ac_includes_default
17102 #include <$ac_header>
17103 _ACEOF
17104 rm -f conftest.$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17122 ac_status=$?
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 ac_header_compiler=yes
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 ac_header_compiler=no
17131 fi
17132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17134 echo "${ECHO_T}$ac_header_compiler" >&6
17135
17136 # Is the header present?
17137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17139 cat >conftest.$ac_ext <<_ACEOF
17140 /* confdefs.h. */
17141 _ACEOF
17142 cat confdefs.h >>conftest.$ac_ext
17143 cat >>conftest.$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 #include <$ac_header>
17146 _ACEOF
17147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17149 ac_status=$?
17150 grep -v '^ *+' conftest.er1 >conftest.err
17151 rm -f conftest.er1
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } >/dev/null; then
17155 if test -s conftest.err; then
17156 ac_cpp_err=$ac_cxx_preproc_warn_flag
17157 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17158 else
17159 ac_cpp_err=
17160 fi
17161 else
17162 ac_cpp_err=yes
17163 fi
17164 if test -z "$ac_cpp_err"; then
17165 ac_header_preproc=yes
17166 else
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17169
17170 ac_header_preproc=no
17171 fi
17172 rm -f conftest.err conftest.$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17174 echo "${ECHO_T}$ac_header_preproc" >&6
17175
17176 # So? What about this header?
17177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17178 yes:no: )
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17183 ac_header_preproc=yes
17184 ;;
17185 no:yes:* )
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17198 (
17199 cat <<\_ASBOX
17200 ## ----------------------------------------- ##
17201 ## Report this to wx-dev@lists.wxwidgets.org ##
17202 ## ----------------------------------------- ##
17203 _ASBOX
17204 ) |
17205 sed "s/^/$as_me: WARNING: /" >&2
17206 ;;
17207 esac
17208 echo "$as_me:$LINENO: checking for $ac_header" >&5
17209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 else
17213 eval "$as_ac_Header=\$ac_header_preproc"
17214 fi
17215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17217
17218 fi
17219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17220 cat >>confdefs.h <<_ACEOF
17221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17222 _ACEOF
17223
17224 fi
17225
17226 done
17227
17228
17229 if test "$ac_cv_header_wchar_h" != "yes"; then
17230
17231 for ac_header in wcstr.h
17232 do
17233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo "$as_me:$LINENO: checking for $ac_header" >&5
17236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 fi
17240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17242 else
17243 # Is the header compilable?
17244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17246 cat >conftest.$ac_ext <<_ACEOF
17247 /* confdefs.h. */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252 $ac_includes_default
17253 #include <$ac_header>
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } &&
17264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try='test -s conftest.$ac_objext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17273 ac_status=$?
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_header_compiler=yes
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281 ac_header_compiler=no
17282 fi
17283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17285 echo "${ECHO_T}$ac_header_compiler" >&6
17286
17287 # Is the header present?
17288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 #include <$ac_header>
17297 _ACEOF
17298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17300 ac_status=$?
17301 grep -v '^ *+' conftest.er1 >conftest.err
17302 rm -f conftest.er1
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } >/dev/null; then
17306 if test -s conftest.err; then
17307 ac_cpp_err=$ac_cxx_preproc_warn_flag
17308 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17309 else
17310 ac_cpp_err=
17311 fi
17312 else
17313 ac_cpp_err=yes
17314 fi
17315 if test -z "$ac_cpp_err"; then
17316 ac_header_preproc=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_header_preproc=no
17322 fi
17323 rm -f conftest.err conftest.$ac_ext
17324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17325 echo "${ECHO_T}$ac_header_preproc" >&6
17326
17327 # So? What about this header?
17328 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17329 yes:no: )
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17334 ac_header_preproc=yes
17335 ;;
17336 no:yes:* )
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17349 (
17350 cat <<\_ASBOX
17351 ## ----------------------------------------- ##
17352 ## Report this to wx-dev@lists.wxwidgets.org ##
17353 ## ----------------------------------------- ##
17354 _ASBOX
17355 ) |
17356 sed "s/^/$as_me: WARNING: /" >&2
17357 ;;
17358 esac
17359 echo "$as_me:$LINENO: checking for $ac_header" >&5
17360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 eval "$as_ac_Header=\$ac_header_preproc"
17365 fi
17366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17368
17369 fi
17370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17371 cat >>confdefs.h <<_ACEOF
17372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17373 _ACEOF
17374
17375 fi
17376
17377 done
17378
17379 fi
17380
17381
17382 for ac_header in fnmatch.h
17383 do
17384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17386 echo "$as_me:$LINENO: checking for $ac_header" >&5
17387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 fi
17391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17393 else
17394 # Is the header compilable?
17395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17397 cat >conftest.$ac_ext <<_ACEOF
17398 /* confdefs.h. */
17399 _ACEOF
17400 cat confdefs.h >>conftest.$ac_ext
17401 cat >>conftest.$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403 $ac_includes_default
17404 #include <$ac_header>
17405 _ACEOF
17406 rm -f conftest.$ac_objext
17407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17408 (eval $ac_compile) 2>conftest.er1
17409 ac_status=$?
17410 grep -v '^ *+' conftest.er1 >conftest.err
17411 rm -f conftest.er1
17412 cat conftest.err >&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } &&
17415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17418 ac_status=$?
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; } &&
17421 { ac_try='test -s conftest.$ac_objext'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17424 ac_status=$?
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; }; then
17427 ac_header_compiler=yes
17428 else
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17431
17432 ac_header_compiler=no
17433 fi
17434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17436 echo "${ECHO_T}$ac_header_compiler" >&6
17437
17438 # Is the header present?
17439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17441 cat >conftest.$ac_ext <<_ACEOF
17442 /* confdefs.h. */
17443 _ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 #include <$ac_header>
17448 _ACEOF
17449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } >/dev/null; then
17457 if test -s conftest.err; then
17458 ac_cpp_err=$ac_cxx_preproc_warn_flag
17459 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17460 else
17461 ac_cpp_err=
17462 fi
17463 else
17464 ac_cpp_err=yes
17465 fi
17466 if test -z "$ac_cpp_err"; then
17467 ac_header_preproc=yes
17468 else
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.$ac_ext >&5
17471
17472 ac_header_preproc=no
17473 fi
17474 rm -f conftest.err conftest.$ac_ext
17475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17476 echo "${ECHO_T}$ac_header_preproc" >&6
17477
17478 # So? What about this header?
17479 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17480 yes:no: )
17481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17485 ac_header_preproc=yes
17486 ;;
17487 no:yes:* )
17488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17500 (
17501 cat <<\_ASBOX
17502 ## ----------------------------------------- ##
17503 ## Report this to wx-dev@lists.wxwidgets.org ##
17504 ## ----------------------------------------- ##
17505 _ASBOX
17506 ) |
17507 sed "s/^/$as_me: WARNING: /" >&2
17508 ;;
17509 esac
17510 echo "$as_me:$LINENO: checking for $ac_header" >&5
17511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17514 else
17515 eval "$as_ac_Header=\$ac_header_preproc"
17516 fi
17517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17519
17520 fi
17521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17522 cat >>confdefs.h <<_ACEOF
17523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17524 _ACEOF
17525
17526 fi
17527
17528 done
17529
17530
17531
17532 for ac_header in langinfo.h
17533 do
17534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17536 echo "$as_me:$LINENO: checking for $ac_header" >&5
17537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 fi
17541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17543 else
17544 # Is the header compilable?
17545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 $ac_includes_default
17554 #include <$ac_header>
17555 _ACEOF
17556 rm -f conftest.$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_header_compiler=yes
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17581
17582 ac_header_compiler=no
17583 fi
17584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17586 echo "${ECHO_T}$ac_header_compiler" >&6
17587
17588 # Is the header present?
17589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <$ac_header>
17598 _ACEOF
17599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17601 ac_status=$?
17602 grep -v '^ *+' conftest.er1 >conftest.err
17603 rm -f conftest.er1
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } >/dev/null; then
17607 if test -s conftest.err; then
17608 ac_cpp_err=$ac_cxx_preproc_warn_flag
17609 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17610 else
17611 ac_cpp_err=
17612 fi
17613 else
17614 ac_cpp_err=yes
17615 fi
17616 if test -z "$ac_cpp_err"; then
17617 ac_header_preproc=yes
17618 else
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.$ac_ext >&5
17621
17622 ac_header_preproc=no
17623 fi
17624 rm -f conftest.err conftest.$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17626 echo "${ECHO_T}$ac_header_preproc" >&6
17627
17628 # So? What about this header?
17629 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17630 yes:no: )
17631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17635 ac_header_preproc=yes
17636 ;;
17637 no:yes:* )
17638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17650 (
17651 cat <<\_ASBOX
17652 ## ----------------------------------------- ##
17653 ## Report this to wx-dev@lists.wxwidgets.org ##
17654 ## ----------------------------------------- ##
17655 _ASBOX
17656 ) |
17657 sed "s/^/$as_me: WARNING: /" >&2
17658 ;;
17659 esac
17660 echo "$as_me:$LINENO: checking for $ac_header" >&5
17661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17663 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 else
17665 eval "$as_ac_Header=\$ac_header_preproc"
17666 fi
17667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17669
17670 fi
17671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17672 cat >>confdefs.h <<_ACEOF
17673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17674 _ACEOF
17675
17676 fi
17677
17678 done
17679
17680
17681 case "${host}" in
17682 *-pc-os2_emx | *-pc-os2-emx )
17683 if test $ac_cv_header_langinfo_h = "yes" \
17684 -a \( "$wx_cv_gccversion" = "EMX2" \
17685 -o "$wx_cv_gccversion" = "EMX3" \
17686 -o "$wx_cv_gccversion" = "Innotek5" \); then
17687 LIBS="$LIBS -lintl"
17688 fi
17689 ;;
17690 esac
17691
17692 if test "$USE_UNIX" = 1 ; then
17693
17694 for ac_header in sys/select.h
17695 do
17696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17698 echo "$as_me:$LINENO: checking for $ac_header" >&5
17699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 fi
17703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17705 else
17706 # Is the header compilable?
17707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h. */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17716 #include <$ac_header>
17717 _ACEOF
17718 rm -f conftest.$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17721 ac_status=$?
17722 grep -v '^ *+' conftest.er1 >conftest.err
17723 rm -f conftest.er1
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17730 ac_status=$?
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; } &&
17733 { ac_try='test -s conftest.$ac_objext'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17736 ac_status=$?
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; }; then
17739 ac_header_compiler=yes
17740 else
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17743
17744 ac_header_compiler=no
17745 fi
17746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17748 echo "${ECHO_T}$ac_header_compiler" >&6
17749
17750 # Is the header present?
17751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h. */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 #include <$ac_header>
17760 _ACEOF
17761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } >/dev/null; then
17769 if test -s conftest.err; then
17770 ac_cpp_err=$ac_cxx_preproc_warn_flag
17771 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17772 else
17773 ac_cpp_err=
17774 fi
17775 else
17776 ac_cpp_err=yes
17777 fi
17778 if test -z "$ac_cpp_err"; then
17779 ac_header_preproc=yes
17780 else
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17783
17784 ac_header_preproc=no
17785 fi
17786 rm -f conftest.err conftest.$ac_ext
17787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17788 echo "${ECHO_T}$ac_header_preproc" >&6
17789
17790 # So? What about this header?
17791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17792 yes:no: )
17793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17797 ac_header_preproc=yes
17798 ;;
17799 no:yes:* )
17800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17812 (
17813 cat <<\_ASBOX
17814 ## ----------------------------------------- ##
17815 ## Report this to wx-dev@lists.wxwidgets.org ##
17816 ## ----------------------------------------- ##
17817 _ASBOX
17818 ) |
17819 sed "s/^/$as_me: WARNING: /" >&2
17820 ;;
17821 esac
17822 echo "$as_me:$LINENO: checking for $ac_header" >&5
17823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17825 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 else
17827 eval "$as_ac_Header=\$ac_header_preproc"
17828 fi
17829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17831
17832 fi
17833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17834 cat >>confdefs.h <<_ACEOF
17835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17836 _ACEOF
17837
17838 fi
17839
17840 done
17841
17842 fi
17843
17844
17845 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17846 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17847 if test "${ac_cv_c_const+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856
17857 int
17858 main ()
17859 {
17860 /* FIXME: Include the comments suggested by Paul. */
17861 #ifndef __cplusplus
17862 /* Ultrix mips cc rejects this. */
17863 typedef int charset[2];
17864 const charset x;
17865 /* SunOS 4.1.1 cc rejects this. */
17866 char const *const *ccp;
17867 char **p;
17868 /* NEC SVR4.0.2 mips cc rejects this. */
17869 struct point {int x, y;};
17870 static struct point const zero = {0,0};
17871 /* AIX XL C 1.02.0.0 rejects this.
17872 It does not let you subtract one const X* pointer from another in
17873 an arm of an if-expression whose if-part is not a constant
17874 expression */
17875 const char *g = "string";
17876 ccp = &g + (g ? g-g : 0);
17877 /* HPUX 7.0 cc rejects these. */
17878 ++ccp;
17879 p = (char**) ccp;
17880 ccp = (char const *const *) p;
17881 { /* SCO 3.2v4 cc rejects this. */
17882 char *t;
17883 char const *s = 0 ? (char *) 0 : (char const *) 0;
17884
17885 *t++ = 0;
17886 }
17887 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17888 int x[] = {25, 17};
17889 const int *foo = &x[0];
17890 ++foo;
17891 }
17892 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17893 typedef const int *iptr;
17894 iptr p = 0;
17895 ++p;
17896 }
17897 { /* AIX XL C 1.02.0.0 rejects this saying
17898 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17899 struct s { int j; const int *ap[3]; };
17900 struct s *b; b->j = 5;
17901 }
17902 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17903 const int foo = 10;
17904 }
17905 #endif
17906
17907 ;
17908 return 0;
17909 }
17910 _ACEOF
17911 rm -f conftest.$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_cv_c_const=yes
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 ac_cv_c_const=no
17938 fi
17939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940 fi
17941 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17942 echo "${ECHO_T}$ac_cv_c_const" >&6
17943 if test $ac_cv_c_const = no; then
17944
17945 cat >>confdefs.h <<\_ACEOF
17946 #define const
17947 _ACEOF
17948
17949 fi
17950
17951 echo "$as_me:$LINENO: checking for inline" >&5
17952 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17953 if test "${ac_cv_c_inline+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956 ac_cv_c_inline=no
17957 for ac_kw in inline __inline__ __inline; do
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #ifndef __cplusplus
17965 typedef int foo_t;
17966 static $ac_kw foo_t static_foo () {return 0; }
17967 $ac_kw foo_t foo () {return 0; }
17968 #endif
17969
17970 _ACEOF
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_cv_c_inline=$ac_kw; break
17993 else
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17996
17997 fi
17998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17999 done
18000
18001 fi
18002 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18003 echo "${ECHO_T}$ac_cv_c_inline" >&6
18004
18005
18006 case $ac_cv_c_inline in
18007 inline | yes) ;;
18008 *)
18009 case $ac_cv_c_inline in
18010 no) ac_val=;;
18011 *) ac_val=$ac_cv_c_inline;;
18012 esac
18013 cat >>confdefs.h <<_ACEOF
18014 #ifndef __cplusplus
18015 #define inline $ac_val
18016 #endif
18017 _ACEOF
18018 ;;
18019 esac
18020
18021
18022 echo "$as_me:$LINENO: checking for char" >&5
18023 echo $ECHO_N "checking for char... $ECHO_C" >&6
18024 if test "${ac_cv_type_char+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 else
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 int
18035 main ()
18036 {
18037 if ((char *) 0)
18038 return 0;
18039 if (sizeof (char))
18040 return 0;
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest.$ac_objext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18047 (eval $ac_compile) 2>conftest.er1
18048 ac_status=$?
18049 grep -v '^ *+' conftest.er1 >conftest.err
18050 rm -f conftest.er1
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } &&
18054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_cv_type_char=yes
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 ac_cv_type_char=no
18072 fi
18073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18074 fi
18075 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18076 echo "${ECHO_T}$ac_cv_type_char" >&6
18077
18078 echo "$as_me:$LINENO: checking size of char" >&5
18079 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18080 if test "${ac_cv_sizeof_char+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18083 if test "$ac_cv_type_char" = yes; then
18084 # The cast to unsigned long works around a bug in the HP C Compiler
18085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18087 # This bug is HP SR number 8606223364.
18088 if test "$cross_compiling" = yes; then
18089 # Depending upon the size, compute the lo and hi bounds.
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 int
18098 main ()
18099 {
18100 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18101 test_array [0] = 0
18102
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_lo=0 ac_mid=0
18129 while :; do
18130 cat >conftest.$ac_ext <<_ACEOF
18131 /* confdefs.h. */
18132 _ACEOF
18133 cat confdefs.h >>conftest.$ac_ext
18134 cat >>conftest.$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 $ac_includes_default
18137 int
18138 main ()
18139 {
18140 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18141 test_array [0] = 0
18142
18143 ;
18144 return 0;
18145 }
18146 _ACEOF
18147 rm -f conftest.$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18150 ac_status=$?
18151 grep -v '^ *+' conftest.er1 >conftest.err
18152 rm -f conftest.er1
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_hi=$ac_mid; break
18169 else
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.$ac_ext >&5
18172
18173 ac_lo=`expr $ac_mid + 1`
18174 if test $ac_lo -le $ac_mid; then
18175 ac_lo= ac_hi=
18176 break
18177 fi
18178 ac_mid=`expr 2 '*' $ac_mid + 1`
18179 fi
18180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18181 done
18182 else
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.$ac_ext >&5
18185
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 $ac_includes_default
18193 int
18194 main ()
18195 {
18196 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18197 test_array [0] = 0
18198
18199 ;
18200 return 0;
18201 }
18202 _ACEOF
18203 rm -f conftest.$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18206 ac_status=$?
18207 grep -v '^ *+' conftest.er1 >conftest.err
18208 rm -f conftest.er1
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_hi=-1 ac_mid=-1
18225 while :; do
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 int
18234 main ()
18235 {
18236 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18237 test_array [0] = 0
18238
18239 ;
18240 return 0;
18241 }
18242 _ACEOF
18243 rm -f conftest.$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>conftest.er1
18246 ac_status=$?
18247 grep -v '^ *+' conftest.er1 >conftest.err
18248 rm -f conftest.er1
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; } &&
18258 { ac_try='test -s conftest.$ac_objext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18261 ac_status=$?
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_lo=$ac_mid; break
18265 else
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.$ac_ext >&5
18268
18269 ac_hi=`expr '(' $ac_mid ')' - 1`
18270 if test $ac_mid -le $ac_hi; then
18271 ac_lo= ac_hi=
18272 break
18273 fi
18274 ac_mid=`expr 2 '*' $ac_mid`
18275 fi
18276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18277 done
18278 else
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.$ac_ext >&5
18281
18282 ac_lo= ac_hi=
18283 fi
18284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18285 fi
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18287 # Binary search between lo and hi bounds.
18288 while test "x$ac_lo" != "x$ac_hi"; do
18289 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18290 cat >conftest.$ac_ext <<_ACEOF
18291 /* confdefs.h. */
18292 _ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 $ac_includes_default
18297 int
18298 main ()
18299 {
18300 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18301 test_array [0] = 0
18302
18303 ;
18304 return 0;
18305 }
18306 _ACEOF
18307 rm -f conftest.$ac_objext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18309 (eval $ac_compile) 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18325 ac_status=$?
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_hi=$ac_mid
18329 else
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 ac_lo=`expr '(' $ac_mid ')' + 1`
18334 fi
18335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18336 done
18337 case $ac_lo in
18338 ?*) ac_cv_sizeof_char=$ac_lo;;
18339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18340 See \`config.log' for more details." >&5
18341 echo "$as_me: error: cannot compute sizeof (char), 77
18342 See \`config.log' for more details." >&2;}
18343 { (exit 1); exit 1; }; } ;;
18344 esac
18345 else
18346 if test "$cross_compiling" = yes; then
18347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18349 { (exit 1); exit 1; }; }
18350 else
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 $ac_includes_default
18358 long longval () { return (long) (sizeof (char)); }
18359 unsigned long ulongval () { return (long) (sizeof (char)); }
18360 #include <stdio.h>
18361 #include <stdlib.h>
18362 int
18363 main ()
18364 {
18365
18366 FILE *f = fopen ("conftest.val", "w");
18367 if (! f)
18368 exit (1);
18369 if (((long) (sizeof (char))) < 0)
18370 {
18371 long i = longval ();
18372 if (i != ((long) (sizeof (char))))
18373 exit (1);
18374 fprintf (f, "%ld\n", i);
18375 }
18376 else
18377 {
18378 unsigned long i = ulongval ();
18379 if (i != ((long) (sizeof (char))))
18380 exit (1);
18381 fprintf (f, "%lu\n", i);
18382 }
18383 exit (ferror (f) || fclose (f) != 0);
18384
18385 ;
18386 return 0;
18387 }
18388 _ACEOF
18389 rm -f conftest$ac_exeext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18391 (eval $ac_link) 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18397 ac_status=$?
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18400 ac_cv_sizeof_char=`cat conftest.val`
18401 else
18402 echo "$as_me: program exited with status $ac_status" >&5
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18405
18406 ( exit $ac_status )
18407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18408 See \`config.log' for more details." >&5
18409 echo "$as_me: error: cannot compute sizeof (char), 77
18410 See \`config.log' for more details." >&2;}
18411 { (exit 1); exit 1; }; }
18412 fi
18413 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18414 fi
18415 fi
18416 rm -f conftest.val
18417 else
18418 ac_cv_sizeof_char=0
18419 fi
18420 fi
18421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18422 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18423 cat >>confdefs.h <<_ACEOF
18424 #define SIZEOF_CHAR $ac_cv_sizeof_char
18425 _ACEOF
18426
18427
18428 echo "$as_me:$LINENO: checking for short" >&5
18429 echo $ECHO_N "checking for short... $ECHO_C" >&6
18430 if test "${ac_cv_type_short+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 else
18433 cat >conftest.$ac_ext <<_ACEOF
18434 /* confdefs.h. */
18435 _ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 $ac_includes_default
18440 int
18441 main ()
18442 {
18443 if ((short *) 0)
18444 return 0;
18445 if (sizeof (short))
18446 return 0;
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18453 (eval $ac_compile) 2>conftest.er1
18454 ac_status=$?
18455 grep -v '^ *+' conftest.er1 >conftest.err
18456 rm -f conftest.er1
18457 cat conftest.err >&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } &&
18460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_type_short=yes
18473 else
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18476
18477 ac_cv_type_short=no
18478 fi
18479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18480 fi
18481 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18482 echo "${ECHO_T}$ac_cv_type_short" >&6
18483
18484 echo "$as_me:$LINENO: checking size of short" >&5
18485 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18486 if test "${ac_cv_sizeof_short+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 else
18489 if test "$ac_cv_type_short" = yes; then
18490 # The cast to unsigned long works around a bug in the HP C Compiler
18491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18493 # This bug is HP SR number 8606223364.
18494 if test "$cross_compiling" = yes; then
18495 # Depending upon the size, compute the lo and hi bounds.
18496 cat >conftest.$ac_ext <<_ACEOF
18497 /* confdefs.h. */
18498 _ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18503 int
18504 main ()
18505 {
18506 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18507 test_array [0] = 0
18508
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_lo=0 ac_mid=0
18535 while :; do
18536 cat >conftest.$ac_ext <<_ACEOF
18537 /* confdefs.h. */
18538 _ACEOF
18539 cat confdefs.h >>conftest.$ac_ext
18540 cat >>conftest.$ac_ext <<_ACEOF
18541 /* end confdefs.h. */
18542 $ac_includes_default
18543 int
18544 main ()
18545 {
18546 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18547 test_array [0] = 0
18548
18549 ;
18550 return 0;
18551 }
18552 _ACEOF
18553 rm -f conftest.$ac_objext
18554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18555 (eval $ac_compile) 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } &&
18562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18565 ac_status=$?
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try='test -s conftest.$ac_objext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_hi=$ac_mid; break
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18578
18579 ac_lo=`expr $ac_mid + 1`
18580 if test $ac_lo -le $ac_mid; then
18581 ac_lo= ac_hi=
18582 break
18583 fi
18584 ac_mid=`expr 2 '*' $ac_mid + 1`
18585 fi
18586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18587 done
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18599 int
18600 main ()
18601 {
18602 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18603 test_array [0] = 0
18604
18605 ;
18606 return 0;
18607 }
18608 _ACEOF
18609 rm -f conftest.$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18630 ac_hi=-1 ac_mid=-1
18631 while :; do
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 int
18640 main ()
18641 {
18642 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18643 test_array [0] = 0
18644
18645 ;
18646 return 0;
18647 }
18648 _ACEOF
18649 rm -f conftest.$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18652 ac_status=$?
18653 grep -v '^ *+' conftest.er1 >conftest.err
18654 rm -f conftest.er1
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try='test -s conftest.$ac_objext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_lo=$ac_mid; break
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 ac_hi=`expr '(' $ac_mid ')' - 1`
18676 if test $ac_mid -le $ac_hi; then
18677 ac_lo= ac_hi=
18678 break
18679 fi
18680 ac_mid=`expr 2 '*' $ac_mid`
18681 fi
18682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18683 done
18684 else
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18687
18688 ac_lo= ac_hi=
18689 fi
18690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18691 fi
18692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18693 # Binary search between lo and hi bounds.
18694 while test "x$ac_lo" != "x$ac_hi"; do
18695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18703 int
18704 main ()
18705 {
18706 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18707 test_array [0] = 0
18708
18709 ;
18710 return 0;
18711 }
18712 _ACEOF
18713 rm -f conftest.$ac_objext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18715 (eval $ac_compile) 2>conftest.er1
18716 ac_status=$?
18717 grep -v '^ *+' conftest.er1 >conftest.err
18718 rm -f conftest.er1
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } &&
18722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18725 ac_status=$?
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; } &&
18728 { ac_try='test -s conftest.$ac_objext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18731 ac_status=$?
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18734 ac_hi=$ac_mid
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18738
18739 ac_lo=`expr '(' $ac_mid ')' + 1`
18740 fi
18741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18742 done
18743 case $ac_lo in
18744 ?*) ac_cv_sizeof_short=$ac_lo;;
18745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18746 See \`config.log' for more details." >&5
18747 echo "$as_me: error: cannot compute sizeof (short), 77
18748 See \`config.log' for more details." >&2;}
18749 { (exit 1); exit 1; }; } ;;
18750 esac
18751 else
18752 if test "$cross_compiling" = yes; then
18753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18755 { (exit 1); exit 1; }; }
18756 else
18757 cat >conftest.$ac_ext <<_ACEOF
18758 /* confdefs.h. */
18759 _ACEOF
18760 cat confdefs.h >>conftest.$ac_ext
18761 cat >>conftest.$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 $ac_includes_default
18764 long longval () { return (long) (sizeof (short)); }
18765 unsigned long ulongval () { return (long) (sizeof (short)); }
18766 #include <stdio.h>
18767 #include <stdlib.h>
18768 int
18769 main ()
18770 {
18771
18772 FILE *f = fopen ("conftest.val", "w");
18773 if (! f)
18774 exit (1);
18775 if (((long) (sizeof (short))) < 0)
18776 {
18777 long i = longval ();
18778 if (i != ((long) (sizeof (short))))
18779 exit (1);
18780 fprintf (f, "%ld\n", i);
18781 }
18782 else
18783 {
18784 unsigned long i = ulongval ();
18785 if (i != ((long) (sizeof (short))))
18786 exit (1);
18787 fprintf (f, "%lu\n", i);
18788 }
18789 exit (ferror (f) || fclose (f) != 0);
18790
18791 ;
18792 return 0;
18793 }
18794 _ACEOF
18795 rm -f conftest$ac_exeext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18797 (eval $ac_link) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_cv_sizeof_short=`cat conftest.val`
18807 else
18808 echo "$as_me: program exited with status $ac_status" >&5
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18811
18812 ( exit $ac_status )
18813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18814 See \`config.log' for more details." >&5
18815 echo "$as_me: error: cannot compute sizeof (short), 77
18816 See \`config.log' for more details." >&2;}
18817 { (exit 1); exit 1; }; }
18818 fi
18819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18820 fi
18821 fi
18822 rm -f conftest.val
18823 else
18824 ac_cv_sizeof_short=0
18825 fi
18826 fi
18827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18828 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18829 cat >>confdefs.h <<_ACEOF
18830 #define SIZEOF_SHORT $ac_cv_sizeof_short
18831 _ACEOF
18832
18833
18834 echo "$as_me:$LINENO: checking for void *" >&5
18835 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18836 if test "${ac_cv_type_void_p+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 else
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18846 int
18847 main ()
18848 {
18849 if ((void * *) 0)
18850 return 0;
18851 if (sizeof (void *))
18852 return 0;
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest.$ac_objext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18859 (eval $ac_compile) 2>conftest.er1
18860 ac_status=$?
18861 grep -v '^ *+' conftest.er1 >conftest.err
18862 rm -f conftest.er1
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; } &&
18872 { ac_try='test -s conftest.$ac_objext'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18875 ac_status=$?
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; }; then
18878 ac_cv_type_void_p=yes
18879 else
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.$ac_ext >&5
18882
18883 ac_cv_type_void_p=no
18884 fi
18885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18886 fi
18887 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18888 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18889
18890 echo "$as_me:$LINENO: checking size of void *" >&5
18891 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18892 if test "${ac_cv_sizeof_void_p+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 else
18895 if test "$ac_cv_type_void_p" = yes; then
18896 # The cast to unsigned long works around a bug in the HP C Compiler
18897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18899 # This bug is HP SR number 8606223364.
18900 if test "$cross_compiling" = yes; then
18901 # Depending upon the size, compute the lo and hi bounds.
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 int
18910 main ()
18911 {
18912 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18913 test_array [0] = 0
18914
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 rm -f conftest.$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18931 ac_status=$?
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_lo=0 ac_mid=0
18941 while :; do
18942 cat >conftest.$ac_ext <<_ACEOF
18943 /* confdefs.h. */
18944 _ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18949 int
18950 main ()
18951 {
18952 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18953 test_array [0] = 0
18954
18955 ;
18956 return 0;
18957 }
18958 _ACEOF
18959 rm -f conftest.$ac_objext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18961 (eval $ac_compile) 2>conftest.er1
18962 ac_status=$?
18963 grep -v '^ *+' conftest.er1 >conftest.err
18964 rm -f conftest.er1
18965 cat conftest.err >&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try='test -s conftest.$ac_objext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18977 ac_status=$?
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_hi=$ac_mid; break
18981 else
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18984
18985 ac_lo=`expr $ac_mid + 1`
18986 if test $ac_lo -le $ac_mid; then
18987 ac_lo= ac_hi=
18988 break
18989 fi
18990 ac_mid=`expr 2 '*' $ac_mid + 1`
18991 fi
18992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18993 done
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18997
18998 cat >conftest.$ac_ext <<_ACEOF
18999 /* confdefs.h. */
19000 _ACEOF
19001 cat confdefs.h >>conftest.$ac_ext
19002 cat >>conftest.$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19004 $ac_includes_default
19005 int
19006 main ()
19007 {
19008 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19009 test_array [0] = 0
19010
19011 ;
19012 return 0;
19013 }
19014 _ACEOF
19015 rm -f conftest.$ac_objext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19017 (eval $ac_compile) 2>conftest.er1
19018 ac_status=$?
19019 grep -v '^ *+' conftest.er1 >conftest.err
19020 rm -f conftest.er1
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19027 ac_status=$?
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; } &&
19030 { ac_try='test -s conftest.$ac_objext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19036 ac_hi=-1 ac_mid=-1
19037 while :; do
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 $ac_includes_default
19045 int
19046 main ()
19047 {
19048 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19049 test_array [0] = 0
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>conftest.er1
19058 ac_status=$?
19059 grep -v '^ *+' conftest.er1 >conftest.err
19060 rm -f conftest.er1
19061 cat conftest.err >&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try='test -s conftest.$ac_objext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19073 ac_status=$?
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_lo=$ac_mid; break
19077 else
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19080
19081 ac_hi=`expr '(' $ac_mid ')' - 1`
19082 if test $ac_mid -le $ac_hi; then
19083 ac_lo= ac_hi=
19084 break
19085 fi
19086 ac_mid=`expr 2 '*' $ac_mid`
19087 fi
19088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19089 done
19090 else
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19093
19094 ac_lo= ac_hi=
19095 fi
19096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19097 fi
19098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19099 # Binary search between lo and hi bounds.
19100 while test "x$ac_lo" != "x$ac_hi"; do
19101 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19102 cat >conftest.$ac_ext <<_ACEOF
19103 /* confdefs.h. */
19104 _ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 $ac_includes_default
19109 int
19110 main ()
19111 {
19112 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19113 test_array [0] = 0
19114
19115 ;
19116 return 0;
19117 }
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19131 ac_status=$?
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try='test -s conftest.$ac_objext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 ac_hi=$ac_mid
19141 else
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19144
19145 ac_lo=`expr '(' $ac_mid ')' + 1`
19146 fi
19147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19148 done
19149 case $ac_lo in
19150 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19151 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19152 See \`config.log' for more details." >&5
19153 echo "$as_me: error: cannot compute sizeof (void *), 77
19154 See \`config.log' for more details." >&2;}
19155 { (exit 1); exit 1; }; } ;;
19156 esac
19157 else
19158 if test "$cross_compiling" = yes; then
19159 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19160 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19161 { (exit 1); exit 1; }; }
19162 else
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 long longval () { return (long) (sizeof (void *)); }
19171 unsigned long ulongval () { return (long) (sizeof (void *)); }
19172 #include <stdio.h>
19173 #include <stdlib.h>
19174 int
19175 main ()
19176 {
19177
19178 FILE *f = fopen ("conftest.val", "w");
19179 if (! f)
19180 exit (1);
19181 if (((long) (sizeof (void *))) < 0)
19182 {
19183 long i = longval ();
19184 if (i != ((long) (sizeof (void *))))
19185 exit (1);
19186 fprintf (f, "%ld\n", i);
19187 }
19188 else
19189 {
19190 unsigned long i = ulongval ();
19191 if (i != ((long) (sizeof (void *))))
19192 exit (1);
19193 fprintf (f, "%lu\n", i);
19194 }
19195 exit (ferror (f) || fclose (f) != 0);
19196
19197 ;
19198 return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest$ac_exeext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19203 (eval $ac_link) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_cv_sizeof_void_p=`cat conftest.val`
19213 else
19214 echo "$as_me: program exited with status $ac_status" >&5
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19217
19218 ( exit $ac_status )
19219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19220 See \`config.log' for more details." >&5
19221 echo "$as_me: error: cannot compute sizeof (void *), 77
19222 See \`config.log' for more details." >&2;}
19223 { (exit 1); exit 1; }; }
19224 fi
19225 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19226 fi
19227 fi
19228 rm -f conftest.val
19229 else
19230 ac_cv_sizeof_void_p=0
19231 fi
19232 fi
19233 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19234 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19235 cat >>confdefs.h <<_ACEOF
19236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19237 _ACEOF
19238
19239
19240 echo "$as_me:$LINENO: checking for int" >&5
19241 echo $ECHO_N "checking for int... $ECHO_C" >&6
19242 if test "${ac_cv_type_int+set}" = set; then
19243 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 else
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 int
19253 main ()
19254 {
19255 if ((int *) 0)
19256 return 0;
19257 if (sizeof (int))
19258 return 0;
19259 ;
19260 return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265 (eval $ac_compile) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; } &&
19278 { ac_try='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 ac_cv_type_int=yes
19285 else
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.$ac_ext >&5
19288
19289 ac_cv_type_int=no
19290 fi
19291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19292 fi
19293 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19294 echo "${ECHO_T}$ac_cv_type_int" >&6
19295
19296 echo "$as_me:$LINENO: checking size of int" >&5
19297 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19298 if test "${ac_cv_sizeof_int+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 else
19301 if test "$ac_cv_type_int" = yes; then
19302 # The cast to unsigned long works around a bug in the HP C Compiler
19303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19305 # This bug is HP SR number 8606223364.
19306 if test "$cross_compiling" = yes; then
19307 # Depending upon the size, compute the lo and hi bounds.
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 int
19316 main ()
19317 {
19318 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19319 test_array [0] = 0
19320
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_lo=0 ac_mid=0
19347 while :; do
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 $ac_includes_default
19355 int
19356 main ()
19357 {
19358 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19359 test_array [0] = 0
19360
19361 ;
19362 return 0;
19363 }
19364 _ACEOF
19365 rm -f conftest.$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19377 ac_status=$?
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; } &&
19380 { ac_try='test -s conftest.$ac_objext'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19383 ac_status=$?
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; }; then
19386 ac_hi=$ac_mid; break
19387 else
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19390
19391 ac_lo=`expr $ac_mid + 1`
19392 if test $ac_lo -le $ac_mid; then
19393 ac_lo= ac_hi=
19394 break
19395 fi
19396 ac_mid=`expr 2 '*' $ac_mid + 1`
19397 fi
19398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19399 done
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19403
19404 cat >conftest.$ac_ext <<_ACEOF
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19411 int
19412 main ()
19413 {
19414 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19415 test_array [0] = 0
19416
19417 ;
19418 return 0;
19419 }
19420 _ACEOF
19421 rm -f conftest.$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>conftest.er1
19424 ac_status=$?
19425 grep -v '^ *+' conftest.er1 >conftest.err
19426 rm -f conftest.er1
19427 cat conftest.err >&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19433 ac_status=$?
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; } &&
19436 { ac_try='test -s conftest.$ac_objext'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; }; then
19442 ac_hi=-1 ac_mid=-1
19443 while :; do
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19451 int
19452 main ()
19453 {
19454 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19455 test_array [0] = 0
19456
19457 ;
19458 return 0;
19459 }
19460 _ACEOF
19461 rm -f conftest.$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19464 ac_status=$?
19465 grep -v '^ *+' conftest.er1 >conftest.err
19466 rm -f conftest.er1
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_lo=$ac_mid; break
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_hi=`expr '(' $ac_mid ')' - 1`
19488 if test $ac_mid -le $ac_hi; then
19489 ac_lo= ac_hi=
19490 break
19491 fi
19492 ac_mid=`expr 2 '*' $ac_mid`
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 done
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19499
19500 ac_lo= ac_hi=
19501 fi
19502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19503 fi
19504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19505 # Binary search between lo and hi bounds.
19506 while test "x$ac_lo" != "x$ac_hi"; do
19507 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19508 cat >conftest.$ac_ext <<_ACEOF
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 $ac_includes_default
19515 int
19516 main ()
19517 {
19518 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19519 test_array [0] = 0
19520
19521 ;
19522 return 0;
19523 }
19524 _ACEOF
19525 rm -f conftest.$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19537 ac_status=$?
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; } &&
19540 { ac_try='test -s conftest.$ac_objext'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19546 ac_hi=$ac_mid
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19550
19551 ac_lo=`expr '(' $ac_mid ')' + 1`
19552 fi
19553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19554 done
19555 case $ac_lo in
19556 ?*) ac_cv_sizeof_int=$ac_lo;;
19557 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19558 See \`config.log' for more details." >&5
19559 echo "$as_me: error: cannot compute sizeof (int), 77
19560 See \`config.log' for more details." >&2;}
19561 { (exit 1); exit 1; }; } ;;
19562 esac
19563 else
19564 if test "$cross_compiling" = yes; then
19565 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19566 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19567 { (exit 1); exit 1; }; }
19568 else
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19576 long longval () { return (long) (sizeof (int)); }
19577 unsigned long ulongval () { return (long) (sizeof (int)); }
19578 #include <stdio.h>
19579 #include <stdlib.h>
19580 int
19581 main ()
19582 {
19583
19584 FILE *f = fopen ("conftest.val", "w");
19585 if (! f)
19586 exit (1);
19587 if (((long) (sizeof (int))) < 0)
19588 {
19589 long i = longval ();
19590 if (i != ((long) (sizeof (int))))
19591 exit (1);
19592 fprintf (f, "%ld\n", i);
19593 }
19594 else
19595 {
19596 unsigned long i = ulongval ();
19597 if (i != ((long) (sizeof (int))))
19598 exit (1);
19599 fprintf (f, "%lu\n", i);
19600 }
19601 exit (ferror (f) || fclose (f) != 0);
19602
19603 ;
19604 return 0;
19605 }
19606 _ACEOF
19607 rm -f conftest$ac_exeext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19609 (eval $ac_link) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_sizeof_int=`cat conftest.val`
19619 else
19620 echo "$as_me: program exited with status $ac_status" >&5
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19623
19624 ( exit $ac_status )
19625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19626 See \`config.log' for more details." >&5
19627 echo "$as_me: error: cannot compute sizeof (int), 77
19628 See \`config.log' for more details." >&2;}
19629 { (exit 1); exit 1; }; }
19630 fi
19631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19632 fi
19633 fi
19634 rm -f conftest.val
19635 else
19636 ac_cv_sizeof_int=0
19637 fi
19638 fi
19639 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19640 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19641 cat >>confdefs.h <<_ACEOF
19642 #define SIZEOF_INT $ac_cv_sizeof_int
19643 _ACEOF
19644
19645
19646 echo "$as_me:$LINENO: checking for long" >&5
19647 echo $ECHO_N "checking for long... $ECHO_C" >&6
19648 if test "${ac_cv_type_long+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 else
19651 cat >conftest.$ac_ext <<_ACEOF
19652 /* confdefs.h. */
19653 _ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 int
19659 main ()
19660 {
19661 if ((long *) 0)
19662 return 0;
19663 if (sizeof (long))
19664 return 0;
19665 ;
19666 return 0;
19667 }
19668 _ACEOF
19669 rm -f conftest.$ac_objext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19671 (eval $ac_compile) 2>conftest.er1
19672 ac_status=$?
19673 grep -v '^ *+' conftest.er1 >conftest.err
19674 rm -f conftest.er1
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } &&
19678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 ac_cv_type_long=yes
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19694
19695 ac_cv_type_long=no
19696 fi
19697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19698 fi
19699 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19700 echo "${ECHO_T}$ac_cv_type_long" >&6
19701
19702 echo "$as_me:$LINENO: checking size of long" >&5
19703 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19704 if test "${ac_cv_sizeof_long+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 else
19707 if test "$ac_cv_type_long" = yes; then
19708 # The cast to unsigned long works around a bug in the HP C Compiler
19709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19711 # This bug is HP SR number 8606223364.
19712 if test "$cross_compiling" = yes; then
19713 # Depending upon the size, compute the lo and hi bounds.
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19721 int
19722 main ()
19723 {
19724 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19725 test_array [0] = 0
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19749 ac_status=$?
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_lo=0 ac_mid=0
19753 while :; do
19754 cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h. */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19761 int
19762 main ()
19763 {
19764 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19765 test_array [0] = 0
19766
19767 ;
19768 return 0;
19769 }
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_hi=$ac_mid; break
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 ac_lo=`expr $ac_mid + 1`
19798 if test $ac_lo -le $ac_mid; then
19799 ac_lo= ac_hi=
19800 break
19801 fi
19802 ac_mid=`expr 2 '*' $ac_mid + 1`
19803 fi
19804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19805 done
19806 else
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19809
19810 cat >conftest.$ac_ext <<_ACEOF
19811 /* confdefs.h. */
19812 _ACEOF
19813 cat confdefs.h >>conftest.$ac_ext
19814 cat >>conftest.$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 $ac_includes_default
19817 int
19818 main ()
19819 {
19820 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19821 test_array [0] = 0
19822
19823 ;
19824 return 0;
19825 }
19826 _ACEOF
19827 rm -f conftest.$ac_objext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19829 (eval $ac_compile) 2>conftest.er1
19830 ac_status=$?
19831 grep -v '^ *+' conftest.er1 >conftest.err
19832 rm -f conftest.er1
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } &&
19836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19838 (eval $ac_try) 2>&5
19839 ac_status=$?
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); }; } &&
19842 { ac_try='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_hi=-1 ac_mid=-1
19849 while :; do
19850 cat >conftest.$ac_ext <<_ACEOF
19851 /* confdefs.h. */
19852 _ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 $ac_includes_default
19857 int
19858 main ()
19859 {
19860 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19861 test_array [0] = 0
19862
19863 ;
19864 return 0;
19865 }
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869 (eval $ac_compile) 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_lo=$ac_mid; break
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_hi=`expr '(' $ac_mid ')' - 1`
19894 if test $ac_mid -le $ac_hi; then
19895 ac_lo= ac_hi=
19896 break
19897 fi
19898 ac_mid=`expr 2 '*' $ac_mid`
19899 fi
19900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19901 done
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19905
19906 ac_lo= ac_hi=
19907 fi
19908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19909 fi
19910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19911 # Binary search between lo and hi bounds.
19912 while test "x$ac_lo" != "x$ac_hi"; do
19913 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19921 int
19922 main ()
19923 {
19924 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19925 test_array [0] = 0
19926
19927 ;
19928 return 0;
19929 }
19930 _ACEOF
19931 rm -f conftest.$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>conftest.er1
19934 ac_status=$?
19935 grep -v '^ *+' conftest.er1 >conftest.err
19936 rm -f conftest.er1
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; } &&
19946 { ac_try='test -s conftest.$ac_objext'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19949 ac_status=$?
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 ac_hi=$ac_mid
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ac_lo=`expr '(' $ac_mid ')' + 1`
19958 fi
19959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19960 done
19961 case $ac_lo in
19962 ?*) ac_cv_sizeof_long=$ac_lo;;
19963 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19964 See \`config.log' for more details." >&5
19965 echo "$as_me: error: cannot compute sizeof (long), 77
19966 See \`config.log' for more details." >&2;}
19967 { (exit 1); exit 1; }; } ;;
19968 esac
19969 else
19970 if test "$cross_compiling" = yes; then
19971 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19972 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19973 { (exit 1); exit 1; }; }
19974 else
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 long longval () { return (long) (sizeof (long)); }
19983 unsigned long ulongval () { return (long) (sizeof (long)); }
19984 #include <stdio.h>
19985 #include <stdlib.h>
19986 int
19987 main ()
19988 {
19989
19990 FILE *f = fopen ("conftest.val", "w");
19991 if (! f)
19992 exit (1);
19993 if (((long) (sizeof (long))) < 0)
19994 {
19995 long i = longval ();
19996 if (i != ((long) (sizeof (long))))
19997 exit (1);
19998 fprintf (f, "%ld\n", i);
19999 }
20000 else
20001 {
20002 unsigned long i = ulongval ();
20003 if (i != ((long) (sizeof (long))))
20004 exit (1);
20005 fprintf (f, "%lu\n", i);
20006 }
20007 exit (ferror (f) || fclose (f) != 0);
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015 (eval $ac_link) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20021 ac_status=$?
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_cv_sizeof_long=`cat conftest.val`
20025 else
20026 echo "$as_me: program exited with status $ac_status" >&5
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20029
20030 ( exit $ac_status )
20031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20032 See \`config.log' for more details." >&5
20033 echo "$as_me: error: cannot compute sizeof (long), 77
20034 See \`config.log' for more details." >&2;}
20035 { (exit 1); exit 1; }; }
20036 fi
20037 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20038 fi
20039 fi
20040 rm -f conftest.val
20041 else
20042 ac_cv_sizeof_long=0
20043 fi
20044 fi
20045 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20046 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20047 cat >>confdefs.h <<_ACEOF
20048 #define SIZEOF_LONG $ac_cv_sizeof_long
20049 _ACEOF
20050
20051
20052 echo "$as_me:$LINENO: checking for size_t" >&5
20053 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20054 if test "${ac_cv_type_size_t+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20064 int
20065 main ()
20066 {
20067 if ((size_t *) 0)
20068 return 0;
20069 if (sizeof (size_t))
20070 return 0;
20071 ;
20072 return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20093 ac_status=$?
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_type_size_t=yes
20097 else
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20100
20101 ac_cv_type_size_t=no
20102 fi
20103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20104 fi
20105 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20106 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20107
20108 echo "$as_me:$LINENO: checking size of size_t" >&5
20109 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20110 if test "${ac_cv_sizeof_size_t+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 if test "$ac_cv_type_size_t" = yes; then
20114 # The cast to unsigned long works around a bug in the HP C Compiler
20115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20117 # This bug is HP SR number 8606223364.
20118 if test "$cross_compiling" = yes; then
20119 # Depending upon the size, compute the lo and hi bounds.
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20127 int
20128 main ()
20129 {
20130 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20131 test_array [0] = 0
20132
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20139 (eval $ac_compile) 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 ac_lo=0 ac_mid=0
20159 while :; do
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h. */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 int
20168 main ()
20169 {
20170 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20171 test_array [0] = 0
20172
20173 ;
20174 return 0;
20175 }
20176 _ACEOF
20177 rm -f conftest.$ac_objext
20178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20179 (eval $ac_compile) 2>conftest.er1
20180 ac_status=$?
20181 grep -v '^ *+' conftest.er1 >conftest.err
20182 rm -f conftest.er1
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } &&
20186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20189 ac_status=$?
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; } &&
20192 { ac_try='test -s conftest.$ac_objext'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 ac_hi=$ac_mid; break
20199 else
20200 echo "$as_me: failed program was:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20202
20203 ac_lo=`expr $ac_mid + 1`
20204 if test $ac_lo -le $ac_mid; then
20205 ac_lo= ac_hi=
20206 break
20207 fi
20208 ac_mid=`expr 2 '*' $ac_mid + 1`
20209 fi
20210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20211 done
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20223 int
20224 main ()
20225 {
20226 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20227 test_array [0] = 0
20228
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 ac_hi=-1 ac_mid=-1
20255 while :; do
20256 cat >conftest.$ac_ext <<_ACEOF
20257 /* confdefs.h. */
20258 _ACEOF
20259 cat confdefs.h >>conftest.$ac_ext
20260 cat >>conftest.$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20263 int
20264 main ()
20265 {
20266 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20267 test_array [0] = 0
20268
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest.$ac_objext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275 (eval $ac_compile) 2>conftest.er1
20276 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20285 ac_status=$?
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20294 ac_lo=$ac_mid; break
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ac_hi=`expr '(' $ac_mid ')' - 1`
20300 if test $ac_mid -le $ac_hi; then
20301 ac_lo= ac_hi=
20302 break
20303 fi
20304 ac_mid=`expr 2 '*' $ac_mid`
20305 fi
20306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20307 done
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20311
20312 ac_lo= ac_hi=
20313 fi
20314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20315 fi
20316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20317 # Binary search between lo and hi bounds.
20318 while test "x$ac_lo" != "x$ac_hi"; do
20319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20327 int
20328 main ()
20329 {
20330 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20331 test_array [0] = 0
20332
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 rm -f conftest.$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20340 ac_status=$?
20341 grep -v '^ *+' conftest.er1 >conftest.err
20342 rm -f conftest.er1
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20349 ac_status=$?
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; } &&
20352 { ac_try='test -s conftest.$ac_objext'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20358 ac_hi=$ac_mid
20359 else
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20362
20363 ac_lo=`expr '(' $ac_mid ')' + 1`
20364 fi
20365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20366 done
20367 case $ac_lo in
20368 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20370 See \`config.log' for more details." >&5
20371 echo "$as_me: error: cannot compute sizeof (size_t), 77
20372 See \`config.log' for more details." >&2;}
20373 { (exit 1); exit 1; }; } ;;
20374 esac
20375 else
20376 if test "$cross_compiling" = yes; then
20377 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20378 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20379 { (exit 1); exit 1; }; }
20380 else
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 long longval () { return (long) (sizeof (size_t)); }
20389 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20390 #include <stdio.h>
20391 #include <stdlib.h>
20392 int
20393 main ()
20394 {
20395
20396 FILE *f = fopen ("conftest.val", "w");
20397 if (! f)
20398 exit (1);
20399 if (((long) (sizeof (size_t))) < 0)
20400 {
20401 long i = longval ();
20402 if (i != ((long) (sizeof (size_t))))
20403 exit (1);
20404 fprintf (f, "%ld\n", i);
20405 }
20406 else
20407 {
20408 unsigned long i = ulongval ();
20409 if (i != ((long) (sizeof (size_t))))
20410 exit (1);
20411 fprintf (f, "%lu\n", i);
20412 }
20413 exit (ferror (f) || fclose (f) != 0);
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 rm -f conftest$ac_exeext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20421 (eval $ac_link) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
20430 ac_cv_sizeof_size_t=`cat conftest.val`
20431 else
20432 echo "$as_me: program exited with status $ac_status" >&5
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20435
20436 ( exit $ac_status )
20437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20438 See \`config.log' for more details." >&5
20439 echo "$as_me: error: cannot compute sizeof (size_t), 77
20440 See \`config.log' for more details." >&2;}
20441 { (exit 1); exit 1; }; }
20442 fi
20443 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20444 fi
20445 fi
20446 rm -f conftest.val
20447 else
20448 ac_cv_sizeof_size_t=0
20449 fi
20450 fi
20451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20452 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20453 cat >>confdefs.h <<_ACEOF
20454 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20455 _ACEOF
20456
20457
20458
20459 case "${host}" in
20460 arm-*-linux* )
20461 echo "$as_me:$LINENO: checking for long long" >&5
20462 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20463 if test "${ac_cv_type_long_long+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 else
20466 cat >conftest.$ac_ext <<_ACEOF
20467 /* confdefs.h. */
20468 _ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20473 int
20474 main ()
20475 {
20476 if ((long long *) 0)
20477 return 0;
20478 if (sizeof (long long))
20479 return 0;
20480 ;
20481 return 0;
20482 }
20483 _ACEOF
20484 rm -f conftest.$ac_objext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20486 (eval $ac_compile) 2>conftest.er1
20487 ac_status=$?
20488 grep -v '^ *+' conftest.er1 >conftest.err
20489 rm -f conftest.er1
20490 cat conftest.err >&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20496 ac_status=$?
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; } &&
20499 { ac_try='test -s conftest.$ac_objext'
20500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 (eval $ac_try) 2>&5
20502 ac_status=$?
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); }; }; then
20505 ac_cv_type_long_long=yes
20506 else
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20509
20510 ac_cv_type_long_long=no
20511 fi
20512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20513 fi
20514 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20515 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20516
20517 echo "$as_me:$LINENO: checking size of long long" >&5
20518 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20519 if test "${ac_cv_sizeof_long_long+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 if test "$ac_cv_type_long_long" = yes; then
20523 # The cast to unsigned long works around a bug in the HP C Compiler
20524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20526 # This bug is HP SR number 8606223364.
20527 if test "$cross_compiling" = yes; then
20528 # Depending upon the size, compute the lo and hi bounds.
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 $ac_includes_default
20536 int
20537 main ()
20538 {
20539 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20540 test_array [0] = 0
20541
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest.$ac_objext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20548 (eval $ac_compile) 2>conftest.er1
20549 ac_status=$?
20550 grep -v '^ *+' conftest.er1 >conftest.err
20551 rm -f conftest.er1
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; } &&
20561 { ac_try='test -s conftest.$ac_objext'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; }; then
20567 ac_lo=0 ac_mid=0
20568 while :; do
20569 cat >conftest.$ac_ext <<_ACEOF
20570 /* confdefs.h. */
20571 _ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 int
20577 main ()
20578 {
20579 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20580 test_array [0] = 0
20581
20582 ;
20583 return 0;
20584 }
20585 _ACEOF
20586 rm -f conftest.$ac_objext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20588 (eval $ac_compile) 2>conftest.er1
20589 ac_status=$?
20590 grep -v '^ *+' conftest.er1 >conftest.err
20591 rm -f conftest.er1
20592 cat conftest.err >&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest.$ac_objext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20604 ac_status=$?
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 ac_hi=$ac_mid; break
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 ac_lo=`expr $ac_mid + 1`
20613 if test $ac_lo -le $ac_mid; then
20614 ac_lo= ac_hi=
20615 break
20616 fi
20617 ac_mid=`expr 2 '*' $ac_mid + 1`
20618 fi
20619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20620 done
20621 else
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.$ac_ext >&5
20624
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 int
20633 main ()
20634 {
20635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20636 test_array [0] = 0
20637
20638 ;
20639 return 0;
20640 }
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20644 (eval $ac_compile) 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; } &&
20657 { ac_try='test -s conftest.$ac_objext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 ac_hi=-1 ac_mid=-1
20664 while :; do
20665 cat >conftest.$ac_ext <<_ACEOF
20666 /* confdefs.h. */
20667 _ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 int
20673 main ()
20674 {
20675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20676 test_array [0] = 0
20677
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 rm -f conftest.$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; } &&
20697 { ac_try='test -s conftest.$ac_objext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_lo=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid`
20714 fi
20715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20716 done
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 ac_lo= ac_hi=
20722 fi
20723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20724 fi
20725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20726 # Binary search between lo and hi bounds.
20727 while test "x$ac_lo" != "x$ac_hi"; do
20728 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20729 cat >conftest.$ac_ext <<_ACEOF
20730 /* confdefs.h. */
20731 _ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 int
20737 main ()
20738 {
20739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20740 test_array [0] = 0
20741
20742 ;
20743 return 0;
20744 }
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; } &&
20761 { ac_try='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20764 ac_status=$?
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_hi=$ac_mid
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 fi
20774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20775 done
20776 case $ac_lo in
20777 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20778 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20779 See \`config.log' for more details." >&5
20780 echo "$as_me: error: cannot compute sizeof (long long), 77
20781 See \`config.log' for more details." >&2;}
20782 { (exit 1); exit 1; }; } ;;
20783 esac
20784 else
20785 if test "$cross_compiling" = yes; then
20786 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20787 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20788 { (exit 1); exit 1; }; }
20789 else
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 long longval () { return (long) (sizeof (long long)); }
20798 unsigned long ulongval () { return (long) (sizeof (long long)); }
20799 #include <stdio.h>
20800 #include <stdlib.h>
20801 int
20802 main ()
20803 {
20804
20805 FILE *f = fopen ("conftest.val", "w");
20806 if (! f)
20807 exit (1);
20808 if (((long) (sizeof (long long))) < 0)
20809 {
20810 long i = longval ();
20811 if (i != ((long) (sizeof (long long))))
20812 exit (1);
20813 fprintf (f, "%ld\n", i);
20814 }
20815 else
20816 {
20817 unsigned long i = ulongval ();
20818 if (i != ((long) (sizeof (long long))))
20819 exit (1);
20820 fprintf (f, "%lu\n", i);
20821 }
20822 exit (ferror (f) || fclose (f) != 0);
20823
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest$ac_exeext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20830 (eval $ac_link) 2>&5
20831 ac_status=$?
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 ac_cv_sizeof_long_long=`cat conftest.val`
20840 else
20841 echo "$as_me: program exited with status $ac_status" >&5
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 ( exit $ac_status )
20846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20847 See \`config.log' for more details." >&5
20848 echo "$as_me: error: cannot compute sizeof (long long), 77
20849 See \`config.log' for more details." >&2;}
20850 { (exit 1); exit 1; }; }
20851 fi
20852 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20853 fi
20854 fi
20855 rm -f conftest.val
20856 else
20857 ac_cv_sizeof_long_long=0
20858 fi
20859 fi
20860 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20861 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20862 cat >>confdefs.h <<_ACEOF
20863 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20864 _ACEOF
20865
20866
20867 ;;
20868 *-hp-hpux* )
20869 echo "$as_me:$LINENO: checking for long long" >&5
20870 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20871 if test "${ac_cv_type_long_long+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874 cat >conftest.$ac_ext <<_ACEOF
20875 /* confdefs.h. */
20876 _ACEOF
20877 cat confdefs.h >>conftest.$ac_ext
20878 cat >>conftest.$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20881 int
20882 main ()
20883 {
20884 if ((long long *) 0)
20885 return 0;
20886 if (sizeof (long long))
20887 return 0;
20888 ;
20889 return 0;
20890 }
20891 _ACEOF
20892 rm -f conftest.$ac_objext
20893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20894 (eval $ac_compile) 2>conftest.er1
20895 ac_status=$?
20896 grep -v '^ *+' conftest.er1 >conftest.err
20897 rm -f conftest.er1
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } &&
20901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20910 ac_status=$?
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_type_long_long=yes
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20917
20918 ac_cv_type_long_long=no
20919 fi
20920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20921 fi
20922 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20923 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20924
20925 echo "$as_me:$LINENO: checking size of long long" >&5
20926 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20927 if test "${ac_cv_sizeof_long_long+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 else
20930 if test "$ac_cv_type_long_long" = yes; then
20931 # The cast to unsigned long works around a bug in the HP C Compiler
20932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20934 # This bug is HP SR number 8606223364.
20935 if test "$cross_compiling" = yes; then
20936 # Depending upon the size, compute the lo and hi bounds.
20937 cat >conftest.$ac_ext <<_ACEOF
20938 /* confdefs.h. */
20939 _ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 int
20945 main ()
20946 {
20947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20948 test_array [0] = 0
20949
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20956 (eval $ac_compile) 2>conftest.er1
20957 ac_status=$?
20958 grep -v '^ *+' conftest.er1 >conftest.err
20959 rm -f conftest.er1
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; } &&
20969 { ac_try='test -s conftest.$ac_objext'
20970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20971 (eval $ac_try) 2>&5
20972 ac_status=$?
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); }; }; then
20975 ac_lo=0 ac_mid=0
20976 while :; do
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 int
20985 main ()
20986 {
20987 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20988 test_array [0] = 0
20989
20990 ;
20991 return 0;
20992 }
20993 _ACEOF
20994 rm -f conftest.$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996 (eval $ac_compile) 2>conftest.er1
20997 ac_status=$?
20998 grep -v '^ *+' conftest.er1 >conftest.err
20999 rm -f conftest.er1
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; } &&
21009 { ac_try='test -s conftest.$ac_objext'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21012 ac_status=$?
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; }; then
21015 ac_hi=$ac_mid; break
21016 else
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.$ac_ext >&5
21019
21020 ac_lo=`expr $ac_mid + 1`
21021 if test $ac_lo -le $ac_mid; then
21022 ac_lo= ac_hi=
21023 break
21024 fi
21025 ac_mid=`expr 2 '*' $ac_mid + 1`
21026 fi
21027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21028 done
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21032
21033 cat >conftest.$ac_ext <<_ACEOF
21034 /* confdefs.h. */
21035 _ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 $ac_includes_default
21040 int
21041 main ()
21042 {
21043 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21044 test_array [0] = 0
21045
21046 ;
21047 return 0;
21048 }
21049 _ACEOF
21050 rm -f conftest.$ac_objext
21051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21052 (eval $ac_compile) 2>conftest.er1
21053 ac_status=$?
21054 grep -v '^ *+' conftest.er1 >conftest.err
21055 rm -f conftest.er1
21056 cat conftest.err >&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } &&
21059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; } &&
21065 { ac_try='test -s conftest.$ac_objext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21071 ac_hi=-1 ac_mid=-1
21072 while :; do
21073 cat >conftest.$ac_ext <<_ACEOF
21074 /* confdefs.h. */
21075 _ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21080 int
21081 main ()
21082 {
21083 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21084 test_array [0] = 0
21085
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21092 (eval $ac_compile) 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; } &&
21105 { ac_try='test -s conftest.$ac_objext'
21106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21107 (eval $ac_try) 2>&5
21108 ac_status=$?
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; }; then
21111 ac_lo=$ac_mid; break
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 ac_hi=`expr '(' $ac_mid ')' - 1`
21117 if test $ac_mid -le $ac_hi; then
21118 ac_lo= ac_hi=
21119 break
21120 fi
21121 ac_mid=`expr 2 '*' $ac_mid`
21122 fi
21123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21124 done
21125 else
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 ac_lo= ac_hi=
21130 fi
21131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21132 fi
21133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21134 # Binary search between lo and hi bounds.
21135 while test "x$ac_lo" != "x$ac_hi"; do
21136 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 int
21145 main ()
21146 {
21147 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21148 test_array [0] = 0
21149
21150 ;
21151 return 0;
21152 }
21153 _ACEOF
21154 rm -f conftest.$ac_objext
21155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21156 (eval $ac_compile) 2>conftest.er1
21157 ac_status=$?
21158 grep -v '^ *+' conftest.er1 >conftest.err
21159 rm -f conftest.er1
21160 cat conftest.err >&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } &&
21163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try='test -s conftest.$ac_objext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 ac_hi=$ac_mid
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 fi
21182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21183 done
21184 case $ac_lo in
21185 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21186 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21187 See \`config.log' for more details." >&5
21188 echo "$as_me: error: cannot compute sizeof (long long), 77
21189 See \`config.log' for more details." >&2;}
21190 { (exit 1); exit 1; }; } ;;
21191 esac
21192 else
21193 if test "$cross_compiling" = yes; then
21194 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21195 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21196 { (exit 1); exit 1; }; }
21197 else
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 long longval () { return (long) (sizeof (long long)); }
21206 unsigned long ulongval () { return (long) (sizeof (long long)); }
21207 #include <stdio.h>
21208 #include <stdlib.h>
21209 int
21210 main ()
21211 {
21212
21213 FILE *f = fopen ("conftest.val", "w");
21214 if (! f)
21215 exit (1);
21216 if (((long) (sizeof (long long))) < 0)
21217 {
21218 long i = longval ();
21219 if (i != ((long) (sizeof (long long))))
21220 exit (1);
21221 fprintf (f, "%ld\n", i);
21222 }
21223 else
21224 {
21225 unsigned long i = ulongval ();
21226 if (i != ((long) (sizeof (long long))))
21227 exit (1);
21228 fprintf (f, "%lu\n", i);
21229 }
21230 exit (ferror (f) || fclose (f) != 0);
21231
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 rm -f conftest$ac_exeext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21238 (eval $ac_link) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 ac_cv_sizeof_long_long=`cat conftest.val`
21248 else
21249 echo "$as_me: program exited with status $ac_status" >&5
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 ( exit $ac_status )
21254 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21255 See \`config.log' for more details." >&5
21256 echo "$as_me: error: cannot compute sizeof (long long), 77
21257 See \`config.log' for more details." >&2;}
21258 { (exit 1); exit 1; }; }
21259 fi
21260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21261 fi
21262 fi
21263 rm -f conftest.val
21264 else
21265 ac_cv_sizeof_long_long=0
21266 fi
21267 fi
21268 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21269 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21270 cat >>confdefs.h <<_ACEOF
21271 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21272 _ACEOF
21273
21274
21275 if test "$ac_cv_sizeof_long_long" != "0"; then
21276 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21277 fi
21278 ;;
21279 * )
21280 echo "$as_me:$LINENO: checking for long long" >&5
21281 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21282 if test "${ac_cv_type_long_long+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 else
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 int
21293 main ()
21294 {
21295 if ((long long *) 0)
21296 return 0;
21297 if (sizeof (long long))
21298 return 0;
21299 ;
21300 return 0;
21301 }
21302 _ACEOF
21303 rm -f conftest.$ac_objext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21305 (eval $ac_compile) 2>conftest.er1
21306 ac_status=$?
21307 grep -v '^ *+' conftest.er1 >conftest.err
21308 rm -f conftest.er1
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } &&
21312 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314 (eval $ac_try) 2>&5
21315 ac_status=$?
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; } &&
21318 { ac_try='test -s conftest.$ac_objext'
21319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320 (eval $ac_try) 2>&5
21321 ac_status=$?
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_type_long_long=yes
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21328
21329 ac_cv_type_long_long=no
21330 fi
21331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 fi
21333 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21334 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21335
21336 echo "$as_me:$LINENO: checking size of long long" >&5
21337 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21338 if test "${ac_cv_sizeof_long_long+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21341 if test "$ac_cv_type_long_long" = yes; then
21342 # The cast to unsigned long works around a bug in the HP C Compiler
21343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21345 # This bug is HP SR number 8606223364.
21346 if test "$cross_compiling" = yes; then
21347 # Depending upon the size, compute the lo and hi bounds.
21348 cat >conftest.$ac_ext <<_ACEOF
21349 /* confdefs.h. */
21350 _ACEOF
21351 cat confdefs.h >>conftest.$ac_ext
21352 cat >>conftest.$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354 $ac_includes_default
21355 int
21356 main ()
21357 {
21358 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21359 test_array [0] = 0
21360
21361 ;
21362 return 0;
21363 }
21364 _ACEOF
21365 rm -f conftest.$ac_objext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21367 (eval $ac_compile) 2>conftest.er1
21368 ac_status=$?
21369 grep -v '^ *+' conftest.er1 >conftest.err
21370 rm -f conftest.er1
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; } &&
21380 { ac_try='test -s conftest.$ac_objext'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21383 ac_status=$?
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21386 ac_lo=0 ac_mid=0
21387 while :; do
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 int
21396 main ()
21397 {
21398 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21399 test_array [0] = 0
21400
21401 ;
21402 return 0;
21403 }
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21407 (eval $ac_compile) 2>conftest.er1
21408 ac_status=$?
21409 grep -v '^ *+' conftest.er1 >conftest.err
21410 rm -f conftest.er1
21411 cat conftest.err >&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } &&
21414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21417 ac_status=$?
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; } &&
21420 { ac_try='test -s conftest.$ac_objext'
21421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21422 (eval $ac_try) 2>&5
21423 ac_status=$?
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); }; }; then
21426 ac_hi=$ac_mid; break
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 ac_lo=`expr $ac_mid + 1`
21432 if test $ac_lo -le $ac_mid; then
21433 ac_lo= ac_hi=
21434 break
21435 fi
21436 ac_mid=`expr 2 '*' $ac_mid + 1`
21437 fi
21438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21439 done
21440 else
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21443
21444 cat >conftest.$ac_ext <<_ACEOF
21445 /* confdefs.h. */
21446 _ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 $ac_includes_default
21451 int
21452 main ()
21453 {
21454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21455 test_array [0] = 0
21456
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_hi=-1 ac_mid=-1
21483 while :; do
21484 cat >conftest.$ac_ext <<_ACEOF
21485 /* confdefs.h. */
21486 _ACEOF
21487 cat confdefs.h >>conftest.$ac_ext
21488 cat >>conftest.$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490 $ac_includes_default
21491 int
21492 main ()
21493 {
21494 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21495 test_array [0] = 0
21496
21497 ;
21498 return 0;
21499 }
21500 _ACEOF
21501 rm -f conftest.$ac_objext
21502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21503 (eval $ac_compile) 2>conftest.er1
21504 ac_status=$?
21505 grep -v '^ *+' conftest.er1 >conftest.err
21506 rm -f conftest.er1
21507 cat conftest.err >&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } &&
21510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21513 ac_status=$?
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; } &&
21516 { ac_try='test -s conftest.$ac_objext'
21517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518 (eval $ac_try) 2>&5
21519 ac_status=$?
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); }; }; then
21522 ac_lo=$ac_mid; break
21523 else
21524 echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.$ac_ext >&5
21526
21527 ac_hi=`expr '(' $ac_mid ')' - 1`
21528 if test $ac_mid -le $ac_hi; then
21529 ac_lo= ac_hi=
21530 break
21531 fi
21532 ac_mid=`expr 2 '*' $ac_mid`
21533 fi
21534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21535 done
21536 else
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21539
21540 ac_lo= ac_hi=
21541 fi
21542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21543 fi
21544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21545 # Binary search between lo and hi bounds.
21546 while test "x$ac_lo" != "x$ac_hi"; do
21547 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21548 cat >conftest.$ac_ext <<_ACEOF
21549 /* confdefs.h. */
21550 _ACEOF
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 $ac_includes_default
21555 int
21556 main ()
21557 {
21558 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21559 test_array [0] = 0
21560
21561 ;
21562 return 0;
21563 }
21564 _ACEOF
21565 rm -f conftest.$ac_objext
21566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21567 (eval $ac_compile) 2>conftest.er1
21568 ac_status=$?
21569 grep -v '^ *+' conftest.er1 >conftest.err
21570 rm -f conftest.er1
21571 cat conftest.err >&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } &&
21574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; } &&
21580 { ac_try='test -s conftest.$ac_objext'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21583 ac_status=$?
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; }; then
21586 ac_hi=$ac_mid
21587 else
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21590
21591 ac_lo=`expr '(' $ac_mid ')' + 1`
21592 fi
21593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21594 done
21595 case $ac_lo in
21596 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21597 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21598 See \`config.log' for more details." >&5
21599 echo "$as_me: error: cannot compute sizeof (long long), 77
21600 See \`config.log' for more details." >&2;}
21601 { (exit 1); exit 1; }; } ;;
21602 esac
21603 else
21604 if test "$cross_compiling" = yes; then
21605 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21606 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21607 { (exit 1); exit 1; }; }
21608 else
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 long longval () { return (long) (sizeof (long long)); }
21617 unsigned long ulongval () { return (long) (sizeof (long long)); }
21618 #include <stdio.h>
21619 #include <stdlib.h>
21620 int
21621 main ()
21622 {
21623
21624 FILE *f = fopen ("conftest.val", "w");
21625 if (! f)
21626 exit (1);
21627 if (((long) (sizeof (long long))) < 0)
21628 {
21629 long i = longval ();
21630 if (i != ((long) (sizeof (long long))))
21631 exit (1);
21632 fprintf (f, "%ld\n", i);
21633 }
21634 else
21635 {
21636 unsigned long i = ulongval ();
21637 if (i != ((long) (sizeof (long long))))
21638 exit (1);
21639 fprintf (f, "%lu\n", i);
21640 }
21641 exit (ferror (f) || fclose (f) != 0);
21642
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_cv_sizeof_long_long=`cat conftest.val`
21659 else
21660 echo "$as_me: program exited with status $ac_status" >&5
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21663
21664 ( exit $ac_status )
21665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21666 See \`config.log' for more details." >&5
21667 echo "$as_me: error: cannot compute sizeof (long long), 77
21668 See \`config.log' for more details." >&2;}
21669 { (exit 1); exit 1; }; }
21670 fi
21671 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21672 fi
21673 fi
21674 rm -f conftest.val
21675 else
21676 ac_cv_sizeof_long_long=0
21677 fi
21678 fi
21679 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21680 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21681 cat >>confdefs.h <<_ACEOF
21682 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21683 _ACEOF
21684
21685
21686 esac
21687
21688 echo "$as_me:$LINENO: checking for wchar_t" >&5
21689 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21690 if test "${ac_cv_type_wchar_t+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 else
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 if ((wchar_t *) 0)
21721 return 0;
21722 if (sizeof (wchar_t))
21723 return 0;
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21730 (eval $ac_compile) 2>conftest.er1
21731 ac_status=$?
21732 grep -v '^ *+' conftest.er1 >conftest.err
21733 rm -f conftest.er1
21734 cat conftest.err >&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try='test -s conftest.$ac_objext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_type_wchar_t=yes
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21753
21754 ac_cv_type_wchar_t=no
21755 fi
21756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21757 fi
21758 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21759 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21760
21761 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21762 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21763 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21764 echo $ECHO_N "(cached) $ECHO_C" >&6
21765 else
21766 if test "$ac_cv_type_wchar_t" = yes; then
21767 # The cast to unsigned long works around a bug in the HP C Compiler
21768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21770 # This bug is HP SR number 8606223364.
21771 if test "$cross_compiling" = yes; then
21772 # Depending upon the size, compute the lo and hi bounds.
21773 cat >conftest.$ac_ext <<_ACEOF
21774 /* confdefs.h. */
21775 _ACEOF
21776 cat confdefs.h >>conftest.$ac_ext
21777 cat >>conftest.$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779
21780 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21781 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21782 # error "fake wchar_t"
21783 #endif
21784 #ifdef HAVE_WCHAR_H
21785 # ifdef __CYGWIN__
21786 # include <stddef.h>
21787 # endif
21788 # include <wchar.h>
21789 #endif
21790 #ifdef HAVE_STDLIB_H
21791 # include <stdlib.h>
21792 #endif
21793 #include <stdio.h>
21794
21795
21796
21797 int
21798 main ()
21799 {
21800 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21801 test_array [0] = 0
21802
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 rm -f conftest.$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21810 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21825 ac_status=$?
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21828 ac_lo=0 ac_mid=0
21829 while :; do
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836
21837 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21838 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21839 # error "fake wchar_t"
21840 #endif
21841 #ifdef HAVE_WCHAR_H
21842 # ifdef __CYGWIN__
21843 # include <stddef.h>
21844 # endif
21845 # include <wchar.h>
21846 #endif
21847 #ifdef HAVE_STDLIB_H
21848 # include <stdlib.h>
21849 #endif
21850 #include <stdio.h>
21851
21852
21853
21854 int
21855 main ()
21856 {
21857 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21858 test_array [0] = 0
21859
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21866 (eval $ac_compile) 2>conftest.er1
21867 ac_status=$?
21868 grep -v '^ *+' conftest.er1 >conftest.err
21869 rm -f conftest.er1
21870 cat conftest.err >&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21876 ac_status=$?
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; } &&
21879 { ac_try='test -s conftest.$ac_objext'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; }; then
21885 ac_hi=$ac_mid; break
21886 else
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.$ac_ext >&5
21889
21890 ac_lo=`expr $ac_mid + 1`
21891 if test $ac_lo -le $ac_mid; then
21892 ac_lo= ac_hi=
21893 break
21894 fi
21895 ac_mid=`expr 2 '*' $ac_mid + 1`
21896 fi
21897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21898 done
21899 else
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 cat >conftest.$ac_ext <<_ACEOF
21904 /* confdefs.h. */
21905 _ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909
21910 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21911 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21912 # error "fake wchar_t"
21913 #endif
21914 #ifdef HAVE_WCHAR_H
21915 # ifdef __CYGWIN__
21916 # include <stddef.h>
21917 # endif
21918 # include <wchar.h>
21919 #endif
21920 #ifdef HAVE_STDLIB_H
21921 # include <stdlib.h>
21922 #endif
21923 #include <stdio.h>
21924
21925
21926
21927 int
21928 main ()
21929 {
21930 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21931 test_array [0] = 0
21932
21933 ;
21934 return 0;
21935 }
21936 _ACEOF
21937 rm -f conftest.$ac_objext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21939 (eval $ac_compile) 2>conftest.er1
21940 ac_status=$?
21941 grep -v '^ *+' conftest.er1 >conftest.err
21942 rm -f conftest.er1
21943 cat conftest.err >&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try='test -s conftest.$ac_objext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21955 ac_status=$?
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 ac_hi=-1 ac_mid=-1
21959 while :; do
21960 cat >conftest.$ac_ext <<_ACEOF
21961 /* confdefs.h. */
21962 _ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966
21967 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21968 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21969 # error "fake wchar_t"
21970 #endif
21971 #ifdef HAVE_WCHAR_H
21972 # ifdef __CYGWIN__
21973 # include <stddef.h>
21974 # endif
21975 # include <wchar.h>
21976 #endif
21977 #ifdef HAVE_STDLIB_H
21978 # include <stdlib.h>
21979 #endif
21980 #include <stdio.h>
21981
21982
21983
21984 int
21985 main ()
21986 {
21987 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21988 test_array [0] = 0
21989
21990 ;
21991 return 0;
21992 }
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22006 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; } &&
22009 { ac_try='test -s conftest.$ac_objext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22012 ac_status=$?
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then
22015 ac_lo=$ac_mid; break
22016 else
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5
22019
22020 ac_hi=`expr '(' $ac_mid ')' - 1`
22021 if test $ac_mid -le $ac_hi; then
22022 ac_lo= ac_hi=
22023 break
22024 fi
22025 ac_mid=`expr 2 '*' $ac_mid`
22026 fi
22027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22028 done
22029 else
22030 echo "$as_me: failed program was:" >&5
22031 sed 's/^/| /' conftest.$ac_ext >&5
22032
22033 ac_lo= ac_hi=
22034 fi
22035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22036 fi
22037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22038 # Binary search between lo and hi bounds.
22039 while test "x$ac_lo" != "x$ac_hi"; do
22040 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047
22048 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22049 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22050 # error "fake wchar_t"
22051 #endif
22052 #ifdef HAVE_WCHAR_H
22053 # ifdef __CYGWIN__
22054 # include <stddef.h>
22055 # endif
22056 # include <wchar.h>
22057 #endif
22058 #ifdef HAVE_STDLIB_H
22059 # include <stdlib.h>
22060 #endif
22061 #include <stdio.h>
22062
22063
22064
22065 int
22066 main ()
22067 {
22068 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22069 test_array [0] = 0
22070
22071 ;
22072 return 0;
22073 }
22074 _ACEOF
22075 rm -f conftest.$ac_objext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22077 (eval $ac_compile) 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; } &&
22090 { ac_try='test -s conftest.$ac_objext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_hi=$ac_mid
22097 else
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.$ac_ext >&5
22100
22101 ac_lo=`expr '(' $ac_mid ')' + 1`
22102 fi
22103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22104 done
22105 case $ac_lo in
22106 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22107 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22108 See \`config.log' for more details." >&5
22109 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22110 See \`config.log' for more details." >&2;}
22111 { (exit 1); exit 1; }; } ;;
22112 esac
22113 else
22114 if test "$cross_compiling" = yes; then
22115 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22116 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22117 { (exit 1); exit 1; }; }
22118 else
22119 cat >conftest.$ac_ext <<_ACEOF
22120 /* confdefs.h. */
22121 _ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125
22126 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22127 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22128 # error "fake wchar_t"
22129 #endif
22130 #ifdef HAVE_WCHAR_H
22131 # ifdef __CYGWIN__
22132 # include <stddef.h>
22133 # endif
22134 # include <wchar.h>
22135 #endif
22136 #ifdef HAVE_STDLIB_H
22137 # include <stdlib.h>
22138 #endif
22139 #include <stdio.h>
22140
22141
22142
22143 long longval () { return (long) (sizeof (wchar_t)); }
22144 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22145 #include <stdio.h>
22146 #include <stdlib.h>
22147 int
22148 main ()
22149 {
22150
22151 FILE *f = fopen ("conftest.val", "w");
22152 if (! f)
22153 exit (1);
22154 if (((long) (sizeof (wchar_t))) < 0)
22155 {
22156 long i = longval ();
22157 if (i != ((long) (sizeof (wchar_t))))
22158 exit (1);
22159 fprintf (f, "%ld\n", i);
22160 }
22161 else
22162 {
22163 unsigned long i = ulongval ();
22164 if (i != ((long) (sizeof (wchar_t))))
22165 exit (1);
22166 fprintf (f, "%lu\n", i);
22167 }
22168 exit (ferror (f) || fclose (f) != 0);
22169
22170 ;
22171 return 0;
22172 }
22173 _ACEOF
22174 rm -f conftest$ac_exeext
22175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22176 (eval $ac_link) 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_sizeof_wchar_t=`cat conftest.val`
22186 else
22187 echo "$as_me: program exited with status $ac_status" >&5
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22190
22191 ( exit $ac_status )
22192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22193 See \`config.log' for more details." >&5
22194 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22195 See \`config.log' for more details." >&2;}
22196 { (exit 1); exit 1; }; }
22197 fi
22198 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22199 fi
22200 fi
22201 rm -f conftest.val
22202 else
22203 ac_cv_sizeof_wchar_t=0
22204 fi
22205 fi
22206 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22207 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22208 cat >>confdefs.h <<_ACEOF
22209 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22210 _ACEOF
22211
22212
22213 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22214 wxUSE_WCHAR_T=yes
22215 else
22216 wxUSE_WCHAR_T=no
22217 fi
22218
22219 echo "$as_me:$LINENO: checking for va_copy" >&5
22220 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22221 if test "${wx_cv_func_va_copy+set}" = set; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 else
22224
22225 cat >conftest.$ac_ext <<_ACEOF
22226
22227 #include <stdarg.h>
22228 void foo(char *f, ...)
22229 {
22230 va_list ap1, ap2;
22231 va_start(ap1, f);
22232 va_copy(ap2, ap1);
22233 va_end(ap2);
22234 va_end(ap1);
22235 }
22236 int main()
22237 {
22238 foo("hi", 17);
22239 return 0;
22240 }
22241 _ACEOF
22242 rm -f conftest.$ac_objext conftest$ac_exeext
22243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22244 (eval $ac_link) 2>conftest.er1
22245 ac_status=$?
22246 grep -v '^ *+' conftest.er1 >conftest.err
22247 rm -f conftest.er1
22248 cat conftest.err >&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } &&
22251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try='test -s conftest$ac_exeext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 wx_cv_func_va_copy=yes
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 wx_cv_func_va_copy=no
22269
22270 fi
22271 rm -f conftest.err conftest.$ac_objext \
22272 conftest$ac_exeext conftest.$ac_ext
22273
22274
22275 fi
22276 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22277 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22278
22279 if test $wx_cv_func_va_copy = "yes"; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_VA_COPY 1
22282 _ACEOF
22283
22284 else
22285 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22286 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22287 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 else
22290
22291 if test "$cross_compiling" = yes; then
22292 wx_cv_type_va_list_lvalue=yes
22293
22294 else
22295 cat >conftest.$ac_ext <<_ACEOF
22296
22297 #include <stdarg.h>
22298 int foo(char *f, ...)
22299 {
22300 va_list ap1, ap2;
22301 va_start(ap1, f);
22302 ap2 = ap1;
22303 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22304 return 1;
22305 va_end(ap2);
22306 va_end(ap1);
22307 return 0;
22308 }
22309 int main()
22310 {
22311 return foo("hi", 17);
22312 }
22313 _ACEOF
22314 rm -f conftest$ac_exeext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22316 (eval $ac_link) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 wx_cv_type_va_list_lvalue=yes
22326 else
22327 echo "$as_me: program exited with status $ac_status" >&5
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22330
22331 ( exit $ac_status )
22332 wx_cv_type_va_list_lvalue=no
22333 fi
22334 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22335 fi
22336
22337
22338 fi
22339 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22340 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22341
22342 if test $wx_cv_type_va_list_lvalue != "yes"; then
22343 cat >>confdefs.h <<\_ACEOF
22344 #define VA_LIST_IS_ARRAY 1
22345 _ACEOF
22346
22347 fi
22348 fi
22349
22350 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22351 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22352 if test "${wx_cv_have_variadic_macros+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355
22356 cat >conftest.$ac_ext <<_ACEOF
22357 /* confdefs.h. */
22358 _ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362
22363 #include <stdio.h>
22364 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22365
22366 int
22367 main ()
22368 {
22369
22370 test("%s %d %p", "test", 1, 0);
22371
22372
22373 ;
22374 return 0;
22375 }
22376 _ACEOF
22377 rm -f conftest.$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>conftest.er1
22380 ac_status=$?
22381 grep -v '^ *+' conftest.er1 >conftest.err
22382 rm -f conftest.er1
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try='test -s conftest.$ac_objext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 wx_cv_have_variadic_macros=yes
22399 else
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22402
22403 wx_cv_have_variadic_macros=no
22404
22405 fi
22406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22407
22408
22409 fi
22410 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22411 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22412
22413 if test $wx_cv_have_variadic_macros = "yes"; then
22414 cat >>confdefs.h <<\_ACEOF
22415 #define HAVE_VARIADIC_MACROS 1
22416 _ACEOF
22417
22418 fi
22419
22420 # Check whether --enable-largefile or --disable-largefile was given.
22421 if test "${enable_largefile+set}" = set; then
22422 enableval="$enable_largefile"
22423
22424 fi;
22425 if test "$enable_largefile" != no; then
22426 wx_largefile=no
22427
22428 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22429 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22430 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 else
22433
22434 cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h. */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 #define _FILE_OFFSET_BITS 64
22441 #include <sys/types.h>
22442 int
22443 main ()
22444 {
22445 typedef struct {
22446 unsigned int field: sizeof(off_t) == 8;
22447 } wxlf;
22448
22449 ;
22450 return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455 (eval $ac_compile) 2>conftest.er1
22456 ac_status=$?
22457 grep -v '^ *+' conftest.er1 >conftest.err
22458 rm -f conftest.er1
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22468 { ac_try='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_sys_file_offset_bits=64
22475 else
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.$ac_ext >&5
22478
22479 ac_cv_sys_file_offset_bits=no
22480 fi
22481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22482
22483
22484 fi
22485 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22486 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22487
22488 if test "$ac_cv_sys_file_offset_bits" != no; then
22489 wx_largefile=yes
22490 cat >>confdefs.h <<_ACEOF
22491 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22492 _ACEOF
22493
22494 fi
22495
22496 if test "x$wx_largefile" != "xyes"; then
22497
22498 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22499 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22500 if test "${ac_cv_sys_large_files+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 else
22503
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 #define _LARGE_FILES 1
22511 #include <sys/types.h>
22512 int
22513 main ()
22514 {
22515 typedef struct {
22516 unsigned int field: sizeof(off_t) == 8;
22517 } wxlf;
22518
22519 ;
22520 return 0;
22521 }
22522 _ACEOF
22523 rm -f conftest.$ac_objext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525 (eval $ac_compile) 2>conftest.er1
22526 ac_status=$?
22527 grep -v '^ *+' conftest.er1 >conftest.err
22528 rm -f conftest.er1
22529 cat conftest.err >&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; } &&
22538 { ac_try='test -s conftest.$ac_objext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22541 ac_status=$?
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_sys_large_files=1
22545 else
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22548
22549 ac_cv_sys_large_files=no
22550 fi
22551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22552
22553
22554 fi
22555 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22556 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22557
22558 if test "$ac_cv_sys_large_files" != no; then
22559 wx_largefile=yes
22560 cat >>confdefs.h <<_ACEOF
22561 #define _LARGE_FILES $ac_cv_sys_large_files
22562 _ACEOF
22563
22564 fi
22565
22566 fi
22567
22568 echo "$as_me:$LINENO: checking if large file support is available" >&5
22569 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22570 if test "x$wx_largefile" = "xyes"; then
22571 cat >>confdefs.h <<\_ACEOF
22572 #define HAVE_LARGEFILE_SUPPORT 1
22573 _ACEOF
22574
22575 fi
22576 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22577 echo "${ECHO_T}$wx_largefile" >&6
22578 fi
22579
22580
22581 if test "x$wx_largefile" = "xyes"; then
22582 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22583 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22584
22585 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22586 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22587 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22588 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598
22599 int
22600 main ()
22601 {
22602
22603 #ifndef __STDC_EXT__
22604 choke me
22605 #endif
22606
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22613 (eval $ac_compile) 2>conftest.er1
22614 ac_status=$?
22615 grep -v '^ *+' conftest.er1 >conftest.err
22616 rm -f conftest.er1
22617 cat conftest.err >&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } &&
22620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22623 ac_status=$?
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; } &&
22626 { ac_try='test -s conftest.$ac_objext'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22629 ac_status=$?
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; }; then
22632 wx_cv_STDC_EXT_required=no
22633 else
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637 wx_cv_STDC_EXT_required=yes
22638
22639 fi
22640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22641
22642
22643 fi
22644 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22645 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22646 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22647 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22648 fi
22649 fi
22650 else
22651 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22652 fi
22653 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22654 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22655 if test "${ac_cv_sys_largefile_source+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 else
22658 while :; do
22659 ac_cv_sys_largefile_source=no
22660 cat >conftest.$ac_ext <<_ACEOF
22661 /* confdefs.h. */
22662 _ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22666 #include <stdio.h>
22667 int
22668 main ()
22669 {
22670 return !fseeko;
22671 ;
22672 return 0;
22673 }
22674 _ACEOF
22675 rm -f conftest.$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>conftest.er1
22678 ac_status=$?
22679 grep -v '^ *+' conftest.er1 >conftest.err
22680 rm -f conftest.er1
22681 cat conftest.err >&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } &&
22684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 break
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 fi
22702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #define _LARGEFILE_SOURCE 1
22710 #include <stdio.h>
22711 int
22712 main ()
22713 {
22714 return !fseeko;
22715 ;
22716 return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext
22720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22721 (eval $ac_compile) 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; } &&
22734 { ac_try='test -s conftest.$ac_objext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 ac_cv_sys_largefile_source=1; break
22741 else
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22744
22745 fi
22746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22747 break
22748 done
22749 fi
22750 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22751 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22752 if test "$ac_cv_sys_largefile_source" != no; then
22753
22754 cat >>confdefs.h <<_ACEOF
22755 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22756 _ACEOF
22757
22758 fi
22759 rm -f conftest*
22760
22761 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22762 # in glibc 2.1.3, but that breaks too many other things.
22763 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22764 echo "$as_me:$LINENO: checking for fseeko" >&5
22765 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22766 if test "${ac_cv_func_fseeko+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769 cat >conftest.$ac_ext <<_ACEOF
22770 /* confdefs.h. */
22771 _ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 #include <stdio.h>
22776 int
22777 main ()
22778 {
22779 return fseeko && fseeko (stdin, 0, 0);
22780 ;
22781 return 0;
22782 }
22783 _ACEOF
22784 rm -f conftest.$ac_objext conftest$ac_exeext
22785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22786 (eval $ac_link) 2>conftest.er1
22787 ac_status=$?
22788 grep -v '^ *+' conftest.er1 >conftest.err
22789 rm -f conftest.er1
22790 cat conftest.err >&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 ac_cv_func_fseeko=yes
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 ac_cv_func_fseeko=no
22811 fi
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22814 fi
22815 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22816 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22817 if test $ac_cv_func_fseeko = yes; then
22818
22819 cat >>confdefs.h <<\_ACEOF
22820 #define HAVE_FSEEKO 1
22821 _ACEOF
22822
22823 fi
22824
22825 if test "$ac_cv_sys_largefile_source" != no; then
22826 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22827 fi
22828 fi
22829
22830 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22831 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22832 if test "${ac_cv_c_bigendian+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22835 ac_cv_c_bigendian=unknown
22836 # See if sys/param.h defines the BYTE_ORDER macro.
22837 cat >conftest.$ac_ext <<_ACEOF
22838 /* confdefs.h. */
22839 _ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 #include <sys/types.h>
22844 #include <sys/param.h>
22845 int
22846 main ()
22847 {
22848
22849 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22850 bogus endian macros
22851 #endif
22852 ;
22853 return 0;
22854 }
22855 _ACEOF
22856 rm -f conftest.$ac_objext
22857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22858 (eval $ac_compile) 2>conftest.er1
22859 ac_status=$?
22860 grep -v '^ *+' conftest.er1 >conftest.err
22861 rm -f conftest.er1
22862 cat conftest.err >&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); } &&
22865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; } &&
22871 { ac_try='test -s conftest.$ac_objext'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 # It does; now see whether it defined to BIG_ENDIAN or not.
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include <sys/types.h>
22885 #include <sys/param.h>
22886 int
22887 main ()
22888 {
22889
22890 #if BYTE_ORDER != BIG_ENDIAN
22891 not big endian
22892 #endif
22893 ;
22894 return 0;
22895 }
22896 _ACEOF
22897 rm -f conftest.$ac_objext
22898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22899 (eval $ac_compile) 2>conftest.er1
22900 ac_status=$?
22901 grep -v '^ *+' conftest.er1 >conftest.err
22902 rm -f conftest.er1
22903 cat conftest.err >&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } &&
22906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try='test -s conftest.$ac_objext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_c_bigendian=yes
22919 else
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 ac_cv_c_bigendian=no
22924 fi
22925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22926 else
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.$ac_ext >&5
22929
22930 fi
22931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22932 if test $ac_cv_c_bigendian = unknown; then
22933 if test "$cross_compiling" = yes; then
22934 ac_cv_c_bigendian=unknown
22935 else
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h. */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 main () {
22943 /* Are we little or big endian? From Harbison&Steele. */
22944 union
22945 {
22946 long l;
22947 char c[sizeof (long)];
22948 } u;
22949 u.l = 1;
22950 exit (u.c[sizeof (long) - 1] == 1);
22951 }
22952 _ACEOF
22953 rm -f conftest$ac_exeext
22954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22955 (eval $ac_link) 2>&5
22956 ac_status=$?
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22961 ac_status=$?
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 ac_cv_c_bigendian=no
22965 else
22966 echo "$as_me: program exited with status $ac_status" >&5
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22969
22970 ( exit $ac_status )
22971 ac_cv_c_bigendian=yes
22972 fi
22973 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22974 fi
22975 fi
22976 fi
22977 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22978 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22979 if test $ac_cv_c_bigendian = unknown; then
22980 { 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
22981 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;}
22982 fi
22983 if test $ac_cv_c_bigendian = yes; then
22984 cat >>confdefs.h <<\_ACEOF
22985 #define WORDS_BIGENDIAN 1
22986 _ACEOF
22987
22988 fi
22989
22990
22991
22992
22993
22994 ac_ext=cc
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22999
23000
23001
23002 for ac_header in iostream
23003 do
23004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23006 echo "$as_me:$LINENO: checking for $ac_header" >&5
23007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 fi
23011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23013 else
23014 # Is the header compilable?
23015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23017 cat >conftest.$ac_ext <<_ACEOF
23018 /* confdefs.h. */
23019 _ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023 $ac_includes_default
23024 #include <$ac_header>
23025 _ACEOF
23026 rm -f conftest.$ac_objext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23028 (eval $ac_compile) 2>conftest.er1
23029 ac_status=$?
23030 grep -v '^ *+' conftest.er1 >conftest.err
23031 rm -f conftest.er1
23032 cat conftest.err >&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } &&
23035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest.$ac_objext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_header_compiler=yes
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_header_compiler=no
23053 fi
23054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23056 echo "${ECHO_T}$ac_header_compiler" >&6
23057
23058 # Is the header present?
23059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23061 cat >conftest.$ac_ext <<_ACEOF
23062 /* confdefs.h. */
23063 _ACEOF
23064 cat confdefs.h >>conftest.$ac_ext
23065 cat >>conftest.$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 #include <$ac_header>
23068 _ACEOF
23069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } >/dev/null; then
23077 if test -s conftest.err; then
23078 ac_cpp_err=$ac_cxx_preproc_warn_flag
23079 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23080 else
23081 ac_cpp_err=
23082 fi
23083 else
23084 ac_cpp_err=yes
23085 fi
23086 if test -z "$ac_cpp_err"; then
23087 ac_header_preproc=yes
23088 else
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23091
23092 ac_header_preproc=no
23093 fi
23094 rm -f conftest.err conftest.$ac_ext
23095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23096 echo "${ECHO_T}$ac_header_preproc" >&6
23097
23098 # So? What about this header?
23099 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23100 yes:no: )
23101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23105 ac_header_preproc=yes
23106 ;;
23107 no:yes:* )
23108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23120 (
23121 cat <<\_ASBOX
23122 ## ----------------------------------------- ##
23123 ## Report this to wx-dev@lists.wxwidgets.org ##
23124 ## ----------------------------------------- ##
23125 _ASBOX
23126 ) |
23127 sed "s/^/$as_me: WARNING: /" >&2
23128 ;;
23129 esac
23130 echo "$as_me:$LINENO: checking for $ac_header" >&5
23131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 else
23135 eval "$as_ac_Header=\$ac_header_preproc"
23136 fi
23137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23139
23140 fi
23141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23142 cat >>confdefs.h <<_ACEOF
23143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23144 _ACEOF
23145
23146 fi
23147
23148 done
23149
23150
23151 if test "$ac_cv_header_iostream" = "yes" ; then
23152 :
23153 else
23154 cat >>confdefs.h <<\_ACEOF
23155 #define wxUSE_IOSTREAMH 1
23156 _ACEOF
23157
23158 fi
23159
23160 ac_ext=cc
23161 ac_cpp='$CXXCPP $CPPFLAGS'
23162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23165
23166
23167
23168
23169 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23170 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23171 if test "${wx_cv_cpp_bool+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 else
23174
23175
23176
23177 ac_ext=cc
23178 ac_cpp='$CXXCPP $CPPFLAGS'
23179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23182
23183
23184 cat >conftest.$ac_ext <<_ACEOF
23185 /* confdefs.h. */
23186 _ACEOF
23187 cat confdefs.h >>conftest.$ac_ext
23188 cat >>conftest.$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190
23191
23192 int
23193 main ()
23194 {
23195
23196 bool b = true;
23197
23198 return 0;
23199
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23206 (eval $ac_compile) 2>conftest.er1
23207 ac_status=$?
23208 grep -v '^ *+' conftest.er1 >conftest.err
23209 rm -f conftest.er1
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try='test -s conftest.$ac_objext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225
23226 wx_cv_cpp_bool=yes
23227
23228 else
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232
23233 wx_cv_cpp_bool=no
23234
23235
23236 fi
23237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23238
23239 ac_ext=cc
23240 ac_cpp='$CXXCPP $CPPFLAGS'
23241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23244
23245
23246 fi
23247 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23249
23250 if test "$wx_cv_cpp_bool" = "yes"; then
23251 cat >>confdefs.h <<\_ACEOF
23252 #define HAVE_BOOL 1
23253 _ACEOF
23254
23255 fi
23256
23257
23258
23259 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23261 if test "${wx_cv_explicit+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264
23265
23266
23267 ac_ext=cc
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23272
23273
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280
23281 class Foo { public: explicit Foo(int) {} };
23282
23283 int
23284 main ()
23285 {
23286
23287 return 0;
23288
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321
23322 class Foo { public: explicit Foo(int) {} };
23323 static void TakeFoo(const Foo& foo) { }
23324
23325 int
23326 main ()
23327 {
23328
23329 TakeFoo(17);
23330 return 0;
23331
23332 ;
23333 return 0;
23334 }
23335 _ACEOF
23336 rm -f conftest.$ac_objext
23337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>conftest.er1
23339 ac_status=$?
23340 grep -v '^ *+' conftest.er1 >conftest.err
23341 rm -f conftest.er1
23342 cat conftest.err >&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357 wx_cv_explicit=no
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 wx_cv_explicit=yes
23363
23364 fi
23365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23366
23367 else
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23370
23371 wx_cv_explicit=no
23372
23373 fi
23374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23375
23376 ac_ext=cc
23377 ac_cpp='$CXXCPP $CPPFLAGS'
23378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23381
23382
23383 fi
23384 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23385 echo "${ECHO_T}$wx_cv_explicit" >&6
23386
23387 if test "$wx_cv_explicit" = "yes"; then
23388 cat >>confdefs.h <<\_ACEOF
23389 #define HAVE_EXPLICIT 1
23390 _ACEOF
23391
23392 fi
23393
23394
23395 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23396 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23397 if test "${ac_cv_cxx_const_cast+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400
23401
23402 ac_ext=cc
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407
23408 cat >conftest.$ac_ext <<_ACEOF
23409 /* confdefs.h. */
23410 _ACEOF
23411 cat confdefs.h >>conftest.$ac_ext
23412 cat >>conftest.$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23414
23415 int
23416 main ()
23417 {
23418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23419 ;
23420 return 0;
23421 }
23422 _ACEOF
23423 rm -f conftest.$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23426 ac_status=$?
23427 grep -v '^ *+' conftest.er1 >conftest.err
23428 rm -f conftest.er1
23429 cat conftest.err >&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_cv_cxx_const_cast=yes
23445 else
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23448
23449 ac_cv_cxx_const_cast=no
23450 fi
23451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23452 ac_ext=cc
23453 ac_cpp='$CXXCPP $CPPFLAGS'
23454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457
23458
23459 fi
23460 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23461 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23462 if test "$ac_cv_cxx_const_cast" = yes; then
23463
23464 cat >>confdefs.h <<\_ACEOF
23465 #define HAVE_CONST_CAST
23466 _ACEOF
23467
23468 fi
23469
23470 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23471 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23472 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475
23476
23477 ac_ext=cc
23478 ac_cpp='$CXXCPP $CPPFLAGS'
23479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482
23483 cat >conftest.$ac_ext <<_ACEOF
23484 /* confdefs.h. */
23485 _ACEOF
23486 cat confdefs.h >>conftest.$ac_ext
23487 cat >>conftest.$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23489 #include <typeinfo>
23490 class Base { public : Base () {} virtual void f () = 0;};
23491 class Derived : public Base { public : Derived () {} virtual void f () {} };
23492 class Unrelated { public : Unrelated () {} };
23493 int g (Unrelated&) { return 0; }
23494 int
23495 main ()
23496 {
23497
23498 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23499 ;
23500 return 0;
23501 }
23502 _ACEOF
23503 rm -f conftest.$ac_objext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23505 (eval $ac_compile) 2>conftest.er1
23506 ac_status=$?
23507 grep -v '^ *+' conftest.er1 >conftest.err
23508 rm -f conftest.er1
23509 cat conftest.err >&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try='test -s conftest.$ac_objext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23521 ac_status=$?
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23524 ac_cv_cxx_reinterpret_cast=yes
23525 else
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23528
23529 ac_cv_cxx_reinterpret_cast=no
23530 fi
23531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_ext=cc
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23537
23538
23539 fi
23540 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23541 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23542 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23543
23544 cat >>confdefs.h <<\_ACEOF
23545 #define HAVE_REINTERPRET_CAST
23546 _ACEOF
23547
23548 fi
23549
23550 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23551 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23552 if test "${ac_cv_cxx_static_cast+set}" = set; then
23553 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 else
23555
23556
23557 ac_ext=cc
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23562
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h. */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569 #include <typeinfo>
23570 class Base { public : Base () {} virtual void f () = 0; };
23571 class Derived : public Base { public : Derived () {} virtual void f () {} };
23572 int g (Derived&) { return 0; }
23573 int
23574 main ()
23575 {
23576
23577 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23578 ;
23579 return 0;
23580 }
23581 _ACEOF
23582 rm -f conftest.$ac_objext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23584 (eval $ac_compile) 2>conftest.er1
23585 ac_status=$?
23586 grep -v '^ *+' conftest.er1 >conftest.err
23587 rm -f conftest.er1
23588 cat conftest.err >&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } &&
23591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23594 ac_status=$?
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; } &&
23597 { ac_try='test -s conftest.$ac_objext'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; }; then
23603 ac_cv_cxx_static_cast=yes
23604 else
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23607
23608 ac_cv_cxx_static_cast=no
23609 fi
23610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23611 ac_ext=cc
23612 ac_cpp='$CXXCPP $CPPFLAGS'
23613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616
23617
23618 fi
23619 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23620 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23621 if test "$ac_cv_cxx_static_cast" = yes; then
23622
23623 cat >>confdefs.h <<\_ACEOF
23624 #define HAVE_STATIC_CAST
23625 _ACEOF
23626
23627 fi
23628
23629
23630 if test "x$SUNCXX" = xyes; then
23631 CXXFLAGS="-features=tmplife $CXXFLAGS"
23632 fi
23633
23634 if test "x$SUNCC" = xyes; then
23635 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23636 fi
23637
23638 if test "x$SGICC" = "xyes"; then
23639 CFLAGS="-woff 3970 $CFLAGS"
23640 fi
23641 if test "x$SGICXX" = "xyes"; then
23642 CXXFLAGS="-woff 3970 $CXXFLAGS"
23643 fi
23644
23645 if test "x$HPCC" = "xyes"; then
23646 CFLAGS="+W 2011,2450 $CFLAGS"
23647 fi
23648 if test "x$HPCXX" = "xyes"; then
23649 CXXFLAGS="+W 2340 $CXXFLAGS"
23650 fi
23651
23652 if test "x$COMPAQCXX" = "xyes"; then
23653 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23654 fi
23655
23656 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23657 if test "$wxUSE_UNICODE" = "yes"; then
23658 std_string="std::wstring"
23659 char_type="wchar_t"
23660 else
23661 std_string="std::string"
23662 char_type="char"
23663 fi
23664
23665 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23666 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23667 cat >conftest.$ac_ext <<_ACEOF
23668 /* confdefs.h. */
23669 _ACEOF
23670 cat confdefs.h >>conftest.$ac_ext
23671 cat >>conftest.$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23673 #include <string>
23674 int
23675 main ()
23676 {
23677 $std_string foo;
23678 ;
23679 return 0;
23680 }
23681 _ACEOF
23682 rm -f conftest.$ac_objext
23683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23684 (eval $ac_compile) 2>conftest.er1
23685 ac_status=$?
23686 grep -v '^ *+' conftest.er1 >conftest.err
23687 rm -f conftest.er1
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23694 ac_status=$?
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try='test -s conftest.$ac_objext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 echo "$as_me:$LINENO: result: yes" >&5
23704 echo "${ECHO_T}yes" >&6
23705 cat >>confdefs.h <<\_ACEOF
23706 #define HAVE_STD_WSTRING 1
23707 _ACEOF
23708
23709 else
23710 echo "$as_me: failed program was:" >&5
23711 sed 's/^/| /' conftest.$ac_ext >&5
23712
23713 echo "$as_me:$LINENO: result: no" >&5
23714 echo "${ECHO_T}no" >&6
23715 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23716 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23717 cat >conftest.$ac_ext <<_ACEOF
23718 /* confdefs.h. */
23719 _ACEOF
23720 cat confdefs.h >>conftest.$ac_ext
23721 cat >>conftest.$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23723
23724 #ifdef HAVE_WCHAR_H
23725 # ifdef __CYGWIN__
23726 # include <stddef.h>
23727 # endif
23728 # include <wchar.h>
23729 #endif
23730 #ifdef HAVE_STDLIB_H
23731 # include <stdlib.h>
23732 #endif
23733 #include <stdio.h>
23734 #include <string>
23735
23736 int
23737 main ()
23738 {
23739 std::basic_string<$char_type> foo;
23740 const $char_type* dummy = foo.c_str();
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 echo "$as_me:$LINENO: result: yes" >&5
23767 echo "${ECHO_T}yes" >&6
23768 else
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.$ac_ext >&5
23771
23772 echo "$as_me:$LINENO: result: no" >&5
23773 echo "${ECHO_T}no" >&6
23774 if test "$wxUSE_STL" = "yes"; then
23775 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23776 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23777 { (exit 1); exit 1; }; }
23778 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23779 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23780 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23781 { (exit 1); exit 1; }; }
23782 else
23783 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23784 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23785 wxUSE_STD_STRING=no
23786 fi
23787
23788
23789 fi
23790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23791
23792 fi
23793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23794 fi
23795
23796 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23797 echo "$as_me:$LINENO: checking for std::istream" >&5
23798 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23799 if test "${ac_cv_type_std__istream+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 else
23802 cat >conftest.$ac_ext <<_ACEOF
23803 /* confdefs.h. */
23804 _ACEOF
23805 cat confdefs.h >>conftest.$ac_ext
23806 cat >>conftest.$ac_ext <<_ACEOF
23807 /* end confdefs.h. */
23808 #include <iostream>
23809
23810 int
23811 main ()
23812 {
23813 if ((std::istream *) 0)
23814 return 0;
23815 if (sizeof (std::istream))
23816 return 0;
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 ac_cv_type_std__istream=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 ac_cv_type_std__istream=no
23848 fi
23849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23850 fi
23851 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23852 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23853 if test $ac_cv_type_std__istream = yes; then
23854
23855 cat >>confdefs.h <<_ACEOF
23856 #define HAVE_STD__ISTREAM 1
23857 _ACEOF
23858
23859
23860 else
23861 wxUSE_STD_IOSTREAM=no
23862 fi
23863 echo "$as_me:$LINENO: checking for std::ostream" >&5
23864 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23865 if test "${ac_cv_type_std__ostream+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 else
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #include <iostream>
23875
23876 int
23877 main ()
23878 {
23879 if ((std::ostream *) 0)
23880 return 0;
23881 if (sizeof (std::ostream))
23882 return 0;
23883 ;
23884 return 0;
23885 }
23886 _ACEOF
23887 rm -f conftest.$ac_objext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23889 (eval $ac_compile) 2>conftest.er1
23890 ac_status=$?
23891 grep -v '^ *+' conftest.er1 >conftest.err
23892 rm -f conftest.er1
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } &&
23896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23899 ac_status=$?
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; } &&
23902 { ac_try='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908 ac_cv_type_std__ostream=yes
23909 else
23910 echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.$ac_ext >&5
23912
23913 ac_cv_type_std__ostream=no
23914 fi
23915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23916 fi
23917 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23918 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23919 if test $ac_cv_type_std__ostream = yes; then
23920
23921 cat >>confdefs.h <<_ACEOF
23922 #define HAVE_STD__OSTREAM 1
23923 _ACEOF
23924
23925
23926 else
23927 wxUSE_STD_IOSTREAM=no
23928 fi
23929
23930
23931 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23932 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23933 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23934 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23935 { (exit 1); exit 1; }; }
23936 else
23937 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23938 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23939 fi
23940 fi
23941 fi
23942
23943 if test "$wxUSE_STL" = "yes"; then
23944 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23945 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23946 cat >conftest.$ac_ext <<_ACEOF
23947 /* confdefs.h. */
23948 _ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 #include <string>
23953 #include <functional>
23954 #include <algorithm>
23955 #include <vector>
23956 #include <list>
23957 int
23958 main ()
23959 {
23960 std::vector<int> moo;
23961 std::list<int> foo;
23962 std::vector<int>::iterator it =
23963 std::find_if(moo.begin(), moo.end(),
23964 std::bind2nd(std::less<int>(), 3));
23965 ;
23966 return 0;
23967 }
23968 _ACEOF
23969 rm -f conftest.$ac_objext
23970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23971 (eval $ac_compile) 2>conftest.er1
23972 ac_status=$?
23973 grep -v '^ *+' conftest.er1 >conftest.err
23974 rm -f conftest.er1
23975 cat conftest.err >&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } &&
23978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23981 ac_status=$?
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; } &&
23984 { ac_try='test -s conftest.$ac_objext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23987 ac_status=$?
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 echo "$as_me:$LINENO: result: yes" >&5
23991 echo "${ECHO_T}yes" >&6
23992 else
23993 echo "$as_me: failed program was:" >&5
23994 sed 's/^/| /' conftest.$ac_ext >&5
23995
23996 echo "$as_me:$LINENO: result: no" >&5
23997 echo "${ECHO_T}no" >&6
23998 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23999 echo "$as_me: error: Basic STL functionality missing" >&2;}
24000 { (exit 1); exit 1; }; }
24001 fi
24002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24003
24004 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24005 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24006 cat >conftest.$ac_ext <<_ACEOF
24007 /* confdefs.h. */
24008 _ACEOF
24009 cat confdefs.h >>conftest.$ac_ext
24010 cat >>conftest.$ac_ext <<_ACEOF
24011 /* end confdefs.h. */
24012 #include <string>
24013 int
24014 main ()
24015 {
24016 std::string foo, bar;
24017 foo.compare(bar);
24018 foo.compare(1, 1, bar);
24019 foo.compare(1, 1, bar, 1, 1);
24020 foo.compare("");
24021 foo.compare(1, 1, "");
24022 foo.compare(1, 1, "", 2);
24023 ;
24024 return 0;
24025 }
24026 _ACEOF
24027 rm -f conftest.$ac_objext
24028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24029 (eval $ac_compile) 2>conftest.er1
24030 ac_status=$?
24031 grep -v '^ *+' conftest.er1 >conftest.err
24032 rm -f conftest.er1
24033 cat conftest.err >&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } &&
24036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24038 (eval $ac_try) 2>&5
24039 ac_status=$?
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; } &&
24042 { ac_try='test -s conftest.$ac_objext'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24045 ac_status=$?
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 echo "$as_me:$LINENO: result: yes" >&5
24049 echo "${ECHO_T}yes" >&6
24050 cat >>confdefs.h <<\_ACEOF
24051 #define HAVE_STD_STRING_COMPARE 1
24052 _ACEOF
24053
24054 else
24055 echo "$as_me: failed program was:" >&5
24056 sed 's/^/| /' conftest.$ac_ext >&5
24057
24058 echo "$as_me:$LINENO: result: no" >&5
24059 echo "${ECHO_T}no" >&6
24060 fi
24061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24062
24063 if test "${ac_cv_header_hash_map+set}" = set; then
24064 echo "$as_me:$LINENO: checking for hash_map" >&5
24065 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24066 if test "${ac_cv_header_hash_map+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24068 fi
24069 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24070 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24071 else
24072 # Is the header compilable?
24073 echo "$as_me:$LINENO: checking hash_map usability" >&5
24074 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24075 cat >conftest.$ac_ext <<_ACEOF
24076 /* confdefs.h. */
24077 _ACEOF
24078 cat confdefs.h >>conftest.$ac_ext
24079 cat >>conftest.$ac_ext <<_ACEOF
24080 /* end confdefs.h. */
24081 $ac_includes_default
24082 #include <hash_map>
24083 _ACEOF
24084 rm -f conftest.$ac_objext
24085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24086 (eval $ac_compile) 2>conftest.er1
24087 ac_status=$?
24088 grep -v '^ *+' conftest.er1 >conftest.err
24089 rm -f conftest.er1
24090 cat conftest.err >&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; } &&
24099 { ac_try='test -s conftest.$ac_objext'
24100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24101 (eval $ac_try) 2>&5
24102 ac_status=$?
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); }; }; then
24105 ac_header_compiler=yes
24106 else
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.$ac_ext >&5
24109
24110 ac_header_compiler=no
24111 fi
24112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24114 echo "${ECHO_T}$ac_header_compiler" >&6
24115
24116 # Is the header present?
24117 echo "$as_me:$LINENO: checking hash_map presence" >&5
24118 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24119 cat >conftest.$ac_ext <<_ACEOF
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 #include <hash_map>
24126 _ACEOF
24127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24129 ac_status=$?
24130 grep -v '^ *+' conftest.er1 >conftest.err
24131 rm -f conftest.er1
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } >/dev/null; then
24135 if test -s conftest.err; then
24136 ac_cpp_err=$ac_cxx_preproc_warn_flag
24137 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24138 else
24139 ac_cpp_err=
24140 fi
24141 else
24142 ac_cpp_err=yes
24143 fi
24144 if test -z "$ac_cpp_err"; then
24145 ac_header_preproc=yes
24146 else
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24149
24150 ac_header_preproc=no
24151 fi
24152 rm -f conftest.err conftest.$ac_ext
24153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24154 echo "${ECHO_T}$ac_header_preproc" >&6
24155
24156 # So? What about this header?
24157 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24158 yes:no: )
24159 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24160 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24161 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24162 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24163 ac_header_preproc=yes
24164 ;;
24165 no:yes:* )
24166 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24167 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24168 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24169 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24170 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24171 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24172 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24173 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24174 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24175 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24176 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24177 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24178 (
24179 cat <<\_ASBOX
24180 ## ----------------------------------------- ##
24181 ## Report this to wx-dev@lists.wxwidgets.org ##
24182 ## ----------------------------------------- ##
24183 _ASBOX
24184 ) |
24185 sed "s/^/$as_me: WARNING: /" >&2
24186 ;;
24187 esac
24188 echo "$as_me:$LINENO: checking for hash_map" >&5
24189 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24190 if test "${ac_cv_header_hash_map+set}" = set; then
24191 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 else
24193 ac_cv_header_hash_map=$ac_header_preproc
24194 fi
24195 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24196 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24197
24198 fi
24199 if test $ac_cv_header_hash_map = yes; then
24200 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24201 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h. */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 #include <hash_map>
24209 #include <hash_set>
24210 int
24211 main ()
24212 {
24213 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24214 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 rm -f conftest.$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 2>conftest.er1
24222 ac_status=$?
24223 grep -v '^ *+' conftest.er1 >conftest.err
24224 rm -f conftest.er1
24225 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } &&
24228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24231 ac_status=$?
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; } &&
24234 { ac_try='test -s conftest.$ac_objext'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24237 ac_status=$?
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; }; then
24240 echo "$as_me:$LINENO: result: yes" >&5
24241 echo "${ECHO_T}yes" >&6
24242 cat >>confdefs.h <<\_ACEOF
24243 #define HAVE_HASH_MAP 1
24244 _ACEOF
24245
24246 cat >>confdefs.h <<\_ACEOF
24247 #define HAVE_STD_HASH_MAP 1
24248 _ACEOF
24249
24250 else
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24253
24254 echo "$as_me:$LINENO: result: no" >&5
24255 echo "${ECHO_T}no" >&6
24256 fi
24257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24258
24259 fi
24260
24261
24262
24263 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24264 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24265 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24266 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 fi
24269 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24270 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24271 else
24272 # Is the header compilable?
24273 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24274 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24275 cat >conftest.$ac_ext <<_ACEOF
24276 /* confdefs.h. */
24277 _ACEOF
24278 cat confdefs.h >>conftest.$ac_ext
24279 cat >>conftest.$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281 $ac_includes_default
24282 #include <ext/hash_map>
24283 _ACEOF
24284 rm -f conftest.$ac_objext
24285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24286 (eval $ac_compile) 2>conftest.er1
24287 ac_status=$?
24288 grep -v '^ *+' conftest.er1 >conftest.err
24289 rm -f conftest.er1
24290 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } &&
24293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24296 ac_status=$?
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; } &&
24299 { ac_try='test -s conftest.$ac_objext'
24300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301 (eval $ac_try) 2>&5
24302 ac_status=$?
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); }; }; then
24305 ac_header_compiler=yes
24306 else
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.$ac_ext >&5
24309
24310 ac_header_compiler=no
24311 fi
24312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24314 echo "${ECHO_T}$ac_header_compiler" >&6
24315
24316 # Is the header present?
24317 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24318 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24319 cat >conftest.$ac_ext <<_ACEOF
24320 /* confdefs.h. */
24321 _ACEOF
24322 cat confdefs.h >>conftest.$ac_ext
24323 cat >>conftest.$ac_ext <<_ACEOF
24324 /* end confdefs.h. */
24325 #include <ext/hash_map>
24326 _ACEOF
24327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } >/dev/null; then
24335 if test -s conftest.err; then
24336 ac_cpp_err=$ac_cxx_preproc_warn_flag
24337 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24338 else
24339 ac_cpp_err=
24340 fi
24341 else
24342 ac_cpp_err=yes
24343 fi
24344 if test -z "$ac_cpp_err"; then
24345 ac_header_preproc=yes
24346 else
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24349
24350 ac_header_preproc=no
24351 fi
24352 rm -f conftest.err conftest.$ac_ext
24353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24354 echo "${ECHO_T}$ac_header_preproc" >&6
24355
24356 # So? What about this header?
24357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24358 yes:no: )
24359 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24360 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24361 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24362 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24363 ac_header_preproc=yes
24364 ;;
24365 no:yes:* )
24366 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24367 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24369 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24371 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24373 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24375 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24376 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24377 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24378 (
24379 cat <<\_ASBOX
24380 ## ----------------------------------------- ##
24381 ## Report this to wx-dev@lists.wxwidgets.org ##
24382 ## ----------------------------------------- ##
24383 _ASBOX
24384 ) |
24385 sed "s/^/$as_me: WARNING: /" >&2
24386 ;;
24387 esac
24388 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24389 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24390 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24393 ac_cv_header_ext_hash_map=$ac_header_preproc
24394 fi
24395 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24396 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24397
24398 fi
24399 if test $ac_cv_header_ext_hash_map = yes; then
24400 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24401 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24402 cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h. */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 #include <ext/hash_map>
24409 #include <ext/hash_set>
24410 int
24411 main ()
24412 {
24413 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24414 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24415 ;
24416 return 0;
24417 }
24418 _ACEOF
24419 rm -f conftest.$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>conftest.er1
24422 ac_status=$?
24423 grep -v '^ *+' conftest.er1 >conftest.err
24424 rm -f conftest.er1
24425 cat conftest.err >&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 (eval $ac_try) 2>&5
24431 ac_status=$?
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; } &&
24434 { ac_try='test -s conftest.$ac_objext'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24437 ac_status=$?
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; }; then
24440 echo "$as_me:$LINENO: result: yes" >&5
24441 echo "${ECHO_T}yes" >&6
24442 cat >>confdefs.h <<\_ACEOF
24443 #define HAVE_EXT_HASH_MAP 1
24444 _ACEOF
24445
24446 cat >>confdefs.h <<\_ACEOF
24447 #define HAVE_GNU_CXX_HASH_MAP 1
24448 _ACEOF
24449
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 echo "$as_me:$LINENO: result: no" >&5
24455 echo "${ECHO_T}no" >&6
24456 fi
24457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24458
24459 fi
24460
24461
24462 fi
24463
24464
24465 SEARCH_INCLUDE="\
24466 /usr/local/include \
24467 \
24468 /usr/Motif-2.1/include \
24469 /usr/Motif-1.2/include \
24470 /usr/include/Motif1.2 \
24471 \
24472 /usr/dt/include \
24473 /usr/openwin/include \
24474 \
24475 /usr/include/Xm \
24476 \
24477 /usr/X11R6/include \
24478 /usr/X11R6.4/include \
24479 /usr/X11R5/include \
24480 /usr/X11R4/include \
24481 \
24482 /usr/include/X11R6 \
24483 /usr/include/X11R5 \
24484 /usr/include/X11R4 \
24485 \
24486 /usr/local/X11R6/include \
24487 /usr/local/X11R5/include \
24488 /usr/local/X11R4/include \
24489 \
24490 /usr/local/include/X11R6 \
24491 /usr/local/include/X11R5 \
24492 /usr/local/include/X11R4 \
24493 \
24494 /usr/X11/include \
24495 /usr/include/X11 \
24496 /usr/local/X11/include \
24497 /usr/local/include/X11 \
24498 \
24499 /usr/XFree86/include/X11 \
24500 /usr/pkg/include \
24501 \
24502 /usr/openwin/share/include"
24503
24504 echo "$as_me:$LINENO: checking for libraries directory" >&5
24505 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24506
24507 case "${host}" in
24508 *-*-irix6* )
24509 if test "${wx_cv_std_libpath+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512
24513 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24514 for e in a so sl dylib dll.a; do
24515 libc="$d/libc.$e"
24516 if test -f $libc; then
24517 save_LIBS="$LIBS"
24518 LIBS="$libc"
24519 cat >conftest.$ac_ext <<_ACEOF
24520 int main() { return 0; }
24521 _ACEOF
24522 rm -f conftest.$ac_objext conftest$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>conftest.er1
24525 ac_status=$?
24526 grep -v '^ *+' conftest.er1 >conftest.err
24527 rm -f conftest.er1
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } &&
24531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24534 ac_status=$?
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; } &&
24537 { ac_try='test -s conftest$ac_exeext'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548 fi
24549 rm -f conftest.err conftest.$ac_objext \
24550 conftest$ac_exeext conftest.$ac_ext
24551 LIBS="$save_LIBS"
24552 if test "x$wx_cv_std_libpath" != "x"; then
24553 break 2
24554 fi
24555 fi
24556 done
24557 done
24558 if test "x$wx_cv_std_libpath" = "x"; then
24559 wx_cv_std_libpath="lib"
24560 fi
24561
24562
24563 fi
24564
24565 ;;
24566
24567 *-*-solaris2* )
24568 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24569 wx_cv_std_libpath="lib/64"
24570 else
24571 wx_cv_std_libpath="lib"
24572 fi
24573 ;;
24574
24575 *-*-linux* )
24576 if test "$ac_cv_sizeof_void_p" = 8 -a \
24577 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24578 wx_cv_std_libpath="lib64"
24579 else
24580 wx_cv_std_libpath="lib"
24581 fi
24582 ;;
24583
24584 *)
24585 wx_cv_std_libpath="lib";
24586 ;;
24587 esac
24588
24589 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24590 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24591
24592 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24593
24594 if test "$build" != "$host" -a "$GCC" = yes; then
24595 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24596 cross_root=`dirname $cross_root`
24597 cross_root=`dirname $cross_root`
24598
24599 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24600 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24601 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24602
24603 if test -z "$PKG_CONFIG_PATH"; then
24604 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24605 export PKG_CONFIG_PATH
24606 fi
24607
24608 if test -z "$x_includes" -o "$x_includes" = NONE; then
24609
24610 ac_find_includes=
24611 for ac_dir in $SEARCH_INCLUDE /usr/include;
24612 do
24613 if test -f "$ac_dir/X11/Intrinsic.h"; then
24614 ac_find_includes=$ac_dir
24615 break
24616 fi
24617 done
24618
24619 x_includes=$ac_find_includes
24620 fi
24621 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24622
24623 ac_find_libraries=
24624 for ac_dir in $SEARCH_LIB;
24625 do
24626 for ac_extension in a so sl dylib dll.a; do
24627 if test -f "$ac_dir/libXt.$ac_extension"; then
24628 ac_find_libraries=$ac_dir
24629 break 2
24630 fi
24631 done
24632 done
24633
24634 x_libraries=$ac_find_libraries
24635 fi
24636 fi
24637 fi
24638
24639
24640 cat >confcache <<\_ACEOF
24641 # This file is a shell script that caches the results of configure
24642 # tests run on this system so they can be shared between configure
24643 # scripts and configure runs, see configure's option --config-cache.
24644 # It is not useful on other systems. If it contains results you don't
24645 # want to keep, you may remove or edit it.
24646 #
24647 # config.status only pays attention to the cache file if you give it
24648 # the --recheck option to rerun configure.
24649 #
24650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24652 # following values.
24653
24654 _ACEOF
24655
24656 # The following way of writing the cache mishandles newlines in values,
24657 # but we know of no workaround that is simple, portable, and efficient.
24658 # So, don't put newlines in cache variables' values.
24659 # Ultrix sh set writes to stderr and can't be redirected directly,
24660 # and sets the high bit in the cache file unless we assign to the vars.
24661 {
24662 (set) 2>&1 |
24663 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24664 *ac_space=\ *)
24665 # `set' does not quote correctly, so add quotes (double-quote
24666 # substitution turns \\\\ into \\, and sed turns \\ into \).
24667 sed -n \
24668 "s/'/'\\\\''/g;
24669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24670 ;;
24671 *)
24672 # `set' quotes correctly as required by POSIX, so do not add quotes.
24673 sed -n \
24674 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24675 ;;
24676 esac;
24677 } |
24678 sed '
24679 t clear
24680 : clear
24681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24682 t end
24683 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24684 : end' >>confcache
24685 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24686 if test -w $cache_file; then
24687 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24688 cat confcache >$cache_file
24689 else
24690 echo "not updating unwritable cache $cache_file"
24691 fi
24692 fi
24693 rm -f confcache
24694
24695 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24696 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24697 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24698 if test "${wx_cv_lib_glibc21+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 else
24701
24702 cat >conftest.$ac_ext <<_ACEOF
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 #include <features.h>
24709 int
24710 main ()
24711 {
24712
24713 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24714 not glibc 2.1
24715 #endif
24716
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 rm -f conftest.$ac_objext
24722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24723 (eval $ac_compile) 2>conftest.er1
24724 ac_status=$?
24725 grep -v '^ *+' conftest.er1 >conftest.err
24726 rm -f conftest.er1
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
24736 { ac_try='test -s conftest.$ac_objext'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24739 ac_status=$?
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; }; then
24742
24743 wx_cv_lib_glibc21=yes
24744
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749
24750 wx_cv_lib_glibc21=no
24751
24752
24753 fi
24754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24755
24756 fi
24757 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24758 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24759 if test "$wx_cv_lib_glibc21" = "yes"; then
24760 cat >>confdefs.h <<\_ACEOF
24761 #define wxHAVE_GLIBC2 1
24762 _ACEOF
24763
24764 fi
24765 fi
24766
24767 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24768 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24769 cat >>confdefs.h <<\_ACEOF
24770 #define _GNU_SOURCE 1
24771 _ACEOF
24772
24773 fi
24774 fi
24775
24776 have_cos=0
24777 have_floor=0
24778
24779 for ac_func in cos
24780 do
24781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24782 echo "$as_me:$LINENO: checking for $ac_func" >&5
24783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24784 if eval "test \"\${$as_ac_var+set}\" = set"; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 else
24787 cat >conftest.$ac_ext <<_ACEOF
24788 /* confdefs.h. */
24789 _ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24795 #define $ac_func innocuous_$ac_func
24796
24797 /* System header to define __stub macros and hopefully few prototypes,
24798 which can conflict with char $ac_func (); below.
24799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24800 <limits.h> exists even on freestanding compilers. */
24801
24802 #ifdef __STDC__
24803 # include <limits.h>
24804 #else
24805 # include <assert.h>
24806 #endif
24807
24808 #undef $ac_func
24809
24810 /* Override any gcc2 internal prototype to avoid an error. */
24811 #ifdef __cplusplus
24812 extern "C"
24813 {
24814 #endif
24815 /* We use char because int might match the return type of a gcc2
24816 builtin and then its argument prototype would still apply. */
24817 char $ac_func ();
24818 /* The GNU C library defines this for functions which it implements
24819 to always fail with ENOSYS. Some functions are actually named
24820 something starting with __ and the normal name is an alias. */
24821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24822 choke me
24823 #else
24824 char (*f) () = $ac_func;
24825 #endif
24826 #ifdef __cplusplus
24827 }
24828 #endif
24829
24830 int
24831 main ()
24832 {
24833 return f != $ac_func;
24834 ;
24835 return 0;
24836 }
24837 _ACEOF
24838 rm -f conftest.$ac_objext conftest$ac_exeext
24839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24840 (eval $ac_link) 2>conftest.er1
24841 ac_status=$?
24842 grep -v '^ *+' conftest.er1 >conftest.err
24843 rm -f conftest.er1
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24850 ac_status=$?
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; } &&
24853 { ac_try='test -s conftest$ac_exeext'
24854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24855 (eval $ac_try) 2>&5
24856 ac_status=$?
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); }; }; then
24859 eval "$as_ac_var=yes"
24860 else
24861 echo "$as_me: failed program was:" >&5
24862 sed 's/^/| /' conftest.$ac_ext >&5
24863
24864 eval "$as_ac_var=no"
24865 fi
24866 rm -f conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24868 fi
24869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24871 if test `eval echo '${'$as_ac_var'}'` = yes; then
24872 cat >>confdefs.h <<_ACEOF
24873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24874 _ACEOF
24875 have_cos=1
24876 fi
24877 done
24878
24879
24880 for ac_func in floor
24881 do
24882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24883 echo "$as_me:$LINENO: checking for $ac_func" >&5
24884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24885 if eval "test \"\${$as_ac_var+set}\" = set"; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888 cat >conftest.$ac_ext <<_ACEOF
24889 /* confdefs.h. */
24890 _ACEOF
24891 cat confdefs.h >>conftest.$ac_ext
24892 cat >>conftest.$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24896 #define $ac_func innocuous_$ac_func
24897
24898 /* System header to define __stub macros and hopefully few prototypes,
24899 which can conflict with char $ac_func (); below.
24900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24901 <limits.h> exists even on freestanding compilers. */
24902
24903 #ifdef __STDC__
24904 # include <limits.h>
24905 #else
24906 # include <assert.h>
24907 #endif
24908
24909 #undef $ac_func
24910
24911 /* Override any gcc2 internal prototype to avoid an error. */
24912 #ifdef __cplusplus
24913 extern "C"
24914 {
24915 #endif
24916 /* We use char because int might match the return type of a gcc2
24917 builtin and then its argument prototype would still apply. */
24918 char $ac_func ();
24919 /* The GNU C library defines this for functions which it implements
24920 to always fail with ENOSYS. Some functions are actually named
24921 something starting with __ and the normal name is an alias. */
24922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24923 choke me
24924 #else
24925 char (*f) () = $ac_func;
24926 #endif
24927 #ifdef __cplusplus
24928 }
24929 #endif
24930
24931 int
24932 main ()
24933 {
24934 return f != $ac_func;
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 rm -f conftest.$ac_objext conftest$ac_exeext
24940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24941 (eval $ac_link) 2>conftest.er1
24942 ac_status=$?
24943 grep -v '^ *+' conftest.er1 >conftest.err
24944 rm -f conftest.er1
24945 cat conftest.err >&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); } &&
24948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 eval "$as_ac_var=yes"
24961 else
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.$ac_ext >&5
24964
24965 eval "$as_ac_var=no"
24966 fi
24967 rm -f conftest.err conftest.$ac_objext \
24968 conftest$ac_exeext conftest.$ac_ext
24969 fi
24970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24972 if test `eval echo '${'$as_ac_var'}'` = yes; then
24973 cat >>confdefs.h <<_ACEOF
24974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24975 _ACEOF
24976 have_floor=1
24977 fi
24978 done
24979
24980 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24981 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24982 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24983 echo "$as_me:$LINENO: result: yes" >&5
24984 echo "${ECHO_T}yes" >&6
24985 else
24986 echo "$as_me:$LINENO: result: no" >&5
24987 echo "${ECHO_T}no" >&6
24988 LIBS="$LIBS -lm"
24989 # use different functions to avoid configure caching
24990 have_sin=0
24991 have_ceil=0
24992
24993 for ac_func in sin
24994 do
24995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24996 echo "$as_me:$LINENO: checking for $ac_func" >&5
24997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24998 if eval "test \"\${$as_ac_var+set}\" = set"; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001 cat >conftest.$ac_ext <<_ACEOF
25002 /* confdefs.h. */
25003 _ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25009 #define $ac_func innocuous_$ac_func
25010
25011 /* System header to define __stub macros and hopefully few prototypes,
25012 which can conflict with char $ac_func (); below.
25013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25014 <limits.h> exists even on freestanding compilers. */
25015
25016 #ifdef __STDC__
25017 # include <limits.h>
25018 #else
25019 # include <assert.h>
25020 #endif
25021
25022 #undef $ac_func
25023
25024 /* Override any gcc2 internal prototype to avoid an error. */
25025 #ifdef __cplusplus
25026 extern "C"
25027 {
25028 #endif
25029 /* We use char because int might match the return type of a gcc2
25030 builtin and then its argument prototype would still apply. */
25031 char $ac_func ();
25032 /* The GNU C library defines this for functions which it implements
25033 to always fail with ENOSYS. Some functions are actually named
25034 something starting with __ and the normal name is an alias. */
25035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25036 choke me
25037 #else
25038 char (*f) () = $ac_func;
25039 #endif
25040 #ifdef __cplusplus
25041 }
25042 #endif
25043
25044 int
25045 main ()
25046 {
25047 return f != $ac_func;
25048 ;
25049 return 0;
25050 }
25051 _ACEOF
25052 rm -f conftest.$ac_objext conftest$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>conftest.er1
25055 ac_status=$?
25056 grep -v '^ *+' conftest.er1 >conftest.err
25057 rm -f conftest.er1
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25064 ac_status=$?
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; } &&
25067 { ac_try='test -s conftest$ac_exeext'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25070 ac_status=$?
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; }; then
25073 eval "$as_ac_var=yes"
25074 else
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.$ac_ext >&5
25077
25078 eval "$as_ac_var=no"
25079 fi
25080 rm -f conftest.err conftest.$ac_objext \
25081 conftest$ac_exeext conftest.$ac_ext
25082 fi
25083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25085 if test `eval echo '${'$as_ac_var'}'` = yes; then
25086 cat >>confdefs.h <<_ACEOF
25087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25088 _ACEOF
25089 have_sin=1
25090 fi
25091 done
25092
25093
25094 for ac_func in ceil
25095 do
25096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25097 echo "$as_me:$LINENO: checking for $ac_func" >&5
25098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25099 if eval "test \"\${$as_ac_var+set}\" = set"; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102 cat >conftest.$ac_ext <<_ACEOF
25103 /* confdefs.h. */
25104 _ACEOF
25105 cat confdefs.h >>conftest.$ac_ext
25106 cat >>conftest.$ac_ext <<_ACEOF
25107 /* end confdefs.h. */
25108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25110 #define $ac_func innocuous_$ac_func
25111
25112 /* System header to define __stub macros and hopefully few prototypes,
25113 which can conflict with char $ac_func (); below.
25114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25115 <limits.h> exists even on freestanding compilers. */
25116
25117 #ifdef __STDC__
25118 # include <limits.h>
25119 #else
25120 # include <assert.h>
25121 #endif
25122
25123 #undef $ac_func
25124
25125 /* Override any gcc2 internal prototype to avoid an error. */
25126 #ifdef __cplusplus
25127 extern "C"
25128 {
25129 #endif
25130 /* We use char because int might match the return type of a gcc2
25131 builtin and then its argument prototype would still apply. */
25132 char $ac_func ();
25133 /* The GNU C library defines this for functions which it implements
25134 to always fail with ENOSYS. Some functions are actually named
25135 something starting with __ and the normal name is an alias. */
25136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25137 choke me
25138 #else
25139 char (*f) () = $ac_func;
25140 #endif
25141 #ifdef __cplusplus
25142 }
25143 #endif
25144
25145 int
25146 main ()
25147 {
25148 return f != $ac_func;
25149 ;
25150 return 0;
25151 }
25152 _ACEOF
25153 rm -f conftest.$ac_objext conftest$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } &&
25162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; } &&
25168 { ac_try='test -s conftest$ac_exeext'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25171 ac_status=$?
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; }; then
25174 eval "$as_ac_var=yes"
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 eval "$as_ac_var=no"
25180 fi
25181 rm -f conftest.err conftest.$ac_objext \
25182 conftest$ac_exeext conftest.$ac_ext
25183 fi
25184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25186 if test `eval echo '${'$as_ac_var'}'` = yes; then
25187 cat >>confdefs.h <<_ACEOF
25188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25189 _ACEOF
25190 have_ceil=1
25191 fi
25192 done
25193
25194 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25195 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25196 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25197 echo "$as_me:$LINENO: result: yes" >&5
25198 echo "${ECHO_T}yes" >&6
25199 else
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25202 # not sure we should warn the user, crash, etc.
25203 fi
25204 fi
25205
25206
25207
25208 if test "$wxUSE_REGEX" != "no"; then
25209 cat >>confdefs.h <<\_ACEOF
25210 #define wxUSE_REGEX 1
25211 _ACEOF
25212
25213
25214 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25215 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25216 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25217 wxUSE_REGEX=builtin
25218 fi
25219
25220 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25221 if test "${ac_cv_header_regex_h+set}" = set; then
25222 echo "$as_me:$LINENO: checking for regex.h" >&5
25223 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25224 if test "${ac_cv_header_regex_h+set}" = set; then
25225 echo $ECHO_N "(cached) $ECHO_C" >&6
25226 fi
25227 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25228 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25229 else
25230 # Is the header compilable?
25231 echo "$as_me:$LINENO: checking regex.h usability" >&5
25232 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 $ac_includes_default
25240 #include <regex.h>
25241 _ACEOF
25242 rm -f conftest.$ac_objext
25243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25244 (eval $ac_compile) 2>conftest.er1
25245 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } &&
25251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25254 ac_status=$?
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; } &&
25257 { ac_try='test -s conftest.$ac_objext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 ac_header_compiler=yes
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 ac_header_compiler=no
25269 fi
25270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25272 echo "${ECHO_T}$ac_header_compiler" >&6
25273
25274 # Is the header present?
25275 echo "$as_me:$LINENO: checking regex.h presence" >&5
25276 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25277 cat >conftest.$ac_ext <<_ACEOF
25278 /* confdefs.h. */
25279 _ACEOF
25280 cat confdefs.h >>conftest.$ac_ext
25281 cat >>conftest.$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25283 #include <regex.h>
25284 _ACEOF
25285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } >/dev/null; then
25293 if test -s conftest.err; then
25294 ac_cpp_err=$ac_cxx_preproc_warn_flag
25295 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25296 else
25297 ac_cpp_err=
25298 fi
25299 else
25300 ac_cpp_err=yes
25301 fi
25302 if test -z "$ac_cpp_err"; then
25303 ac_header_preproc=yes
25304 else
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25307
25308 ac_header_preproc=no
25309 fi
25310 rm -f conftest.err conftest.$ac_ext
25311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25312 echo "${ECHO_T}$ac_header_preproc" >&6
25313
25314 # So? What about this header?
25315 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25316 yes:no: )
25317 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25318 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25319 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25320 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25321 ac_header_preproc=yes
25322 ;;
25323 no:yes:* )
25324 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25325 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25326 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25327 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25328 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25329 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25331 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25332 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25333 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25334 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25335 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25336 (
25337 cat <<\_ASBOX
25338 ## ----------------------------------------- ##
25339 ## Report this to wx-dev@lists.wxwidgets.org ##
25340 ## ----------------------------------------- ##
25341 _ASBOX
25342 ) |
25343 sed "s/^/$as_me: WARNING: /" >&2
25344 ;;
25345 esac
25346 echo "$as_me:$LINENO: checking for regex.h" >&5
25347 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25348 if test "${ac_cv_header_regex_h+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 else
25351 ac_cv_header_regex_h=$ac_header_preproc
25352 fi
25353 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25354 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25355
25356 fi
25357 if test $ac_cv_header_regex_h = yes; then
25358
25359
25360 for ac_func in regcomp re_search
25361 do
25362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25363 echo "$as_me:$LINENO: checking for $ac_func" >&5
25364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25365 if eval "test \"\${$as_ac_var+set}\" = set"; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25367 else
25368 cat >conftest.$ac_ext <<_ACEOF
25369 /* confdefs.h. */
25370 _ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25376 #define $ac_func innocuous_$ac_func
25377
25378 /* System header to define __stub macros and hopefully few prototypes,
25379 which can conflict with char $ac_func (); below.
25380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25381 <limits.h> exists even on freestanding compilers. */
25382
25383 #ifdef __STDC__
25384 # include <limits.h>
25385 #else
25386 # include <assert.h>
25387 #endif
25388
25389 #undef $ac_func
25390
25391 /* Override any gcc2 internal prototype to avoid an error. */
25392 #ifdef __cplusplus
25393 extern "C"
25394 {
25395 #endif
25396 /* We use char because int might match the return type of a gcc2
25397 builtin and then its argument prototype would still apply. */
25398 char $ac_func ();
25399 /* The GNU C library defines this for functions which it implements
25400 to always fail with ENOSYS. Some functions are actually named
25401 something starting with __ and the normal name is an alias. */
25402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25403 choke me
25404 #else
25405 char (*f) () = $ac_func;
25406 #endif
25407 #ifdef __cplusplus
25408 }
25409 #endif
25410
25411 int
25412 main ()
25413 {
25414 return f != $ac_func;
25415 ;
25416 return 0;
25417 }
25418 _ACEOF
25419 rm -f conftest.$ac_objext conftest$ac_exeext
25420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25421 (eval $ac_link) 2>conftest.er1
25422 ac_status=$?
25423 grep -v '^ *+' conftest.er1 >conftest.err
25424 rm -f conftest.er1
25425 cat conftest.err >&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } &&
25428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25431 ac_status=$?
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; } &&
25434 { ac_try='test -s conftest$ac_exeext'
25435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25436 (eval $ac_try) 2>&5
25437 ac_status=$?
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); }; }; then
25440 eval "$as_ac_var=yes"
25441 else
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.$ac_ext >&5
25444
25445 eval "$as_ac_var=no"
25446 fi
25447 rm -f conftest.err conftest.$ac_objext \
25448 conftest$ac_exeext conftest.$ac_ext
25449 fi
25450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25452 if test `eval echo '${'$as_ac_var'}'` = yes; then
25453 cat >>confdefs.h <<_ACEOF
25454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25455 _ACEOF
25456
25457 fi
25458 done
25459
25460 fi
25461
25462
25463
25464 if test "x$ac_cv_func_regcomp" != "xyes"; then
25465 if test "$wxUSE_REGEX" = "sys" ; then
25466 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25467 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25468 { (exit 1); exit 1; }; }
25469 else
25470 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25471 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25472 wxUSE_REGEX=builtin
25473 fi
25474 else
25475 wxUSE_REGEX=sys
25476 cat >>confdefs.h <<\_ACEOF
25477 #define WX_NO_REGEX_ADVANCED 1
25478 _ACEOF
25479
25480 fi
25481 fi
25482 fi
25483
25484
25485 ZLIB_LINK=
25486 if test "$wxUSE_ZLIB" != "no" ; then
25487 cat >>confdefs.h <<\_ACEOF
25488 #define wxUSE_ZLIB 1
25489 _ACEOF
25490
25491
25492 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25493 if test "$USE_DARWIN" = 1; then
25494 system_zlib_h_ok="yes"
25495 else
25496 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25497 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25498 if test "${ac_cv_header_zlib_h+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 else
25501 if test "$cross_compiling" = yes; then
25502 unset ac_cv_header_zlib_h
25503
25504 else
25505 cat >conftest.$ac_ext <<_ACEOF
25506 /* confdefs.h. */
25507 _ACEOF
25508 cat confdefs.h >>conftest.$ac_ext
25509 cat >>conftest.$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25511
25512 #include <zlib.h>
25513 #include <stdio.h>
25514
25515 int main()
25516 {
25517 FILE *f=fopen("conftestval", "w");
25518 if (!f) exit(1);
25519 fprintf(f, "%s",
25520 ZLIB_VERSION[0] == '1' &&
25521 (ZLIB_VERSION[2] > '1' ||
25522 (ZLIB_VERSION[2] == '1' &&
25523 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25524 exit(0);
25525 }
25526
25527 _ACEOF
25528 rm -f conftest$ac_exeext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_header_zlib_h=`cat conftestval`
25540 else
25541 echo "$as_me: program exited with status $ac_status" >&5
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25544
25545 ( exit $ac_status )
25546 ac_cv_header_zlib_h=no
25547 fi
25548 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25549 fi
25550
25551 fi
25552 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25553 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25554 if test "${ac_cv_header_zlib_h+set}" = set; then
25555 echo "$as_me:$LINENO: checking for zlib.h" >&5
25556 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25557 if test "${ac_cv_header_zlib_h+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 fi
25560 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25561 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25562 else
25563 # Is the header compilable?
25564 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25565 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25566 cat >conftest.$ac_ext <<_ACEOF
25567 /* confdefs.h. */
25568 _ACEOF
25569 cat confdefs.h >>conftest.$ac_ext
25570 cat >>conftest.$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25572 $ac_includes_default
25573 #include <zlib.h>
25574 _ACEOF
25575 rm -f conftest.$ac_objext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25577 (eval $ac_compile) 2>conftest.er1
25578 ac_status=$?
25579 grep -v '^ *+' conftest.er1 >conftest.err
25580 rm -f conftest.er1
25581 cat conftest.err >&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; } &&
25590 { ac_try='test -s conftest.$ac_objext'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25593 ac_status=$?
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; }; then
25596 ac_header_compiler=yes
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 ac_header_compiler=no
25602 fi
25603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25605 echo "${ECHO_T}$ac_header_compiler" >&6
25606
25607 # Is the header present?
25608 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25609 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25610 cat >conftest.$ac_ext <<_ACEOF
25611 /* confdefs.h. */
25612 _ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616 #include <zlib.h>
25617 _ACEOF
25618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25620 ac_status=$?
25621 grep -v '^ *+' conftest.er1 >conftest.err
25622 rm -f conftest.er1
25623 cat conftest.err >&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } >/dev/null; then
25626 if test -s conftest.err; then
25627 ac_cpp_err=$ac_cxx_preproc_warn_flag
25628 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25629 else
25630 ac_cpp_err=
25631 fi
25632 else
25633 ac_cpp_err=yes
25634 fi
25635 if test -z "$ac_cpp_err"; then
25636 ac_header_preproc=yes
25637 else
25638 echo "$as_me: failed program was:" >&5
25639 sed 's/^/| /' conftest.$ac_ext >&5
25640
25641 ac_header_preproc=no
25642 fi
25643 rm -f conftest.err conftest.$ac_ext
25644 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25645 echo "${ECHO_T}$ac_header_preproc" >&6
25646
25647 # So? What about this header?
25648 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25649 yes:no: )
25650 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25651 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25652 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25653 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25654 ac_header_preproc=yes
25655 ;;
25656 no:yes:* )
25657 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25658 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25659 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25660 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25661 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25662 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25663 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25664 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25666 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25668 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25669 (
25670 cat <<\_ASBOX
25671 ## ----------------------------------------- ##
25672 ## Report this to wx-dev@lists.wxwidgets.org ##
25673 ## ----------------------------------------- ##
25674 _ASBOX
25675 ) |
25676 sed "s/^/$as_me: WARNING: /" >&2
25677 ;;
25678 esac
25679 echo "$as_me:$LINENO: checking for zlib.h" >&5
25680 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25681 if test "${ac_cv_header_zlib_h+set}" = set; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 else
25684 ac_cv_header_zlib_h=$ac_header_preproc
25685 fi
25686 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25687 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25688
25689 fi
25690
25691
25692
25693 system_zlib_h_ok=$ac_cv_header_zlib_h
25694 fi
25695
25696 if test "$system_zlib_h_ok" = "yes"; then
25697 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25698 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25699 if test "${ac_cv_lib_z_deflate+set}" = set; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702 ac_check_lib_save_LIBS=$LIBS
25703 LIBS="-lz $LIBS"
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710
25711 /* Override any gcc2 internal prototype to avoid an error. */
25712 #ifdef __cplusplus
25713 extern "C"
25714 #endif
25715 /* We use char because int might match the return type of a gcc2
25716 builtin and then its argument prototype would still apply. */
25717 char deflate ();
25718 int
25719 main ()
25720 {
25721 deflate ();
25722 ;
25723 return 0;
25724 }
25725 _ACEOF
25726 rm -f conftest.$ac_objext conftest$ac_exeext
25727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25728 (eval $ac_link) 2>conftest.er1
25729 ac_status=$?
25730 grep -v '^ *+' conftest.er1 >conftest.err
25731 rm -f conftest.er1
25732 cat conftest.err >&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; } &&
25741 { ac_try='test -s conftest$ac_exeext'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25744 ac_status=$?
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; }; then
25747 ac_cv_lib_z_deflate=yes
25748 else
25749 echo "$as_me: failed program was:" >&5
25750 sed 's/^/| /' conftest.$ac_ext >&5
25751
25752 ac_cv_lib_z_deflate=no
25753 fi
25754 rm -f conftest.err conftest.$ac_objext \
25755 conftest$ac_exeext conftest.$ac_ext
25756 LIBS=$ac_check_lib_save_LIBS
25757 fi
25758 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25759 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25760 if test $ac_cv_lib_z_deflate = yes; then
25761 ZLIB_LINK=" -lz"
25762 fi
25763
25764 fi
25765
25766 if test "x$ZLIB_LINK" = "x" ; then
25767 if test "$wxUSE_ZLIB" = "sys" ; then
25768 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25769 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25770 { (exit 1); exit 1; }; }
25771 else
25772 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25773 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25774 wxUSE_ZLIB=builtin
25775 fi
25776 else
25777 wxUSE_ZLIB=sys
25778 fi
25779 fi
25780 fi
25781
25782
25783 PNG_LINK=
25784 if test "$wxUSE_LIBPNG" != "no" ; then
25785 cat >>confdefs.h <<\_ACEOF
25786 #define wxUSE_LIBPNG 1
25787 _ACEOF
25788
25789
25790 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25791 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25792 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25793 wxUSE_LIBPNG=sys
25794 fi
25795
25796 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25797 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25798 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25799 wxUSE_LIBPNG=builtin
25800 fi
25801
25802 if test "$wxUSE_MGL" != 1 ; then
25803 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25804 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25805 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25806 if test "${ac_cv_header_png_h+set}" = set; then
25807 echo $ECHO_N "(cached) $ECHO_C" >&6
25808 else
25809 if test "$cross_compiling" = yes; then
25810 unset ac_cv_header_png_h
25811
25812 else
25813 cat >conftest.$ac_ext <<_ACEOF
25814 /* confdefs.h. */
25815 _ACEOF
25816 cat confdefs.h >>conftest.$ac_ext
25817 cat >>conftest.$ac_ext <<_ACEOF
25818 /* end confdefs.h. */
25819
25820 #include <png.h>
25821 #include <stdio.h>
25822
25823 int main()
25824 {
25825 FILE *f=fopen("conftestval", "w");
25826 if (!f) exit(1);
25827 fprintf(f, "%s",
25828 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25829 exit(0);
25830 }
25831
25832 _ACEOF
25833 rm -f conftest$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>&5
25836 ac_status=$?
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25841 ac_status=$?
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_cv_header_png_h=`cat conftestval`
25845 else
25846 echo "$as_me: program exited with status $ac_status" >&5
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25849
25850 ( exit $ac_status )
25851 ac_cv_header_png_h=no
25852 fi
25853 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25854 fi
25855
25856 fi
25857 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25858 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25859 if test "${ac_cv_header_png_h+set}" = set; then
25860 echo "$as_me:$LINENO: checking for png.h" >&5
25861 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25862 if test "${ac_cv_header_png_h+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 fi
25865 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25866 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25867 else
25868 # Is the header compilable?
25869 echo "$as_me:$LINENO: checking png.h usability" >&5
25870 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25871 cat >conftest.$ac_ext <<_ACEOF
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 $ac_includes_default
25878 #include <png.h>
25879 _ACEOF
25880 rm -f conftest.$ac_objext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25882 (eval $ac_compile) 2>conftest.er1
25883 ac_status=$?
25884 grep -v '^ *+' conftest.er1 >conftest.err
25885 rm -f conftest.er1
25886 cat conftest.err >&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25892 ac_status=$?
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25898 ac_status=$?
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_header_compiler=yes
25902 else
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25905
25906 ac_header_compiler=no
25907 fi
25908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25910 echo "${ECHO_T}$ac_header_compiler" >&6
25911
25912 # Is the header present?
25913 echo "$as_me:$LINENO: checking png.h presence" >&5
25914 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25915 cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h. */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921 #include <png.h>
25922 _ACEOF
25923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25925 ac_status=$?
25926 grep -v '^ *+' conftest.er1 >conftest.err
25927 rm -f conftest.er1
25928 cat conftest.err >&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } >/dev/null; then
25931 if test -s conftest.err; then
25932 ac_cpp_err=$ac_cxx_preproc_warn_flag
25933 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25934 else
25935 ac_cpp_err=
25936 fi
25937 else
25938 ac_cpp_err=yes
25939 fi
25940 if test -z "$ac_cpp_err"; then
25941 ac_header_preproc=yes
25942 else
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25945
25946 ac_header_preproc=no
25947 fi
25948 rm -f conftest.err conftest.$ac_ext
25949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25950 echo "${ECHO_T}$ac_header_preproc" >&6
25951
25952 # So? What about this header?
25953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25954 yes:no: )
25955 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25956 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25957 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25958 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25959 ac_header_preproc=yes
25960 ;;
25961 no:yes:* )
25962 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25963 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25964 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25965 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25966 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25967 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25968 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25969 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25970 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25971 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25973 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25974 (
25975 cat <<\_ASBOX
25976 ## ----------------------------------------- ##
25977 ## Report this to wx-dev@lists.wxwidgets.org ##
25978 ## ----------------------------------------- ##
25979 _ASBOX
25980 ) |
25981 sed "s/^/$as_me: WARNING: /" >&2
25982 ;;
25983 esac
25984 echo "$as_me:$LINENO: checking for png.h" >&5
25985 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25986 if test "${ac_cv_header_png_h+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 else
25989 ac_cv_header_png_h=$ac_header_preproc
25990 fi
25991 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25992 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25993
25994 fi
25995
25996
25997
25998 if test "$ac_cv_header_png_h" = "yes"; then
25999 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26000 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26001 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26002 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 else
26004 ac_check_lib_save_LIBS=$LIBS
26005 LIBS="-lpng -lz -lm $LIBS"
26006 cat >conftest.$ac_ext <<_ACEOF
26007 /* confdefs.h. */
26008 _ACEOF
26009 cat confdefs.h >>conftest.$ac_ext
26010 cat >>conftest.$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26012
26013 /* Override any gcc2 internal prototype to avoid an error. */
26014 #ifdef __cplusplus
26015 extern "C"
26016 #endif
26017 /* We use char because int might match the return type of a gcc2
26018 builtin and then its argument prototype would still apply. */
26019 char png_check_sig ();
26020 int
26021 main ()
26022 {
26023 png_check_sig ();
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 rm -f conftest.$ac_objext conftest$ac_exeext
26029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26030 (eval $ac_link) 2>conftest.er1
26031 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; } &&
26043 { ac_try='test -s conftest$ac_exeext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 ac_cv_lib_png_png_check_sig=yes
26050 else
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26053
26054 ac_cv_lib_png_png_check_sig=no
26055 fi
26056 rm -f conftest.err conftest.$ac_objext \
26057 conftest$ac_exeext conftest.$ac_ext
26058 LIBS=$ac_check_lib_save_LIBS
26059 fi
26060 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26061 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26062 if test $ac_cv_lib_png_png_check_sig = yes; then
26063 PNG_LINK=" -lpng -lz"
26064 fi
26065
26066 fi
26067
26068 if test "x$PNG_LINK" = "x" ; then
26069 if test "$wxUSE_LIBPNG" = "sys" ; then
26070 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26071 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26072 { (exit 1); exit 1; }; }
26073 else
26074 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26075 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26076 wxUSE_LIBPNG=builtin
26077 fi
26078 else
26079 wxUSE_LIBPNG=sys
26080 fi
26081 fi
26082 fi
26083
26084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26085 fi
26086
26087
26088 JPEG_LINK=
26089 if test "$wxUSE_LIBJPEG" != "no" ; then
26090 cat >>confdefs.h <<\_ACEOF
26091 #define wxUSE_LIBJPEG 1
26092 _ACEOF
26093
26094
26095 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26096 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26097 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26098 wxUSE_LIBJPEG=sys
26099 fi
26100
26101 if test "$wxUSE_MGL" != 1 ; then
26102 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26103 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26104 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26105 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 else
26108 cat >conftest.$ac_ext <<_ACEOF
26109 /* confdefs.h. */
26110 _ACEOF
26111 cat confdefs.h >>conftest.$ac_ext
26112 cat >>conftest.$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26114
26115 #undef HAVE_STDLIB_H
26116 #include <stdio.h>
26117 #include <jpeglib.h>
26118
26119 int
26120 main ()
26121 {
26122
26123
26124 ;
26125 return 0;
26126 }
26127 _ACEOF
26128 rm -f conftest.$ac_objext
26129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26130 (eval $ac_compile) 2>conftest.er1
26131 ac_status=$?
26132 grep -v '^ *+' conftest.er1 >conftest.err
26133 rm -f conftest.er1
26134 cat conftest.err >&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } &&
26137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; } &&
26143 { ac_try='test -s conftest.$ac_objext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 ac_cv_header_jpeglib_h=yes
26150 else
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26153
26154 ac_cv_header_jpeglib_h=no
26155
26156 fi
26157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26158
26159 fi
26160
26161 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26162 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26163
26164 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26165 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26166 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26167 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170 ac_check_lib_save_LIBS=$LIBS
26171 LIBS="-ljpeg $LIBS"
26172 cat >conftest.$ac_ext <<_ACEOF
26173 /* confdefs.h. */
26174 _ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26178
26179 /* Override any gcc2 internal prototype to avoid an error. */
26180 #ifdef __cplusplus
26181 extern "C"
26182 #endif
26183 /* We use char because int might match the return type of a gcc2
26184 builtin and then its argument prototype would still apply. */
26185 char jpeg_read_header ();
26186 int
26187 main ()
26188 {
26189 jpeg_read_header ();
26190 ;
26191 return 0;
26192 }
26193 _ACEOF
26194 rm -f conftest.$ac_objext conftest$ac_exeext
26195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26196 (eval $ac_link) 2>conftest.er1
26197 ac_status=$?
26198 grep -v '^ *+' conftest.er1 >conftest.err
26199 rm -f conftest.er1
26200 cat conftest.err >&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } &&
26203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26205 (eval $ac_try) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); }; } &&
26209 { ac_try='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 ac_cv_lib_jpeg_jpeg_read_header=yes
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26219
26220 ac_cv_lib_jpeg_jpeg_read_header=no
26221 fi
26222 rm -f conftest.err conftest.$ac_objext \
26223 conftest$ac_exeext conftest.$ac_ext
26224 LIBS=$ac_check_lib_save_LIBS
26225 fi
26226 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26227 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26228 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26229 JPEG_LINK=" -ljpeg"
26230 fi
26231
26232 fi
26233
26234 if test "x$JPEG_LINK" = "x" ; then
26235 if test "$wxUSE_LIBJPEG" = "sys" ; then
26236 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26237 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26238 { (exit 1); exit 1; }; }
26239 else
26240 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26241 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26242 wxUSE_LIBJPEG=builtin
26243 fi
26244 else
26245 wxUSE_LIBJPEG=sys
26246 fi
26247 fi
26248 fi
26249 fi
26250
26251
26252 TIFF_LINK=
26253 TIFF_PREREQ_LINKS=-lm
26254 if test "$wxUSE_LIBTIFF" != "no" ; then
26255 cat >>confdefs.h <<\_ACEOF
26256 #define wxUSE_LIBTIFF 1
26257 _ACEOF
26258
26259
26260 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26261 if test "$wxUSE_LIBJPEG" = "sys"; then
26262 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26263 fi
26264 if test "$wxUSE_ZLIB" = "sys"; then
26265 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26266 fi
26267 if test "${ac_cv_header_tiffio_h+set}" = set; then
26268 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26269 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26270 if test "${ac_cv_header_tiffio_h+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 fi
26273 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26274 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26275 else
26276 # Is the header compilable?
26277 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26278 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26279 cat >conftest.$ac_ext <<_ACEOF
26280 /* confdefs.h. */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285 $ac_includes_default
26286 #include <tiffio.h>
26287 _ACEOF
26288 rm -f conftest.$ac_objext
26289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26290 (eval $ac_compile) 2>conftest.er1
26291 ac_status=$?
26292 grep -v '^ *+' conftest.er1 >conftest.err
26293 rm -f conftest.er1
26294 cat conftest.err >&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } &&
26297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26299 (eval $ac_try) 2>&5
26300 ac_status=$?
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); }; } &&
26303 { ac_try='test -s conftest.$ac_objext'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26306 ac_status=$?
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; }; then
26309 ac_header_compiler=yes
26310 else
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26313
26314 ac_header_compiler=no
26315 fi
26316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26318 echo "${ECHO_T}$ac_header_compiler" >&6
26319
26320 # Is the header present?
26321 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26322 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26323 cat >conftest.$ac_ext <<_ACEOF
26324 /* confdefs.h. */
26325 _ACEOF
26326 cat confdefs.h >>conftest.$ac_ext
26327 cat >>conftest.$ac_ext <<_ACEOF
26328 /* end confdefs.h. */
26329 #include <tiffio.h>
26330 _ACEOF
26331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26333 ac_status=$?
26334 grep -v '^ *+' conftest.er1 >conftest.err
26335 rm -f conftest.er1
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } >/dev/null; then
26339 if test -s conftest.err; then
26340 ac_cpp_err=$ac_cxx_preproc_warn_flag
26341 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26342 else
26343 ac_cpp_err=
26344 fi
26345 else
26346 ac_cpp_err=yes
26347 fi
26348 if test -z "$ac_cpp_err"; then
26349 ac_header_preproc=yes
26350 else
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ac_header_preproc=no
26355 fi
26356 rm -f conftest.err conftest.$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26358 echo "${ECHO_T}$ac_header_preproc" >&6
26359
26360 # So? What about this header?
26361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26362 yes:no: )
26363 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26364 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26365 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26366 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26367 ac_header_preproc=yes
26368 ;;
26369 no:yes:* )
26370 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26371 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26373 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26375 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26377 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26379 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26380 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26381 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26382 (
26383 cat <<\_ASBOX
26384 ## ----------------------------------------- ##
26385 ## Report this to wx-dev@lists.wxwidgets.org ##
26386 ## ----------------------------------------- ##
26387 _ASBOX
26388 ) |
26389 sed "s/^/$as_me: WARNING: /" >&2
26390 ;;
26391 esac
26392 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26393 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26394 if test "${ac_cv_header_tiffio_h+set}" = set; then
26395 echo $ECHO_N "(cached) $ECHO_C" >&6
26396 else
26397 ac_cv_header_tiffio_h=$ac_header_preproc
26398 fi
26399 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26400 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26401
26402 fi
26403 if test $ac_cv_header_tiffio_h = yes; then
26404
26405 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26406 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26407 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26410 ac_check_lib_save_LIBS=$LIBS
26411 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h. */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418
26419 /* Override any gcc2 internal prototype to avoid an error. */
26420 #ifdef __cplusplus
26421 extern "C"
26422 #endif
26423 /* We use char because int might match the return type of a gcc2
26424 builtin and then its argument prototype would still apply. */
26425 char TIFFError ();
26426 int
26427 main ()
26428 {
26429 TIFFError ();
26430 ;
26431 return 0;
26432 }
26433 _ACEOF
26434 rm -f conftest.$ac_objext conftest$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try='test -s conftest$ac_exeext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 ac_cv_lib_tiff_TIFFError=yes
26456 else
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.$ac_ext >&5
26459
26460 ac_cv_lib_tiff_TIFFError=no
26461 fi
26462 rm -f conftest.err conftest.$ac_objext \
26463 conftest$ac_exeext conftest.$ac_ext
26464 LIBS=$ac_check_lib_save_LIBS
26465 fi
26466 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26467 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26468 if test $ac_cv_lib_tiff_TIFFError = yes; then
26469 TIFF_LINK=" -ltiff"
26470 fi
26471
26472
26473
26474 fi
26475
26476
26477
26478 if test "x$TIFF_LINK" = "x" ; then
26479 if test "$wxUSE_LIBTIFF" = "sys" ; then
26480 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26481 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26482 { (exit 1); exit 1; }; }
26483 else
26484 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26485 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26486 wxUSE_LIBTIFF=builtin
26487 fi
26488 else
26489 wxUSE_LIBTIFF=sys
26490 fi
26491 fi
26492 fi
26493
26494
26495 if test "$wxUSE_WCHAR_T" != "yes"; then
26496 if test "$wxUSE_EXPAT" != "no"; then
26497 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26498 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26499 wxUSE_EXPAT=no
26500 fi
26501 if test "$wxUSE_XML" != "no"; then
26502 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26503 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26504 wxUSE_XML=no
26505 fi
26506 fi
26507
26508 if test "$wxUSE_EXPAT" != "no"; then
26509 wxUSE_XML=yes
26510 cat >>confdefs.h <<\_ACEOF
26511 #define wxUSE_EXPAT 1
26512 _ACEOF
26513
26514 cat >>confdefs.h <<\_ACEOF
26515 #define wxUSE_XML 1
26516 _ACEOF
26517
26518
26519 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26520 if test "${ac_cv_header_expat_h+set}" = set; then
26521 echo "$as_me:$LINENO: checking for expat.h" >&5
26522 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26523 if test "${ac_cv_header_expat_h+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 fi
26526 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26528 else
26529 # Is the header compilable?
26530 echo "$as_me:$LINENO: checking expat.h usability" >&5
26531 echo $ECHO_N "checking expat.h usability... $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 $ac_includes_default
26539 #include <expat.h>
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest.$ac_objext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_header_compiler=yes
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 ac_header_compiler=no
26568 fi
26569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26571 echo "${ECHO_T}$ac_header_compiler" >&6
26572
26573 # Is the header present?
26574 echo "$as_me:$LINENO: checking expat.h presence" >&5
26575 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26576 cat >conftest.$ac_ext <<_ACEOF
26577 /* confdefs.h. */
26578 _ACEOF
26579 cat confdefs.h >>conftest.$ac_ext
26580 cat >>conftest.$ac_ext <<_ACEOF
26581 /* end confdefs.h. */
26582 #include <expat.h>
26583 _ACEOF
26584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26586 ac_status=$?
26587 grep -v '^ *+' conftest.er1 >conftest.err
26588 rm -f conftest.er1
26589 cat conftest.err >&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } >/dev/null; then
26592 if test -s conftest.err; then
26593 ac_cpp_err=$ac_cxx_preproc_warn_flag
26594 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26595 else
26596 ac_cpp_err=
26597 fi
26598 else
26599 ac_cpp_err=yes
26600 fi
26601 if test -z "$ac_cpp_err"; then
26602 ac_header_preproc=yes
26603 else
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.$ac_ext >&5
26606
26607 ac_header_preproc=no
26608 fi
26609 rm -f conftest.err conftest.$ac_ext
26610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26611 echo "${ECHO_T}$ac_header_preproc" >&6
26612
26613 # So? What about this header?
26614 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26615 yes:no: )
26616 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26617 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26618 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26619 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26620 ac_header_preproc=yes
26621 ;;
26622 no:yes:* )
26623 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26624 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26625 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26626 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26627 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26628 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26629 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26630 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26631 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26632 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26633 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26634 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26635 (
26636 cat <<\_ASBOX
26637 ## ----------------------------------------- ##
26638 ## Report this to wx-dev@lists.wxwidgets.org ##
26639 ## ----------------------------------------- ##
26640 _ASBOX
26641 ) |
26642 sed "s/^/$as_me: WARNING: /" >&2
26643 ;;
26644 esac
26645 echo "$as_me:$LINENO: checking for expat.h" >&5
26646 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26647 if test "${ac_cv_header_expat_h+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 else
26650 ac_cv_header_expat_h=$ac_header_preproc
26651 fi
26652 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26653 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26654
26655 fi
26656 if test $ac_cv_header_expat_h = yes; then
26657 found_expat_h=1
26658 fi
26659
26660
26661 if test "x$found_expat_h" = "x1"; then
26662 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26663 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26664 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 else
26667
26668 cat >conftest.$ac_ext <<_ACEOF
26669 /* confdefs.h. */
26670 _ACEOF
26671 cat confdefs.h >>conftest.$ac_ext
26672 cat >>conftest.$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26674 #include <expat.h>
26675 int
26676 main ()
26677 {
26678
26679 ;
26680 return 0;
26681 }
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26685 (eval $ac_compile) 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } &&
26692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26695 ac_status=$?
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; } &&
26698 { ac_try='test -s conftest.$ac_objext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26704 wx_cv_expat_is_not_broken=yes
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26708
26709 wx_cv_expat_is_not_broken=no
26710
26711 fi
26712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26713
26714
26715 fi
26716 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26717 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26718 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26719 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26720 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26721 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 else
26724 ac_check_lib_save_LIBS=$LIBS
26725 LIBS="-lexpat $LIBS"
26726 cat >conftest.$ac_ext <<_ACEOF
26727 /* confdefs.h. */
26728 _ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732
26733 /* Override any gcc2 internal prototype to avoid an error. */
26734 #ifdef __cplusplus
26735 extern "C"
26736 #endif
26737 /* We use char because int might match the return type of a gcc2
26738 builtin and then its argument prototype would still apply. */
26739 char XML_ParserCreate ();
26740 int
26741 main ()
26742 {
26743 XML_ParserCreate ();
26744 ;
26745 return 0;
26746 }
26747 _ACEOF
26748 rm -f conftest.$ac_objext conftest$ac_exeext
26749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26750 (eval $ac_link) 2>conftest.er1
26751 ac_status=$?
26752 grep -v '^ *+' conftest.er1 >conftest.err
26753 rm -f conftest.er1
26754 cat conftest.err >&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } &&
26757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try='test -s conftest$ac_exeext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 ac_cv_lib_expat_XML_ParserCreate=yes
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26773
26774 ac_cv_lib_expat_XML_ParserCreate=no
26775 fi
26776 rm -f conftest.err conftest.$ac_objext \
26777 conftest$ac_exeext conftest.$ac_ext
26778 LIBS=$ac_check_lib_save_LIBS
26779 fi
26780 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26781 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26782 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26783 EXPAT_LINK=" -lexpat"
26784 fi
26785
26786 fi
26787 fi
26788 if test "x$EXPAT_LINK" = "x" ; then
26789 if test "$wxUSE_EXPAT" = "sys" ; then
26790 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26791 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26792 { (exit 1); exit 1; }; }
26793 else
26794 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26795 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26796 wxUSE_EXPAT=builtin
26797 fi
26798 else
26799 wxUSE_EXPAT=sys
26800 fi
26801 fi
26802 if test "$wxUSE_EXPAT" = "builtin" ; then
26803
26804
26805 subdirs="$subdirs src/expat"
26806
26807 fi
26808 fi
26809
26810
26811
26812 if test "$wxUSE_LIBMSPACK" != "no"; then
26813 if test "${ac_cv_header_mspack_h+set}" = set; then
26814 echo "$as_me:$LINENO: checking for mspack.h" >&5
26815 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26816 if test "${ac_cv_header_mspack_h+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 fi
26819 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26821 else
26822 # Is the header compilable?
26823 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26824 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26825 cat >conftest.$ac_ext <<_ACEOF
26826 /* confdefs.h. */
26827 _ACEOF
26828 cat confdefs.h >>conftest.$ac_ext
26829 cat >>conftest.$ac_ext <<_ACEOF
26830 /* end confdefs.h. */
26831 $ac_includes_default
26832 #include <mspack.h>
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26837 ac_status=$?
26838 grep -v '^ *+' conftest.er1 >conftest.err
26839 rm -f conftest.er1
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26846 ac_status=$?
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_header_compiler=yes
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 ac_header_compiler=no
26861 fi
26862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26864 echo "${ECHO_T}$ac_header_compiler" >&6
26865
26866 # Is the header present?
26867 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26868 echo $ECHO_N "checking mspack.h presence... $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 #include <mspack.h>
26876 _ACEOF
26877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26879 ac_status=$?
26880 grep -v '^ *+' conftest.er1 >conftest.err
26881 rm -f conftest.er1
26882 cat conftest.err >&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } >/dev/null; then
26885 if test -s conftest.err; then
26886 ac_cpp_err=$ac_cxx_preproc_warn_flag
26887 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26888 else
26889 ac_cpp_err=
26890 fi
26891 else
26892 ac_cpp_err=yes
26893 fi
26894 if test -z "$ac_cpp_err"; then
26895 ac_header_preproc=yes
26896 else
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 ac_header_preproc=no
26901 fi
26902 rm -f conftest.err conftest.$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26904 echo "${ECHO_T}$ac_header_preproc" >&6
26905
26906 # So? What about this header?
26907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26908 yes:no: )
26909 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26910 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26912 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26913 ac_header_preproc=yes
26914 ;;
26915 no:yes:* )
26916 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26917 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26918 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26919 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26920 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26921 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26922 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26923 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26925 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26927 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26928 (
26929 cat <<\_ASBOX
26930 ## ----------------------------------------- ##
26931 ## Report this to wx-dev@lists.wxwidgets.org ##
26932 ## ----------------------------------------- ##
26933 _ASBOX
26934 ) |
26935 sed "s/^/$as_me: WARNING: /" >&2
26936 ;;
26937 esac
26938 echo "$as_me:$LINENO: checking for mspack.h" >&5
26939 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26940 if test "${ac_cv_header_mspack_h+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943 ac_cv_header_mspack_h=$ac_header_preproc
26944 fi
26945 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26946 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26947
26948 fi
26949 if test $ac_cv_header_mspack_h = yes; then
26950 found_mspack_h=1
26951 fi
26952
26953
26954 if test "x$found_mspack_h" = "x1"; then
26955 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26956 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26957 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26960 ac_check_lib_save_LIBS=$LIBS
26961 LIBS="-lmspack $LIBS"
26962 cat >conftest.$ac_ext <<_ACEOF
26963 /* confdefs.h. */
26964 _ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968
26969 /* Override any gcc2 internal prototype to avoid an error. */
26970 #ifdef __cplusplus
26971 extern "C"
26972 #endif
26973 /* We use char because int might match the return type of a gcc2
26974 builtin and then its argument prototype would still apply. */
26975 char mspack_create_chm_decompressor ();
26976 int
26977 main ()
26978 {
26979 mspack_create_chm_decompressor ();
26980 ;
26981 return 0;
26982 }
26983 _ACEOF
26984 rm -f conftest.$ac_objext conftest$ac_exeext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26986 (eval $ac_link) 2>conftest.er1
26987 ac_status=$?
26988 grep -v '^ *+' conftest.er1 >conftest.err
26989 rm -f conftest.er1
26990 cat conftest.err >&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); } &&
26993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; } &&
26999 { ac_try='test -s conftest$ac_exeext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27002 ac_status=$?
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27006 else
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27009
27010 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27011 fi
27012 rm -f conftest.err conftest.$ac_objext \
27013 conftest$ac_exeext conftest.$ac_ext
27014 LIBS=$ac_check_lib_save_LIBS
27015 fi
27016 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27017 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27018 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27019 MSPACK_LINK=" -lmspack"
27020 fi
27021
27022 fi
27023 if test "x$MSPACK_LINK" = "x" ; then
27024 wxUSE_LIBMSPACK=no
27025 fi
27026 fi
27027
27028 if test "$wxUSE_LIBMSPACK" != "no"; then
27029 cat >>confdefs.h <<\_ACEOF
27030 #define wxUSE_LIBMSPACK 1
27031 _ACEOF
27032
27033 fi
27034
27035
27036
27037 AFMINSTALL=
27038 WIN32INSTALL=
27039
27040 TOOLKIT=
27041 TOOLKIT_INCLUDE=
27042 WIDGET_SET=
27043
27044 if test "$USE_WIN32" = 1 ; then
27045
27046 for ac_header in w32api.h
27047 do
27048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27050 echo "$as_me:$LINENO: checking for $ac_header" >&5
27051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 fi
27055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27057 else
27058 # Is the header compilable?
27059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 $ac_includes_default
27068 #include <$ac_header>
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27072 (eval $ac_compile) 2>conftest.er1
27073 ac_status=$?
27074 grep -v '^ *+' conftest.er1 >conftest.err
27075 rm -f conftest.er1
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_header_compiler=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 ac_header_compiler=no
27097 fi
27098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27100 echo "${ECHO_T}$ac_header_compiler" >&6
27101
27102 # Is the header present?
27103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27105 cat >conftest.$ac_ext <<_ACEOF
27106 /* confdefs.h. */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <$ac_header>
27112 _ACEOF
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev/null; then
27121 if test -s conftest.err; then
27122 ac_cpp_err=$ac_cxx_preproc_warn_flag
27123 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27124 else
27125 ac_cpp_err=
27126 fi
27127 else
27128 ac_cpp_err=yes
27129 fi
27130 if test -z "$ac_cpp_err"; then
27131 ac_header_preproc=yes
27132 else
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27135
27136 ac_header_preproc=no
27137 fi
27138 rm -f conftest.err conftest.$ac_ext
27139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27140 echo "${ECHO_T}$ac_header_preproc" >&6
27141
27142 # So? What about this header?
27143 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27144 yes:no: )
27145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27149 ac_header_preproc=yes
27150 ;;
27151 no:yes:* )
27152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27164 (
27165 cat <<\_ASBOX
27166 ## ----------------------------------------- ##
27167 ## Report this to wx-dev@lists.wxwidgets.org ##
27168 ## ----------------------------------------- ##
27169 _ASBOX
27170 ) |
27171 sed "s/^/$as_me: WARNING: /" >&2
27172 ;;
27173 esac
27174 echo "$as_me:$LINENO: checking for $ac_header" >&5
27175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 eval "$as_ac_Header=\$ac_header_preproc"
27180 fi
27181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27183
27184 fi
27185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27186 cat >>confdefs.h <<_ACEOF
27187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27188 _ACEOF
27189
27190 fi
27191
27192 done
27193
27194 if test "${ac_cv_header_windows_h+set}" = set; then
27195 echo "$as_me:$LINENO: checking for windows.h" >&5
27196 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27197 if test "${ac_cv_header_windows_h+set}" = set; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 fi
27200 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27201 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27202 else
27203 # Is the header compilable?
27204 echo "$as_me:$LINENO: checking windows.h usability" >&5
27205 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 $ac_includes_default
27213 #include <windows.h>
27214 _ACEOF
27215 rm -f conftest.$ac_objext
27216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27217 (eval $ac_compile) 2>conftest.er1
27218 ac_status=$?
27219 grep -v '^ *+' conftest.er1 >conftest.err
27220 rm -f conftest.er1
27221 cat conftest.err >&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); } &&
27224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27227 ac_status=$?
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; } &&
27230 { ac_try='test -s conftest.$ac_objext'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27233 ac_status=$?
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; }; then
27236 ac_header_compiler=yes
27237 else
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.$ac_ext >&5
27240
27241 ac_header_compiler=no
27242 fi
27243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27245 echo "${ECHO_T}$ac_header_compiler" >&6
27246
27247 # Is the header present?
27248 echo "$as_me:$LINENO: checking windows.h presence" >&5
27249 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <windows.h>
27257 _ACEOF
27258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } >/dev/null; then
27266 if test -s conftest.err; then
27267 ac_cpp_err=$ac_cxx_preproc_warn_flag
27268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27269 else
27270 ac_cpp_err=
27271 fi
27272 else
27273 ac_cpp_err=yes
27274 fi
27275 if test -z "$ac_cpp_err"; then
27276 ac_header_preproc=yes
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281 ac_header_preproc=no
27282 fi
27283 rm -f conftest.err conftest.$ac_ext
27284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27285 echo "${ECHO_T}$ac_header_preproc" >&6
27286
27287 # So? What about this header?
27288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27289 yes:no: )
27290 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27291 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27292 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27293 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27294 ac_header_preproc=yes
27295 ;;
27296 no:yes:* )
27297 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27298 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27299 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27300 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27301 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27302 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27303 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27304 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27305 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27306 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27307 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27308 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27309 (
27310 cat <<\_ASBOX
27311 ## ----------------------------------------- ##
27312 ## Report this to wx-dev@lists.wxwidgets.org ##
27313 ## ----------------------------------------- ##
27314 _ASBOX
27315 ) |
27316 sed "s/^/$as_me: WARNING: /" >&2
27317 ;;
27318 esac
27319 echo "$as_me:$LINENO: checking for windows.h" >&5
27320 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27321 if test "${ac_cv_header_windows_h+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 else
27324 ac_cv_header_windows_h=$ac_header_preproc
27325 fi
27326 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27327 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27328
27329 fi
27330 if test $ac_cv_header_windows_h = yes; then
27331 :
27332 else
27333
27334 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27335 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27336 { (exit 1); exit 1; }; }
27337
27338 fi
27339
27340
27341
27342 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27343
27344 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27345 LIBS="$LIBS -loleacc"
27346 fi
27347
27348 case "${host}" in
27349 *-*-cygwin* )
27350 LIBS="$LIBS -lkernel32 -luser32"
27351 esac
27352
27353 if test "$wxUSE_ODBC" = "sys" ; then
27354 wxUSE_ODBC = "yes"
27355 fi
27356 if test "$wxUSE_ODBC" = "yes" ; then
27357 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27358 cat >>confdefs.h <<\_ACEOF
27359 #define wxUSE_ODBC 1
27360 _ACEOF
27361
27362 fi
27363
27364 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27365 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27366
27367 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27368
27369 WIN32INSTALL=win32install
27370
27371 echo "$as_me:$LINENO: checking for boolean" >&5
27372 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27373 if test "${ac_cv_type_boolean+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 else
27376 cat >conftest.$ac_ext <<_ACEOF
27377 /* confdefs.h. */
27378 _ACEOF
27379 cat confdefs.h >>conftest.$ac_ext
27380 cat >>conftest.$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 #include <windows.h>
27383
27384 int
27385 main ()
27386 {
27387 if ((boolean *) 0)
27388 return 0;
27389 if (sizeof (boolean))
27390 return 0;
27391 ;
27392 return 0;
27393 }
27394 _ACEOF
27395 rm -f conftest.$ac_objext
27396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27397 (eval $ac_compile) 2>conftest.er1
27398 ac_status=$?
27399 grep -v '^ *+' conftest.er1 >conftest.err
27400 rm -f conftest.er1
27401 cat conftest.err >&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); } &&
27404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try='test -s conftest.$ac_objext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 ac_cv_type_boolean=yes
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27420
27421 ac_cv_type_boolean=no
27422 fi
27423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27424 fi
27425 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27426 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27427 if test $ac_cv_type_boolean = yes; then
27428
27429 cat >>confdefs.h <<_ACEOF
27430 #define HAVE_BOOLEAN 1
27431 _ACEOF
27432
27433
27434 fi
27435
27436
27437
27438 for ac_header in pbt.h
27439 do
27440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27442 echo "$as_me:$LINENO: checking for $ac_header" >&5
27443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27445 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 fi
27447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27449 else
27450 # Is the header compilable?
27451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27453 cat >conftest.$ac_ext <<_ACEOF
27454 /* confdefs.h. */
27455 _ACEOF
27456 cat confdefs.h >>conftest.$ac_ext
27457 cat >>conftest.$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 $ac_includes_default
27460 #include <$ac_header>
27461 _ACEOF
27462 rm -f conftest.$ac_objext
27463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27464 (eval $ac_compile) 2>conftest.er1
27465 ac_status=$?
27466 grep -v '^ *+' conftest.er1 >conftest.err
27467 rm -f conftest.er1
27468 cat conftest.err >&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } &&
27471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27474 ac_status=$?
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; } &&
27477 { ac_try='test -s conftest.$ac_objext'
27478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27479 (eval $ac_try) 2>&5
27480 ac_status=$?
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); }; }; then
27483 ac_header_compiler=yes
27484 else
27485 echo "$as_me: failed program was:" >&5
27486 sed 's/^/| /' conftest.$ac_ext >&5
27487
27488 ac_header_compiler=no
27489 fi
27490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27492 echo "${ECHO_T}$ac_header_compiler" >&6
27493
27494 # Is the header present?
27495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27497 cat >conftest.$ac_ext <<_ACEOF
27498 /* confdefs.h. */
27499 _ACEOF
27500 cat confdefs.h >>conftest.$ac_ext
27501 cat >>conftest.$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27503 #include <$ac_header>
27504 _ACEOF
27505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27507 ac_status=$?
27508 grep -v '^ *+' conftest.er1 >conftest.err
27509 rm -f conftest.er1
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } >/dev/null; then
27513 if test -s conftest.err; then
27514 ac_cpp_err=$ac_cxx_preproc_warn_flag
27515 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27516 else
27517 ac_cpp_err=
27518 fi
27519 else
27520 ac_cpp_err=yes
27521 fi
27522 if test -z "$ac_cpp_err"; then
27523 ac_header_preproc=yes
27524 else
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27527
27528 ac_header_preproc=no
27529 fi
27530 rm -f conftest.err conftest.$ac_ext
27531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27532 echo "${ECHO_T}$ac_header_preproc" >&6
27533
27534 # So? What about this header?
27535 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27536 yes:no: )
27537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27541 ac_header_preproc=yes
27542 ;;
27543 no:yes:* )
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27556 (
27557 cat <<\_ASBOX
27558 ## ----------------------------------------- ##
27559 ## Report this to wx-dev@lists.wxwidgets.org ##
27560 ## ----------------------------------------- ##
27561 _ASBOX
27562 ) |
27563 sed "s/^/$as_me: WARNING: /" >&2
27564 ;;
27565 esac
27566 echo "$as_me:$LINENO: checking for $ac_header" >&5
27567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27570 else
27571 eval "$as_ac_Header=\$ac_header_preproc"
27572 fi
27573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27575
27576 fi
27577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27578 cat >>confdefs.h <<_ACEOF
27579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27580 _ACEOF
27581
27582 else
27583 cat >>confdefs.h <<\_ACEOF
27584 #define NEED_PBT_H 1
27585 _ACEOF
27586
27587 fi
27588
27589 done
27590
27591 fi
27592
27593 if test "$wxUSE_GUI" = "yes"; then
27594 USE_GUI=1
27595
27596 GUI_TK_LIBRARY=
27597
27598 WXGTK12=
27599 WXGTK127=
27600 WXGTK20=
27601 WXGPE=
27602
27603 if test "$wxUSE_COCOA" = 1 ; then
27604 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27605 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27606 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27607 wxUSE_PRINTING_ARCHITECTURE=no
27608 fi
27609 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27610 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27611 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27612 wxUSE_DRAG_AND_DROP=no
27613 fi
27614 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27615 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27616 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27617 wxUSE_DRAGIMAGE=no
27618 fi
27619 fi
27620
27621 if test "$wxUSE_MSW" = 1 ; then
27622 TOOLKIT=MSW
27623 GUIDIST=MSW_DIST
27624
27625 case "${host}" in
27626 *-*-mingw32* )
27627 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27628 esac
27629 fi
27630
27631 if test "$wxUSE_GTK" = 1; then
27632 ac_ext=c
27633 ac_cpp='$CPP $CPPFLAGS'
27634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27637
27638
27639 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27640 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27641
27642 gtk_version_cached=1
27643 if test "${wx_cv_lib_gtk+set}" = set; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27646
27647 gtk_version_cached=0
27648 echo "$as_me:$LINENO: result: " >&5
27649 echo "${ECHO_T}" >&6
27650
27651 GTK_MODULES=
27652 if test "$wxUSE_THREADS" = "yes"; then
27653 GTK_MODULES=gthread
27654 fi
27655
27656 wx_cv_lib_gtk=
27657 if test "x$wxGTK_VERSION" != "x1"
27658 then
27659 case "${host}" in
27660 *-*-solaris2* )
27661 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27662 enable_gtktest=no
27663 fi
27664 esac
27665
27666 # Check whether --enable-gtktest or --disable-gtktest was given.
27667 if test "${enable_gtktest+set}" = set; then
27668 enableval="$enable_gtktest"
27669
27670 else
27671 enable_gtktest=yes
27672 fi;
27673
27674 pkg_config_args=gtk+-2.0
27675 for module in . $GTK_MODULES
27676 do
27677 case "$module" in
27678 gthread)
27679 pkg_config_args="$pkg_config_args gthread-2.0"
27680 ;;
27681 esac
27682 done
27683
27684 no_gtk=""
27685
27686 # Extract the first word of "pkg-config", so it can be a program name with args.
27687 set dummy pkg-config; ac_word=$2
27688 echo "$as_me:$LINENO: checking for $ac_word" >&5
27689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27690 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27691 echo $ECHO_N "(cached) $ECHO_C" >&6
27692 else
27693 case $PKG_CONFIG in
27694 [\\/]* | ?:[\\/]*)
27695 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27696 ;;
27697 *)
27698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27699 for as_dir in $PATH
27700 do
27701 IFS=$as_save_IFS
27702 test -z "$as_dir" && as_dir=.
27703 for ac_exec_ext in '' $ac_executable_extensions; do
27704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27705 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27707 break 2
27708 fi
27709 done
27710 done
27711
27712 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27713 ;;
27714 esac
27715 fi
27716 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27717
27718 if test -n "$PKG_CONFIG"; then
27719 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27720 echo "${ECHO_T}$PKG_CONFIG" >&6
27721 else
27722 echo "$as_me:$LINENO: result: no" >&5
27723 echo "${ECHO_T}no" >&6
27724 fi
27725
27726
27727 if test x$PKG_CONFIG != xno ; then
27728 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27729 :
27730 else
27731 echo "*** pkg-config too old; version 0.7 or better required."
27732 no_gtk=yes
27733 PKG_CONFIG=no
27734 fi
27735 else
27736 no_gtk=yes
27737 fi
27738
27739 min_gtk_version=2.0.0
27740 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27741 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27742
27743 if test x$PKG_CONFIG != xno ; then
27744 ## don't try to run the test against uninstalled libtool libs
27745 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27746 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27747 enable_gtktest=no
27748 fi
27749
27750 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27751 :
27752 else
27753 no_gtk=yes
27754 fi
27755 fi
27756
27757 if test x"$no_gtk" = x ; then
27758 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27759 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27760 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27762 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27764 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27766 if test "x$enable_gtktest" = "xyes" ; then
27767 ac_save_CFLAGS="$CFLAGS"
27768 ac_save_LIBS="$LIBS"
27769 CFLAGS="$CFLAGS $GTK_CFLAGS"
27770 LIBS="$GTK_LIBS $LIBS"
27771 rm -f conf.gtktest
27772 if test "$cross_compiling" = yes; then
27773 echo $ac_n "cross compiling; assumed OK... $ac_c"
27774 else
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781
27782 #include <gtk/gtk.h>
27783 #include <stdio.h>
27784 #include <stdlib.h>
27785
27786 int
27787 main ()
27788 {
27789 int major, minor, micro;
27790 char *tmp_version;
27791
27792 system ("touch conf.gtktest");
27793
27794 /* HP/UX 9 (%@#!) writes to sscanf strings */
27795 tmp_version = g_strdup("$min_gtk_version");
27796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27797 printf("%s, bad version string\n", "$min_gtk_version");
27798 exit(1);
27799 }
27800
27801 if ((gtk_major_version != $gtk_config_major_version) ||
27802 (gtk_minor_version != $gtk_config_minor_version) ||
27803 (gtk_micro_version != $gtk_config_micro_version))
27804 {
27805 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27807 gtk_major_version, gtk_minor_version, gtk_micro_version);
27808 printf ("*** was found! If pkg-config was correct, then it is best\n");
27809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27812 printf("*** required on your system.\n");
27813 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27814 printf("*** to point to the correct configuration files\n");
27815 }
27816 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27817 (gtk_minor_version != GTK_MINOR_VERSION) ||
27818 (gtk_micro_version != GTK_MICRO_VERSION))
27819 {
27820 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27821 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27822 printf("*** library (version %d.%d.%d)\n",
27823 gtk_major_version, gtk_minor_version, gtk_micro_version);
27824 }
27825 else
27826 {
27827 if ((gtk_major_version > major) ||
27828 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27829 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27830 {
27831 return 0;
27832 }
27833 else
27834 {
27835 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27836 gtk_major_version, gtk_minor_version, gtk_micro_version);
27837 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27838 major, minor, micro);
27839 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27840 printf("***\n");
27841 printf("*** If you have already installed a sufficiently new version, this error\n");
27842 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27843 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27844 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27845 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27846 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27847 printf("*** so that the correct libraries are found at run-time))\n");
27848 }
27849 }
27850 return 1;
27851 }
27852
27853 _ACEOF
27854 rm -f conftest$ac_exeext
27855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27856 (eval $ac_link) 2>&5
27857 ac_status=$?
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 :
27866 else
27867 echo "$as_me: program exited with status $ac_status" >&5
27868 echo "$as_me: failed program was:" >&5
27869 sed 's/^/| /' conftest.$ac_ext >&5
27870
27871 ( exit $ac_status )
27872 no_gtk=yes
27873 fi
27874 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27875 fi
27876 CFLAGS="$ac_save_CFLAGS"
27877 LIBS="$ac_save_LIBS"
27878 fi
27879 fi
27880 if test "x$no_gtk" = x ; then
27881 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27882 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27883 wx_cv_lib_gtk=2.0
27884 else
27885 echo "$as_me:$LINENO: result: no" >&5
27886 echo "${ECHO_T}no" >&6
27887 if test "$PKG_CONFIG" = "no" ; then
27888 echo "*** A new enough version of pkg-config was not found."
27889 echo "*** See http://pkgconfig.sourceforge.net"
27890 else
27891 if test -f conf.gtktest ; then
27892 :
27893 else
27894 echo "*** Could not run GTK+ test program, checking why..."
27895 ac_save_CFLAGS="$CFLAGS"
27896 ac_save_LIBS="$LIBS"
27897 CFLAGS="$CFLAGS $GTK_CFLAGS"
27898 LIBS="$LIBS $GTK_LIBS"
27899 cat >conftest.$ac_ext <<_ACEOF
27900 /* confdefs.h. */
27901 _ACEOF
27902 cat confdefs.h >>conftest.$ac_ext
27903 cat >>conftest.$ac_ext <<_ACEOF
27904 /* end confdefs.h. */
27905
27906 #include <gtk/gtk.h>
27907 #include <stdio.h>
27908
27909 int
27910 main ()
27911 {
27912 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27913 ;
27914 return 0;
27915 }
27916 _ACEOF
27917 rm -f conftest.$ac_objext conftest$ac_exeext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27919 (eval $ac_link) 2>conftest.er1
27920 ac_status=$?
27921 grep -v '^ *+' conftest.er1 >conftest.err
27922 rm -f conftest.er1
27923 cat conftest.err >&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } &&
27926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928 (eval $ac_try) 2>&5
27929 ac_status=$?
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); }; } &&
27932 { ac_try='test -s conftest$ac_exeext'
27933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934 (eval $ac_try) 2>&5
27935 ac_status=$?
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; }; then
27938 echo "*** The test program compiled, but did not run. This usually means"
27939 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27940 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27941 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27942 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27943 echo "*** is required on your system"
27944 echo "***"
27945 echo "*** If you have an old version installed, it is best to remove it, although"
27946 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27947 else
27948 echo "$as_me: failed program was:" >&5
27949 sed 's/^/| /' conftest.$ac_ext >&5
27950
27951 echo "*** The test program failed to compile or link. See the file config.log for the"
27952 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27953 fi
27954 rm -f conftest.err conftest.$ac_objext \
27955 conftest$ac_exeext conftest.$ac_ext
27956 CFLAGS="$ac_save_CFLAGS"
27957 LIBS="$ac_save_LIBS"
27958 fi
27959 fi
27960 GTK_CFLAGS=""
27961 GTK_LIBS=""
27962 :
27963 fi
27964
27965
27966 rm -f conf.gtktest
27967
27968
27969 case "${host}" in
27970 *-*-solaris2* )
27971 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27972 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27973 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27974 fi
27975 if test "$wxUSE_SHARED" != "yes"; then
27976 GTK_LIBS="$GTK_LIBS -lX11"
27977 fi
27978 esac
27979 fi
27980
27981 if test -z "$wx_cv_lib_gtk"; then
27982 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27983
27984 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27985 if test "${with_gtk_prefix+set}" = set; then
27986 withval="$with_gtk_prefix"
27987 gtk_config_prefix="$withval"
27988 else
27989 gtk_config_prefix=""
27990 fi;
27991
27992 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27993 if test "${with_gtk_exec_prefix+set}" = set; then
27994 withval="$with_gtk_exec_prefix"
27995 gtk_config_exec_prefix="$withval"
27996 else
27997 gtk_config_exec_prefix=""
27998 fi;
27999 # Check whether --enable-gtktest or --disable-gtktest was given.
28000 if test "${enable_gtktest+set}" = set; then
28001 enableval="$enable_gtktest"
28002
28003 else
28004 enable_gtktest=yes
28005 fi;
28006
28007 for module in . $GTK_MODULES
28008 do
28009 case "$module" in
28010 gthread)
28011 gtk_config_args="$gtk_config_args gthread"
28012 ;;
28013 esac
28014 done
28015
28016 if test x$gtk_config_exec_prefix != x ; then
28017 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28018 if test x${GTK_CONFIG+set} != xset ; then
28019 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28020 fi
28021 fi
28022 if test x$gtk_config_prefix != x ; then
28023 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28024 if test x${GTK_CONFIG+set} != xset ; then
28025 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28026 fi
28027 fi
28028
28029 # Extract the first word of "gtk-config", so it can be a program name with args.
28030 set dummy gtk-config; ac_word=$2
28031 echo "$as_me:$LINENO: checking for $ac_word" >&5
28032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28033 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 else
28036 case $GTK_CONFIG in
28037 [\\/]* | ?:[\\/]*)
28038 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28039 ;;
28040 *)
28041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28042 for as_dir in $PATH
28043 do
28044 IFS=$as_save_IFS
28045 test -z "$as_dir" && as_dir=.
28046 for ac_exec_ext in '' $ac_executable_extensions; do
28047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28048 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28050 break 2
28051 fi
28052 done
28053 done
28054
28055 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28056 ;;
28057 esac
28058 fi
28059 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28060
28061 if test -n "$GTK_CONFIG"; then
28062 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28063 echo "${ECHO_T}$GTK_CONFIG" >&6
28064 else
28065 echo "$as_me:$LINENO: result: no" >&5
28066 echo "${ECHO_T}no" >&6
28067 fi
28068
28069 min_gtk_version=1.2.7
28070 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28071 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28072 no_gtk=""
28073 if test "$GTK_CONFIG" = "no" ; then
28074 no_gtk=yes
28075 else
28076 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28077 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28078 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28080 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28082 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28084 if test "x$enable_gtktest" = "xyes" ; then
28085 ac_save_CFLAGS="$CFLAGS"
28086 ac_save_LIBS="$LIBS"
28087 CFLAGS="$CFLAGS $GTK_CFLAGS"
28088 LIBS="$GTK_LIBS $LIBS"
28089 rm -f conf.gtktest
28090 if test "$cross_compiling" = yes; then
28091 echo $ac_n "cross compiling; assumed OK... $ac_c"
28092 else
28093 cat >conftest.$ac_ext <<_ACEOF
28094 /* confdefs.h. */
28095 _ACEOF
28096 cat confdefs.h >>conftest.$ac_ext
28097 cat >>conftest.$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28099
28100 #include <gtk/gtk.h>
28101 #include <stdio.h>
28102 #include <stdlib.h>
28103
28104 int
28105 main ()
28106 {
28107 int major, minor, micro;
28108 char *tmp_version;
28109
28110 system ("touch conf.gtktest");
28111
28112 /* HP/UX 9 (%@#!) writes to sscanf strings */
28113 tmp_version = g_strdup("$min_gtk_version");
28114 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28115 printf("%s, bad version string\n", "$min_gtk_version");
28116 exit(1);
28117 }
28118
28119 if ((gtk_major_version != $gtk_config_major_version) ||
28120 (gtk_minor_version != $gtk_config_minor_version) ||
28121 (gtk_micro_version != $gtk_config_micro_version))
28122 {
28123 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28124 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28125 gtk_major_version, gtk_minor_version, gtk_micro_version);
28126 printf ("*** was found! If gtk-config was correct, then it is best\n");
28127 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28128 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28129 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28130 printf("*** required on your system.\n");
28131 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28132 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28133 printf("*** before re-running configure\n");
28134 }
28135 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28136 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28137 (gtk_minor_version != GTK_MINOR_VERSION) ||
28138 (gtk_micro_version != GTK_MICRO_VERSION))
28139 {
28140 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28141 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28142 printf("*** library (version %d.%d.%d)\n",
28143 gtk_major_version, gtk_minor_version, gtk_micro_version);
28144 }
28145 #endif /* defined (GTK_MAJOR_VERSION) ... */
28146 else
28147 {
28148 if ((gtk_major_version > major) ||
28149 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28150 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28151 {
28152 return 0;
28153 }
28154 else
28155 {
28156 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28157 gtk_major_version, gtk_minor_version, gtk_micro_version);
28158 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28159 major, minor, micro);
28160 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28161 printf("***\n");
28162 printf("*** If you have already installed a sufficiently new version, this error\n");
28163 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28164 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28165 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28166 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28167 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28168 printf("*** so that the correct libraries are found at run-time))\n");
28169 }
28170 }
28171 return 1;
28172 }
28173
28174 _ACEOF
28175 rm -f conftest$ac_exeext
28176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28177 (eval $ac_link) 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182 (eval $ac_try) 2>&5
28183 ac_status=$?
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); }; }; then
28186 :
28187 else
28188 echo "$as_me: program exited with status $ac_status" >&5
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.$ac_ext >&5
28191
28192 ( exit $ac_status )
28193 no_gtk=yes
28194 fi
28195 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28196 fi
28197 CFLAGS="$ac_save_CFLAGS"
28198 LIBS="$ac_save_LIBS"
28199 fi
28200 fi
28201 if test "x$no_gtk" = x ; then
28202 echo "$as_me:$LINENO: result: yes" >&5
28203 echo "${ECHO_T}yes" >&6
28204 wx_cv_lib_gtk=1.2.7
28205 else
28206 echo "$as_me:$LINENO: result: no" >&5
28207 echo "${ECHO_T}no" >&6
28208 if test "$GTK_CONFIG" = "no" ; then
28209 echo "*** The gtk-config script installed by GTK could not be found"
28210 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28211 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28212 echo "*** full path to gtk-config."
28213 else
28214 if test -f conf.gtktest ; then
28215 :
28216 else
28217 echo "*** Could not run GTK test program, checking why..."
28218 CFLAGS="$CFLAGS $GTK_CFLAGS"
28219 LIBS="$LIBS $GTK_LIBS"
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226
28227 #include <gtk/gtk.h>
28228 #include <stdio.h>
28229
28230 int
28231 main ()
28232 {
28233 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28234 ;
28235 return 0;
28236 }
28237 _ACEOF
28238 rm -f conftest.$ac_objext conftest$ac_exeext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28240 (eval $ac_link) 2>conftest.er1
28241 ac_status=$?
28242 grep -v '^ *+' conftest.er1 >conftest.err
28243 rm -f conftest.er1
28244 cat conftest.err >&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28250 ac_status=$?
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try='test -s conftest$ac_exeext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28256 ac_status=$?
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28259 echo "*** The test program compiled, but did not run. This usually means"
28260 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28261 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28262 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28263 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28264 echo "*** is required on your system"
28265 echo "***"
28266 echo "*** If you have an old version installed, it is best to remove it, although"
28267 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28268 echo "***"
28269 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28270 echo "*** came with the system with the command"
28271 echo "***"
28272 echo "*** rpm --erase --nodeps gtk gtk-devel"
28273 else
28274 echo "$as_me: failed program was:" >&5
28275 sed 's/^/| /' conftest.$ac_ext >&5
28276
28277 echo "*** The test program failed to compile or link. See the file config.log for the"
28278 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28279 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28280 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28281 fi
28282 rm -f conftest.err conftest.$ac_objext \
28283 conftest$ac_exeext conftest.$ac_ext
28284 CFLAGS="$ac_save_CFLAGS"
28285 LIBS="$ac_save_LIBS"
28286 fi
28287 fi
28288 GTK_CFLAGS=""
28289 GTK_LIBS=""
28290 :
28291 fi
28292
28293
28294 rm -f conf.gtktest
28295
28296
28297 if test -z "$wx_cv_lib_gtk"; then
28298
28299 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28300 if test "${with_gtk_prefix+set}" = set; then
28301 withval="$with_gtk_prefix"
28302 gtk_config_prefix="$withval"
28303 else
28304 gtk_config_prefix=""
28305 fi;
28306
28307 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28308 if test "${with_gtk_exec_prefix+set}" = set; then
28309 withval="$with_gtk_exec_prefix"
28310 gtk_config_exec_prefix="$withval"
28311 else
28312 gtk_config_exec_prefix=""
28313 fi;
28314 # Check whether --enable-gtktest or --disable-gtktest was given.
28315 if test "${enable_gtktest+set}" = set; then
28316 enableval="$enable_gtktest"
28317
28318 else
28319 enable_gtktest=yes
28320 fi;
28321
28322 for module in . $GTK_MODULES
28323 do
28324 case "$module" in
28325 gthread)
28326 gtk_config_args="$gtk_config_args gthread"
28327 ;;
28328 esac
28329 done
28330
28331 if test x$gtk_config_exec_prefix != x ; then
28332 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28333 if test x${GTK_CONFIG+set} != xset ; then
28334 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28335 fi
28336 fi
28337 if test x$gtk_config_prefix != x ; then
28338 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28339 if test x${GTK_CONFIG+set} != xset ; then
28340 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28341 fi
28342 fi
28343
28344 # Extract the first word of "gtk-config", so it can be a program name with args.
28345 set dummy gtk-config; ac_word=$2
28346 echo "$as_me:$LINENO: checking for $ac_word" >&5
28347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28348 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 else
28351 case $GTK_CONFIG in
28352 [\\/]* | ?:[\\/]*)
28353 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28354 ;;
28355 *)
28356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28357 for as_dir in $PATH
28358 do
28359 IFS=$as_save_IFS
28360 test -z "$as_dir" && as_dir=.
28361 for ac_exec_ext in '' $ac_executable_extensions; do
28362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28363 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28365 break 2
28366 fi
28367 done
28368 done
28369
28370 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28371 ;;
28372 esac
28373 fi
28374 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28375
28376 if test -n "$GTK_CONFIG"; then
28377 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28378 echo "${ECHO_T}$GTK_CONFIG" >&6
28379 else
28380 echo "$as_me:$LINENO: result: no" >&5
28381 echo "${ECHO_T}no" >&6
28382 fi
28383
28384 min_gtk_version=1.2.3
28385 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28386 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28387 no_gtk=""
28388 if test "$GTK_CONFIG" = "no" ; then
28389 no_gtk=yes
28390 else
28391 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28392 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28393 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x$enable_gtktest" = "xyes" ; then
28400 ac_save_CFLAGS="$CFLAGS"
28401 ac_save_LIBS="$LIBS"
28402 CFLAGS="$CFLAGS $GTK_CFLAGS"
28403 LIBS="$GTK_LIBS $LIBS"
28404 rm -f conf.gtktest
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling; assumed OK... $ac_c"
28407 else
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414
28415 #include <gtk/gtk.h>
28416 #include <stdio.h>
28417 #include <stdlib.h>
28418
28419 int
28420 main ()
28421 {
28422 int major, minor, micro;
28423 char *tmp_version;
28424
28425 system ("touch conf.gtktest");
28426
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28430 printf("%s, bad version string\n", "$min_gtk_version");
28431 exit(1);
28432 }
28433
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28437 {
28438 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found! If gtk-config was correct, then it is best\n");
28442 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28444 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28445 printf("*** required on your system.\n");
28446 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28447 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28448 printf("*** before re-running configure\n");
28449 }
28450 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28452 (gtk_minor_version != GTK_MINOR_VERSION) ||
28453 (gtk_micro_version != GTK_MICRO_VERSION))
28454 {
28455 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28457 printf("*** library (version %d.%d.%d)\n",
28458 gtk_major_version, gtk_minor_version, gtk_micro_version);
28459 }
28460 #endif /* defined (GTK_MAJOR_VERSION) ... */
28461 else
28462 {
28463 if ((gtk_major_version > major) ||
28464 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28465 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28466 {
28467 return 0;
28468 }
28469 else
28470 {
28471 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28472 gtk_major_version, gtk_minor_version, gtk_micro_version);
28473 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28474 major, minor, micro);
28475 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28476 printf("***\n");
28477 printf("*** If you have already installed a sufficiently new version, this error\n");
28478 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28479 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28480 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28481 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28482 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28483 printf("*** so that the correct libraries are found at run-time))\n");
28484 }
28485 }
28486 return 1;
28487 }
28488
28489 _ACEOF
28490 rm -f conftest$ac_exeext
28491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28492 (eval $ac_link) 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28497 (eval $ac_try) 2>&5
28498 ac_status=$?
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); }; }; then
28501 :
28502 else
28503 echo "$as_me: program exited with status $ac_status" >&5
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507 ( exit $ac_status )
28508 no_gtk=yes
28509 fi
28510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28511 fi
28512 CFLAGS="$ac_save_CFLAGS"
28513 LIBS="$ac_save_LIBS"
28514 fi
28515 fi
28516 if test "x$no_gtk" = x ; then
28517 echo "$as_me:$LINENO: result: yes" >&5
28518 echo "${ECHO_T}yes" >&6
28519 wx_cv_lib_gtk=1.2.3
28520 else
28521 echo "$as_me:$LINENO: result: no" >&5
28522 echo "${ECHO_T}no" >&6
28523 if test "$GTK_CONFIG" = "no" ; then
28524 echo "*** The gtk-config script installed by GTK could not be found"
28525 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28526 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28527 echo "*** full path to gtk-config."
28528 else
28529 if test -f conf.gtktest ; then
28530 :
28531 else
28532 echo "*** Could not run GTK test program, checking why..."
28533 CFLAGS="$CFLAGS $GTK_CFLAGS"
28534 LIBS="$LIBS $GTK_LIBS"
28535 cat >conftest.$ac_ext <<_ACEOF
28536 /* confdefs.h. */
28537 _ACEOF
28538 cat confdefs.h >>conftest.$ac_ext
28539 cat >>conftest.$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28541
28542 #include <gtk/gtk.h>
28543 #include <stdio.h>
28544
28545 int
28546 main ()
28547 {
28548 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28549 ;
28550 return 0;
28551 }
28552 _ACEOF
28553 rm -f conftest.$ac_objext conftest$ac_exeext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28555 (eval $ac_link) 2>conftest.er1
28556 ac_status=$?
28557 grep -v '^ *+' conftest.er1 >conftest.err
28558 rm -f conftest.er1
28559 cat conftest.err >&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; } &&
28568 { ac_try='test -s conftest$ac_exeext'
28569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28570 (eval $ac_try) 2>&5
28571 ac_status=$?
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); }; }; then
28574 echo "*** The test program compiled, but did not run. This usually means"
28575 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28576 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28579 echo "*** is required on your system"
28580 echo "***"
28581 echo "*** If you have an old version installed, it is best to remove it, although"
28582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28583 echo "***"
28584 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28585 echo "*** came with the system with the command"
28586 echo "***"
28587 echo "*** rpm --erase --nodeps gtk gtk-devel"
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28594 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28595 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28596 fi
28597 rm -f conftest.err conftest.$ac_objext \
28598 conftest$ac_exeext conftest.$ac_ext
28599 CFLAGS="$ac_save_CFLAGS"
28600 LIBS="$ac_save_LIBS"
28601 fi
28602 fi
28603 GTK_CFLAGS=""
28604 GTK_LIBS=""
28605 :
28606 fi
28607
28608
28609 rm -f conf.gtktest
28610
28611 fi
28612 fi
28613 fi
28614
28615 if test -z "$wx_cv_lib_gtk"; then
28616 wx_cv_lib_gtk=none
28617 else
28618 wx_cv_cflags_gtk=$GTK_CFLAGS
28619 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28620 fi
28621
28622
28623 fi
28624
28625
28626 if test "$gtk_version_cached" = 1; then
28627 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28628 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28629 fi
28630
28631 case "$wx_cv_lib_gtk" in
28632 2.0) WXGTK20=1
28633 TOOLKIT_VERSION=2
28634 ;;
28635 1.2.7) WXGTK127=1
28636 WXGTK12=1
28637 ;;
28638 1.2.3) WXGTK12=1
28639 ;;
28640 *) { { echo "$as_me:$LINENO: error:
28641 The development files for GTK+ were not found. For GTK+ 2, please
28642 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28643 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28644 and that the version is 1.2.3 or above. Also check that the
28645 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28646 --libs' are in the LD_LIBRARY_PATH or equivalent.
28647 " >&5
28648 echo "$as_me: error:
28649 The development files for GTK+ were not found. For GTK+ 2, please
28650 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28651 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28652 and that the version is 1.2.3 or above. Also check that the
28653 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28654 --libs' are in the LD_LIBRARY_PATH or equivalent.
28655 " >&2;}
28656 { (exit 1); exit 1; }; }
28657 ;;
28658 esac
28659
28660 if test "$WXGTK20" = 1; then
28661 save_CFLAGS="$CFLAGS"
28662 save_LIBS="$LIBS"
28663 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28664 LIBS="$LIBS $wx_cv_libs_gtk"
28665
28666 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28667 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28668 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28669 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 else
28671 cat >conftest.$ac_ext <<_ACEOF
28672 /* confdefs.h. */
28673 _ACEOF
28674 cat confdefs.h >>conftest.$ac_ext
28675 cat >>conftest.$ac_ext <<_ACEOF
28676 /* end confdefs.h. */
28677 #include <gtk/gtk.h>
28678
28679 int
28680 main ()
28681 {
28682 #ifndef gtk_icon_size_lookup
28683 char *p = (char *) gtk_icon_size_lookup;
28684 #endif
28685
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 rm -f conftest.$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>conftest.er1
28693 ac_status=$?
28694 grep -v '^ *+' conftest.er1 >conftest.err
28695 rm -f conftest.er1
28696 cat conftest.err >&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; } &&
28705 { ac_try='test -s conftest.$ac_objext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28708 ac_status=$?
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_have_decl_gtk_icon_size_lookup=yes
28712 else
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.$ac_ext >&5
28715
28716 ac_cv_have_decl_gtk_icon_size_lookup=no
28717 fi
28718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28719 fi
28720 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28721 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28722 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28723
28724 cat >>confdefs.h <<_ACEOF
28725 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28726 _ACEOF
28727
28728
28729 else
28730 cat >>confdefs.h <<_ACEOF
28731 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28732 _ACEOF
28733
28734 cat >>confdefs.h <<\_ACEOF
28735 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28736 _ACEOF
28737
28738 fi
28739
28740
28741
28742 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28743 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28744 cat >conftest.$ac_ext <<_ACEOF
28745 /* confdefs.h. */
28746 _ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750
28751 #include <gtk/gtk.h>
28752
28753 int
28754 main ()
28755 {
28756
28757 #if !GTK_CHECK_VERSION(2,6,0)
28758 Not GTK+ 2.6
28759 #endif
28760
28761 ;
28762 return 0;
28763 }
28764 _ACEOF
28765 rm -f conftest.$ac_objext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28767 (eval $ac_compile) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; } &&
28780 { ac_try='test -s conftest.$ac_objext'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; }; then
28786
28787 cat >>confdefs.h <<\_ACEOF
28788 #define __WXGTK26__ 1
28789 _ACEOF
28790
28791 cat >>confdefs.h <<\_ACEOF
28792 #define __WXGTK24__ 1
28793 _ACEOF
28794
28795 echo "$as_me:$LINENO: result: yes" >&5
28796 echo "${ECHO_T}yes" >&6
28797 ac_wxgtk26=1
28798
28799 else
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.$ac_ext >&5
28802
28803
28804 echo "$as_me:$LINENO: result: no" >&5
28805 echo "${ECHO_T}no" >&6
28806 ac_wxgtk26=0
28807
28808 fi
28809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28810
28811 if test "$ac_wxgtk26" = 0; then
28812 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28813 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h. */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28820
28821 #include <gtk/gtk.h>
28822
28823 int
28824 main ()
28825 {
28826
28827 #if !GTK_CHECK_VERSION(2,4,0)
28828 Not GTK+ 2.4
28829 #endif
28830
28831 ;
28832 return 0;
28833 }
28834 _ACEOF
28835 rm -f conftest.$ac_objext
28836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28837 (eval $ac_compile) 2>conftest.er1
28838 ac_status=$?
28839 grep -v '^ *+' conftest.er1 >conftest.err
28840 rm -f conftest.er1
28841 cat conftest.err >&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } &&
28844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28847 ac_status=$?
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; } &&
28850 { ac_try='test -s conftest.$ac_objext'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28853 ac_status=$?
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28856
28857 cat >>confdefs.h <<\_ACEOF
28858 #define __WXGTK24__ 1
28859 _ACEOF
28860
28861 echo "$as_me:$LINENO: result: yes" >&5
28862 echo "${ECHO_T}yes" >&6
28863
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28867
28868
28869 echo "$as_me:$LINENO: result: no" >&5
28870 echo "${ECHO_T}no" >&6
28871
28872 fi
28873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28874 fi
28875
28876 CFLAGS="$save_CFLAGS"
28877 LIBS="$save_LIBS"
28878 else
28879 if test "$wxUSE_UNICODE" = "yes"; then
28880 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28881 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28882 wxUSE_UNICODE=no
28883 fi
28884
28885 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28886 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28887 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 ac_check_lib_save_LIBS=$LIBS
28891 LIBS="-lgdk $LIBS"
28892 cat >conftest.$ac_ext <<_ACEOF
28893 /* confdefs.h. */
28894 _ACEOF
28895 cat confdefs.h >>conftest.$ac_ext
28896 cat >>conftest.$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28898
28899 /* Override any gcc2 internal prototype to avoid an error. */
28900 #ifdef __cplusplus
28901 extern "C"
28902 #endif
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28905 char gdk_im_open ();
28906 int
28907 main ()
28908 {
28909 gdk_im_open ();
28910 ;
28911 return 0;
28912 }
28913 _ACEOF
28914 rm -f conftest.$ac_objext conftest$ac_exeext
28915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28916 (eval $ac_link) 2>conftest.er1
28917 ac_status=$?
28918 grep -v '^ *+' conftest.er1 >conftest.err
28919 rm -f conftest.er1
28920 cat conftest.err >&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); } &&
28923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28926 ac_status=$?
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28932 ac_status=$?
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 ac_cv_lib_gdk_gdk_im_open=yes
28936 else
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 ac_cv_lib_gdk_gdk_im_open=no
28941 fi
28942 rm -f conftest.err conftest.$ac_objext \
28943 conftest$ac_exeext conftest.$ac_ext
28944 LIBS=$ac_check_lib_save_LIBS
28945 fi
28946 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28947 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28948 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28949 cat >>confdefs.h <<\_ACEOF
28950 #define HAVE_XIM 1
28951 _ACEOF
28952
28953 fi
28954
28955 fi
28956
28957 ac_ext=cc
28958 ac_cpp='$CXXCPP $CPPFLAGS'
28959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28962
28963
28964 if test "$USE_DARWIN" != 1; then
28965
28966 for ac_func in poll
28967 do
28968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969 echo "$as_me:$LINENO: checking for $ac_func" >&5
28970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 else
28974 cat >conftest.$ac_ext <<_ACEOF
28975 /* confdefs.h. */
28976 _ACEOF
28977 cat confdefs.h >>conftest.$ac_ext
28978 cat >>conftest.$ac_ext <<_ACEOF
28979 /* end confdefs.h. */
28980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28982 #define $ac_func innocuous_$ac_func
28983
28984 /* System header to define __stub macros and hopefully few prototypes,
28985 which can conflict with char $ac_func (); below.
28986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28987 <limits.h> exists even on freestanding compilers. */
28988
28989 #ifdef __STDC__
28990 # include <limits.h>
28991 #else
28992 # include <assert.h>
28993 #endif
28994
28995 #undef $ac_func
28996
28997 /* Override any gcc2 internal prototype to avoid an error. */
28998 #ifdef __cplusplus
28999 extern "C"
29000 {
29001 #endif
29002 /* We use char because int might match the return type of a gcc2
29003 builtin and then its argument prototype would still apply. */
29004 char $ac_func ();
29005 /* The GNU C library defines this for functions which it implements
29006 to always fail with ENOSYS. Some functions are actually named
29007 something starting with __ and the normal name is an alias. */
29008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29009 choke me
29010 #else
29011 char (*f) () = $ac_func;
29012 #endif
29013 #ifdef __cplusplus
29014 }
29015 #endif
29016
29017 int
29018 main ()
29019 {
29020 return f != $ac_func;
29021 ;
29022 return 0;
29023 }
29024 _ACEOF
29025 rm -f conftest.$ac_objext conftest$ac_exeext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29027 (eval $ac_link) 2>conftest.er1
29028 ac_status=$?
29029 grep -v '^ *+' conftest.er1 >conftest.err
29030 rm -f conftest.er1
29031 cat conftest.err >&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29036 (eval $ac_try) 2>&5
29037 ac_status=$?
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; } &&
29040 { ac_try='test -s conftest$ac_exeext'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29043 ac_status=$?
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; }; then
29046 eval "$as_ac_var=yes"
29047 else
29048 echo "$as_me: failed program was:" >&5
29049 sed 's/^/| /' conftest.$ac_ext >&5
29050
29051 eval "$as_ac_var=no"
29052 fi
29053 rm -f conftest.err conftest.$ac_objext \
29054 conftest$ac_exeext conftest.$ac_ext
29055 fi
29056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29058 if test `eval echo '${'$as_ac_var'}'` = yes; then
29059 cat >>confdefs.h <<_ACEOF
29060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29061 _ACEOF
29062
29063 fi
29064 done
29065
29066 fi
29067
29068 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29069 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29070
29071 AFMINSTALL=afminstall
29072 TOOLKIT=GTK
29073 GUIDIST=GTK_DIST
29074
29075 if test "$wxUSE_GPE" = "yes"; then
29076 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29077 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29078
29079 ac_find_libraries=
29080 for ac_dir in $SEARCH_LIB;
29081 do
29082 for ac_extension in a so sl dylib dll.a; do
29083 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29084 ac_find_libraries=$ac_dir
29085 break 2
29086 fi
29087 done
29088 done
29089
29090 if test "$ac_find_libraries" != "" ; then
29091
29092 if test "$ac_find_libraries" = "default location"; then
29093 ac_path_to_link=""
29094 else
29095 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29096 result=$?
29097 if test $result = 0; then
29098 ac_path_to_link=""
29099 else
29100 ac_path_to_link=" -L$ac_find_libraries"
29101 fi
29102 fi
29103
29104 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29105 WXGPE=1
29106 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29107 echo "${ECHO_T}found in $ac_find_libraries" >&6
29108 else
29109 echo "$as_me:$LINENO: result: not found" >&5
29110 echo "${ECHO_T}not found" >&6
29111 fi
29112
29113 fi
29114 fi
29115
29116 if test "$wxUSE_MGL" = 1; then
29117 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29118 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29119 if test "x$MGL_ROOT" = x ; then
29120 echo "$as_me:$LINENO: result: not found" >&5
29121 echo "${ECHO_T}not found" >&6
29122 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29123 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29124 { (exit 1); exit 1; }; }
29125 else
29126 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29127 echo "${ECHO_T}$MGL_ROOT" >&6
29128 fi
29129
29130 echo "$as_me:$LINENO: checking for libmgl location" >&5
29131 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29132 case "${host}" in
29133 *-*-linux* )
29134 if test "x$wxUSE_SHARED" = xyes ; then
29135 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29136 else
29137 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29138 fi
29139 ;;
29140 *-pc-msdosdjgpp )
29141 mgl_os_candidates="dos32/dj2"
29142 ;;
29143 *)
29144 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29145 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29146 { (exit 1); exit 1; }; }
29147 esac
29148
29149 mgl_lib_type=""
29150 mgl_os=""
29151
29152 for mgl_os_i in $mgl_os_candidates ; do
29153 if test "x$mgl_os" = x ; then
29154 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29155 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29156 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29157 mgl_lib_type=debug
29158 mgl_os=$mgl_os_i
29159 fi
29160 fi
29161 if test "x$mgl_lib_type" = x ; then
29162 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29163 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29164 mgl_lib_type=release
29165 mgl_os=$mgl_os_i
29166 fi
29167 fi
29168 fi
29169 done
29170
29171 if test "x$mgl_os" = x ; then
29172 echo "$as_me:$LINENO: result: not found" >&5
29173 echo "${ECHO_T}not found" >&6
29174 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29175 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29176 { (exit 1); exit 1; }; }
29177 fi
29178 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29179 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29180
29181 wxUSE_UNIVERSAL="yes"
29182
29183 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29184 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29185
29186 AFMINSTALL=afminstall
29187 TOOLKIT=MGL
29188 GUIDIST=MGL_DIST
29189 fi
29190
29191 if test "$wxUSE_DFB" = 1; then
29192
29193
29194 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29195 if test -n "$ac_tool_prefix"; then
29196 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29197 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29198 echo "$as_me:$LINENO: checking for $ac_word" >&5
29199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 else
29203 case $PKG_CONFIG in
29204 [\\/]* | ?:[\\/]*)
29205 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29206 ;;
29207 *)
29208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29209 for as_dir in $PATH
29210 do
29211 IFS=$as_save_IFS
29212 test -z "$as_dir" && as_dir=.
29213 for ac_exec_ext in '' $ac_executable_extensions; do
29214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29215 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29217 break 2
29218 fi
29219 done
29220 done
29221
29222 ;;
29223 esac
29224 fi
29225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29226
29227 if test -n "$PKG_CONFIG"; then
29228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29229 echo "${ECHO_T}$PKG_CONFIG" >&6
29230 else
29231 echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6
29233 fi
29234
29235 fi
29236 if test -z "$ac_cv_path_PKG_CONFIG"; then
29237 ac_pt_PKG_CONFIG=$PKG_CONFIG
29238 # Extract the first word of "pkg-config", so it can be a program name with args.
29239 set dummy pkg-config; ac_word=$2
29240 echo "$as_me:$LINENO: checking for $ac_word" >&5
29241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29242 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29243 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 else
29245 case $ac_pt_PKG_CONFIG in
29246 [\\/]* | ?:[\\/]*)
29247 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29248 ;;
29249 *)
29250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29251 for as_dir in $PATH
29252 do
29253 IFS=$as_save_IFS
29254 test -z "$as_dir" && as_dir=.
29255 for ac_exec_ext in '' $ac_executable_extensions; do
29256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29257 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29259 break 2
29260 fi
29261 done
29262 done
29263
29264 ;;
29265 esac
29266 fi
29267 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29268
29269 if test -n "$ac_pt_PKG_CONFIG"; then
29270 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29271 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29272 else
29273 echo "$as_me:$LINENO: result: no" >&5
29274 echo "${ECHO_T}no" >&6
29275 fi
29276
29277 PKG_CONFIG=$ac_pt_PKG_CONFIG
29278 else
29279 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29280 fi
29281
29282 fi
29283 if test -n "$PKG_CONFIG"; then
29284 _pkg_min_version=0.9.0
29285 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29286 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29287 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29288 echo "$as_me:$LINENO: result: yes" >&5
29289 echo "${ECHO_T}yes" >&6
29290 else
29291 echo "$as_me:$LINENO: result: no" >&5
29292 echo "${ECHO_T}no" >&6
29293 PKG_CONFIG=""
29294 fi
29295
29296 fi
29297
29298
29299 pkg_failed=no
29300 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29301 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29302
29303 if test -n "$PKG_CONFIG"; then
29304 if test -n "$DIRECTFB_CFLAGS"; then
29305 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29306 else
29307 if test -n "$PKG_CONFIG" && \
29308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29309 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; then
29313 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29314 else
29315 pkg_failed=yes
29316 fi
29317 fi
29318 else
29319 pkg_failed=untried
29320 fi
29321 if test -n "$PKG_CONFIG"; then
29322 if test -n "$DIRECTFB_LIBS"; then
29323 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29324 else
29325 if test -n "$PKG_CONFIG" && \
29326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29327 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29328 ac_status=$?
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; then
29331 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29332 else
29333 pkg_failed=yes
29334 fi
29335 fi
29336 else
29337 pkg_failed=untried
29338 fi
29339
29340
29341
29342 if test $pkg_failed = yes; then
29343
29344 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29345 _pkg_short_errors_supported=yes
29346 else
29347 _pkg_short_errors_supported=no
29348 fi
29349 if test $_pkg_short_errors_supported = yes; then
29350 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29351 else
29352 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29353 fi
29354 # Put the nasty error message in config.log where it belongs
29355 echo "$DIRECTFB_PKG_ERRORS" >&5
29356
29357
29358 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29359 echo "$as_me: error: DirectFB not found." >&2;}
29360 { (exit 1); exit 1; }; }
29361
29362
29363 elif test $pkg_failed = untried; then
29364
29365 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29366 echo "$as_me: error: DirectFB not found." >&2;}
29367 { (exit 1); exit 1; }; }
29368
29369
29370 else
29371 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29372 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29373 echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6
29375
29376 wxUSE_UNIVERSAL="yes"
29377 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29378 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29379 TOOLKIT=DFB
29380 GUIDIST=DFB_DIST
29381
29382 fi
29383 fi
29384
29385 if test "$wxUSE_MICROWIN" = 1; then
29386 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29387 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29388 if test "x$MICROWINDOWS" = x ; then
29389 echo "$as_me:$LINENO: result: not found" >&5
29390 echo "${ECHO_T}not found" >&6
29391 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29392 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29393 { (exit 1); exit 1; }; }
29394 else
29395 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29396 echo "${ECHO_T}$MICROWINDOWS" >&6
29397 fi
29398
29399 if test -f $MICROWINDOWS/lib/libmwin.a; then
29400 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29401 echo "${ECHO_T}MicroWindows' libraries found." >&6
29402 else
29403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29404 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29405 { (exit 1); exit 1; }; }
29406 fi
29407
29408 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29409 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29410
29411 wxUSE_UNIVERSAL="yes"
29412
29413 AFMINSTALL=afminstall
29414 TOOLKIT=MICROWIN
29415 GUIDIST=MICROWIN_DIST
29416
29417 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29418 fi
29419
29420 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29421
29422 if test "x$ac_path_x_has_been_run" != xyes; then
29423 echo "$as_me:$LINENO: checking for X" >&5
29424 echo $ECHO_N "checking for X... $ECHO_C" >&6
29425
29426 ac_path_x_has_been_run=yes
29427
29428 # Check whether --with-x or --without-x was given.
29429 if test "${with_x+set}" = set; then
29430 withval="$with_x"
29431
29432 fi;
29433 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29434 if test "x$with_x" = xno; then
29435 # The user explicitly disabled X.
29436 have_x=disabled
29437 else
29438 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29439 # Both variables are already set.
29440 have_x=yes
29441 else
29442 if test "${ac_cv_have_x+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 else
29445 # One or both of the vars are not set, and there is no cached value.
29446 ac_x_includes=no ac_x_libraries=no
29447 rm -fr conftest.dir
29448 if mkdir conftest.dir; then
29449 cd conftest.dir
29450 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29451 cat >Imakefile <<'_ACEOF'
29452 acfindx:
29453 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29454 _ACEOF
29455 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29456 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29457 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29458 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29459 for ac_extension in a so sl; do
29460 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29461 test -f $ac_im_libdir/libX11.$ac_extension; then
29462 ac_im_usrlibdir=$ac_im_libdir; break
29463 fi
29464 done
29465 # Screen out bogus values from the imake configuration. They are
29466 # bogus both because they are the default anyway, and because
29467 # using them would break gcc on systems where it needs fixed includes.
29468 case $ac_im_incroot in
29469 /usr/include) ;;
29470 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29471 esac
29472 case $ac_im_usrlibdir in
29473 /usr/lib | /lib) ;;
29474 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29475 esac
29476 fi
29477 cd ..
29478 rm -fr conftest.dir
29479 fi
29480
29481 # Standard set of common directories for X headers.
29482 # Check X11 before X11Rn because it is often a symlink to the current release.
29483 ac_x_header_dirs='
29484 /usr/X11/include
29485 /usr/X11R6/include
29486 /usr/X11R5/include
29487 /usr/X11R4/include
29488
29489 /usr/include/X11
29490 /usr/include/X11R6
29491 /usr/include/X11R5
29492 /usr/include/X11R4
29493
29494 /usr/local/X11/include
29495 /usr/local/X11R6/include
29496 /usr/local/X11R5/include
29497 /usr/local/X11R4/include
29498
29499 /usr/local/include/X11
29500 /usr/local/include/X11R6
29501 /usr/local/include/X11R5
29502 /usr/local/include/X11R4
29503
29504 /usr/X386/include
29505 /usr/x386/include
29506 /usr/XFree86/include/X11
29507
29508 /usr/include
29509 /usr/local/include
29510 /usr/unsupported/include
29511 /usr/athena/include
29512 /usr/local/x11r5/include
29513 /usr/lpp/Xamples/include
29514
29515 /usr/openwin/include
29516 /usr/openwin/share/include'
29517
29518 if test "$ac_x_includes" = no; then
29519 # Guess where to find include files, by looking for a specified header file.
29520 # First, try using that file with no special directory specified.
29521 cat >conftest.$ac_ext <<_ACEOF
29522 /* confdefs.h. */
29523 _ACEOF
29524 cat confdefs.h >>conftest.$ac_ext
29525 cat >>conftest.$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <X11/Xlib.h>
29528 _ACEOF
29529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29530 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
29537 if test -s conftest.err; then
29538 ac_cpp_err=$ac_cxx_preproc_warn_flag
29539 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29540 else
29541 ac_cpp_err=
29542 fi
29543 else
29544 ac_cpp_err=yes
29545 fi
29546 if test -z "$ac_cpp_err"; then
29547 # We can compile using X headers with no special include directory.
29548 ac_x_includes=
29549 else
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553 for ac_dir in $ac_x_header_dirs; do
29554 if test -r "$ac_dir/X11/Xlib.h"; then
29555 ac_x_includes=$ac_dir
29556 break
29557 fi
29558 done
29559 fi
29560 rm -f conftest.err conftest.$ac_ext
29561 fi # $ac_x_includes = no
29562
29563 if test "$ac_x_libraries" = no; then
29564 # Check for the libraries.
29565 # See if we find them without any special options.
29566 # Don't add to $LIBS permanently.
29567 ac_save_LIBS=$LIBS
29568 LIBS="-lX11 $LIBS"
29569 cat >conftest.$ac_ext <<_ACEOF
29570 /* confdefs.h. */
29571 _ACEOF
29572 cat confdefs.h >>conftest.$ac_ext
29573 cat >>conftest.$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29575 #include <X11/Xlib.h>
29576 int
29577 main ()
29578 {
29579 XrmInitialize ()
29580 ;
29581 return 0;
29582 }
29583 _ACEOF
29584 rm -f conftest.$ac_objext conftest$ac_exeext
29585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29586 (eval $ac_link) 2>conftest.er1
29587 ac_status=$?
29588 grep -v '^ *+' conftest.er1 >conftest.err
29589 rm -f conftest.er1
29590 cat conftest.err >&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } &&
29593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29596 ac_status=$?
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; } &&
29599 { ac_try='test -s conftest$ac_exeext'
29600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29601 (eval $ac_try) 2>&5
29602 ac_status=$?
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); }; }; then
29605 LIBS=$ac_save_LIBS
29606 # We can link X programs with no special library path.
29607 ac_x_libraries=
29608 else
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29611
29612 LIBS=$ac_save_LIBS
29613 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29614 do
29615 # Don't even attempt the hair of trying to link an X program!
29616 for ac_extension in a so sl; do
29617 if test -r $ac_dir/libX11.$ac_extension; then
29618 ac_x_libraries=$ac_dir
29619 break 2
29620 fi
29621 done
29622 done
29623 fi
29624 rm -f conftest.err conftest.$ac_objext \
29625 conftest$ac_exeext conftest.$ac_ext
29626 fi # $ac_x_libraries = no
29627
29628 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29629 # Didn't find X anywhere. Cache the known absence of X.
29630 ac_cv_have_x="have_x=no"
29631 else
29632 # Record where we found X for the cache.
29633 ac_cv_have_x="have_x=yes \
29634 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29635 fi
29636 fi
29637
29638 fi
29639 eval "$ac_cv_have_x"
29640 fi # $with_x != no
29641
29642 if test "$have_x" != yes; then
29643 echo "$as_me:$LINENO: result: $have_x" >&5
29644 echo "${ECHO_T}$have_x" >&6
29645 no_x=yes
29646 else
29647 # If each of the values was on the command line, it overrides each guess.
29648 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29649 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29650 # Update the cache value to reflect the command line values.
29651 ac_cv_have_x="have_x=yes \
29652 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29653 # It might be that x_includes is empty (headers are found in the
29654 # standard search path. Then output the corresponding message
29655 ac_out_x_includes=$x_includes
29656 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29657 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29658 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29659 fi
29660
29661 fi
29662 if test "$no_x" = yes; then
29663 # Not all programs may use this symbol, but it does not hurt to define it.
29664
29665 cat >>confdefs.h <<\_ACEOF
29666 #define X_DISPLAY_MISSING 1
29667 _ACEOF
29668
29669 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29670 else
29671 if test -n "$x_includes"; then
29672 X_CFLAGS="$X_CFLAGS -I$x_includes"
29673 fi
29674
29675 # It would also be nice to do this for all -L options, not just this one.
29676 if test -n "$x_libraries"; then
29677 X_LIBS="$X_LIBS -L$x_libraries"
29678 # For Solaris; some versions of Sun CC require a space after -R and
29679 # others require no space. Words are not sufficient . . . .
29680 case `(uname -sr) 2>/dev/null` in
29681 "SunOS 5"*)
29682 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29683 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29684 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29685 cat >conftest.$ac_ext <<_ACEOF
29686 /* confdefs.h. */
29687 _ACEOF
29688 cat confdefs.h >>conftest.$ac_ext
29689 cat >>conftest.$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29691
29692 int
29693 main ()
29694 {
29695
29696 ;
29697 return 0;
29698 }
29699 _ACEOF
29700 rm -f conftest.$ac_objext conftest$ac_exeext
29701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29702 (eval $ac_link) 2>conftest.er1
29703 ac_status=$?
29704 grep -v '^ *+' conftest.er1 >conftest.err
29705 rm -f conftest.er1
29706 cat conftest.err >&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29712 ac_status=$?
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; } &&
29715 { ac_try='test -s conftest$ac_exeext'
29716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29717 (eval $ac_try) 2>&5
29718 ac_status=$?
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); }; }; then
29721 ac_R_nospace=yes
29722 else
29723 echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29725
29726 ac_R_nospace=no
29727 fi
29728 rm -f conftest.err conftest.$ac_objext \
29729 conftest$ac_exeext conftest.$ac_ext
29730 if test $ac_R_nospace = yes; then
29731 echo "$as_me:$LINENO: result: no" >&5
29732 echo "${ECHO_T}no" >&6
29733 X_LIBS="$X_LIBS -R$x_libraries"
29734 else
29735 LIBS="$ac_xsave_LIBS -R $x_libraries"
29736 cat >conftest.$ac_ext <<_ACEOF
29737 /* confdefs.h. */
29738 _ACEOF
29739 cat confdefs.h >>conftest.$ac_ext
29740 cat >>conftest.$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742
29743 int
29744 main ()
29745 {
29746
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 rm -f conftest.$ac_objext conftest$ac_exeext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29753 (eval $ac_link) 2>conftest.er1
29754 ac_status=$?
29755 grep -v '^ *+' conftest.er1 >conftest.err
29756 rm -f conftest.er1
29757 cat conftest.err >&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; } &&
29766 { ac_try='test -s conftest$ac_exeext'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; }; then
29772 ac_R_space=yes
29773 else
29774 echo "$as_me: failed program was:" >&5
29775 sed 's/^/| /' conftest.$ac_ext >&5
29776
29777 ac_R_space=no
29778 fi
29779 rm -f conftest.err conftest.$ac_objext \
29780 conftest$ac_exeext conftest.$ac_ext
29781 if test $ac_R_space = yes; then
29782 echo "$as_me:$LINENO: result: yes" >&5
29783 echo "${ECHO_T}yes" >&6
29784 X_LIBS="$X_LIBS -R $x_libraries"
29785 else
29786 echo "$as_me:$LINENO: result: neither works" >&5
29787 echo "${ECHO_T}neither works" >&6
29788 fi
29789 fi
29790 LIBS=$ac_xsave_LIBS
29791 esac
29792 fi
29793
29794 # Check for system-dependent libraries X programs must link with.
29795 # Do this before checking for the system-independent R6 libraries
29796 # (-lICE), since we may need -lsocket or whatever for X linking.
29797
29798 if test "$ISC" = yes; then
29799 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29800 else
29801 # Martyn Johnson says this is needed for Ultrix, if the X
29802 # libraries were built with DECnet support. And Karl Berry says
29803 # the Alpha needs dnet_stub (dnet does not exist).
29804 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h. */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811
29812 /* Override any gcc2 internal prototype to avoid an error. */
29813 #ifdef __cplusplus
29814 extern "C"
29815 #endif
29816 /* We use char because int might match the return type of a gcc2
29817 builtin and then its argument prototype would still apply. */
29818 char XOpenDisplay ();
29819 int
29820 main ()
29821 {
29822 XOpenDisplay ();
29823 ;
29824 return 0;
29825 }
29826 _ACEOF
29827 rm -f conftest.$ac_objext conftest$ac_exeext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29829 (eval $ac_link) 2>conftest.er1
29830 ac_status=$?
29831 grep -v '^ *+' conftest.er1 >conftest.err
29832 rm -f conftest.er1
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try='test -s conftest$ac_exeext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848 :
29849 else
29850 echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29852
29853 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29854 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29855 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29856 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 else
29858 ac_check_lib_save_LIBS=$LIBS
29859 LIBS="-ldnet $LIBS"
29860 cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h. */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866
29867 /* Override any gcc2 internal prototype to avoid an error. */
29868 #ifdef __cplusplus
29869 extern "C"
29870 #endif
29871 /* We use char because int might match the return type of a gcc2
29872 builtin and then its argument prototype would still apply. */
29873 char dnet_ntoa ();
29874 int
29875 main ()
29876 {
29877 dnet_ntoa ();
29878 ;
29879 return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29885 ac_status=$?
29886 grep -v '^ *+' conftest.er1 >conftest.err
29887 rm -f conftest.er1
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29894 ac_status=$?
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29903 ac_cv_lib_dnet_dnet_ntoa=yes
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 ac_cv_lib_dnet_dnet_ntoa=no
29909 fi
29910 rm -f conftest.err conftest.$ac_objext \
29911 conftest$ac_exeext conftest.$ac_ext
29912 LIBS=$ac_check_lib_save_LIBS
29913 fi
29914 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29915 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29916 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29917 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29918 fi
29919
29920 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29921 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29922 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29923 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 else
29926 ac_check_lib_save_LIBS=$LIBS
29927 LIBS="-ldnet_stub $LIBS"
29928 cat >conftest.$ac_ext <<_ACEOF
29929 /* confdefs.h. */
29930 _ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934
29935 /* Override any gcc2 internal prototype to avoid an error. */
29936 #ifdef __cplusplus
29937 extern "C"
29938 #endif
29939 /* We use char because int might match the return type of a gcc2
29940 builtin and then its argument prototype would still apply. */
29941 char dnet_ntoa ();
29942 int
29943 main ()
29944 {
29945 dnet_ntoa ();
29946 ;
29947 return 0;
29948 }
29949 _ACEOF
29950 rm -f conftest.$ac_objext conftest$ac_exeext
29951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29952 (eval $ac_link) 2>conftest.er1
29953 ac_status=$?
29954 grep -v '^ *+' conftest.er1 >conftest.err
29955 rm -f conftest.er1
29956 cat conftest.err >&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29962 ac_status=$?
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; } &&
29965 { ac_try='test -s conftest$ac_exeext'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; }; then
29971 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29972 else
29973 echo "$as_me: failed program was:" >&5
29974 sed 's/^/| /' conftest.$ac_ext >&5
29975
29976 ac_cv_lib_dnet_stub_dnet_ntoa=no
29977 fi
29978 rm -f conftest.err conftest.$ac_objext \
29979 conftest$ac_exeext conftest.$ac_ext
29980 LIBS=$ac_check_lib_save_LIBS
29981 fi
29982 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29983 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29984 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29985 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29986 fi
29987
29988 fi
29989 fi
29990 rm -f conftest.err conftest.$ac_objext \
29991 conftest$ac_exeext conftest.$ac_ext
29992 LIBS="$ac_xsave_LIBS"
29993
29994 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29995 # to get the SysV transport functions.
29996 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29997 # needs -lnsl.
29998 # The nsl library prevents programs from opening the X display
29999 # on Irix 5.2, according to T.E. Dickey.
30000 # The functions gethostbyname, getservbyname, and inet_addr are
30001 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30002 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30003 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30004 if test "${ac_cv_func_gethostbyname+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 cat >conftest.$ac_ext <<_ACEOF
30008 /* confdefs.h. */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30015 #define gethostbyname innocuous_gethostbyname
30016
30017 /* System header to define __stub macros and hopefully few prototypes,
30018 which can conflict with char gethostbyname (); below.
30019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30020 <limits.h> exists even on freestanding compilers. */
30021
30022 #ifdef __STDC__
30023 # include <limits.h>
30024 #else
30025 # include <assert.h>
30026 #endif
30027
30028 #undef gethostbyname
30029
30030 /* Override any gcc2 internal prototype to avoid an error. */
30031 #ifdef __cplusplus
30032 extern "C"
30033 {
30034 #endif
30035 /* We use char because int might match the return type of a gcc2
30036 builtin and then its argument prototype would still apply. */
30037 char gethostbyname ();
30038 /* The GNU C library defines this for functions which it implements
30039 to always fail with ENOSYS. Some functions are actually named
30040 something starting with __ and the normal name is an alias. */
30041 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30042 choke me
30043 #else
30044 char (*f) () = gethostbyname;
30045 #endif
30046 #ifdef __cplusplus
30047 }
30048 #endif
30049
30050 int
30051 main ()
30052 {
30053 return f != gethostbyname;
30054 ;
30055 return 0;
30056 }
30057 _ACEOF
30058 rm -f conftest.$ac_objext conftest$ac_exeext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30060 (eval $ac_link) 2>conftest.er1
30061 ac_status=$?
30062 grep -v '^ *+' conftest.er1 >conftest.err
30063 rm -f conftest.er1
30064 cat conftest.err >&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); } &&
30067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30070 ac_status=$?
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try='test -s conftest$ac_exeext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 ac_cv_func_gethostbyname=yes
30080 else
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.$ac_ext >&5
30083
30084 ac_cv_func_gethostbyname=no
30085 fi
30086 rm -f conftest.err conftest.$ac_objext \
30087 conftest$ac_exeext conftest.$ac_ext
30088 fi
30089 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30090 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30091
30092 if test $ac_cv_func_gethostbyname = no; then
30093 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30094 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30095 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30097 else
30098 ac_check_lib_save_LIBS=$LIBS
30099 LIBS="-lnsl $LIBS"
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106
30107 /* Override any gcc2 internal prototype to avoid an error. */
30108 #ifdef __cplusplus
30109 extern "C"
30110 #endif
30111 /* We use char because int might match the return type of a gcc2
30112 builtin and then its argument prototype would still apply. */
30113 char gethostbyname ();
30114 int
30115 main ()
30116 {
30117 gethostbyname ();
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 rm -f conftest.$ac_objext conftest$ac_exeext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30124 (eval $ac_link) 2>conftest.er1
30125 ac_status=$?
30126 grep -v '^ *+' conftest.er1 >conftest.err
30127 rm -f conftest.er1
30128 cat conftest.err >&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30134 ac_status=$?
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; } &&
30137 { ac_try='test -s conftest$ac_exeext'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30143 ac_cv_lib_nsl_gethostbyname=yes
30144 else
30145 echo "$as_me: failed program was:" >&5
30146 sed 's/^/| /' conftest.$ac_ext >&5
30147
30148 ac_cv_lib_nsl_gethostbyname=no
30149 fi
30150 rm -f conftest.err conftest.$ac_objext \
30151 conftest$ac_exeext conftest.$ac_ext
30152 LIBS=$ac_check_lib_save_LIBS
30153 fi
30154 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30155 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30156 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30158 fi
30159
30160 if test $ac_cv_lib_nsl_gethostbyname = no; then
30161 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30162 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30163 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166 ac_check_lib_save_LIBS=$LIBS
30167 LIBS="-lbsd $LIBS"
30168 cat >conftest.$ac_ext <<_ACEOF
30169 /* confdefs.h. */
30170 _ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30174
30175 /* Override any gcc2 internal prototype to avoid an error. */
30176 #ifdef __cplusplus
30177 extern "C"
30178 #endif
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30181 char gethostbyname ();
30182 int
30183 main ()
30184 {
30185 gethostbyname ();
30186 ;
30187 return 0;
30188 }
30189 _ACEOF
30190 rm -f conftest.$ac_objext conftest$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30193 ac_status=$?
30194 grep -v '^ *+' conftest.er1 >conftest.err
30195 rm -f conftest.er1
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 ac_cv_lib_bsd_gethostbyname=yes
30212 else
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.$ac_ext >&5
30215
30216 ac_cv_lib_bsd_gethostbyname=no
30217 fi
30218 rm -f conftest.err conftest.$ac_objext \
30219 conftest$ac_exeext conftest.$ac_ext
30220 LIBS=$ac_check_lib_save_LIBS
30221 fi
30222 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30223 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30224 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30225 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30226 fi
30227
30228 fi
30229 fi
30230
30231 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30232 # socket/setsockopt and other routines are undefined under SCO ODT
30233 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30234 # on later versions), says Simon Leinen: it contains gethostby*
30235 # variants that don't use the name server (or something). -lsocket
30236 # must be given before -lnsl if both are needed. We assume that
30237 # if connect needs -lnsl, so does gethostbyname.
30238 echo "$as_me:$LINENO: checking for connect" >&5
30239 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30240 if test "${ac_cv_func_connect+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define connect innocuous_connect
30252
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char connect (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30257
30258 #ifdef __STDC__
30259 # include <limits.h>
30260 #else
30261 # include <assert.h>
30262 #endif
30263
30264 #undef connect
30265
30266 /* Override any gcc2 internal prototype to avoid an error. */
30267 #ifdef __cplusplus
30268 extern "C"
30269 {
30270 #endif
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30273 char connect ();
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_connect) || defined (__stub___connect)
30278 choke me
30279 #else
30280 char (*f) () = connect;
30281 #endif
30282 #ifdef __cplusplus
30283 }
30284 #endif
30285
30286 int
30287 main ()
30288 {
30289 return f != connect;
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 rm -f conftest.$ac_objext conftest$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 ac_cv_func_connect=yes
30316 else
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30319
30320 ac_cv_func_connect=no
30321 fi
30322 rm -f conftest.err conftest.$ac_objext \
30323 conftest$ac_exeext conftest.$ac_ext
30324 fi
30325 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30326 echo "${ECHO_T}$ac_cv_func_connect" >&6
30327
30328 if test $ac_cv_func_connect = no; then
30329 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30330 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30331 if test "${ac_cv_lib_socket_connect+set}" = set; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30333 else
30334 ac_check_lib_save_LIBS=$LIBS
30335 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30336 cat >conftest.$ac_ext <<_ACEOF
30337 /* confdefs.h. */
30338 _ACEOF
30339 cat confdefs.h >>conftest.$ac_ext
30340 cat >>conftest.$ac_ext <<_ACEOF
30341 /* end confdefs.h. */
30342
30343 /* Override any gcc2 internal prototype to avoid an error. */
30344 #ifdef __cplusplus
30345 extern "C"
30346 #endif
30347 /* We use char because int might match the return type of a gcc2
30348 builtin and then its argument prototype would still apply. */
30349 char connect ();
30350 int
30351 main ()
30352 {
30353 connect ();
30354 ;
30355 return 0;
30356 }
30357 _ACEOF
30358 rm -f conftest.$ac_objext conftest$ac_exeext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30360 (eval $ac_link) 2>conftest.er1
30361 ac_status=$?
30362 grep -v '^ *+' conftest.er1 >conftest.err
30363 rm -f conftest.er1
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 ac_cv_lib_socket_connect=yes
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 ac_cv_lib_socket_connect=no
30385 fi
30386 rm -f conftest.err conftest.$ac_objext \
30387 conftest$ac_exeext conftest.$ac_ext
30388 LIBS=$ac_check_lib_save_LIBS
30389 fi
30390 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30391 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30392 if test $ac_cv_lib_socket_connect = yes; then
30393 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30394 fi
30395
30396 fi
30397
30398 # Guillermo Gomez says -lposix is necessary on A/UX.
30399 echo "$as_me:$LINENO: checking for remove" >&5
30400 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30401 if test "${ac_cv_func_remove+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404 cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h. */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30412 #define remove innocuous_remove
30413
30414 /* System header to define __stub macros and hopefully few prototypes,
30415 which can conflict with char remove (); below.
30416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30417 <limits.h> exists even on freestanding compilers. */
30418
30419 #ifdef __STDC__
30420 # include <limits.h>
30421 #else
30422 # include <assert.h>
30423 #endif
30424
30425 #undef remove
30426
30427 /* Override any gcc2 internal prototype to avoid an error. */
30428 #ifdef __cplusplus
30429 extern "C"
30430 {
30431 #endif
30432 /* We use char because int might match the return type of a gcc2
30433 builtin and then its argument prototype would still apply. */
30434 char remove ();
30435 /* The GNU C library defines this for functions which it implements
30436 to always fail with ENOSYS. Some functions are actually named
30437 something starting with __ and the normal name is an alias. */
30438 #if defined (__stub_remove) || defined (__stub___remove)
30439 choke me
30440 #else
30441 char (*f) () = remove;
30442 #endif
30443 #ifdef __cplusplus
30444 }
30445 #endif
30446
30447 int
30448 main ()
30449 {
30450 return f != remove;
30451 ;
30452 return 0;
30453 }
30454 _ACEOF
30455 rm -f conftest.$ac_objext conftest$ac_exeext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30457 (eval $ac_link) 2>conftest.er1
30458 ac_status=$?
30459 grep -v '^ *+' conftest.er1 >conftest.err
30460 rm -f conftest.er1
30461 cat conftest.err >&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); } &&
30464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30466 (eval $ac_try) 2>&5
30467 ac_status=$?
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); }; } &&
30470 { ac_try='test -s conftest$ac_exeext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30473 ac_status=$?
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30476 ac_cv_func_remove=yes
30477 else
30478 echo "$as_me: failed program was:" >&5
30479 sed 's/^/| /' conftest.$ac_ext >&5
30480
30481 ac_cv_func_remove=no
30482 fi
30483 rm -f conftest.err conftest.$ac_objext \
30484 conftest$ac_exeext conftest.$ac_ext
30485 fi
30486 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30487 echo "${ECHO_T}$ac_cv_func_remove" >&6
30488
30489 if test $ac_cv_func_remove = no; then
30490 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30491 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30492 if test "${ac_cv_lib_posix_remove+set}" = set; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 else
30495 ac_check_lib_save_LIBS=$LIBS
30496 LIBS="-lposix $LIBS"
30497 cat >conftest.$ac_ext <<_ACEOF
30498 /* confdefs.h. */
30499 _ACEOF
30500 cat confdefs.h >>conftest.$ac_ext
30501 cat >>conftest.$ac_ext <<_ACEOF
30502 /* end confdefs.h. */
30503
30504 /* Override any gcc2 internal prototype to avoid an error. */
30505 #ifdef __cplusplus
30506 extern "C"
30507 #endif
30508 /* We use char because int might match the return type of a gcc2
30509 builtin and then its argument prototype would still apply. */
30510 char remove ();
30511 int
30512 main ()
30513 {
30514 remove ();
30515 ;
30516 return 0;
30517 }
30518 _ACEOF
30519 rm -f conftest.$ac_objext conftest$ac_exeext
30520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30521 (eval $ac_link) 2>conftest.er1
30522 ac_status=$?
30523 grep -v '^ *+' conftest.er1 >conftest.err
30524 rm -f conftest.er1
30525 cat conftest.err >&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; } &&
30534 { ac_try='test -s conftest$ac_exeext'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30537 ac_status=$?
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30540 ac_cv_lib_posix_remove=yes
30541 else
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30544
30545 ac_cv_lib_posix_remove=no
30546 fi
30547 rm -f conftest.err conftest.$ac_objext \
30548 conftest$ac_exeext conftest.$ac_ext
30549 LIBS=$ac_check_lib_save_LIBS
30550 fi
30551 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30552 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30553 if test $ac_cv_lib_posix_remove = yes; then
30554 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30555 fi
30556
30557 fi
30558
30559 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30560 echo "$as_me:$LINENO: checking for shmat" >&5
30561 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30562 if test "${ac_cv_func_shmat+set}" = set; then
30563 echo $ECHO_N "(cached) $ECHO_C" >&6
30564 else
30565 cat >conftest.$ac_ext <<_ACEOF
30566 /* confdefs.h. */
30567 _ACEOF
30568 cat confdefs.h >>conftest.$ac_ext
30569 cat >>conftest.$ac_ext <<_ACEOF
30570 /* end confdefs.h. */
30571 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30573 #define shmat innocuous_shmat
30574
30575 /* System header to define __stub macros and hopefully few prototypes,
30576 which can conflict with char shmat (); below.
30577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30578 <limits.h> exists even on freestanding compilers. */
30579
30580 #ifdef __STDC__
30581 # include <limits.h>
30582 #else
30583 # include <assert.h>
30584 #endif
30585
30586 #undef shmat
30587
30588 /* Override any gcc2 internal prototype to avoid an error. */
30589 #ifdef __cplusplus
30590 extern "C"
30591 {
30592 #endif
30593 /* We use char because int might match the return type of a gcc2
30594 builtin and then its argument prototype would still apply. */
30595 char shmat ();
30596 /* The GNU C library defines this for functions which it implements
30597 to always fail with ENOSYS. Some functions are actually named
30598 something starting with __ and the normal name is an alias. */
30599 #if defined (__stub_shmat) || defined (__stub___shmat)
30600 choke me
30601 #else
30602 char (*f) () = shmat;
30603 #endif
30604 #ifdef __cplusplus
30605 }
30606 #endif
30607
30608 int
30609 main ()
30610 {
30611 return f != shmat;
30612 ;
30613 return 0;
30614 }
30615 _ACEOF
30616 rm -f conftest.$ac_objext conftest$ac_exeext
30617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30618 (eval $ac_link) 2>conftest.er1
30619 ac_status=$?
30620 grep -v '^ *+' conftest.er1 >conftest.err
30621 rm -f conftest.er1
30622 cat conftest.err >&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30628 ac_status=$?
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try='test -s conftest$ac_exeext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30634 ac_status=$?
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 ac_cv_func_shmat=yes
30638 else
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30641
30642 ac_cv_func_shmat=no
30643 fi
30644 rm -f conftest.err conftest.$ac_objext \
30645 conftest$ac_exeext conftest.$ac_ext
30646 fi
30647 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30648 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30649
30650 if test $ac_cv_func_shmat = no; then
30651 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30652 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30653 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656 ac_check_lib_save_LIBS=$LIBS
30657 LIBS="-lipc $LIBS"
30658 cat >conftest.$ac_ext <<_ACEOF
30659 /* confdefs.h. */
30660 _ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664
30665 /* Override any gcc2 internal prototype to avoid an error. */
30666 #ifdef __cplusplus
30667 extern "C"
30668 #endif
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30671 char shmat ();
30672 int
30673 main ()
30674 {
30675 shmat ();
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>conftest.er1
30683 ac_status=$?
30684 grep -v '^ *+' conftest.er1 >conftest.err
30685 rm -f conftest.er1
30686 cat conftest.err >&5
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); } &&
30689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; } &&
30695 { ac_try='test -s conftest$ac_exeext'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; }; then
30701 ac_cv_lib_ipc_shmat=yes
30702 else
30703 echo "$as_me: failed program was:" >&5
30704 sed 's/^/| /' conftest.$ac_ext >&5
30705
30706 ac_cv_lib_ipc_shmat=no
30707 fi
30708 rm -f conftest.err conftest.$ac_objext \
30709 conftest$ac_exeext conftest.$ac_ext
30710 LIBS=$ac_check_lib_save_LIBS
30711 fi
30712 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30713 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30714 if test $ac_cv_lib_ipc_shmat = yes; then
30715 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30716 fi
30717
30718 fi
30719 fi
30720
30721 # Check for libraries that X11R6 Xt/Xaw programs need.
30722 ac_save_LDFLAGS=$LDFLAGS
30723 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30724 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30725 # check for ICE first), but we must link in the order -lSM -lICE or
30726 # we get undefined symbols. So assume we have SM if we have ICE.
30727 # These have to be linked with before -lX11, unlike the other
30728 # libraries we check for below, so use a different variable.
30729 # John Interrante, Karl Berry
30730 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30731 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30732 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30733 echo $ECHO_N "(cached) $ECHO_C" >&6
30734 else
30735 ac_check_lib_save_LIBS=$LIBS
30736 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743
30744 /* Override any gcc2 internal prototype to avoid an error. */
30745 #ifdef __cplusplus
30746 extern "C"
30747 #endif
30748 /* We use char because int might match the return type of a gcc2
30749 builtin and then its argument prototype would still apply. */
30750 char IceConnectionNumber ();
30751 int
30752 main ()
30753 {
30754 IceConnectionNumber ();
30755 ;
30756 return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext conftest$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try='test -s conftest$ac_exeext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 ac_cv_lib_ICE_IceConnectionNumber=yes
30781 else
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 ac_cv_lib_ICE_IceConnectionNumber=no
30786 fi
30787 rm -f conftest.err conftest.$ac_objext \
30788 conftest$ac_exeext conftest.$ac_ext
30789 LIBS=$ac_check_lib_save_LIBS
30790 fi
30791 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30792 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30793 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30794 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30795 fi
30796
30797 LDFLAGS=$ac_save_LDFLAGS
30798
30799 fi
30800
30801
30802 if test "$no_x" = "yes"; then
30803 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30804 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30805 { (exit 1); exit 1; }; }
30806 fi
30807
30808 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30809 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30810 AFMINSTALL=afminstall
30811 COMPILED_X_PROGRAM=0
30812
30813 fi
30814
30815 if test "$wxUSE_X11" = 1; then
30816 if test "$wxUSE_NANOX" = "yes"; then
30817 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30818 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30819 if test "x$MICROWIN" = x ; then
30820 echo "$as_me:$LINENO: result: not found" >&5
30821 echo "${ECHO_T}not found" >&6
30822 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30823 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30824 { (exit 1); exit 1; }; }
30825 else
30826 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30827 echo "${ECHO_T}$MICROWIN" >&6
30828 cat >>confdefs.h <<\_ACEOF
30829 #define wxUSE_NANOX 1
30830 _ACEOF
30831
30832 fi
30833 fi
30834
30835 if test "$wxUSE_UNICODE" = "yes"; then
30836
30837
30838 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30839 if test -n "$ac_tool_prefix"; then
30840 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30841 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30842 echo "$as_me:$LINENO: checking for $ac_word" >&5
30843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30846 else
30847 case $PKG_CONFIG in
30848 [\\/]* | ?:[\\/]*)
30849 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30850 ;;
30851 *)
30852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30853 for as_dir in $PATH
30854 do
30855 IFS=$as_save_IFS
30856 test -z "$as_dir" && as_dir=.
30857 for ac_exec_ext in '' $ac_executable_extensions; do
30858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30859 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30861 break 2
30862 fi
30863 done
30864 done
30865
30866 ;;
30867 esac
30868 fi
30869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30870
30871 if test -n "$PKG_CONFIG"; then
30872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30873 echo "${ECHO_T}$PKG_CONFIG" >&6
30874 else
30875 echo "$as_me:$LINENO: result: no" >&5
30876 echo "${ECHO_T}no" >&6
30877 fi
30878
30879 fi
30880 if test -z "$ac_cv_path_PKG_CONFIG"; then
30881 ac_pt_PKG_CONFIG=$PKG_CONFIG
30882 # Extract the first word of "pkg-config", so it can be a program name with args.
30883 set dummy pkg-config; ac_word=$2
30884 echo "$as_me:$LINENO: checking for $ac_word" >&5
30885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30886 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 else
30889 case $ac_pt_PKG_CONFIG in
30890 [\\/]* | ?:[\\/]*)
30891 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30892 ;;
30893 *)
30894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30895 for as_dir in $PATH
30896 do
30897 IFS=$as_save_IFS
30898 test -z "$as_dir" && as_dir=.
30899 for ac_exec_ext in '' $ac_executable_extensions; do
30900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30901 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30903 break 2
30904 fi
30905 done
30906 done
30907
30908 ;;
30909 esac
30910 fi
30911 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30912
30913 if test -n "$ac_pt_PKG_CONFIG"; then
30914 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30915 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30916 else
30917 echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6
30919 fi
30920
30921 PKG_CONFIG=$ac_pt_PKG_CONFIG
30922 else
30923 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30924 fi
30925
30926 fi
30927 if test -n "$PKG_CONFIG"; then
30928 _pkg_min_version=0.9.0
30929 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30930 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30932 echo "$as_me:$LINENO: result: yes" >&5
30933 echo "${ECHO_T}yes" >&6
30934 else
30935 echo "$as_me:$LINENO: result: no" >&5
30936 echo "${ECHO_T}no" >&6
30937 PKG_CONFIG=""
30938 fi
30939
30940 fi
30941
30942
30943 pkg_failed=no
30944 echo "$as_me:$LINENO: checking for PANGOX" >&5
30945 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30946
30947 if test -n "$PKG_CONFIG"; then
30948 if test -n "$PANGOX_CFLAGS"; then
30949 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30950 else
30951 if test -n "$PKG_CONFIG" && \
30952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30953 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30954 ac_status=$?
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); }; then
30957 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30958 else
30959 pkg_failed=yes
30960 fi
30961 fi
30962 else
30963 pkg_failed=untried
30964 fi
30965 if test -n "$PKG_CONFIG"; then
30966 if test -n "$PANGOX_LIBS"; then
30967 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30968 else
30969 if test -n "$PKG_CONFIG" && \
30970 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30971 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30972 ac_status=$?
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); }; then
30975 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30976 else
30977 pkg_failed=yes
30978 fi
30979 fi
30980 else
30981 pkg_failed=untried
30982 fi
30983
30984
30985
30986 if test $pkg_failed = yes; then
30987
30988 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30989 _pkg_short_errors_supported=yes
30990 else
30991 _pkg_short_errors_supported=no
30992 fi
30993 if test $_pkg_short_errors_supported = yes; then
30994 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30995 else
30996 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30997 fi
30998 # Put the nasty error message in config.log where it belongs
30999 echo "$PANGOX_PKG_ERRORS" >&5
31000
31001
31002 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31003 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31004 { (exit 1); exit 1; }; }
31005
31006
31007 elif test $pkg_failed = untried; then
31008
31009 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31010 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31011 { (exit 1); exit 1; }; }
31012
31013
31014 else
31015 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31016 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31017 echo "$as_me:$LINENO: result: yes" >&5
31018 echo "${ECHO_T}yes" >&6
31019
31020 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31022
31023 fi
31024
31025 pkg_failed=no
31026 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31027 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31028
31029 if test -n "$PKG_CONFIG"; then
31030 if test -n "$PANGOFT2_CFLAGS"; then
31031 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31032 else
31033 if test -n "$PKG_CONFIG" && \
31034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31035 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; then
31039 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31040 else
31041 pkg_failed=yes
31042 fi
31043 fi
31044 else
31045 pkg_failed=untried
31046 fi
31047 if test -n "$PKG_CONFIG"; then
31048 if test -n "$PANGOFT2_LIBS"; then
31049 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31050 else
31051 if test -n "$PKG_CONFIG" && \
31052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31053 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31054 ac_status=$?
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; then
31057 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31058 else
31059 pkg_failed=yes
31060 fi
31061 fi
31062 else
31063 pkg_failed=untried
31064 fi
31065
31066
31067
31068 if test $pkg_failed = yes; then
31069
31070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31071 _pkg_short_errors_supported=yes
31072 else
31073 _pkg_short_errors_supported=no
31074 fi
31075 if test $_pkg_short_errors_supported = yes; then
31076 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31077 else
31078 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31079 fi
31080 # Put the nasty error message in config.log where it belongs
31081 echo "$PANGOFT2_PKG_ERRORS" >&5
31082
31083
31084 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31085 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31086 wxUSE_PRINTING_ARCHITECTURE="no"
31087
31088
31089 elif test $pkg_failed = untried; then
31090
31091 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31092 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31093 wxUSE_PRINTING_ARCHITECTURE="no"
31094
31095
31096 else
31097 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31098 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31099 echo "$as_me:$LINENO: result: yes" >&5
31100 echo "${ECHO_T}yes" >&6
31101
31102 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31103 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31104
31105 fi
31106
31107 pkg_failed=no
31108 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31109 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31110
31111 if test -n "$PKG_CONFIG"; then
31112 if test -n "$PANGOXFT_CFLAGS"; then
31113 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31114 else
31115 if test -n "$PKG_CONFIG" && \
31116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31117 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; then
31121 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31122 else
31123 pkg_failed=yes
31124 fi
31125 fi
31126 else
31127 pkg_failed=untried
31128 fi
31129 if test -n "$PKG_CONFIG"; then
31130 if test -n "$PANGOXFT_LIBS"; then
31131 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31132 else
31133 if test -n "$PKG_CONFIG" && \
31134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31135 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31136 ac_status=$?
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; then
31139 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31140 else
31141 pkg_failed=yes
31142 fi
31143 fi
31144 else
31145 pkg_failed=untried
31146 fi
31147
31148
31149
31150 if test $pkg_failed = yes; then
31151
31152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31153 _pkg_short_errors_supported=yes
31154 else
31155 _pkg_short_errors_supported=no
31156 fi
31157 if test $_pkg_short_errors_supported = yes; then
31158 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31159 else
31160 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31161 fi
31162 # Put the nasty error message in config.log where it belongs
31163 echo "$PANGOXFT_PKG_ERRORS" >&5
31164
31165
31166 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31167 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31168
31169
31170 elif test $pkg_failed = untried; then
31171
31172 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31173 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31174
31175
31176 else
31177 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31178 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31179 echo "$as_me:$LINENO: result: yes" >&5
31180 echo "${ECHO_T}yes" >&6
31181
31182 cat >>confdefs.h <<\_ACEOF
31183 #define HAVE_PANGO_XFT 1
31184 _ACEOF
31185
31186 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31187 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31188
31189 fi
31190 save_CXXFLAGS="$CXXFLAGS"
31191 save_LIBS="$LIBS"
31192 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31193 LIBS="$LIBS $PANGOX_LIBS"
31194
31195 for ac_func in pango_font_family_is_monospace
31196 do
31197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31198 echo "$as_me:$LINENO: checking for $ac_func" >&5
31199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31200 if eval "test \"\${$as_ac_var+set}\" = set"; then
31201 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 else
31203 cat >conftest.$ac_ext <<_ACEOF
31204 /* confdefs.h. */
31205 _ACEOF
31206 cat confdefs.h >>conftest.$ac_ext
31207 cat >>conftest.$ac_ext <<_ACEOF
31208 /* end confdefs.h. */
31209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31211 #define $ac_func innocuous_$ac_func
31212
31213 /* System header to define __stub macros and hopefully few prototypes,
31214 which can conflict with char $ac_func (); below.
31215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31216 <limits.h> exists even on freestanding compilers. */
31217
31218 #ifdef __STDC__
31219 # include <limits.h>
31220 #else
31221 # include <assert.h>
31222 #endif
31223
31224 #undef $ac_func
31225
31226 /* Override any gcc2 internal prototype to avoid an error. */
31227 #ifdef __cplusplus
31228 extern "C"
31229 {
31230 #endif
31231 /* We use char because int might match the return type of a gcc2
31232 builtin and then its argument prototype would still apply. */
31233 char $ac_func ();
31234 /* The GNU C library defines this for functions which it implements
31235 to always fail with ENOSYS. Some functions are actually named
31236 something starting with __ and the normal name is an alias. */
31237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31238 choke me
31239 #else
31240 char (*f) () = $ac_func;
31241 #endif
31242 #ifdef __cplusplus
31243 }
31244 #endif
31245
31246 int
31247 main ()
31248 {
31249 return f != $ac_func;
31250 ;
31251 return 0;
31252 }
31253 _ACEOF
31254 rm -f conftest.$ac_objext conftest$ac_exeext
31255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31256 (eval $ac_link) 2>conftest.er1
31257 ac_status=$?
31258 grep -v '^ *+' conftest.er1 >conftest.err
31259 rm -f conftest.er1
31260 cat conftest.err >&5
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); } &&
31263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31265 (eval $ac_try) 2>&5
31266 ac_status=$?
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); }; } &&
31269 { ac_try='test -s conftest$ac_exeext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31272 ac_status=$?
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 eval "$as_ac_var=yes"
31276 else
31277 echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.$ac_ext >&5
31279
31280 eval "$as_ac_var=no"
31281 fi
31282 rm -f conftest.err conftest.$ac_objext \
31283 conftest$ac_exeext conftest.$ac_ext
31284 fi
31285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31287 if test `eval echo '${'$as_ac_var'}'` = yes; then
31288 cat >>confdefs.h <<_ACEOF
31289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31290 _ACEOF
31291
31292 fi
31293 done
31294
31295 CXXFLAGS="$save_CXXFLAGS"
31296 LIBS="$save_LIBS"
31297 fi
31298
31299 wxUSE_UNIVERSAL="yes"
31300
31301 if test "$wxUSE_NANOX" = "yes"; then
31302 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31303 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"
31304 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31305 else
31306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31307 fi
31308
31309 TOOLKIT=X11
31310 GUIDIST=X11_DIST
31311 fi
31312
31313 if test "$wxUSE_MOTIF" = 1; then
31314 if test "$wxUSE_UNICODE" = "yes"; then
31315 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31316 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31317 { (exit 1); exit 1; }; }
31318 fi
31319
31320 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31321 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31322
31323 ac_find_includes=
31324 for ac_dir in $SEARCH_INCLUDE /usr/include;
31325 do
31326 if test -f "$ac_dir/Xm/Xm.h"; then
31327 ac_find_includes=$ac_dir
31328 break
31329 fi
31330 done
31331
31332 if test "$ac_find_includes" != "" ; then
31333 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31334 echo "${ECHO_T}found in $ac_find_includes" >&6
31335
31336 if test "x$ac_find_includes" = "x/usr/include"; then
31337 ac_path_to_include=""
31338 else
31339 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31340 result=$?
31341 if test $result = 0; then
31342 ac_path_to_include=""
31343 else
31344 ac_path_to_include=" -I$ac_find_includes"
31345 fi
31346 fi
31347
31348 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31349 else
31350 save_CXXFLAGS=$CXXFLAGS
31351 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31352
31353 cat >conftest.$ac_ext <<_ACEOF
31354 /* confdefs.h. */
31355 _ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359
31360 #include <Xm/Xm.h>
31361
31362 int
31363 main ()
31364 {
31365
31366 int version;
31367 version = xmUseVersion;
31368
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 rm -f conftest.$ac_objext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31375 (eval $ac_compile) 2>conftest.er1
31376 ac_status=$?
31377 grep -v '^ *+' conftest.er1 >conftest.err
31378 rm -f conftest.er1
31379 cat conftest.err >&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; } &&
31388 { ac_try='test -s conftest.$ac_objext'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31391 ac_status=$?
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; }; then
31394
31395 echo "$as_me:$LINENO: result: found in default search path" >&5
31396 echo "${ECHO_T}found in default search path" >&6
31397 COMPILED_X_PROGRAM=1
31398
31399 else
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31402
31403
31404 echo "$as_me:$LINENO: result: no" >&5
31405 echo "${ECHO_T}no" >&6
31406 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31407 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31408 { (exit 1); exit 1; }; }
31409
31410
31411 fi
31412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31413
31414 CXXFLAGS=$save_CXXFLAGS
31415 fi
31416
31417
31418 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31419 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31420
31421 ac_find_libraries=
31422 for ac_dir in $SEARCH_LIB;
31423 do
31424 for ac_extension in a so sl dylib dll.a; do
31425 if test -f "$ac_dir/libXm.$ac_extension"; then
31426 ac_find_libraries=$ac_dir
31427 break 2
31428 fi
31429 done
31430 done
31431
31432
31433 if test "x$ac_find_libraries" != "x" ; then
31434 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31435 echo "${ECHO_T}found in $ac_find_libraries" >&6
31436
31437
31438 if test "$ac_find_libraries" = "default location"; then
31439 ac_path_to_link=""
31440 else
31441 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31442 result=$?
31443 if test $result = 0; then
31444 ac_path_to_link=""
31445 else
31446 ac_path_to_link=" -L$ac_find_libraries"
31447 fi
31448 fi
31449
31450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31451 else
31452 save_CXXFLAGS=$CXXFLAGS
31453 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31454 save_LIBS="$LIBS"
31455 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31456
31457 cat >conftest.$ac_ext <<_ACEOF
31458 /* confdefs.h. */
31459 _ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31463
31464 #include <Xm/Xm.h>
31465
31466 int
31467 main ()
31468 {
31469
31470 int version;
31471 version = xmUseVersion;
31472
31473 ;
31474 return 0;
31475 }
31476 _ACEOF
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>conftest.er1
31480 ac_status=$?
31481 grep -v '^ *+' conftest.er1 >conftest.err
31482 rm -f conftest.er1
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } &&
31486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31488 (eval $ac_try) 2>&5
31489 ac_status=$?
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; } &&
31492 { ac_try='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498
31499 echo "$as_me:$LINENO: result: found in default search path" >&5
31500 echo "${ECHO_T}found in default search path" >&6
31501 COMPILED_X_PROGRAM=1
31502
31503 else
31504 echo "$as_me: failed program was:" >&5
31505 sed 's/^/| /' conftest.$ac_ext >&5
31506
31507
31508 echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6
31510 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31511 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31512 { (exit 1); exit 1; }; }
31513
31514
31515 fi
31516 rm -f conftest.err conftest.$ac_objext \
31517 conftest$ac_exeext conftest.$ac_ext
31518
31519 CXXFLAGS=$save_CXXFLAGS
31520 LIBS="$save_LIBS"
31521 fi
31522
31523 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31524 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31525 libp_link=""
31526 libsm_ice_link=""
31527 libs_found=0
31528 for libp in "" " -lXp"; do
31529 if test "$libs_found" = "0"; then
31530 for libsm_ice in "" " -lSM -lICE"; do
31531 if test "$libs_found" = "0"; then
31532 save_LIBS="$LIBS"
31533 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31534 save_CXXFLAGS=$CXXFLAGS
31535 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31536
31537 cat >conftest.$ac_ext <<_ACEOF
31538 /* confdefs.h. */
31539 _ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31543
31544 #include <Xm/Xm.h>
31545 #include <Xm/List.h>
31546
31547 int
31548 main ()
31549 {
31550
31551 XmString string = NULL;
31552 Widget w = NULL;
31553 int position = 0;
31554 XmListAddItem(w, string, position);
31555
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 rm -f conftest.$ac_objext conftest$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562 (eval $ac_link) 2>conftest.er1
31563 ac_status=$?
31564 grep -v '^ *+' conftest.er1 >conftest.err
31565 rm -f conftest.er1
31566 cat conftest.err >&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } &&
31569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31571 (eval $ac_try) 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; } &&
31575 { ac_try='test -s conftest$ac_exeext'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31578 ac_status=$?
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; }; then
31581
31582 libp_link="$libp"
31583 libsm_ice_link="$libsm_ice"
31584 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31585 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31586 libs_found=1
31587
31588 else
31589 echo "$as_me: failed program was:" >&5
31590 sed 's/^/| /' conftest.$ac_ext >&5
31591
31592
31593
31594 fi
31595 rm -f conftest.err conftest.$ac_objext \
31596 conftest$ac_exeext conftest.$ac_ext
31597
31598 LIBS="$save_LIBS"
31599 CXXFLAGS=$save_CXXFLAGS
31600 fi
31601 done
31602 fi
31603 done
31604
31605 if test "$libs_found" = "0"; then
31606 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31607 echo "${ECHO_T}can't find the right libraries" >&6
31608 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31609 echo "$as_me: error: can't link a simple motif program" >&2;}
31610 { (exit 1); exit 1; }; }
31611 fi
31612
31613 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31614 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31615 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31616 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 else
31618 ac_check_lib_save_LIBS=$LIBS
31619 LIBS="-lSgm $LIBS"
31620 cat >conftest.$ac_ext <<_ACEOF
31621 /* confdefs.h. */
31622 _ACEOF
31623 cat confdefs.h >>conftest.$ac_ext
31624 cat >>conftest.$ac_ext <<_ACEOF
31625 /* end confdefs.h. */
31626
31627 /* Override any gcc2 internal prototype to avoid an error. */
31628 #ifdef __cplusplus
31629 extern "C"
31630 #endif
31631 /* We use char because int might match the return type of a gcc2
31632 builtin and then its argument prototype would still apply. */
31633 char SgCreateList ();
31634 int
31635 main ()
31636 {
31637 SgCreateList ();
31638 ;
31639 return 0;
31640 }
31641 _ACEOF
31642 rm -f conftest.$ac_objext conftest$ac_exeext
31643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31644 (eval $ac_link) 2>conftest.er1
31645 ac_status=$?
31646 grep -v '^ *+' conftest.er1 >conftest.err
31647 rm -f conftest.er1
31648 cat conftest.err >&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } &&
31651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31654 ac_status=$?
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; } &&
31657 { ac_try='test -s conftest$ac_exeext'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31660 ac_status=$?
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }; then
31663 ac_cv_lib_Sgm_SgCreateList=yes
31664 else
31665 echo "$as_me: failed program was:" >&5
31666 sed 's/^/| /' conftest.$ac_ext >&5
31667
31668 ac_cv_lib_Sgm_SgCreateList=no
31669 fi
31670 rm -f conftest.err conftest.$ac_objext \
31671 conftest$ac_exeext conftest.$ac_ext
31672 LIBS=$ac_check_lib_save_LIBS
31673 fi
31674 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31675 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31676 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31677 libsgm_link=" -lSgm"
31678 fi
31679
31680
31681 save_CXXFLAGS=$CXXFLAGS
31682 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31683
31684 echo "$as_me:$LINENO: checking for Motif 2" >&5
31685 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31686 if test "${wx_cv_lib_motif2+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 else
31689 cat >conftest.$ac_ext <<_ACEOF
31690 /* confdefs.h. */
31691 _ACEOF
31692 cat confdefs.h >>conftest.$ac_ext
31693 cat >>conftest.$ac_ext <<_ACEOF
31694 /* end confdefs.h. */
31695
31696 #include <Xm/Xm.h>
31697
31698 int
31699 main ()
31700 {
31701
31702 #if XmVersion < 2000
31703 Not Motif 2
31704 #endif
31705
31706 ;
31707 return 0;
31708 }
31709 _ACEOF
31710 rm -f conftest.$ac_objext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31712 (eval $ac_compile) 2>conftest.er1
31713 ac_status=$?
31714 grep -v '^ *+' conftest.er1 >conftest.err
31715 rm -f conftest.er1
31716 cat conftest.err >&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try='test -s conftest.$ac_objext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 wx_cv_lib_motif2="yes"
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 wx_cv_lib_motif2="no"
31737 fi
31738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31739 fi
31740 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31741 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31742 if test "$wx_cv_lib_motif2" = "yes"; then
31743 cat >>confdefs.h <<\_ACEOF
31744 #define __WXMOTIF20__ 1
31745 _ACEOF
31746
31747 else
31748 cat >>confdefs.h <<\_ACEOF
31749 #define __WXMOTIF20__ 0
31750 _ACEOF
31751
31752 fi
31753
31754 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31755 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31756 if test "${wx_cv_lib_lesstif+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31759 cat >conftest.$ac_ext <<_ACEOF
31760 /* confdefs.h. */
31761 _ACEOF
31762 cat confdefs.h >>conftest.$ac_ext
31763 cat >>conftest.$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31765
31766 #include <Xm/Xm.h>
31767
31768 int
31769 main ()
31770 {
31771
31772 #if !defined(LesstifVersion) || LesstifVersion <= 0
31773 Not Lesstif
31774 #endif
31775
31776 ;
31777 return 0;
31778 }
31779 _ACEOF
31780 rm -f conftest.$ac_objext
31781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31782 (eval $ac_compile) 2>conftest.er1
31783 ac_status=$?
31784 grep -v '^ *+' conftest.er1 >conftest.err
31785 rm -f conftest.er1
31786 cat conftest.err >&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } &&
31789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31792 ac_status=$?
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; } &&
31795 { ac_try='test -s conftest.$ac_objext'
31796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31797 (eval $ac_try) 2>&5
31798 ac_status=$?
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); }; }; then
31801 wx_cv_lib_lesstif="yes"
31802 else
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.$ac_ext >&5
31805
31806 wx_cv_lib_lesstif="no"
31807 fi
31808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31809
31810 fi
31811 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31812 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31813 if test "$wx_cv_lib_lesstif" = "yes"; then
31814 cat >>confdefs.h <<\_ACEOF
31815 #define __WXLESSTIF__ 1
31816 _ACEOF
31817
31818 else
31819 cat >>confdefs.h <<\_ACEOF
31820 #define __WXLESSTIF__ 0
31821 _ACEOF
31822
31823 fi
31824
31825 CXXFLAGS=$save_CXXFLAGS
31826
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31828 TOOLKIT=MOTIF
31829 GUIDIST=MOTIF_DIST
31830 fi
31831
31832 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31833 if test "$wxUSE_LIBXPM" = "sys"; then
31834 echo "$as_me:$LINENO: checking for Xpm library" >&5
31835 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31836
31837 ac_find_libraries=
31838 for ac_dir in $SEARCH_LIB;
31839 do
31840 for ac_extension in a so sl dylib dll.a; do
31841 if test -f "$ac_dir/libXpm.$ac_extension"; then
31842 ac_find_libraries=$ac_dir
31843 break 2
31844 fi
31845 done
31846 done
31847
31848 if test "$ac_find_libraries" != "" ; then
31849
31850 if test "$ac_find_libraries" = "default location"; then
31851 ac_path_to_link=""
31852 else
31853 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31854 result=$?
31855 if test $result = 0; then
31856 ac_path_to_link=""
31857 else
31858 ac_path_to_link=" -L$ac_find_libraries"
31859 fi
31860 fi
31861
31862 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31863 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31864 echo "${ECHO_T}found in $ac_find_libraries" >&6
31865
31866 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31867 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31868 if test "${wx_cv_x11_xpm_h+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 else
31871
31872 save_CXXFLAGS=$CXXFLAGS
31873 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31874
31875 cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h. */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881
31882 #include <X11/xpm.h>
31883
31884 int
31885 main ()
31886 {
31887
31888 int version;
31889 version = XpmLibraryVersion();
31890
31891 ;
31892 return 0;
31893 }
31894 _ACEOF
31895 rm -f conftest.$ac_objext
31896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31897 (eval $ac_compile) 2>conftest.er1
31898 ac_status=$?
31899 grep -v '^ *+' conftest.er1 >conftest.err
31900 rm -f conftest.er1
31901 cat conftest.err >&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } &&
31904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31907 ac_status=$?
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; } &&
31910 { ac_try='test -s conftest.$ac_objext'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31913 ac_status=$?
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; }; then
31916 wx_cv_x11_xpm_h=yes
31917 else
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.$ac_ext >&5
31920
31921 wx_cv_x11_xpm_h=no
31922
31923 fi
31924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31925
31926 CXXFLAGS=$save_CXXFLAGS
31927
31928
31929 fi
31930 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31931 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31932
31933 if test $wx_cv_x11_xpm_h = "yes"; then
31934 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31935 cat >>confdefs.h <<\_ACEOF
31936 #define wxHAVE_LIB_XPM 1
31937 _ACEOF
31938
31939 else
31940 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31941 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31942 fi
31943 fi
31944
31945 fi
31946
31947 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31948 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31949 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31952 ac_check_lib_save_LIBS=$LIBS
31953 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31954 cat >conftest.$ac_ext <<_ACEOF
31955 /* confdefs.h. */
31956 _ACEOF
31957 cat confdefs.h >>conftest.$ac_ext
31958 cat >>conftest.$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31960
31961 /* Override any gcc2 internal prototype to avoid an error. */
31962 #ifdef __cplusplus
31963 extern "C"
31964 #endif
31965 /* We use char because int might match the return type of a gcc2
31966 builtin and then its argument prototype would still apply. */
31967 char XShapeQueryExtension ();
31968 int
31969 main ()
31970 {
31971 XShapeQueryExtension ();
31972 ;
31973 return 0;
31974 }
31975 _ACEOF
31976 rm -f conftest.$ac_objext conftest$ac_exeext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31978 (eval $ac_link) 2>conftest.er1
31979 ac_status=$?
31980 grep -v '^ *+' conftest.er1 >conftest.err
31981 rm -f conftest.er1
31982 cat conftest.err >&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); } &&
31985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31988 ac_status=$?
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; } &&
31991 { ac_try='test -s conftest$ac_exeext'
31992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31993 (eval $ac_try) 2>&5
31994 ac_status=$?
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); }; }; then
31997 ac_cv_lib_Xext_XShapeQueryExtension=yes
31998 else
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.$ac_ext >&5
32001
32002 ac_cv_lib_Xext_XShapeQueryExtension=no
32003 fi
32004 rm -f conftest.err conftest.$ac_objext \
32005 conftest$ac_exeext conftest.$ac_ext
32006 LIBS=$ac_check_lib_save_LIBS
32007 fi
32008 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32009 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32010 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32011
32012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32013 wxHAVE_XEXT_LIB=1
32014
32015 fi
32016
32017
32018 if test "$wxHAVE_XEXT_LIB" = 1; then
32019 save_CXXFLAGS="$CXXFLAGS"
32020 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32021
32022 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32023 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32024 cat >conftest.$ac_ext <<_ACEOF
32025 /* confdefs.h. */
32026 _ACEOF
32027 cat confdefs.h >>conftest.$ac_ext
32028 cat >>conftest.$ac_ext <<_ACEOF
32029 /* end confdefs.h. */
32030
32031 #include <X11/Xlib.h>
32032 #include <X11/extensions/shape.h>
32033
32034 int
32035 main ()
32036 {
32037
32038 int dummy1, dummy2;
32039 XShapeQueryExtension((Display*)NULL,
32040 (int*)NULL, (int*)NULL);
32041
32042 ;
32043 return 0;
32044 }
32045 _ACEOF
32046 rm -f conftest.$ac_objext
32047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32048 (eval $ac_compile) 2>conftest.er1
32049 ac_status=$?
32050 grep -v '^ *+' conftest.er1 >conftest.err
32051 rm -f conftest.er1
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } &&
32055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057 (eval $ac_try) 2>&5
32058 ac_status=$?
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); }; } &&
32061 { ac_try='test -s conftest.$ac_objext'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32064 ac_status=$?
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; }; then
32067
32068 cat >>confdefs.h <<\_ACEOF
32069 #define HAVE_XSHAPE 1
32070 _ACEOF
32071
32072 echo "$as_me:$LINENO: result: found" >&5
32073 echo "${ECHO_T}found" >&6
32074
32075 else
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.$ac_ext >&5
32078
32079
32080 echo "$as_me:$LINENO: result: not found" >&5
32081 echo "${ECHO_T}not found" >&6
32082
32083 fi
32084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32085 CXXFLAGS="$save_CXXFLAGS"
32086
32087 fi
32088 fi
32089
32090 if test "$wxUSE_MAC" = 1; then
32091 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32092 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32093 if test "$GCC" = yes; then
32094 echo "$as_me:$LINENO: result: gcc" >&5
32095 echo "${ECHO_T}gcc" >&6
32096 CPPFLAGS_PASCAL="-fpascal-strings"
32097 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32098 echo "$as_me:$LINENO: result: xlc" >&5
32099 echo "${ECHO_T}xlc" >&6
32100 CPPFLAGS_PASCAL="-qmacpstr"
32101 else
32102 echo "$as_me:$LINENO: result: none" >&5
32103 echo "${ECHO_T}none" >&6
32104 fi
32105
32106 if test "x$wxUSE_UNIX" = "xyes"; then
32107 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32108 else
32109 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32110 fi
32111
32112 TOOLKIT=MAC
32113 GUIDIST=MACX_DIST
32114 WXBASEPORT="_carbon"
32115 fi
32116
32117 if test "$wxUSE_COCOA" = 1; then
32118 TOOLKIT=COCOA
32119 GUIDIST=COCOA_DIST
32120 fi
32121
32122 if test "$wxUSE_PM" = 1; then
32123 TOOLKIT=PM
32124 GUIDIST=PM_DIST
32125 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32126 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32127 if test "${wx_cv_spbcdata+set}" = set; then
32128 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 else
32130
32131 cat >conftest.$ac_ext <<_ACEOF
32132 /* confdefs.h. */
32133 _ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137
32138 #define INCL_PM
32139 #include <os2.h>
32140
32141 int
32142 main ()
32143 {
32144
32145 SPBCDATA test;
32146
32147 ;
32148 return 0;
32149 }
32150 _ACEOF
32151 rm -f conftest.$ac_objext
32152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32153 (eval $ac_compile) 2>conftest.er1
32154 ac_status=$?
32155 grep -v '^ *+' conftest.er1 >conftest.err
32156 rm -f conftest.er1
32157 cat conftest.err >&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } &&
32160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162 (eval $ac_try) 2>&5
32163 ac_status=$?
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); }; } &&
32166 { ac_try='test -s conftest.$ac_objext'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32169 ac_status=$?
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; }; then
32172 wx_cv_spbcdata=yes
32173 else
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32176
32177 wx_cv_spbcdata=no
32178
32179 fi
32180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32181
32182
32183 fi
32184 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32185 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32186
32187 if test $wx_cv_spbcdata = "yes"; then
32188 cat >>confdefs.h <<\_ACEOF
32189 #define HAVE_SPBCDATA 1
32190 _ACEOF
32191
32192 fi
32193 fi
32194
32195 if test "$TOOLKIT" = "PM" ; then
32196 TOOLKIT_DIR="os2"
32197 else
32198 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32199 fi
32200
32201 if test "$wxUSE_UNIVERSAL" = "yes"; then
32202 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32203 WIDGET_SET=univ
32204 fi
32205
32206 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32207 DISTDIR="wx\$(TOOLKIT)"
32208 else
32209 USE_GUI=0
32210
32211 TOOLKIT_DIR="base"
32212
32213 if test "$USE_WIN32" = 1 ; then
32214 TOOLKIT="MSW"
32215 fi
32216
32217 GUIDIST="BASE_DIST"
32218 DISTDIR="wxBase"
32219 fi
32220
32221
32222 if test "$wxUSE_GUI" = "yes"; then
32223 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32224
32225 for ac_header in X11/Xlib.h
32226 do
32227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32229 echo "$as_me:$LINENO: checking for $ac_header" >&5
32230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32232 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 fi
32234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32236 else
32237 # Is the header compilable?
32238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 $ac_includes_default
32247 #include <$ac_header>
32248 _ACEOF
32249 rm -f conftest.$ac_objext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32251 (eval $ac_compile) 2>conftest.er1
32252 ac_status=$?
32253 grep -v '^ *+' conftest.er1 >conftest.err
32254 rm -f conftest.er1
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 ac_header_compiler=yes
32271 else
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.$ac_ext >&5
32274
32275 ac_header_compiler=no
32276 fi
32277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32279 echo "${ECHO_T}$ac_header_compiler" >&6
32280
32281 # Is the header present?
32282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32284 cat >conftest.$ac_ext <<_ACEOF
32285 /* confdefs.h. */
32286 _ACEOF
32287 cat confdefs.h >>conftest.$ac_ext
32288 cat >>conftest.$ac_ext <<_ACEOF
32289 /* end confdefs.h. */
32290 #include <$ac_header>
32291 _ACEOF
32292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32294 ac_status=$?
32295 grep -v '^ *+' conftest.er1 >conftest.err
32296 rm -f conftest.er1
32297 cat conftest.err >&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } >/dev/null; then
32300 if test -s conftest.err; then
32301 ac_cpp_err=$ac_cxx_preproc_warn_flag
32302 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32303 else
32304 ac_cpp_err=
32305 fi
32306 else
32307 ac_cpp_err=yes
32308 fi
32309 if test -z "$ac_cpp_err"; then
32310 ac_header_preproc=yes
32311 else
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32314
32315 ac_header_preproc=no
32316 fi
32317 rm -f conftest.err conftest.$ac_ext
32318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32319 echo "${ECHO_T}$ac_header_preproc" >&6
32320
32321 # So? What about this header?
32322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32323 yes:no: )
32324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32328 ac_header_preproc=yes
32329 ;;
32330 no:yes:* )
32331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32343 (
32344 cat <<\_ASBOX
32345 ## ----------------------------------------- ##
32346 ## Report this to wx-dev@lists.wxwidgets.org ##
32347 ## ----------------------------------------- ##
32348 _ASBOX
32349 ) |
32350 sed "s/^/$as_me: WARNING: /" >&2
32351 ;;
32352 esac
32353 echo "$as_me:$LINENO: checking for $ac_header" >&5
32354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32357 else
32358 eval "$as_ac_Header=\$ac_header_preproc"
32359 fi
32360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32362
32363 fi
32364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32365 cat >>confdefs.h <<_ACEOF
32366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32367 _ACEOF
32368
32369 fi
32370
32371 done
32372
32373
32374 for ac_header in X11/XKBlib.h
32375 do
32376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32377 echo "$as_me:$LINENO: checking for $ac_header" >&5
32378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32380 echo $ECHO_N "(cached) $ECHO_C" >&6
32381 else
32382 cat >conftest.$ac_ext <<_ACEOF
32383 /* confdefs.h. */
32384 _ACEOF
32385 cat confdefs.h >>conftest.$ac_ext
32386 cat >>conftest.$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32388
32389 #if HAVE_X11_XLIB_H
32390 #include <X11/Xlib.h>
32391 #endif
32392
32393
32394 #include <$ac_header>
32395 _ACEOF
32396 rm -f conftest.$ac_objext
32397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32398 (eval $ac_compile) 2>conftest.er1
32399 ac_status=$?
32400 grep -v '^ *+' conftest.er1 >conftest.err
32401 rm -f conftest.er1
32402 cat conftest.err >&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } &&
32405 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32407 (eval $ac_try) 2>&5
32408 ac_status=$?
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); }; } &&
32411 { ac_try='test -s conftest.$ac_objext'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32414 ac_status=$?
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; }; then
32417 eval "$as_ac_Header=yes"
32418 else
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32421
32422 eval "$as_ac_Header=no"
32423 fi
32424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32425 fi
32426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32429 cat >>confdefs.h <<_ACEOF
32430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32431 _ACEOF
32432
32433 fi
32434
32435 done
32436
32437 fi
32438 fi
32439
32440
32441
32442 IODBC_C_SRC=""
32443
32444
32445 if test "$TOOLKIT" != "MSW" ; then
32446
32447 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32448
32449 if test "${ac_cv_header_sql_h+set}" = set; then
32450 echo "$as_me:$LINENO: checking for sql.h" >&5
32451 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32452 if test "${ac_cv_header_sql_h+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 fi
32455 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32456 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32457 else
32458 # Is the header compilable?
32459 echo "$as_me:$LINENO: checking sql.h usability" >&5
32460 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32461 cat >conftest.$ac_ext <<_ACEOF
32462 /* confdefs.h. */
32463 _ACEOF
32464 cat confdefs.h >>conftest.$ac_ext
32465 cat >>conftest.$ac_ext <<_ACEOF
32466 /* end confdefs.h. */
32467 $ac_includes_default
32468 #include <sql.h>
32469 _ACEOF
32470 rm -f conftest.$ac_objext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32472 (eval $ac_compile) 2>conftest.er1
32473 ac_status=$?
32474 grep -v '^ *+' conftest.er1 >conftest.err
32475 rm -f conftest.er1
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32482 ac_status=$?
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; } &&
32485 { ac_try='test -s conftest.$ac_objext'
32486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32487 (eval $ac_try) 2>&5
32488 ac_status=$?
32489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490 (exit $ac_status); }; }; then
32491 ac_header_compiler=yes
32492 else
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.$ac_ext >&5
32495
32496 ac_header_compiler=no
32497 fi
32498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32500 echo "${ECHO_T}$ac_header_compiler" >&6
32501
32502 # Is the header present?
32503 echo "$as_me:$LINENO: checking sql.h presence" >&5
32504 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32505 cat >conftest.$ac_ext <<_ACEOF
32506 /* confdefs.h. */
32507 _ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511 #include <sql.h>
32512 _ACEOF
32513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32515 ac_status=$?
32516 grep -v '^ *+' conftest.er1 >conftest.err
32517 rm -f conftest.er1
32518 cat conftest.err >&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } >/dev/null; then
32521 if test -s conftest.err; then
32522 ac_cpp_err=$ac_cxx_preproc_warn_flag
32523 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32524 else
32525 ac_cpp_err=
32526 fi
32527 else
32528 ac_cpp_err=yes
32529 fi
32530 if test -z "$ac_cpp_err"; then
32531 ac_header_preproc=yes
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 ac_header_preproc=no
32537 fi
32538 rm -f conftest.err conftest.$ac_ext
32539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32540 echo "${ECHO_T}$ac_header_preproc" >&6
32541
32542 # So? What about this header?
32543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32544 yes:no: )
32545 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32546 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32547 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32548 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32549 ac_header_preproc=yes
32550 ;;
32551 no:yes:* )
32552 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32553 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32554 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32555 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32556 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32557 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32559 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32560 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32561 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32562 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32563 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32564 (
32565 cat <<\_ASBOX
32566 ## ----------------------------------------- ##
32567 ## Report this to wx-dev@lists.wxwidgets.org ##
32568 ## ----------------------------------------- ##
32569 _ASBOX
32570 ) |
32571 sed "s/^/$as_me: WARNING: /" >&2
32572 ;;
32573 esac
32574 echo "$as_me:$LINENO: checking for sql.h" >&5
32575 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32576 if test "${ac_cv_header_sql_h+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 else
32579 ac_cv_header_sql_h=$ac_header_preproc
32580 fi
32581 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32582 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32583
32584 fi
32585 if test $ac_cv_header_sql_h = yes; then
32586 found_sql_h=1
32587 fi
32588
32589
32590 if test "x$found_sql_h" = "x1" ; then
32591 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32592 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32593 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 else
32596 ac_check_lib_save_LIBS=$LIBS
32597 LIBS="-liodbc $LIBS"
32598 cat >conftest.$ac_ext <<_ACEOF
32599 /* confdefs.h. */
32600 _ACEOF
32601 cat confdefs.h >>conftest.$ac_ext
32602 cat >>conftest.$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32604
32605 /* Override any gcc2 internal prototype to avoid an error. */
32606 #ifdef __cplusplus
32607 extern "C"
32608 #endif
32609 /* We use char because int might match the return type of a gcc2
32610 builtin and then its argument prototype would still apply. */
32611 char SQLAllocEnv ();
32612 int
32613 main ()
32614 {
32615 SQLAllocEnv ();
32616 ;
32617 return 0;
32618 }
32619 _ACEOF
32620 rm -f conftest.$ac_objext conftest$ac_exeext
32621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32622 (eval $ac_link) 2>conftest.er1
32623 ac_status=$?
32624 grep -v '^ *+' conftest.er1 >conftest.err
32625 rm -f conftest.er1
32626 cat conftest.err >&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); } &&
32629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32631 (eval $ac_try) 2>&5
32632 ac_status=$?
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; } &&
32635 { ac_try='test -s conftest$ac_exeext'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; }; then
32641 ac_cv_lib_iodbc_SQLAllocEnv=yes
32642 else
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32645
32646 ac_cv_lib_iodbc_SQLAllocEnv=no
32647 fi
32648 rm -f conftest.err conftest.$ac_objext \
32649 conftest$ac_exeext conftest.$ac_ext
32650 LIBS=$ac_check_lib_save_LIBS
32651 fi
32652 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32653 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32654 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32655 ODBC_LINK=" -liodbc"
32656 else
32657
32658 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32659 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32660 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 else
32663 ac_check_lib_save_LIBS=$LIBS
32664 LIBS="-lunixodbc $LIBS"
32665 cat >conftest.$ac_ext <<_ACEOF
32666 /* confdefs.h. */
32667 _ACEOF
32668 cat confdefs.h >>conftest.$ac_ext
32669 cat >>conftest.$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671
32672 /* Override any gcc2 internal prototype to avoid an error. */
32673 #ifdef __cplusplus
32674 extern "C"
32675 #endif
32676 /* We use char because int might match the return type of a gcc2
32677 builtin and then its argument prototype would still apply. */
32678 char SQLAllocEnv ();
32679 int
32680 main ()
32681 {
32682 SQLAllocEnv ();
32683 ;
32684 return 0;
32685 }
32686 _ACEOF
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698 (eval $ac_try) 2>&5
32699 ac_status=$?
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try='test -s conftest$ac_exeext'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32705 ac_status=$?
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; }; then
32708 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32709 else
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.$ac_ext >&5
32712
32713 ac_cv_lib_unixodbc_SQLAllocEnv=no
32714 fi
32715 rm -f conftest.err conftest.$ac_objext \
32716 conftest$ac_exeext conftest.$ac_ext
32717 LIBS=$ac_check_lib_save_LIBS
32718 fi
32719 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32720 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32721 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32722 ODBC_LINK=" -lunixodbc"
32723 else
32724
32725 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32726 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32727 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32728 echo $ECHO_N "(cached) $ECHO_C" >&6
32729 else
32730 ac_check_lib_save_LIBS=$LIBS
32731 LIBS="-lodbc $LIBS"
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738
32739 /* Override any gcc2 internal prototype to avoid an error. */
32740 #ifdef __cplusplus
32741 extern "C"
32742 #endif
32743 /* We use char because int might match the return type of a gcc2
32744 builtin and then its argument prototype would still apply. */
32745 char SQLAllocEnv ();
32746 int
32747 main ()
32748 {
32749 SQLAllocEnv ();
32750 ;
32751 return 0;
32752 }
32753 _ACEOF
32754 rm -f conftest.$ac_objext conftest$ac_exeext
32755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32756 (eval $ac_link) 2>conftest.er1
32757 ac_status=$?
32758 grep -v '^ *+' conftest.er1 >conftest.err
32759 rm -f conftest.er1
32760 cat conftest.err >&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } &&
32763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32765 (eval $ac_try) 2>&5
32766 ac_status=$?
32767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768 (exit $ac_status); }; } &&
32769 { ac_try='test -s conftest$ac_exeext'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32772 ac_status=$?
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; }; then
32775 ac_cv_lib_odbc_SQLAllocEnv=yes
32776 else
32777 echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.$ac_ext >&5
32779
32780 ac_cv_lib_odbc_SQLAllocEnv=no
32781 fi
32782 rm -f conftest.err conftest.$ac_objext \
32783 conftest$ac_exeext conftest.$ac_ext
32784 LIBS=$ac_check_lib_save_LIBS
32785 fi
32786 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32787 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32788 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32789 ODBC_LINK=" -lodbc"
32790 fi
32791
32792
32793 fi
32794
32795
32796 fi
32797
32798 fi
32799 if test "x$ODBC_LINK" = "x" ; then
32800 if test "$wxUSE_ODBC" = "sys" ; then
32801 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32802 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32803 { (exit 1); exit 1; }; }
32804 else
32805 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32806 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32807 wxUSE_ODBC=builtin
32808 fi
32809 else
32810 wxUSE_ODBC=sys
32811 fi
32812 fi
32813
32814 if test "$wxUSE_ODBC" = "builtin" ; then
32815 cat >>confdefs.h <<\_ACEOF
32816 #define wxUSE_BUILTIN_IODBC 1
32817 _ACEOF
32818
32819 fi
32820 fi
32821
32822 if test "$wxUSE_ODBC" != "no" ; then
32823 cat >>confdefs.h <<\_ACEOF
32824 #define wxUSE_ODBC 1
32825 _ACEOF
32826
32827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32828
32829 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32830 fi
32831
32832
32833 if test "$wxUSE_DISPLAY" = "yes"; then
32834 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32835 echo "$as_me:$LINENO: checking for Xinerama" >&5
32836 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32837
32838 ac_find_libraries=
32839 for ac_dir in $SEARCH_LIB;
32840 do
32841 for ac_extension in a so sl dylib dll.a; do
32842 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32843 ac_find_libraries=$ac_dir
32844 break 2
32845 fi
32846 done
32847 done
32848
32849 if test "$ac_find_libraries" != "" ; then
32850
32851 if test "$ac_find_libraries" = "default location"; then
32852 ac_path_to_link=""
32853 else
32854 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32855 result=$?
32856 if test $result = 0; then
32857 ac_path_to_link=""
32858 else
32859 ac_path_to_link=" -L$ac_find_libraries"
32860 fi
32861 fi
32862
32863 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32864 LDFLAGS="$LDFLAGS $ac_path_to_link"
32865 fi
32866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32867 echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6
32869
32870 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32871 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32872
32873 ac_find_libraries=
32874 for ac_dir in $SEARCH_LIB;
32875 do
32876 for ac_extension in a so sl dylib dll.a; do
32877 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32878 ac_find_libraries=$ac_dir
32879 break 2
32880 fi
32881 done
32882 done
32883
32884 if test "$ac_find_libraries" != "" ; then
32885 echo "$as_me:$LINENO: result: yes" >&5
32886 echo "${ECHO_T}yes" >&6
32887
32888 for ac_header in X11/extensions/xf86vmode.h
32889 do
32890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32891 echo "$as_me:$LINENO: checking for $ac_header" >&5
32892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32896 cat >conftest.$ac_ext <<_ACEOF
32897 /* confdefs.h. */
32898 _ACEOF
32899 cat confdefs.h >>conftest.$ac_ext
32900 cat >>conftest.$ac_ext <<_ACEOF
32901 /* end confdefs.h. */
32902
32903 #if HAVE_X11_XLIB_H
32904 #include <X11/Xlib.h>
32905 #endif
32906
32907
32908 #include <$ac_header>
32909 _ACEOF
32910 rm -f conftest.$ac_objext
32911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32912 (eval $ac_compile) 2>conftest.er1
32913 ac_status=$?
32914 grep -v '^ *+' conftest.er1 >conftest.err
32915 rm -f conftest.er1
32916 cat conftest.err >&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); } &&
32919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32922 ac_status=$?
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try='test -s conftest.$ac_objext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32931 eval "$as_ac_Header=yes"
32932 else
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 eval "$as_ac_Header=no"
32937 fi
32938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32939 fi
32940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32943 cat >>confdefs.h <<_ACEOF
32944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32945 _ACEOF
32946
32947 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32948
32949 fi
32950
32951 done
32952
32953 else
32954 echo "$as_me:$LINENO: result: no" >&5
32955 echo "${ECHO_T}no" >&6
32956 fi
32957
32958 else
32959 echo "$as_me:$LINENO: result: no" >&5
32960 echo "${ECHO_T}no" >&6
32961 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32962 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32963 wxUSE_DISPLAY="no"
32964 fi
32965 elif test "$wxUSE_MSW" = 1; then
32966
32967 for ac_header in ddraw.h
32968 do
32969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32970 echo "$as_me:$LINENO: checking for $ac_header" >&5
32971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32973 echo $ECHO_N "(cached) $ECHO_C" >&6
32974 else
32975 cat >conftest.$ac_ext <<_ACEOF
32976 /* confdefs.h. */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32981 #include <windows.h>
32982
32983 #include <$ac_header>
32984 _ACEOF
32985 rm -f conftest.$ac_objext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32987 (eval $ac_compile) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; } &&
33000 { ac_try='test -s conftest.$ac_objext'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33003 ac_status=$?
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; }; then
33006 eval "$as_ac_Header=yes"
33007 else
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 eval "$as_ac_Header=no"
33012 fi
33013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33014 fi
33015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33018 cat >>confdefs.h <<_ACEOF
33019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33020 _ACEOF
33021
33022 fi
33023
33024 done
33025
33026 fi
33027 fi
33028
33029 if test "$wxUSE_DETECT_SM" = "yes"; then
33030 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33031 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33032 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33033
33034 ac_find_libraries=
33035 for ac_dir in $SEARCH_LIB;
33036 do
33037 for ac_extension in a so sl dylib dll.a; do
33038 if test -f "$ac_dir/libSM.$ac_extension"; then
33039 ac_find_libraries=$ac_dir
33040 break 2
33041 fi
33042 done
33043 done
33044
33045 if test "$ac_find_libraries" != "" ; then
33046
33047 if test "$ac_find_libraries" = "default location"; then
33048 ac_path_to_link=""
33049 else
33050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33051 result=$?
33052 if test $result = 0; then
33053 ac_path_to_link=""
33054 else
33055 ac_path_to_link=" -L$ac_find_libraries"
33056 fi
33057 fi
33058
33059 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33060 LDFLAGS="$LDFLAGS $ac_path_to_link"
33061 fi
33062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33063 echo "$as_me:$LINENO: result: yes" >&5
33064 echo "${ECHO_T}yes" >&6
33065 else
33066 echo "$as_me:$LINENO: result: no" >&5
33067 echo "${ECHO_T}no" >&6
33068 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33069 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33070 wxUSE_DETECT_SM="no"
33071 fi
33072 else
33073 wxUSE_DETECT_SM="no"
33074 fi
33075 fi
33076
33077
33078
33079 USE_OPENGL=0
33080 if test "$wxUSE_OPENGL" = "yes"; then
33081 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33082 OPENGL_LIBS="-framework OpenGL -framework AGL"
33083 elif test "$wxUSE_MSW" = 1; then
33084 OPENGL_LIBS="-lopengl32 -lglu32"
33085 else
33086
33087
33088 ac_find_includes=
33089 for ac_dir in $SEARCH_INCLUDE /usr/include;
33090 do
33091 if test -f "$ac_dir/GL/gl.h"; then
33092 ac_find_includes=$ac_dir
33093 break
33094 fi
33095 done
33096
33097 if test "$ac_find_includes" != "" ; then
33098 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33099 echo "${ECHO_T}found in $ac_find_includes" >&6
33100
33101 if test "x$ac_find_includes" = "x/usr/include"; then
33102 ac_path_to_include=""
33103 else
33104 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33105 result=$?
33106 if test $result = 0; then
33107 ac_path_to_include=""
33108 else
33109 ac_path_to_include=" -I$ac_find_includes"
33110 fi
33111 fi
33112
33113 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33114 fi
33115
33116 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33117 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33118 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33119 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 fi
33122 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33123 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33124 else
33125 # Is the header compilable?
33126 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33127 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 $ac_includes_default
33135 #include <GL/gl.h>
33136 _ACEOF
33137 rm -f conftest.$ac_objext
33138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33139 (eval $ac_compile) 2>conftest.er1
33140 ac_status=$?
33141 grep -v '^ *+' conftest.er1 >conftest.err
33142 rm -f conftest.er1
33143 cat conftest.err >&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); } &&
33146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33148 (eval $ac_try) 2>&5
33149 ac_status=$?
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); }; } &&
33152 { ac_try='test -s conftest.$ac_objext'
33153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154 (eval $ac_try) 2>&5
33155 ac_status=$?
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; }; then
33158 ac_header_compiler=yes
33159 else
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33162
33163 ac_header_compiler=no
33164 fi
33165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33167 echo "${ECHO_T}$ac_header_compiler" >&6
33168
33169 # Is the header present?
33170 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33171 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33172 cat >conftest.$ac_ext <<_ACEOF
33173 /* confdefs.h. */
33174 _ACEOF
33175 cat confdefs.h >>conftest.$ac_ext
33176 cat >>conftest.$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33178 #include <GL/gl.h>
33179 _ACEOF
33180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33182 ac_status=$?
33183 grep -v '^ *+' conftest.er1 >conftest.err
33184 rm -f conftest.er1
33185 cat conftest.err >&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } >/dev/null; then
33188 if test -s conftest.err; then
33189 ac_cpp_err=$ac_cxx_preproc_warn_flag
33190 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33191 else
33192 ac_cpp_err=
33193 fi
33194 else
33195 ac_cpp_err=yes
33196 fi
33197 if test -z "$ac_cpp_err"; then
33198 ac_header_preproc=yes
33199 else
33200 echo "$as_me: failed program was:" >&5
33201 sed 's/^/| /' conftest.$ac_ext >&5
33202
33203 ac_header_preproc=no
33204 fi
33205 rm -f conftest.err conftest.$ac_ext
33206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33207 echo "${ECHO_T}$ac_header_preproc" >&6
33208
33209 # So? What about this header?
33210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33211 yes:no: )
33212 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33213 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33215 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33216 ac_header_preproc=yes
33217 ;;
33218 no:yes:* )
33219 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33220 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33221 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33222 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33223 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33224 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33226 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33228 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33230 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33231 (
33232 cat <<\_ASBOX
33233 ## ----------------------------------------- ##
33234 ## Report this to wx-dev@lists.wxwidgets.org ##
33235 ## ----------------------------------------- ##
33236 _ASBOX
33237 ) |
33238 sed "s/^/$as_me: WARNING: /" >&2
33239 ;;
33240 esac
33241 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33242 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33243 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 else
33246 ac_cv_header_GL_gl_h=$ac_header_preproc
33247 fi
33248 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33249 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33250
33251 fi
33252 if test $ac_cv_header_GL_gl_h = yes; then
33253
33254 found_gl=0
33255
33256 echo "$as_me:$LINENO: checking for -lGL" >&5
33257 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33258
33259 ac_find_libraries=
33260 for ac_dir in $SEARCH_LIB;
33261 do
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGL.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33265 break 2
33266 fi
33267 done
33268 done
33269
33270 if test "$ac_find_libraries" != "" ; then
33271 echo "$as_me:$LINENO: result: yes" >&5
33272 echo "${ECHO_T}yes" >&6
33273
33274
33275 if test "$ac_find_libraries" = "default location"; then
33276 ac_path_to_link=""
33277 else
33278 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33279 result=$?
33280 if test $result = 0; then
33281 ac_path_to_link=""
33282 else
33283 ac_path_to_link=" -L$ac_find_libraries"
33284 fi
33285 fi
33286
33287 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33288 LDFLAGS_GL="$ac_path_to_link"
33289 fi
33290
33291 echo "$as_me:$LINENO: checking for -lGLU" >&5
33292 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33293
33294 ac_find_libraries=
33295 for ac_dir in $SEARCH_LIB;
33296 do
33297 for ac_extension in a so sl dylib dll.a; do
33298 if test -f "$ac_dir/libGLU.$ac_extension"; then
33299 ac_find_libraries=$ac_dir
33300 break 2
33301 fi
33302 done
33303 done
33304
33305 if test "$ac_find_libraries" != "" ; then
33306
33307 if test "$ac_find_libraries" = "default location"; then
33308 ac_path_to_link=""
33309 else
33310 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33311 result=$?
33312 if test $result = 0; then
33313 ac_path_to_link=""
33314 else
33315 ac_path_to_link=" -L$ac_find_libraries"
33316 fi
33317 fi
33318
33319 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33320 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33321 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33322 fi
33323
33324 found_gl=1
33325 OPENGL_LIBS="-lGL -lGLU"
33326 echo "$as_me:$LINENO: result: yes" >&5
33327 echo "${ECHO_T}yes" >&6
33328 else
33329 echo "$as_me:$LINENO: result: no" >&5
33330 echo "${ECHO_T}no" >&6
33331 fi
33332 else
33333 echo "$as_me:$LINENO: result: no" >&5
33334 echo "${ECHO_T}no" >&6
33335 fi
33336
33337 if test "$found_gl" != 1; then
33338 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33339 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33340
33341 ac_find_libraries=
33342 for ac_dir in $SEARCH_LIB;
33343 do
33344 for ac_extension in a so sl dylib dll.a; do
33345 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33346 ac_find_libraries=$ac_dir
33347 break 2
33348 fi
33349 done
33350 done
33351
33352 if test "$ac_find_libraries" != "" ; then
33353
33354 if test "$ac_find_libraries" = "default location"; then
33355 ac_path_to_link=""
33356 else
33357 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33358 result=$?
33359 if test $result = 0; then
33360 ac_path_to_link=""
33361 else
33362 ac_path_to_link=" -L$ac_find_libraries"
33363 fi
33364 fi
33365
33366 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33367 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33368 echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6
33370 else
33371 echo "$as_me:$LINENO: result: no" >&5
33372 echo "${ECHO_T}no" >&6
33373 fi
33374 fi
33375
33376 fi
33377
33378
33379
33380 if test "x$OPENGL_LIBS" = "x"; then
33381 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33382 echo "$as_me: error: OpenGL libraries not available" >&2;}
33383 { (exit 1); exit 1; }; }
33384 fi
33385 fi
33386
33387 if test "$wxUSE_OPENGL" = "yes"; then
33388 USE_OPENGL=1
33389 cat >>confdefs.h <<\_ACEOF
33390 #define wxUSE_OPENGL 1
33391 _ACEOF
33392
33393 cat >>confdefs.h <<\_ACEOF
33394 #define wxUSE_GLCANVAS 1
33395 _ACEOF
33396
33397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33398 fi
33399 fi
33400
33401
33402 if test -n "$TOOLKIT" ; then
33403 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33404 fi
33405
33406
33407
33408 if test "$wxUSE_SHARED" = "yes"; then
33409 case "${host}" in
33410 *-pc-msdosdjgpp )
33411 wxUSE_SHARED=no
33412 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33413 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33414 ;;
33415 esac
33416 fi
33417
33418 if test "$wxUSE_SHARED" = "yes"; then
33419
33420
33421 found_versioning=no
33422
33423
33424 if test $found_versioning = no ; then
33425 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33426 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33427 if test "${wx_cv_version_script+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 else
33430
33431 echo "VER_1 { *; };" >conftest.sym
33432 echo "int main() { return 0; }" >conftest.cpp
33433
33434 if { ac_try='
33435 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33436 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33439 ac_status=$?
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; } ; then
33442 if test -s conftest.stderr ; then
33443 wx_cv_version_script=no
33444 else
33445 wx_cv_version_script=yes
33446 fi
33447 else
33448 wx_cv_version_script=no
33449 fi
33450
33451 if test $wx_cv_version_script = yes
33452 then
33453 echo "struct B { virtual ~B() { } }; \
33454 struct D : public B { }; \
33455 void F() { D d; }" > conftest.cpp
33456
33457 if { ac_try='
33458 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33459 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33462 ac_status=$?
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; } &&
33465 { ac_try='
33466 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33467 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }
33473 then
33474 if { ac_try='
33475 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33476 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33479 ac_status=$?
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; }
33482 then
33483 wx_cv_version_script=yes
33484 else
33485 wx_cv_version_script=no
33486 fi
33487 fi
33488 fi
33489
33490 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33491 rm -f conftest1.output conftest2.output conftest3.output
33492
33493 fi
33494 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33495 echo "${ECHO_T}$wx_cv_version_script" >&6
33496 if test $wx_cv_version_script = yes ; then
33497 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33498 fi
33499 fi
33500
33501
33502 case "${host}" in
33503 *-*-linux* | *-*-gnu* )
33504 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33505 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33506 ;;
33507
33508 *-*-solaris2* )
33509 if test "$GCC" = yes ; then
33510 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33511
33512 saveLdflags="$LDFLAGS"
33513 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33514 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33516 cat >conftest.$ac_ext <<_ACEOF
33517 /* confdefs.h. */
33518 _ACEOF
33519 cat confdefs.h >>conftest.$ac_ext
33520 cat >>conftest.$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33522
33523 int
33524 main ()
33525 {
33526
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>conftest.er1
33534 ac_status=$?
33535 grep -v '^ *+' conftest.er1 >conftest.err
33536 rm -f conftest.er1
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } &&
33540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; } &&
33546 { ac_try='test -s conftest$ac_exeext'
33547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548 (eval $ac_try) 2>&5
33549 ac_status=$?
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); }; }; then
33552
33553 echo "$as_me:$LINENO: result: yes" >&5
33554 echo "${ECHO_T}yes" >&6
33555 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33556 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33557
33558 else
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.$ac_ext >&5
33561
33562
33563 echo "$as_me:$LINENO: result: no" >&5
33564 echo "${ECHO_T}no" >&6
33565 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33566 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33567 LDFLAGS="$saveLdflags -Wl,-R,/"
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574
33575 int
33576 main ()
33577 {
33578
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 rm -f conftest.$ac_objext conftest$ac_exeext
33584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33585 (eval $ac_link) 2>conftest.er1
33586 ac_status=$?
33587 grep -v '^ *+' conftest.er1 >conftest.err
33588 rm -f conftest.er1
33589 cat conftest.err >&5
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); } &&
33592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 (eval $ac_try) 2>&5
33595 ac_status=$?
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); }; } &&
33598 { ac_try='test -s conftest$ac_exeext'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; }; then
33604
33605 echo "$as_me:$LINENO: result: yes" >&5
33606 echo "${ECHO_T}yes" >&6
33607 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33608 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33609
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33613
33614
33615 echo "$as_me:$LINENO: result: no" >&5
33616 echo "${ECHO_T}no" >&6
33617
33618 fi
33619 rm -f conftest.err conftest.$ac_objext \
33620 conftest$ac_exeext conftest.$ac_ext
33621
33622 fi
33623 rm -f conftest.err conftest.$ac_objext \
33624 conftest$ac_exeext conftest.$ac_ext
33625 LDFLAGS="$saveLdflags"
33626 else
33627 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33628 WXCONFIG_RPATH="-R\$libdir"
33629 fi
33630 ;;
33631
33632 *-*-darwin* )
33633 install_name_tool=`which install_name_tool`
33634 if test "$install_name_tool" -a -x "$install_name_tool"; then
33635 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33636 cat <<EOF >change-install-names
33637 #!/bin/sh
33638 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33639 inst_cmd="install_name_tool "
33640 for i in \${libnames} ; do
33641 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33642 done
33643 \${inst_cmd} \${3}
33644 EOF
33645 chmod +x change-install-names
33646 fi
33647 ;;
33648
33649 *-*-cygwin* | *-*-mingw32* )
33650 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33651 ;;
33652
33653 *-*-hpux* )
33654 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33655 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33656 ;;
33657
33658 esac
33659
33660 if test $wxUSE_RPATH = "no"; then
33661 SAMPLES_RPATH_FLAG=''
33662 SAMPLES_RPATH_POSTLINK=''
33663 WXCONFIG_RPATH=''
33664 fi
33665
33666 SHARED=1
33667
33668 else
33669
33670 config_linkage_component="-static"
33671 SHARED=0
33672
33673 fi
33674
33675
33676 UNICODE=0
33677 lib_unicode_suffix=
33678 WX_CHARTYPE="ansi"
33679 if test "$wxUSE_UNICODE" = "yes"; then
33680 lib_unicode_suffix=u
33681 WX_CHARTYPE="unicode"
33682 UNICODE=1
33683 fi
33684
33685 lib_debug_suffix=
33686 WX_DEBUGTYPE="release"
33687 DEBUG_FLAG=0
33688 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33689 lib_debug_suffix=d
33690 WX_DEBUGTYPE="debug"
33691 DEBUG_FLAG=1
33692 fi
33693
33694 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33695 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33696
33697 DEBUG_INFO=0
33698 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33699 DEBUG_INFO=1
33700 fi
33701
33702 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33703
33704 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33705
33706 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33707
33708 if test "$cross_compiling" = "yes"; then
33709 HOST_SUFFIX="-$host_alias"
33710 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33711 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33712 fi
33713
33714 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33715 if test "${TOOLKIT_DIR}" = "os2"; then
33716 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33717 else
33718 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33719 fi
33720
33721
33722
33723 if test "$wxUSE_COCOA" = 1; then
33724
33725
33726 ac_ext=c
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731
33732 ac_ext=m
33733
33734 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33735 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33736 cat >conftest.$ac_ext <<_ACEOF
33737 /* confdefs.h. */
33738 _ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742 #include <AppKit/NSEvent.h>
33743 #include <CoreFoundation/CoreFoundation.h>
33744
33745 int
33746 main ()
33747 {
33748
33749 ;
33750 return 0;
33751 }
33752 _ACEOF
33753 rm -f conftest.$ac_objext
33754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33755 (eval $ac_compile) 2>conftest.er1
33756 ac_status=$?
33757 grep -v '^ *+' conftest.er1 >conftest.err
33758 rm -f conftest.er1
33759 cat conftest.err >&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } &&
33762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33765 ac_status=$?
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; } &&
33768 { ac_try='test -s conftest.$ac_objext'
33769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33770 (eval $ac_try) 2>&5
33771 ac_status=$?
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); }; }; then
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33776 else
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33779
33780 echo "$as_me:$LINENO: result: yes" >&5
33781 echo "${ECHO_T}yes" >&6
33782 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33783 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33784 cat >conftest.$ac_ext <<_ACEOF
33785 /* confdefs.h. */
33786 _ACEOF
33787 cat confdefs.h >>conftest.$ac_ext
33788 cat >>conftest.$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33790 #define __Point__ 1
33791 #include <AppKit/NSEvent.h>
33792 #include <CoreFoundation/CoreFoundation.h>
33793
33794 int
33795 main ()
33796 {
33797
33798 ;
33799 return 0;
33800 }
33801 _ACEOF
33802 rm -f conftest.$ac_objext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33804 (eval $ac_compile) 2>conftest.er1
33805 ac_status=$?
33806 grep -v '^ *+' conftest.er1 >conftest.err
33807 rm -f conftest.er1
33808 cat conftest.err >&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33814 ac_status=$?
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try='test -s conftest.$ac_objext'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33820 ac_status=$?
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; }; then
33823 echo "$as_me:$LINENO: result: yes" >&5
33824 echo "${ECHO_T}yes" >&6
33825 cat >>confdefs.h <<\_ACEOF
33826 #define __Point__ 1
33827 _ACEOF
33828
33829
33830 else
33831 echo "$as_me: failed program was:" >&5
33832 sed 's/^/| /' conftest.$ac_ext >&5
33833
33834 { { echo "$as_me:$LINENO: error: no
33835 See \`config.log' for more details." >&5
33836 echo "$as_me: error: no
33837 See \`config.log' for more details." >&2;}
33838 { (exit 1); exit 1; }; }
33839
33840 fi
33841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33842
33843 fi
33844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=cc
33846 ac_cpp='$CXXCPP $CPPFLAGS'
33847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33850
33851 fi
33852
33853 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33854 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33855 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33856
33857 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33858
33859 # Extract the first word of "Rez", so it can be a program name with args.
33860 set dummy Rez; ac_word=$2
33861 echo "$as_me:$LINENO: checking for $ac_word" >&5
33862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33863 if test "${ac_cv_prog_REZ+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
33866 if test -n "$REZ"; then
33867 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33868 else
33869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33870 for as_dir in $PATH
33871 do
33872 IFS=$as_save_IFS
33873 test -z "$as_dir" && as_dir=.
33874 for ac_exec_ext in '' $ac_executable_extensions; do
33875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33876 ac_cv_prog_REZ="Rez"
33877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33878 break 2
33879 fi
33880 done
33881 done
33882
33883 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33884 fi
33885 fi
33886 REZ=$ac_cv_prog_REZ
33887 if test -n "$REZ"; then
33888 echo "$as_me:$LINENO: result: $REZ" >&5
33889 echo "${ECHO_T}$REZ" >&6
33890 else
33891 echo "$as_me:$LINENO: result: no" >&5
33892 echo "${ECHO_T}no" >&6
33893 fi
33894
33895 # Extract the first word of "DeRez", so it can be a program name with args.
33896 set dummy DeRez; ac_word=$2
33897 echo "$as_me:$LINENO: checking for $ac_word" >&5
33898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33899 if test "${ac_cv_prog_DEREZ+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 else
33902 if test -n "$DEREZ"; then
33903 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33904 else
33905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33906 for as_dir in $PATH
33907 do
33908 IFS=$as_save_IFS
33909 test -z "$as_dir" && as_dir=.
33910 for ac_exec_ext in '' $ac_executable_extensions; do
33911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33912 ac_cv_prog_DEREZ="DeRez"
33913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33914 break 2
33915 fi
33916 done
33917 done
33918
33919 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33920 fi
33921 fi
33922 DEREZ=$ac_cv_prog_DEREZ
33923 if test -n "$DEREZ"; then
33924 echo "$as_me:$LINENO: result: $DEREZ" >&5
33925 echo "${ECHO_T}$DEREZ" >&6
33926 else
33927 echo "$as_me:$LINENO: result: no" >&5
33928 echo "${ECHO_T}no" >&6
33929 fi
33930
33931 # Extract the first word of "SetFile", so it can be a program name with args.
33932 set dummy SetFile; ac_word=$2
33933 echo "$as_me:$LINENO: checking for $ac_word" >&5
33934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33935 if test "${ac_cv_prog_SETFILE+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 else
33938 if test -n "$SETFILE"; then
33939 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33940 else
33941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33942 for as_dir in $PATH
33943 do
33944 IFS=$as_save_IFS
33945 test -z "$as_dir" && as_dir=.
33946 for ac_exec_ext in '' $ac_executable_extensions; do
33947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33948 ac_cv_prog_SETFILE="SetFile"
33949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33950 break 2
33951 fi
33952 done
33953 done
33954
33955 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33956 fi
33957 fi
33958 SETFILE=$ac_cv_prog_SETFILE
33959 if test -n "$SETFILE"; then
33960 echo "$as_me:$LINENO: result: $SETFILE" >&5
33961 echo "${ECHO_T}$SETFILE" >&6
33962 else
33963 echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6
33965 fi
33966
33967
33968 MACSETFILE="\$(SETFILE)"
33969
33970 if test "$wxUSE_MAC" = 1; then
33971 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33972 RESCOMP="$REZ"
33973 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33974 else
33975 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33976 RESCOMP="echo -n \| $REZ"
33977 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33978 fi
33979
33980 else
33981 MACSETFILE="@true"
33982
33983 if test "$wxUSE_PM" = 1; then
33984 RESCOMP="emxbind"
33985 WXCONFIG_RESFLAGS="-ep"
33986
33987 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33988 else
33989 POSTLINK_COMMAND="@true"
33990 fi
33991
33992 fi
33993
33994
33995
33996 echo "$as_me:$LINENO: checking for mode_t" >&5
33997 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33998 if test "${ac_cv_type_mode_t+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 else
34001 cat >conftest.$ac_ext <<_ACEOF
34002 /* confdefs.h. */
34003 _ACEOF
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007 $ac_includes_default
34008 int
34009 main ()
34010 {
34011 if ((mode_t *) 0)
34012 return 0;
34013 if (sizeof (mode_t))
34014 return 0;
34015 ;
34016 return 0;
34017 }
34018 _ACEOF
34019 rm -f conftest.$ac_objext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34021 (eval $ac_compile) 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34031 ac_status=$?
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try='test -s conftest.$ac_objext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34037 ac_status=$?
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 ac_cv_type_mode_t=yes
34041 else
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34044
34045 ac_cv_type_mode_t=no
34046 fi
34047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34048 fi
34049 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34050 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34051 if test $ac_cv_type_mode_t = yes; then
34052 :
34053 else
34054
34055 cat >>confdefs.h <<_ACEOF
34056 #define mode_t int
34057 _ACEOF
34058
34059 fi
34060
34061 echo "$as_me:$LINENO: checking for off_t" >&5
34062 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34063 if test "${ac_cv_type_off_t+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 else
34066 cat >conftest.$ac_ext <<_ACEOF
34067 /* confdefs.h. */
34068 _ACEOF
34069 cat confdefs.h >>conftest.$ac_ext
34070 cat >>conftest.$ac_ext <<_ACEOF
34071 /* end confdefs.h. */
34072 $ac_includes_default
34073 int
34074 main ()
34075 {
34076 if ((off_t *) 0)
34077 return 0;
34078 if (sizeof (off_t))
34079 return 0;
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34086 (eval $ac_compile) 2>conftest.er1
34087 ac_status=$?
34088 grep -v '^ *+' conftest.er1 >conftest.err
34089 rm -f conftest.er1
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34096 ac_status=$?
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; } &&
34099 { ac_try='test -s conftest.$ac_objext'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34102 ac_status=$?
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; }; then
34105 ac_cv_type_off_t=yes
34106 else
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.$ac_ext >&5
34109
34110 ac_cv_type_off_t=no
34111 fi
34112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34113 fi
34114 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34115 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34116 if test $ac_cv_type_off_t = yes; then
34117 :
34118 else
34119
34120 cat >>confdefs.h <<_ACEOF
34121 #define off_t long
34122 _ACEOF
34123
34124 fi
34125
34126 echo "$as_me:$LINENO: checking for pid_t" >&5
34127 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34128 if test "${ac_cv_type_pid_t+set}" = set; then
34129 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 else
34131 cat >conftest.$ac_ext <<_ACEOF
34132 /* confdefs.h. */
34133 _ACEOF
34134 cat confdefs.h >>conftest.$ac_ext
34135 cat >>conftest.$ac_ext <<_ACEOF
34136 /* end confdefs.h. */
34137 $ac_includes_default
34138 int
34139 main ()
34140 {
34141 if ((pid_t *) 0)
34142 return 0;
34143 if (sizeof (pid_t))
34144 return 0;
34145 ;
34146 return 0;
34147 }
34148 _ACEOF
34149 rm -f conftest.$ac_objext
34150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34151 (eval $ac_compile) 2>conftest.er1
34152 ac_status=$?
34153 grep -v '^ *+' conftest.er1 >conftest.err
34154 rm -f conftest.er1
34155 cat conftest.err >&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } &&
34158 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34161 ac_status=$?
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; } &&
34164 { ac_try='test -s conftest.$ac_objext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34167 ac_status=$?
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 ac_cv_type_pid_t=yes
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34174
34175 ac_cv_type_pid_t=no
34176 fi
34177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34178 fi
34179 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34180 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34181 if test $ac_cv_type_pid_t = yes; then
34182 :
34183 else
34184
34185 cat >>confdefs.h <<_ACEOF
34186 #define pid_t int
34187 _ACEOF
34188
34189 fi
34190
34191 echo "$as_me:$LINENO: checking for size_t" >&5
34192 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34193 if test "${ac_cv_type_size_t+set}" = set; then
34194 echo $ECHO_N "(cached) $ECHO_C" >&6
34195 else
34196 cat >conftest.$ac_ext <<_ACEOF
34197 /* confdefs.h. */
34198 _ACEOF
34199 cat confdefs.h >>conftest.$ac_ext
34200 cat >>conftest.$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34202 $ac_includes_default
34203 int
34204 main ()
34205 {
34206 if ((size_t *) 0)
34207 return 0;
34208 if (sizeof (size_t))
34209 return 0;
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34216 (eval $ac_compile) 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try='test -s conftest.$ac_objext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34232 ac_status=$?
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 ac_cv_type_size_t=yes
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 ac_cv_type_size_t=no
34241 fi
34242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34243 fi
34244 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34245 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34246 if test $ac_cv_type_size_t = yes; then
34247 :
34248 else
34249
34250 cat >>confdefs.h <<_ACEOF
34251 #define size_t unsigned
34252 _ACEOF
34253
34254 fi
34255
34256 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34257 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34258 if test "${ac_cv_type_uid_t+set}" = set; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 else
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267 #include <sys/types.h>
34268
34269 _ACEOF
34270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34271 $EGREP "uid_t" >/dev/null 2>&1; then
34272 ac_cv_type_uid_t=yes
34273 else
34274 ac_cv_type_uid_t=no
34275 fi
34276 rm -f conftest*
34277
34278 fi
34279 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34280 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34281 if test $ac_cv_type_uid_t = no; then
34282
34283 cat >>confdefs.h <<\_ACEOF
34284 #define uid_t int
34285 _ACEOF
34286
34287
34288 cat >>confdefs.h <<\_ACEOF
34289 #define gid_t int
34290 _ACEOF
34291
34292 fi
34293
34294
34295 echo "$as_me:$LINENO: checking for ssize_t" >&5
34296 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34297 if test "${ac_cv_type_ssize_t+set}" = set; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 else
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 $ac_includes_default
34307 int
34308 main ()
34309 {
34310 if ((ssize_t *) 0)
34311 return 0;
34312 if (sizeof (ssize_t))
34313 return 0;
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34320 (eval $ac_compile) 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } &&
34327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34330 ac_status=$?
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; } &&
34333 { ac_try='test -s conftest.$ac_objext'
34334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34335 (eval $ac_try) 2>&5
34336 ac_status=$?
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); }; }; then
34339 ac_cv_type_ssize_t=yes
34340 else
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.$ac_ext >&5
34343
34344 ac_cv_type_ssize_t=no
34345 fi
34346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34347 fi
34348 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34349 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34350 if test $ac_cv_type_ssize_t = yes; then
34351
34352 cat >>confdefs.h <<_ACEOF
34353 #define HAVE_SSIZE_T 1
34354 _ACEOF
34355
34356
34357 fi
34358
34359
34360 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34361 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34362 if test "${wx_cv_size_t_is_uint+set}" = set; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34364 else
34365
34366 cat >conftest.$ac_ext <<_ACEOF
34367 /* confdefs.h. */
34368 _ACEOF
34369 cat confdefs.h >>conftest.$ac_ext
34370 cat >>conftest.$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34372 #include <stddef.h>
34373 int
34374 main ()
34375 {
34376
34377 return 0; }
34378
34379 struct Foo { void foo(size_t); void foo(unsigned int); };
34380
34381 int bar() {
34382
34383 ;
34384 return 0;
34385 }
34386 _ACEOF
34387 rm -f conftest.$ac_objext
34388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34389 (eval $ac_compile) 2>conftest.er1
34390 ac_status=$?
34391 grep -v '^ *+' conftest.er1 >conftest.err
34392 rm -f conftest.er1
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } &&
34396 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; } &&
34402 { ac_try='test -s conftest.$ac_objext'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34405 ac_status=$?
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; }; then
34408 wx_cv_size_t_is_uint=no
34409 else
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 wx_cv_size_t_is_uint=yes
34414
34415 fi
34416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34417
34418
34419 fi
34420 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34421 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34422
34423 if test "$wx_cv_size_t_is_uint" = "yes"; then
34424 cat >>confdefs.h <<\_ACEOF
34425 #define wxSIZE_T_IS_UINT 1
34426 _ACEOF
34427
34428 else
34429 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34430 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34431 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34432 echo $ECHO_N "(cached) $ECHO_C" >&6
34433 else
34434 cat >conftest.$ac_ext <<_ACEOF
34435 /* confdefs.h. */
34436 _ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440 #include <stddef.h>
34441 int
34442 main ()
34443 {
34444
34445 return 0; }
34446
34447 struct Foo { void foo(size_t); void foo(unsigned long); };
34448
34449 int bar() {
34450
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34457 (eval $ac_compile) 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34467 ac_status=$?
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try='test -s conftest.$ac_objext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 wx_cv_size_t_is_ulong=no
34477 else
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34480
34481 wx_cv_size_t_is_ulong=yes
34482
34483 fi
34484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34485
34486 fi
34487 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34488 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34489
34490 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34491 cat >>confdefs.h <<\_ACEOF
34492 #define wxSIZE_T_IS_ULONG 1
34493 _ACEOF
34494
34495 fi
34496 fi
34497
34498
34499 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34500 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34501 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34502 echo $ECHO_N "(cached) $ECHO_C" >&6
34503 else
34504
34505 cat >conftest.$ac_ext <<_ACEOF
34506 /* confdefs.h. */
34507 _ACEOF
34508 cat confdefs.h >>conftest.$ac_ext
34509 cat >>conftest.$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511 #include <pwd.h>
34512 int
34513 main ()
34514 {
34515
34516 char *p;
34517 struct passwd *pw;
34518 p = pw->pw_gecos;
34519
34520 ;
34521 return 0;
34522 }
34523 _ACEOF
34524 rm -f conftest.$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34527 ac_status=$?
34528 grep -v '^ *+' conftest.er1 >conftest.err
34529 rm -f conftest.er1
34530 cat conftest.err >&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34536 ac_status=$?
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; } &&
34539 { ac_try='test -s conftest.$ac_objext'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34542 ac_status=$?
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; }; then
34545
34546 wx_cv_struct_pw_gecos=yes
34547
34548 else
34549 echo "$as_me: failed program was:" >&5
34550 sed 's/^/| /' conftest.$ac_ext >&5
34551
34552
34553 wx_cv_struct_pw_gecos=no
34554
34555
34556 fi
34557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34558
34559
34560 fi
34561 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34562 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34563
34564 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34565 cat >>confdefs.h <<\_ACEOF
34566 #define HAVE_PW_GECOS 1
34567 _ACEOF
34568
34569 fi
34570
34571
34572 if test "$wxUSE_WCHAR_T" = "yes"; then
34573 cat >>confdefs.h <<\_ACEOF
34574 #define wxUSE_WCHAR_T 1
34575 _ACEOF
34576
34577
34578 WCSLEN_FOUND=0
34579 WCHAR_LINK=
34580
34581 for ac_func in wcslen
34582 do
34583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34584 echo "$as_me:$LINENO: checking for $ac_func" >&5
34585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34586 if eval "test \"\${$as_ac_var+set}\" = set"; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589 cat >conftest.$ac_ext <<_ACEOF
34590 /* confdefs.h. */
34591 _ACEOF
34592 cat confdefs.h >>conftest.$ac_ext
34593 cat >>conftest.$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34597 #define $ac_func innocuous_$ac_func
34598
34599 /* System header to define __stub macros and hopefully few prototypes,
34600 which can conflict with char $ac_func (); below.
34601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34602 <limits.h> exists even on freestanding compilers. */
34603
34604 #ifdef __STDC__
34605 # include <limits.h>
34606 #else
34607 # include <assert.h>
34608 #endif
34609
34610 #undef $ac_func
34611
34612 /* Override any gcc2 internal prototype to avoid an error. */
34613 #ifdef __cplusplus
34614 extern "C"
34615 {
34616 #endif
34617 /* We use char because int might match the return type of a gcc2
34618 builtin and then its argument prototype would still apply. */
34619 char $ac_func ();
34620 /* The GNU C library defines this for functions which it implements
34621 to always fail with ENOSYS. Some functions are actually named
34622 something starting with __ and the normal name is an alias. */
34623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34624 choke me
34625 #else
34626 char (*f) () = $ac_func;
34627 #endif
34628 #ifdef __cplusplus
34629 }
34630 #endif
34631
34632 int
34633 main ()
34634 {
34635 return f != $ac_func;
34636 ;
34637 return 0;
34638 }
34639 _ACEOF
34640 rm -f conftest.$ac_objext conftest$ac_exeext
34641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34642 (eval $ac_link) 2>conftest.er1
34643 ac_status=$?
34644 grep -v '^ *+' conftest.er1 >conftest.err
34645 rm -f conftest.er1
34646 cat conftest.err >&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); } &&
34649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34651 (eval $ac_try) 2>&5
34652 ac_status=$?
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; } &&
34655 { ac_try='test -s conftest$ac_exeext'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34658 ac_status=$?
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; }; then
34661 eval "$as_ac_var=yes"
34662 else
34663 echo "$as_me: failed program was:" >&5
34664 sed 's/^/| /' conftest.$ac_ext >&5
34665
34666 eval "$as_ac_var=no"
34667 fi
34668 rm -f conftest.err conftest.$ac_objext \
34669 conftest$ac_exeext conftest.$ac_ext
34670 fi
34671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34673 if test `eval echo '${'$as_ac_var'}'` = yes; then
34674 cat >>confdefs.h <<_ACEOF
34675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34676 _ACEOF
34677 WCSLEN_FOUND=1
34678 fi
34679 done
34680
34681
34682 if test "$WCSLEN_FOUND" = 0; then
34683 if test "$TOOLKIT" = "MSW"; then
34684 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34685 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34686 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34687 echo $ECHO_N "(cached) $ECHO_C" >&6
34688 else
34689 ac_check_lib_save_LIBS=$LIBS
34690 LIBS="-lmsvcrt $LIBS"
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697
34698 /* Override any gcc2 internal prototype to avoid an error. */
34699 #ifdef __cplusplus
34700 extern "C"
34701 #endif
34702 /* We use char because int might match the return type of a gcc2
34703 builtin and then its argument prototype would still apply. */
34704 char wcslen ();
34705 int
34706 main ()
34707 {
34708 wcslen ();
34709 ;
34710 return 0;
34711 }
34712 _ACEOF
34713 rm -f conftest.$ac_objext conftest$ac_exeext
34714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34715 (eval $ac_link) 2>conftest.er1
34716 ac_status=$?
34717 grep -v '^ *+' conftest.er1 >conftest.err
34718 rm -f conftest.er1
34719 cat conftest.err >&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); } &&
34722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34724 (eval $ac_try) 2>&5
34725 ac_status=$?
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); }; } &&
34728 { ac_try='test -s conftest$ac_exeext'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34731 ac_status=$?
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; }; then
34734 ac_cv_lib_msvcrt_wcslen=yes
34735 else
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34738
34739 ac_cv_lib_msvcrt_wcslen=no
34740 fi
34741 rm -f conftest.err conftest.$ac_objext \
34742 conftest$ac_exeext conftest.$ac_ext
34743 LIBS=$ac_check_lib_save_LIBS
34744 fi
34745 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34746 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34747 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34748 WCHAR_OK=1
34749 fi
34750
34751 else
34752 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34753 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34754 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34755 echo $ECHO_N "(cached) $ECHO_C" >&6
34756 else
34757 ac_check_lib_save_LIBS=$LIBS
34758 LIBS="-lw $LIBS"
34759 cat >conftest.$ac_ext <<_ACEOF
34760 /* confdefs.h. */
34761 _ACEOF
34762 cat confdefs.h >>conftest.$ac_ext
34763 cat >>conftest.$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34765
34766 /* Override any gcc2 internal prototype to avoid an error. */
34767 #ifdef __cplusplus
34768 extern "C"
34769 #endif
34770 /* We use char because int might match the return type of a gcc2
34771 builtin and then its argument prototype would still apply. */
34772 char wcslen ();
34773 int
34774 main ()
34775 {
34776 wcslen ();
34777 ;
34778 return 0;
34779 }
34780 _ACEOF
34781 rm -f conftest.$ac_objext conftest$ac_exeext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34783 (eval $ac_link) 2>conftest.er1
34784 ac_status=$?
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest$ac_exeext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 ac_cv_lib_w_wcslen=yes
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 ac_cv_lib_w_wcslen=no
34808 fi
34809 rm -f conftest.err conftest.$ac_objext \
34810 conftest$ac_exeext conftest.$ac_ext
34811 LIBS=$ac_check_lib_save_LIBS
34812 fi
34813 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34814 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34815 if test $ac_cv_lib_w_wcslen = yes; then
34816
34817 WCHAR_LINK=" -lw"
34818 WCSLEN_FOUND=1
34819
34820 fi
34821
34822 fi
34823 fi
34824
34825 if test "$WCSLEN_FOUND" = 1; then
34826 cat >>confdefs.h <<\_ACEOF
34827 #define HAVE_WCSLEN 1
34828 _ACEOF
34829
34830 fi
34831
34832 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34833 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34834 fi
34835
34836 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34837 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34838 if test "${ac_cv_type_mbstate_t+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 #include <wchar.h>
34848
34849 int
34850 main ()
34851 {
34852 if ((mbstate_t *) 0)
34853 return 0;
34854 if (sizeof (mbstate_t))
34855 return 0;
34856 ;
34857 return 0;
34858 }
34859 _ACEOF
34860 rm -f conftest.$ac_objext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34862 (eval $ac_compile) 2>conftest.er1
34863 ac_status=$?
34864 grep -v '^ *+' conftest.er1 >conftest.err
34865 rm -f conftest.er1
34866 cat conftest.err >&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34872 ac_status=$?
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; } &&
34875 { ac_try='test -s conftest.$ac_objext'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; }; then
34881 ac_cv_type_mbstate_t=yes
34882 else
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34885
34886 ac_cv_type_mbstate_t=no
34887 fi
34888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34889 fi
34890 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34891 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34892 if test $ac_cv_type_mbstate_t = yes; then
34893
34894 cat >>confdefs.h <<_ACEOF
34895 #define HAVE_MBSTATE_T 1
34896 _ACEOF
34897
34898
34899 for ac_func in wcsrtombs
34900 do
34901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34902 echo "$as_me:$LINENO: checking for $ac_func" >&5
34903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34904 if eval "test \"\${$as_ac_var+set}\" = set"; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 else
34907 cat >conftest.$ac_ext <<_ACEOF
34908 /* confdefs.h. */
34909 _ACEOF
34910 cat confdefs.h >>conftest.$ac_ext
34911 cat >>conftest.$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34915 #define $ac_func innocuous_$ac_func
34916
34917 /* System header to define __stub macros and hopefully few prototypes,
34918 which can conflict with char $ac_func (); below.
34919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34920 <limits.h> exists even on freestanding compilers. */
34921
34922 #ifdef __STDC__
34923 # include <limits.h>
34924 #else
34925 # include <assert.h>
34926 #endif
34927
34928 #undef $ac_func
34929
34930 /* Override any gcc2 internal prototype to avoid an error. */
34931 #ifdef __cplusplus
34932 extern "C"
34933 {
34934 #endif
34935 /* We use char because int might match the return type of a gcc2
34936 builtin and then its argument prototype would still apply. */
34937 char $ac_func ();
34938 /* The GNU C library defines this for functions which it implements
34939 to always fail with ENOSYS. Some functions are actually named
34940 something starting with __ and the normal name is an alias. */
34941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34942 choke me
34943 #else
34944 char (*f) () = $ac_func;
34945 #endif
34946 #ifdef __cplusplus
34947 }
34948 #endif
34949
34950 int
34951 main ()
34952 {
34953 return f != $ac_func;
34954 ;
34955 return 0;
34956 }
34957 _ACEOF
34958 rm -f conftest.$ac_objext conftest$ac_exeext
34959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34960 (eval $ac_link) 2>conftest.er1
34961 ac_status=$?
34962 grep -v '^ *+' conftest.er1 >conftest.err
34963 rm -f conftest.er1
34964 cat conftest.err >&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); } &&
34967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34970 ac_status=$?
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34973 { ac_try='test -s conftest$ac_exeext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34976 ac_status=$?
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34979 eval "$as_ac_var=yes"
34980 else
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.$ac_ext >&5
34983
34984 eval "$as_ac_var=no"
34985 fi
34986 rm -f conftest.err conftest.$ac_objext \
34987 conftest$ac_exeext conftest.$ac_ext
34988 fi
34989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34991 if test `eval echo '${'$as_ac_var'}'` = yes; then
34992 cat >>confdefs.h <<_ACEOF
34993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34994 _ACEOF
34995
34996 fi
34997 done
34998
34999 fi
35000
35001 else
35002 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35003 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35004 fi
35005
35006
35007
35008 for ac_func in snprintf vsnprintf
35009 do
35010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35011 echo "$as_me:$LINENO: checking for $ac_func" >&5
35012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35013 if eval "test \"\${$as_ac_var+set}\" = set"; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 else
35016 cat >conftest.$ac_ext <<_ACEOF
35017 /* confdefs.h. */
35018 _ACEOF
35019 cat confdefs.h >>conftest.$ac_ext
35020 cat >>conftest.$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35024 #define $ac_func innocuous_$ac_func
35025
35026 /* System header to define __stub macros and hopefully few prototypes,
35027 which can conflict with char $ac_func (); below.
35028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35029 <limits.h> exists even on freestanding compilers. */
35030
35031 #ifdef __STDC__
35032 # include <limits.h>
35033 #else
35034 # include <assert.h>
35035 #endif
35036
35037 #undef $ac_func
35038
35039 /* Override any gcc2 internal prototype to avoid an error. */
35040 #ifdef __cplusplus
35041 extern "C"
35042 {
35043 #endif
35044 /* We use char because int might match the return type of a gcc2
35045 builtin and then its argument prototype would still apply. */
35046 char $ac_func ();
35047 /* The GNU C library defines this for functions which it implements
35048 to always fail with ENOSYS. Some functions are actually named
35049 something starting with __ and the normal name is an alias. */
35050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35051 choke me
35052 #else
35053 char (*f) () = $ac_func;
35054 #endif
35055 #ifdef __cplusplus
35056 }
35057 #endif
35058
35059 int
35060 main ()
35061 {
35062 return f != $ac_func;
35063 ;
35064 return 0;
35065 }
35066 _ACEOF
35067 rm -f conftest.$ac_objext conftest$ac_exeext
35068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35069 (eval $ac_link) 2>conftest.er1
35070 ac_status=$?
35071 grep -v '^ *+' conftest.er1 >conftest.err
35072 rm -f conftest.er1
35073 cat conftest.err >&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); } &&
35076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try='test -s conftest$ac_exeext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35085 ac_status=$?
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35088 eval "$as_ac_var=yes"
35089 else
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.$ac_ext >&5
35092
35093 eval "$as_ac_var=no"
35094 fi
35095 rm -f conftest.err conftest.$ac_objext \
35096 conftest$ac_exeext conftest.$ac_ext
35097 fi
35098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35100 if test `eval echo '${'$as_ac_var'}'` = yes; then
35101 cat >>confdefs.h <<_ACEOF
35102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35103 _ACEOF
35104
35105 fi
35106 done
35107
35108
35109 if test "$ac_cv_func_vsnprintf" = "yes"; then
35110 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35111 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35112 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35114 else
35115
35116 cat >conftest.$ac_ext <<_ACEOF
35117 /* confdefs.h. */
35118 _ACEOF
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35122
35123 #include <stdio.h>
35124 #include <stdarg.h>
35125 #ifdef __MSL__
35126 #if __MSL__ >= 0x6000
35127 namespace std {}
35128 using namespace std;
35129 #endif
35130 #endif
35131
35132 int
35133 main ()
35134 {
35135
35136 char *buf;
35137 va_list ap;
35138 vsnprintf(buf, 10u, "%s", ap);
35139
35140 ;
35141 return 0;
35142 }
35143 _ACEOF
35144 rm -f conftest.$ac_objext
35145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35146 (eval $ac_compile) 2>conftest.er1
35147 ac_status=$?
35148 grep -v '^ *+' conftest.er1 >conftest.err
35149 rm -f conftest.er1
35150 cat conftest.err >&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } &&
35153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35156 ac_status=$?
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 wx_cv_func_vsnprintf_decl=yes
35166 else
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35169
35170 wx_cv_func_vsnprintf_decl=no
35171
35172 fi
35173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35174
35175
35176 fi
35177 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35178 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35179
35180 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35181 cat >>confdefs.h <<\_ACEOF
35182 #define HAVE_VSNPRINTF_DECL 1
35183 _ACEOF
35184
35185
35186 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35187 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35188 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 else
35191
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198
35199 #include <stdio.h>
35200 #include <stdarg.h>
35201 #ifdef __MSL__
35202 #if __MSL__ >= 0x6000
35203 namespace std {}
35204 using namespace std;
35205 #endif
35206 #endif
35207
35208 int
35209 main ()
35210 {
35211
35212 char *buf;
35213 va_list ap;
35214 const char *fmt = "%s";
35215 vsnprintf(buf, 10u, fmt, ap);
35216
35217 ;
35218 return 0;
35219 }
35220 _ACEOF
35221 rm -f conftest.$ac_objext
35222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35223 (eval $ac_compile) 2>conftest.er1
35224 ac_status=$?
35225 grep -v '^ *+' conftest.er1 >conftest.err
35226 rm -f conftest.er1
35227 cat conftest.err >&5
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); } &&
35230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35236 { ac_try='test -s conftest.$ac_objext'
35237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238 (eval $ac_try) 2>&5
35239 ac_status=$?
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); }; }; then
35242 wx_cv_func_broken_vsnprintf_decl=no
35243 else
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35246
35247 wx_cv_func_broken_vsnprintf_decl=yes
35248
35249 fi
35250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35251
35252
35253 fi
35254 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35255 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35256
35257 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35258 cat >>confdefs.h <<\_ACEOF
35259 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35260 _ACEOF
35261
35262 fi
35263 fi
35264 fi
35265
35266 if test "$ac_cv_func_snprintf" = "yes"; then
35267 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35268 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35269 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35270 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 else
35272
35273 cat >conftest.$ac_ext <<_ACEOF
35274 /* confdefs.h. */
35275 _ACEOF
35276 cat confdefs.h >>conftest.$ac_ext
35277 cat >>conftest.$ac_ext <<_ACEOF
35278 /* end confdefs.h. */
35279
35280 #include <stdio.h>
35281 #include <stdarg.h>
35282 #ifdef __MSL__
35283 #if __MSL__ >= 0x6000
35284 namespace std {}
35285 using namespace std;
35286 #endif
35287 #endif
35288
35289 int
35290 main ()
35291 {
35292
35293 char *buf;
35294 snprintf(buf, 10u, "%s", "wx");
35295
35296 ;
35297 return 0;
35298 }
35299 _ACEOF
35300 rm -f conftest.$ac_objext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35302 (eval $ac_compile) 2>conftest.er1
35303 ac_status=$?
35304 grep -v '^ *+' conftest.er1 >conftest.err
35305 rm -f conftest.er1
35306 cat conftest.err >&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35311 (eval $ac_try) 2>&5
35312 ac_status=$?
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); }; } &&
35315 { ac_try='test -s conftest.$ac_objext'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35318 ac_status=$?
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; }; then
35321 wx_cv_func_snprintf_decl=yes
35322 else
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.$ac_ext >&5
35325
35326 wx_cv_func_snprintf_decl=no
35327
35328 fi
35329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35330
35331
35332 fi
35333 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35334 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35335
35336 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define HAVE_SNPRINTF_DECL 1
35339 _ACEOF
35340
35341
35342 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35343 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35344 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35346 else
35347
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354
35355 #include <stdio.h>
35356 #include <stdarg.h>
35357 #ifdef __MSL__
35358 #if __MSL__ >= 0x6000
35359 namespace std {}
35360 using namespace std;
35361 #endif
35362 #endif
35363
35364 int
35365 main ()
35366 {
35367
35368 char *buf;
35369 const char *fmt = "%s";
35370 snprintf(buf, 10u, fmt, "wx");
35371
35372 ;
35373 return 0;
35374 }
35375 _ACEOF
35376 rm -f conftest.$ac_objext
35377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35378 (eval $ac_compile) 2>conftest.er1
35379 ac_status=$?
35380 grep -v '^ *+' conftest.er1 >conftest.err
35381 rm -f conftest.er1
35382 cat conftest.err >&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); } &&
35385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35388 ac_status=$?
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; } &&
35391 { ac_try='test -s conftest.$ac_objext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35394 ac_status=$?
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35397 wx_cv_func_broken_snprintf_decl=no
35398 else
35399 echo "$as_me: failed program was:" >&5
35400 sed 's/^/| /' conftest.$ac_ext >&5
35401
35402 wx_cv_func_broken_snprintf_decl=yes
35403
35404 fi
35405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35406
35407
35408 fi
35409 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35410 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35411
35412 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35413 cat >>confdefs.h <<\_ACEOF
35414 #define HAVE_BROKEN_SNPRINTF_DECL 1
35415 _ACEOF
35416
35417 fi
35418 fi
35419
35420 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35421
35422 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35423 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35424 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35425 echo $ECHO_N "(cached) $ECHO_C" >&6
35426 else
35427
35428 if test "$cross_compiling" = yes; then
35429
35430 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35431 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35432 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35433 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35434 wx_cv_func_snprintf_pos_params=no
35435
35436
35437 else
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444
35445 #include <stdio.h>
35446
35447 int main (void)
35448 {
35449 char buffer[128];
35450 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35451 if (strcmp ("2 3 1", buffer) == 0)
35452 exit (0);
35453 exit (1);
35454 }
35455
35456 _ACEOF
35457 rm -f conftest$ac_exeext
35458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35459 (eval $ac_link) 2>&5
35460 ac_status=$?
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35464 (eval $ac_try) 2>&5
35465 ac_status=$?
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); }; }; then
35468 wx_cv_func_snprintf_pos_params=no
35469 else
35470 echo "$as_me: program exited with status $ac_status" >&5
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35473
35474 ( exit $ac_status )
35475 wx_cv_func_snprintf_pos_params=yes
35476 fi
35477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35478 fi
35479
35480
35481 fi
35482 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35483 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35484
35485 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35486 cat >>confdefs.h <<\_ACEOF
35487 #define HAVE_UNIX98_PRINTF 1
35488 _ACEOF
35489
35490 fi
35491 fi
35492 fi
35493
35494 if test "$wxUSE_UNICODE" = yes; then
35495
35496
35497 for ac_func in swprintf
35498 do
35499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35500 echo "$as_me:$LINENO: checking for $ac_func" >&5
35501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35502 if eval "test \"\${$as_ac_var+set}\" = set"; then
35503 echo $ECHO_N "(cached) $ECHO_C" >&6
35504 else
35505 cat >conftest.$ac_ext <<_ACEOF
35506 /* confdefs.h. */
35507 _ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35513 #define $ac_func innocuous_$ac_func
35514
35515 /* System header to define __stub macros and hopefully few prototypes,
35516 which can conflict with char $ac_func (); below.
35517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35518 <limits.h> exists even on freestanding compilers. */
35519
35520 #ifdef __STDC__
35521 # include <limits.h>
35522 #else
35523 # include <assert.h>
35524 #endif
35525
35526 #undef $ac_func
35527
35528 /* Override any gcc2 internal prototype to avoid an error. */
35529 #ifdef __cplusplus
35530 extern "C"
35531 {
35532 #endif
35533 /* We use char because int might match the return type of a gcc2
35534 builtin and then its argument prototype would still apply. */
35535 char $ac_func ();
35536 /* The GNU C library defines this for functions which it implements
35537 to always fail with ENOSYS. Some functions are actually named
35538 something starting with __ and the normal name is an alias. */
35539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35540 choke me
35541 #else
35542 char (*f) () = $ac_func;
35543 #endif
35544 #ifdef __cplusplus
35545 }
35546 #endif
35547
35548 int
35549 main ()
35550 {
35551 return f != $ac_func;
35552 ;
35553 return 0;
35554 }
35555 _ACEOF
35556 rm -f conftest.$ac_objext conftest$ac_exeext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35558 (eval $ac_link) 2>conftest.er1
35559 ac_status=$?
35560 grep -v '^ *+' conftest.er1 >conftest.err
35561 rm -f conftest.er1
35562 cat conftest.err >&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } &&
35565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35568 ac_status=$?
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; } &&
35571 { ac_try='test -s conftest$ac_exeext'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35574 ac_status=$?
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; }; then
35577 eval "$as_ac_var=yes"
35578 else
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.$ac_ext >&5
35581
35582 eval "$as_ac_var=no"
35583 fi
35584 rm -f conftest.err conftest.$ac_objext \
35585 conftest$ac_exeext conftest.$ac_ext
35586 fi
35587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35589 if test `eval echo '${'$as_ac_var'}'` = yes; then
35590 cat >>confdefs.h <<_ACEOF
35591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597
35598 if test "$ac_cv_func_swprintf" = "yes"; then
35599 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35600 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35601 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35602 echo $ECHO_N "(cached) $ECHO_C" >&6
35603 else
35604
35605 cat >conftest.$ac_ext <<_ACEOF
35606 /* confdefs.h. */
35607 _ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611
35612 #include <stdio.h>
35613 #include <stdarg.h>
35614 #include <wchar.h>
35615
35616 int
35617 main ()
35618 {
35619
35620 wchar_t *buf;
35621 const wchar_t *fmt = L"test";
35622 swprintf(buf, 10u, fmt);
35623
35624 ;
35625 return 0;
35626 }
35627 _ACEOF
35628 rm -f conftest.$ac_objext
35629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35630 (eval $ac_compile) 2>conftest.er1
35631 ac_status=$?
35632 grep -v '^ *+' conftest.er1 >conftest.err
35633 rm -f conftest.er1
35634 cat conftest.err >&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try='test -s conftest.$ac_objext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 wx_cv_func_broken_swprintf_decl=no
35650 else
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35653
35654 wx_cv_func_broken_swprintf_decl=yes
35655
35656 fi
35657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35658
35659
35660 fi
35661 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35662 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35663
35664 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35665 cat >>confdefs.h <<\_ACEOF
35666 #define HAVE_BROKEN_SWPRINTF_DECL 1
35667 _ACEOF
35668
35669 fi
35670 fi
35671
35672
35673
35674
35675
35676
35677
35678 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35679 do
35680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35681 echo "$as_me:$LINENO: checking for $ac_func" >&5
35682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35683 if eval "test \"\${$as_ac_var+set}\" = set"; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 else
35686 cat >conftest.$ac_ext <<_ACEOF
35687 /* confdefs.h. */
35688 _ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35694 #define $ac_func innocuous_$ac_func
35695
35696 /* System header to define __stub macros and hopefully few prototypes,
35697 which can conflict with char $ac_func (); below.
35698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35699 <limits.h> exists even on freestanding compilers. */
35700
35701 #ifdef __STDC__
35702 # include <limits.h>
35703 #else
35704 # include <assert.h>
35705 #endif
35706
35707 #undef $ac_func
35708
35709 /* Override any gcc2 internal prototype to avoid an error. */
35710 #ifdef __cplusplus
35711 extern "C"
35712 {
35713 #endif
35714 /* We use char because int might match the return type of a gcc2
35715 builtin and then its argument prototype would still apply. */
35716 char $ac_func ();
35717 /* The GNU C library defines this for functions which it implements
35718 to always fail with ENOSYS. Some functions are actually named
35719 something starting with __ and the normal name is an alias. */
35720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35721 choke me
35722 #else
35723 char (*f) () = $ac_func;
35724 #endif
35725 #ifdef __cplusplus
35726 }
35727 #endif
35728
35729 int
35730 main ()
35731 {
35732 return f != $ac_func;
35733 ;
35734 return 0;
35735 }
35736 _ACEOF
35737 rm -f conftest.$ac_objext conftest$ac_exeext
35738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35739 (eval $ac_link) 2>conftest.er1
35740 ac_status=$?
35741 grep -v '^ *+' conftest.er1 >conftest.err
35742 rm -f conftest.er1
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } &&
35746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35748 (eval $ac_try) 2>&5
35749 ac_status=$?
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); }; } &&
35752 { ac_try='test -s conftest$ac_exeext'
35753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754 (eval $ac_try) 2>&5
35755 ac_status=$?
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); }; }; then
35758 eval "$as_ac_var=yes"
35759 else
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35762
35763 eval "$as_ac_var=no"
35764 fi
35765 rm -f conftest.err conftest.$ac_objext \
35766 conftest$ac_exeext conftest.$ac_ext
35767 fi
35768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35770 if test `eval echo '${'$as_ac_var'}'` = yes; then
35771 cat >>confdefs.h <<_ACEOF
35772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35773 _ACEOF
35774
35775 fi
35776 done
35777
35778
35779 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35780 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35781 cat >conftest.$ac_ext <<_ACEOF
35782 /* confdefs.h. */
35783 _ACEOF
35784 cat confdefs.h >>conftest.$ac_ext
35785 cat >>conftest.$ac_ext <<_ACEOF
35786 /* end confdefs.h. */
35787 #include <wchar.h>
35788 int
35789 main ()
35790 {
35791 &_vsnwprintf;
35792 ;
35793 return 0;
35794 }
35795 _ACEOF
35796 rm -f conftest.$ac_objext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35798 (eval $ac_compile) 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35808 ac_status=$?
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try='test -s conftest.$ac_objext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35814 ac_status=$?
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 echo "$as_me:$LINENO: result: yes" >&5
35818 echo "${ECHO_T}yes" >&6
35819 cat >>confdefs.h <<\_ACEOF
35820 #define HAVE__VSNWPRINTF 1
35821 _ACEOF
35822
35823 else
35824 echo "$as_me: failed program was:" >&5
35825 sed 's/^/| /' conftest.$ac_ext >&5
35826
35827 echo "$as_me:$LINENO: result: no" >&5
35828 echo "${ECHO_T}no" >&6
35829 fi
35830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35831 fi
35832
35833 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35834
35835 for ac_func in fnmatch
35836 do
35837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35838 echo "$as_me:$LINENO: checking for $ac_func" >&5
35839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35840 if eval "test \"\${$as_ac_var+set}\" = set"; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 else
35843 cat >conftest.$ac_ext <<_ACEOF
35844 /* confdefs.h. */
35845 _ACEOF
35846 cat confdefs.h >>conftest.$ac_ext
35847 cat >>conftest.$ac_ext <<_ACEOF
35848 /* end confdefs.h. */
35849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35851 #define $ac_func innocuous_$ac_func
35852
35853 /* System header to define __stub macros and hopefully few prototypes,
35854 which can conflict with char $ac_func (); below.
35855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35856 <limits.h> exists even on freestanding compilers. */
35857
35858 #ifdef __STDC__
35859 # include <limits.h>
35860 #else
35861 # include <assert.h>
35862 #endif
35863
35864 #undef $ac_func
35865
35866 /* Override any gcc2 internal prototype to avoid an error. */
35867 #ifdef __cplusplus
35868 extern "C"
35869 {
35870 #endif
35871 /* We use char because int might match the return type of a gcc2
35872 builtin and then its argument prototype would still apply. */
35873 char $ac_func ();
35874 /* The GNU C library defines this for functions which it implements
35875 to always fail with ENOSYS. Some functions are actually named
35876 something starting with __ and the normal name is an alias. */
35877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35878 choke me
35879 #else
35880 char (*f) () = $ac_func;
35881 #endif
35882 #ifdef __cplusplus
35883 }
35884 #endif
35885
35886 int
35887 main ()
35888 {
35889 return f != $ac_func;
35890 ;
35891 return 0;
35892 }
35893 _ACEOF
35894 rm -f conftest.$ac_objext conftest$ac_exeext
35895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35896 (eval $ac_link) 2>conftest.er1
35897 ac_status=$?
35898 grep -v '^ *+' conftest.er1 >conftest.err
35899 rm -f conftest.er1
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } &&
35903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35906 ac_status=$?
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; } &&
35909 { ac_try='test -s conftest$ac_exeext'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35912 ac_status=$?
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; }; then
35915 eval "$as_ac_var=yes"
35916 else
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35919
35920 eval "$as_ac_var=no"
35921 fi
35922 rm -f conftest.err conftest.$ac_objext \
35923 conftest$ac_exeext conftest.$ac_ext
35924 fi
35925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35927 if test `eval echo '${'$as_ac_var'}'` = yes; then
35928 cat >>confdefs.h <<_ACEOF
35929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35930 _ACEOF
35931
35932 fi
35933 done
35934
35935 fi
35936
35937 if test "$wxUSE_FILE" = "yes"; then
35938
35939 for ac_func in fsync
35940 do
35941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35942 echo "$as_me:$LINENO: checking for $ac_func" >&5
35943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35944 if eval "test \"\${$as_ac_var+set}\" = set"; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35946 else
35947 cat >conftest.$ac_ext <<_ACEOF
35948 /* confdefs.h. */
35949 _ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35955 #define $ac_func innocuous_$ac_func
35956
35957 /* System header to define __stub macros and hopefully few prototypes,
35958 which can conflict with char $ac_func (); below.
35959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35960 <limits.h> exists even on freestanding compilers. */
35961
35962 #ifdef __STDC__
35963 # include <limits.h>
35964 #else
35965 # include <assert.h>
35966 #endif
35967
35968 #undef $ac_func
35969
35970 /* Override any gcc2 internal prototype to avoid an error. */
35971 #ifdef __cplusplus
35972 extern "C"
35973 {
35974 #endif
35975 /* We use char because int might match the return type of a gcc2
35976 builtin and then its argument prototype would still apply. */
35977 char $ac_func ();
35978 /* The GNU C library defines this for functions which it implements
35979 to always fail with ENOSYS. Some functions are actually named
35980 something starting with __ and the normal name is an alias. */
35981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35982 choke me
35983 #else
35984 char (*f) () = $ac_func;
35985 #endif
35986 #ifdef __cplusplus
35987 }
35988 #endif
35989
35990 int
35991 main ()
35992 {
35993 return f != $ac_func;
35994 ;
35995 return 0;
35996 }
35997 _ACEOF
35998 rm -f conftest.$ac_objext conftest$ac_exeext
35999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36000 (eval $ac_link) 2>conftest.er1
36001 ac_status=$?
36002 grep -v '^ *+' conftest.er1 >conftest.err
36003 rm -f conftest.er1
36004 cat conftest.err >&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } &&
36007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try='test -s conftest$ac_exeext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36016 ac_status=$?
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 eval "$as_ac_var=yes"
36020 else
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36023
36024 eval "$as_ac_var=no"
36025 fi
36026 rm -f conftest.err conftest.$ac_objext \
36027 conftest$ac_exeext conftest.$ac_ext
36028 fi
36029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36031 if test `eval echo '${'$as_ac_var'}'` = yes; then
36032 cat >>confdefs.h <<_ACEOF
36033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36034 _ACEOF
36035
36036 fi
36037 done
36038
36039 fi
36040
36041
36042 for ac_func in round
36043 do
36044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36045 echo "$as_me:$LINENO: checking for $ac_func" >&5
36046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36047 if eval "test \"\${$as_ac_var+set}\" = set"; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 else
36050 cat >conftest.$ac_ext <<_ACEOF
36051 /* confdefs.h. */
36052 _ACEOF
36053 cat confdefs.h >>conftest.$ac_ext
36054 cat >>conftest.$ac_ext <<_ACEOF
36055 /* end confdefs.h. */
36056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36058 #define $ac_func innocuous_$ac_func
36059
36060 /* System header to define __stub macros and hopefully few prototypes,
36061 which can conflict with char $ac_func (); below.
36062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36063 <limits.h> exists even on freestanding compilers. */
36064
36065 #ifdef __STDC__
36066 # include <limits.h>
36067 #else
36068 # include <assert.h>
36069 #endif
36070
36071 #undef $ac_func
36072
36073 /* Override any gcc2 internal prototype to avoid an error. */
36074 #ifdef __cplusplus
36075 extern "C"
36076 {
36077 #endif
36078 /* We use char because int might match the return type of a gcc2
36079 builtin and then its argument prototype would still apply. */
36080 char $ac_func ();
36081 /* The GNU C library defines this for functions which it implements
36082 to always fail with ENOSYS. Some functions are actually named
36083 something starting with __ and the normal name is an alias. */
36084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36085 choke me
36086 #else
36087 char (*f) () = $ac_func;
36088 #endif
36089 #ifdef __cplusplus
36090 }
36091 #endif
36092
36093 int
36094 main ()
36095 {
36096 return f != $ac_func;
36097 ;
36098 return 0;
36099 }
36100 _ACEOF
36101 rm -f conftest.$ac_objext conftest$ac_exeext
36102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36103 (eval $ac_link) 2>conftest.er1
36104 ac_status=$?
36105 grep -v '^ *+' conftest.er1 >conftest.err
36106 rm -f conftest.er1
36107 cat conftest.err >&5
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); } &&
36110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; } &&
36116 { ac_try='test -s conftest$ac_exeext'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36119 ac_status=$?
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; }; then
36122 eval "$as_ac_var=yes"
36123 else
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36126
36127 eval "$as_ac_var=no"
36128 fi
36129 rm -f conftest.err conftest.$ac_objext \
36130 conftest$ac_exeext conftest.$ac_ext
36131 fi
36132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36134 if test `eval echo '${'$as_ac_var'}'` = yes; then
36135 cat >>confdefs.h <<_ACEOF
36136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36137 _ACEOF
36138
36139 fi
36140 done
36141
36142 if test "$ac_cv_func_round" = yes; then
36143 echo "$as_me:$LINENO: checking whether round is declared" >&5
36144 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36145 if test "${ac_cv_have_decl_round+set}" = set; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 else
36148 cat >conftest.$ac_ext <<_ACEOF
36149 /* confdefs.h. */
36150 _ACEOF
36151 cat confdefs.h >>conftest.$ac_ext
36152 cat >>conftest.$ac_ext <<_ACEOF
36153 /* end confdefs.h. */
36154 #include <math.h>
36155
36156 int
36157 main ()
36158 {
36159 #ifndef round
36160 char *p = (char *) round;
36161 #endif
36162
36163 ;
36164 return 0;
36165 }
36166 _ACEOF
36167 rm -f conftest.$ac_objext
36168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36169 (eval $ac_compile) 2>conftest.er1
36170 ac_status=$?
36171 grep -v '^ *+' conftest.er1 >conftest.err
36172 rm -f conftest.er1
36173 cat conftest.err >&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); } &&
36176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36179 ac_status=$?
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; } &&
36182 { ac_try='test -s conftest.$ac_objext'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; }; then
36188 ac_cv_have_decl_round=yes
36189 else
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.$ac_ext >&5
36192
36193 ac_cv_have_decl_round=no
36194 fi
36195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36196 fi
36197 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36198 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36199 if test $ac_cv_have_decl_round = yes; then
36200
36201 cat >>confdefs.h <<_ACEOF
36202 #define HAVE_DECL_ROUND 1
36203 _ACEOF
36204
36205
36206 else
36207 cat >>confdefs.h <<_ACEOF
36208 #define HAVE_DECL_ROUND 0
36209 _ACEOF
36210
36211
36212 fi
36213
36214
36215 fi
36216
36217
36218 if test "$TOOLKIT" != "MSW"; then
36219
36220
36221
36222
36223
36224 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36225 if test "${with_libiconv_prefix+set}" = set; then
36226 withval="$with_libiconv_prefix"
36227
36228 for dir in `echo "$withval" | tr : ' '`; do
36229 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36230 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36231 done
36232
36233 fi;
36234
36235 echo "$as_me:$LINENO: checking for iconv" >&5
36236 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36237 if test "${am_cv_func_iconv+set}" = set; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 else
36240
36241 am_cv_func_iconv="no, consider installing GNU libiconv"
36242 am_cv_lib_iconv=no
36243 cat >conftest.$ac_ext <<_ACEOF
36244 /* confdefs.h. */
36245 _ACEOF
36246 cat confdefs.h >>conftest.$ac_ext
36247 cat >>conftest.$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249 #include <stdlib.h>
36250 #include <iconv.h>
36251 int
36252 main ()
36253 {
36254 iconv_t cd = iconv_open("","");
36255 iconv(cd,NULL,NULL,NULL,NULL);
36256 iconv_close(cd);
36257 ;
36258 return 0;
36259 }
36260 _ACEOF
36261 rm -f conftest.$ac_objext conftest$ac_exeext
36262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36263 (eval $ac_link) 2>conftest.er1
36264 ac_status=$?
36265 grep -v '^ *+' conftest.er1 >conftest.err
36266 rm -f conftest.er1
36267 cat conftest.err >&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); } &&
36270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36273 ac_status=$?
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; } &&
36276 { ac_try='test -s conftest$ac_exeext'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36279 ac_status=$?
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; }; then
36282 am_cv_func_iconv=yes
36283 else
36284 echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.$ac_ext >&5
36286
36287 fi
36288 rm -f conftest.err conftest.$ac_objext \
36289 conftest$ac_exeext conftest.$ac_ext
36290 if test "$am_cv_func_iconv" != yes; then
36291 am_save_LIBS="$LIBS"
36292 LIBS="$LIBS -liconv"
36293 cat >conftest.$ac_ext <<_ACEOF
36294 /* confdefs.h. */
36295 _ACEOF
36296 cat confdefs.h >>conftest.$ac_ext
36297 cat >>conftest.$ac_ext <<_ACEOF
36298 /* end confdefs.h. */
36299 #include <stdlib.h>
36300 #include <iconv.h>
36301 int
36302 main ()
36303 {
36304 iconv_t cd = iconv_open("","");
36305 iconv(cd,NULL,NULL,NULL,NULL);
36306 iconv_close(cd);
36307 ;
36308 return 0;
36309 }
36310 _ACEOF
36311 rm -f conftest.$ac_objext conftest$ac_exeext
36312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36313 (eval $ac_link) 2>conftest.er1
36314 ac_status=$?
36315 grep -v '^ *+' conftest.er1 >conftest.err
36316 rm -f conftest.er1
36317 cat conftest.err >&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); } &&
36320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36322 (eval $ac_try) 2>&5
36323 ac_status=$?
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); }; } &&
36326 { ac_try='test -s conftest$ac_exeext'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36329 ac_status=$?
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; }; then
36332 am_cv_lib_iconv=yes
36333 am_cv_func_iconv=yes
36334 else
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.$ac_ext >&5
36337
36338 fi
36339 rm -f conftest.err conftest.$ac_objext \
36340 conftest$ac_exeext conftest.$ac_ext
36341 LIBS="$am_save_LIBS"
36342 fi
36343
36344 fi
36345 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36346 echo "${ECHO_T}$am_cv_func_iconv" >&6
36347 if test "$am_cv_func_iconv" = yes; then
36348
36349 cat >>confdefs.h <<\_ACEOF
36350 #define HAVE_ICONV 1
36351 _ACEOF
36352
36353 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36354 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36355 if test "${wx_cv_func_iconv_const+set}" = set; then
36356 echo $ECHO_N "(cached) $ECHO_C" >&6
36357 else
36358 cat >conftest.$ac_ext <<_ACEOF
36359 /* confdefs.h. */
36360 _ACEOF
36361 cat confdefs.h >>conftest.$ac_ext
36362 cat >>conftest.$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36364
36365 #include <stdlib.h>
36366 #include <iconv.h>
36367 extern
36368 #ifdef __cplusplus
36369 "C"
36370 #endif
36371 #if defined(__STDC__) || defined(__cplusplus)
36372 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36373 #else
36374 size_t iconv();
36375 #endif
36376
36377 int
36378 main ()
36379 {
36380
36381 ;
36382 return 0;
36383 }
36384 _ACEOF
36385 rm -f conftest.$ac_objext
36386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36387 (eval $ac_compile) 2>conftest.er1
36388 ac_status=$?
36389 grep -v '^ *+' conftest.er1 >conftest.err
36390 rm -f conftest.er1
36391 cat conftest.err >&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); } &&
36394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36396 (eval $ac_try) 2>&5
36397 ac_status=$?
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); }; } &&
36400 { ac_try='test -s conftest.$ac_objext'
36401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36402 (eval $ac_try) 2>&5
36403 ac_status=$?
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; }; then
36406 wx_cv_func_iconv_const="no"
36407 else
36408 echo "$as_me: failed program was:" >&5
36409 sed 's/^/| /' conftest.$ac_ext >&5
36410
36411 wx_cv_func_iconv_const="yes"
36412
36413 fi
36414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36415
36416 fi
36417 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36418 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36419
36420 iconv_const=
36421 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36422 iconv_const="const"
36423 fi
36424
36425
36426 cat >>confdefs.h <<_ACEOF
36427 #define ICONV_CONST $iconv_const
36428 _ACEOF
36429
36430 fi
36431 LIBICONV=
36432 if test "$am_cv_lib_iconv" = yes; then
36433 LIBICONV="-liconv"
36434 fi
36435
36436
36437 LIBS="$LIBICONV $LIBS"
36438
36439 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36440
36441 for ac_func in sigaction
36442 do
36443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36444 echo "$as_me:$LINENO: checking for $ac_func" >&5
36445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36446 if eval "test \"\${$as_ac_var+set}\" = set"; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449 cat >conftest.$ac_ext <<_ACEOF
36450 /* confdefs.h. */
36451 _ACEOF
36452 cat confdefs.h >>conftest.$ac_ext
36453 cat >>conftest.$ac_ext <<_ACEOF
36454 /* end confdefs.h. */
36455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36457 #define $ac_func innocuous_$ac_func
36458
36459 /* System header to define __stub macros and hopefully few prototypes,
36460 which can conflict with char $ac_func (); below.
36461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36462 <limits.h> exists even on freestanding compilers. */
36463
36464 #ifdef __STDC__
36465 # include <limits.h>
36466 #else
36467 # include <assert.h>
36468 #endif
36469
36470 #undef $ac_func
36471
36472 /* Override any gcc2 internal prototype to avoid an error. */
36473 #ifdef __cplusplus
36474 extern "C"
36475 {
36476 #endif
36477 /* We use char because int might match the return type of a gcc2
36478 builtin and then its argument prototype would still apply. */
36479 char $ac_func ();
36480 /* The GNU C library defines this for functions which it implements
36481 to always fail with ENOSYS. Some functions are actually named
36482 something starting with __ and the normal name is an alias. */
36483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36484 choke me
36485 #else
36486 char (*f) () = $ac_func;
36487 #endif
36488 #ifdef __cplusplus
36489 }
36490 #endif
36491
36492 int
36493 main ()
36494 {
36495 return f != $ac_func;
36496 ;
36497 return 0;
36498 }
36499 _ACEOF
36500 rm -f conftest.$ac_objext conftest$ac_exeext
36501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36502 (eval $ac_link) 2>conftest.er1
36503 ac_status=$?
36504 grep -v '^ *+' conftest.er1 >conftest.err
36505 rm -f conftest.er1
36506 cat conftest.err >&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } &&
36509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36512 ac_status=$?
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; } &&
36515 { ac_try='test -s conftest$ac_exeext'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36518 ac_status=$?
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; }; then
36521 eval "$as_ac_var=yes"
36522 else
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36525
36526 eval "$as_ac_var=no"
36527 fi
36528 rm -f conftest.err conftest.$ac_objext \
36529 conftest$ac_exeext conftest.$ac_ext
36530 fi
36531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36533 if test `eval echo '${'$as_ac_var'}'` = yes; then
36534 cat >>confdefs.h <<_ACEOF
36535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36536 _ACEOF
36537
36538 fi
36539 done
36540
36541
36542 if test "$ac_cv_func_sigaction" = "no"; then
36543 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36544 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36545 wxUSE_ON_FATAL_EXCEPTION=no
36546 fi
36547
36548 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36549 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36550 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36551 if test "${wx_cv_type_sa_handler+set}" = set; then
36552 echo $ECHO_N "(cached) $ECHO_C" >&6
36553 else
36554
36555 cat >conftest.$ac_ext <<_ACEOF
36556 /* confdefs.h. */
36557 _ACEOF
36558 cat confdefs.h >>conftest.$ac_ext
36559 cat >>conftest.$ac_ext <<_ACEOF
36560 /* end confdefs.h. */
36561 #include <signal.h>
36562 int
36563 main ()
36564 {
36565
36566 extern void testSigHandler(int);
36567
36568 struct sigaction sa;
36569 sa.sa_handler = testSigHandler;
36570
36571 ;
36572 return 0;
36573 }
36574 _ACEOF
36575 rm -f conftest.$ac_objext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36577 (eval $ac_compile) 2>conftest.er1
36578 ac_status=$?
36579 grep -v '^ *+' conftest.er1 >conftest.err
36580 rm -f conftest.er1
36581 cat conftest.err >&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36587 ac_status=$?
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try='test -s conftest.$ac_objext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36593 ac_status=$?
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596
36597 wx_cv_type_sa_handler=int
36598
36599 else
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36602
36603
36604 wx_cv_type_sa_handler=void
36605
36606 fi
36607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36608
36609 fi
36610 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36611 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36612
36613 cat >>confdefs.h <<_ACEOF
36614 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36615 _ACEOF
36616
36617 fi
36618 fi
36619
36620 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36621 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36622 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36623 if test "${wx_cv_func_backtrace+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626
36627 cat >conftest.$ac_ext <<_ACEOF
36628 /* confdefs.h. */
36629 _ACEOF
36630 cat confdefs.h >>conftest.$ac_ext
36631 cat >>conftest.$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36633 #include <execinfo.h>
36634 int
36635 main ()
36636 {
36637
36638 void *trace[1];
36639 char **messages;
36640
36641 backtrace(trace, 1);
36642 messages = backtrace_symbols(trace, 1);
36643
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36650 (eval $ac_compile) 2>conftest.er1
36651 ac_status=$?
36652 grep -v '^ *+' conftest.er1 >conftest.err
36653 rm -f conftest.er1
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; } &&
36663 { ac_try='test -s conftest.$ac_objext'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; }; then
36669 wx_cv_func_backtrace=yes
36670 else
36671 echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.$ac_ext >&5
36673
36674 wx_cv_func_backtrace=no
36675
36676 fi
36677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36678
36679
36680 fi
36681 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36682 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36683
36684
36685 if test "$wx_cv_func_backtrace" = "no"; then
36686 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36687 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36688 wxUSE_STACKWALKER=no
36689 else
36690 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36691 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36692 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36694 else
36695
36696 cat >conftest.$ac_ext <<_ACEOF
36697 /* confdefs.h. */
36698 _ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702 #include <cxxabi.h>
36703 int
36704 main ()
36705 {
36706
36707 int rc;
36708 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36709
36710 ;
36711 return 0;
36712 }
36713 _ACEOF
36714 rm -f conftest.$ac_objext conftest$ac_exeext
36715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36716 (eval $ac_link) 2>conftest.er1
36717 ac_status=$?
36718 grep -v '^ *+' conftest.er1 >conftest.err
36719 rm -f conftest.er1
36720 cat conftest.err >&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); } &&
36723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36725 (eval $ac_try) 2>&5
36726 ac_status=$?
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); }; } &&
36729 { ac_try='test -s conftest$ac_exeext'
36730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36731 (eval $ac_try) 2>&5
36732 ac_status=$?
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); }; }; then
36735 wx_cv_func_cxa_demangle=yes
36736 else
36737 echo "$as_me: failed program was:" >&5
36738 sed 's/^/| /' conftest.$ac_ext >&5
36739
36740 wx_cv_func_cxa_demangle=no
36741
36742 fi
36743 rm -f conftest.err conftest.$ac_objext \
36744 conftest$ac_exeext conftest.$ac_ext
36745
36746
36747 fi
36748 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36749 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36750
36751 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36752 cat >>confdefs.h <<\_ACEOF
36753 #define HAVE_CXA_DEMANGLE 1
36754 _ACEOF
36755
36756 fi
36757 fi
36758 fi
36759
36760 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36761 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36762 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36763 wxUSE_STACKWALKER=no
36764 fi
36765
36766
36767
36768
36769 for ac_func in mkstemp mktemp
36770 do
36771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 echo "$as_me:$LINENO: checking for $ac_func" >&5
36773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36774 if eval "test \"\${$as_ac_var+set}\" = set"; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36776 else
36777 cat >conftest.$ac_ext <<_ACEOF
36778 /* confdefs.h. */
36779 _ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36785 #define $ac_func innocuous_$ac_func
36786
36787 /* System header to define __stub macros and hopefully few prototypes,
36788 which can conflict with char $ac_func (); below.
36789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36790 <limits.h> exists even on freestanding compilers. */
36791
36792 #ifdef __STDC__
36793 # include <limits.h>
36794 #else
36795 # include <assert.h>
36796 #endif
36797
36798 #undef $ac_func
36799
36800 /* Override any gcc2 internal prototype to avoid an error. */
36801 #ifdef __cplusplus
36802 extern "C"
36803 {
36804 #endif
36805 /* We use char because int might match the return type of a gcc2
36806 builtin and then its argument prototype would still apply. */
36807 char $ac_func ();
36808 /* The GNU C library defines this for functions which it implements
36809 to always fail with ENOSYS. Some functions are actually named
36810 something starting with __ and the normal name is an alias. */
36811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36812 choke me
36813 #else
36814 char (*f) () = $ac_func;
36815 #endif
36816 #ifdef __cplusplus
36817 }
36818 #endif
36819
36820 int
36821 main ()
36822 {
36823 return f != $ac_func;
36824 ;
36825 return 0;
36826 }
36827 _ACEOF
36828 rm -f conftest.$ac_objext conftest$ac_exeext
36829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36830 (eval $ac_link) 2>conftest.er1
36831 ac_status=$?
36832 grep -v '^ *+' conftest.er1 >conftest.err
36833 rm -f conftest.er1
36834 cat conftest.err >&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } &&
36837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839 (eval $ac_try) 2>&5
36840 ac_status=$?
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); }; } &&
36843 { ac_try='test -s conftest$ac_exeext'
36844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36845 (eval $ac_try) 2>&5
36846 ac_status=$?
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); }; }; then
36849 eval "$as_ac_var=yes"
36850 else
36851 echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.$ac_ext >&5
36853
36854 eval "$as_ac_var=no"
36855 fi
36856 rm -f conftest.err conftest.$ac_objext \
36857 conftest$ac_exeext conftest.$ac_ext
36858 fi
36859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36861 if test `eval echo '${'$as_ac_var'}'` = yes; then
36862 cat >>confdefs.h <<_ACEOF
36863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36864 _ACEOF
36865 break
36866 fi
36867 done
36868
36869
36870 echo "$as_me:$LINENO: checking for statfs" >&5
36871 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36872 if test "${wx_cv_func_statfs+set}" = set; then
36873 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 else
36875 cat >conftest.$ac_ext <<_ACEOF
36876 /* confdefs.h. */
36877 _ACEOF
36878 cat confdefs.h >>conftest.$ac_ext
36879 cat >>conftest.$ac_ext <<_ACEOF
36880 /* end confdefs.h. */
36881
36882 #if defined(__BSD__)
36883 #include <sys/param.h>
36884 #include <sys/mount.h>
36885 #else
36886 #include <sys/vfs.h>
36887 #endif
36888
36889 int
36890 main ()
36891 {
36892
36893 long l;
36894 struct statfs fs;
36895 statfs("/", &fs);
36896 l = fs.f_bsize;
36897 l += fs.f_blocks;
36898 l += fs.f_bavail;
36899
36900 ;
36901 return 0;
36902 }
36903 _ACEOF
36904 rm -f conftest.$ac_objext
36905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36906 (eval $ac_compile) 2>conftest.er1
36907 ac_status=$?
36908 grep -v '^ *+' conftest.er1 >conftest.err
36909 rm -f conftest.er1
36910 cat conftest.err >&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } &&
36913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915 (eval $ac_try) 2>&5
36916 ac_status=$?
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); }; } &&
36919 { ac_try='test -s conftest.$ac_objext'
36920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36921 (eval $ac_try) 2>&5
36922 ac_status=$?
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); }; }; then
36925 wx_cv_func_statfs=yes
36926 else
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36929
36930 wx_cv_func_statfs=no
36931
36932 fi
36933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36934
36935 fi
36936 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36937 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36938
36939 if test "$wx_cv_func_statfs" = "yes"; then
36940 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36941 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36942 if test "${wx_cv_func_statfs_decl+set}" = set; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 else
36945 cat >conftest.$ac_ext <<_ACEOF
36946 /* confdefs.h. */
36947 _ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951
36952 #if defined(__BSD__)
36953 #include <sys/param.h>
36954 #include <sys/mount.h>
36955 #else
36956 #include <sys/vfs.h>
36957 #endif
36958
36959 int
36960 main ()
36961 {
36962
36963 struct statfs fs;
36964 statfs("", &fs);
36965
36966 ;
36967 return 0;
36968 }
36969 _ACEOF
36970 rm -f conftest.$ac_objext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36972 (eval $ac_compile) 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36982 ac_status=$?
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try='test -s conftest.$ac_objext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36988 ac_status=$?
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 wx_cv_func_statfs_decl=yes
36992 else
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.$ac_ext >&5
36995
36996 wx_cv_func_statfs_decl=no
36997
36998 fi
36999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37000
37001 fi
37002 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37003 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37004
37005 if test "$wx_cv_func_statfs_decl" = "yes"; then
37006 cat >>confdefs.h <<\_ACEOF
37007 #define HAVE_STATFS_DECL 1
37008 _ACEOF
37009
37010 fi
37011
37012 wx_cv_type_statvfs_t="struct statfs"
37013 cat >>confdefs.h <<\_ACEOF
37014 #define HAVE_STATFS 1
37015 _ACEOF
37016
37017 else
37018 echo "$as_me:$LINENO: checking for statvfs" >&5
37019 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37020 if test "${wx_cv_func_statvfs+set}" = set; then
37021 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 else
37023 cat >conftest.$ac_ext <<_ACEOF
37024 /* confdefs.h. */
37025 _ACEOF
37026 cat confdefs.h >>conftest.$ac_ext
37027 cat >>conftest.$ac_ext <<_ACEOF
37028 /* end confdefs.h. */
37029
37030 #include <stddef.h>
37031 #include <sys/statvfs.h>
37032
37033 int
37034 main ()
37035 {
37036
37037 statvfs("/", NULL);
37038
37039 ;
37040 return 0;
37041 }
37042 _ACEOF
37043 rm -f conftest.$ac_objext
37044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37045 (eval $ac_compile) 2>conftest.er1
37046 ac_status=$?
37047 grep -v '^ *+' conftest.er1 >conftest.err
37048 rm -f conftest.er1
37049 cat conftest.err >&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } &&
37052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37055 ac_status=$?
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; } &&
37058 { ac_try='test -s conftest.$ac_objext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37061 ac_status=$?
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37064 wx_cv_func_statvfs=yes
37065 else
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37068
37069 wx_cv_func_statvfs=no
37070
37071 fi
37072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37073
37074 fi
37075 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37076 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37077
37078 if test "$wx_cv_func_statvfs" = "yes"; then
37079 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37080 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37081 if test "${wx_cv_type_statvfs_t+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 else
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090
37091 #include <sys/statvfs.h>
37092
37093 int
37094 main ()
37095 {
37096
37097 long l;
37098 statvfs_t fs;
37099 statvfs("/", &fs);
37100 l = fs.f_bsize;
37101 l += fs.f_blocks;
37102 l += fs.f_bavail;
37103
37104 ;
37105 return 0;
37106 }
37107 _ACEOF
37108 rm -f conftest.$ac_objext
37109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37110 (eval $ac_compile) 2>conftest.er1
37111 ac_status=$?
37112 grep -v '^ *+' conftest.er1 >conftest.err
37113 rm -f conftest.er1
37114 cat conftest.err >&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); } &&
37117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37119 (eval $ac_try) 2>&5
37120 ac_status=$?
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); }; } &&
37123 { ac_try='test -s conftest.$ac_objext'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37126 ac_status=$?
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; }; then
37129 wx_cv_type_statvfs_t=statvfs_t
37130 else
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37133
37134
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141
37142 #include <sys/statvfs.h>
37143
37144 int
37145 main ()
37146 {
37147
37148 long l;
37149 struct statvfs fs;
37150 statvfs("/", &fs);
37151 l = fs.f_bsize;
37152 l += fs.f_blocks;
37153 l += fs.f_bavail;
37154
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 rm -f conftest.$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try='test -s conftest.$ac_objext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 wx_cv_type_statvfs_t="struct statvfs"
37181 else
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.$ac_ext >&5
37184
37185 wx_cv_type_statvfs_t="unknown"
37186
37187 fi
37188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37189
37190
37191 fi
37192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37193
37194 fi
37195 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37196 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37197
37198 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37199 cat >>confdefs.h <<\_ACEOF
37200 #define HAVE_STATVFS 1
37201 _ACEOF
37202
37203 fi
37204 else
37205 wx_cv_type_statvfs_t="unknown"
37206 fi
37207 fi
37208
37209 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37210 cat >>confdefs.h <<_ACEOF
37211 #define WX_STATFS_T $wx_cv_type_statvfs_t
37212 _ACEOF
37213
37214 else
37215 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37216 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37217 fi
37218
37219 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37220
37221
37222 for ac_func in fcntl flock
37223 do
37224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37225 echo "$as_me:$LINENO: checking for $ac_func" >&5
37226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37227 if eval "test \"\${$as_ac_var+set}\" = set"; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 else
37230 cat >conftest.$ac_ext <<_ACEOF
37231 /* confdefs.h. */
37232 _ACEOF
37233 cat confdefs.h >>conftest.$ac_ext
37234 cat >>conftest.$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37238 #define $ac_func innocuous_$ac_func
37239
37240 /* System header to define __stub macros and hopefully few prototypes,
37241 which can conflict with char $ac_func (); below.
37242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37243 <limits.h> exists even on freestanding compilers. */
37244
37245 #ifdef __STDC__
37246 # include <limits.h>
37247 #else
37248 # include <assert.h>
37249 #endif
37250
37251 #undef $ac_func
37252
37253 /* Override any gcc2 internal prototype to avoid an error. */
37254 #ifdef __cplusplus
37255 extern "C"
37256 {
37257 #endif
37258 /* We use char because int might match the return type of a gcc2
37259 builtin and then its argument prototype would still apply. */
37260 char $ac_func ();
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37265 choke me
37266 #else
37267 char (*f) () = $ac_func;
37268 #endif
37269 #ifdef __cplusplus
37270 }
37271 #endif
37272
37273 int
37274 main ()
37275 {
37276 return f != $ac_func;
37277 ;
37278 return 0;
37279 }
37280 _ACEOF
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37283 (eval $ac_link) 2>conftest.er1
37284 ac_status=$?
37285 grep -v '^ *+' conftest.er1 >conftest.err
37286 rm -f conftest.er1
37287 cat conftest.err >&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } &&
37290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37293 ac_status=$?
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37299 ac_status=$?
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37303 else
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.$ac_ext >&5
37306
37307 eval "$as_ac_var=no"
37308 fi
37309 rm -f conftest.err conftest.$ac_objext \
37310 conftest$ac_exeext conftest.$ac_ext
37311 fi
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h <<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37317 _ACEOF
37318 break
37319 fi
37320 done
37321
37322
37323 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37324 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37325 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37326 wxUSE_SNGLINST_CHECKER=no
37327 fi
37328 fi
37329
37330
37331 for ac_func in timegm
37332 do
37333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37334 echo "$as_me:$LINENO: checking for $ac_func" >&5
37335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37336 if eval "test \"\${$as_ac_var+set}\" = set"; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339 cat >conftest.$ac_ext <<_ACEOF
37340 /* confdefs.h. */
37341 _ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define $ac_func innocuous_$ac_func
37348
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char $ac_func (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37353
37354 #ifdef __STDC__
37355 # include <limits.h>
37356 #else
37357 # include <assert.h>
37358 #endif
37359
37360 #undef $ac_func
37361
37362 /* Override any gcc2 internal prototype to avoid an error. */
37363 #ifdef __cplusplus
37364 extern "C"
37365 {
37366 #endif
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37369 char $ac_func ();
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37374 choke me
37375 #else
37376 char (*f) () = $ac_func;
37377 #endif
37378 #ifdef __cplusplus
37379 }
37380 #endif
37381
37382 int
37383 main ()
37384 {
37385 return f != $ac_func;
37386 ;
37387 return 0;
37388 }
37389 _ACEOF
37390 rm -f conftest.$ac_objext conftest$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37402 ac_status=$?
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37408 ac_status=$?
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 eval "$as_ac_var=yes"
37412 else
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.$ac_ext >&5
37415
37416 eval "$as_ac_var=no"
37417 fi
37418 rm -f conftest.err conftest.$ac_objext \
37419 conftest$ac_exeext conftest.$ac_ext
37420 fi
37421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37423 if test `eval echo '${'$as_ac_var'}'` = yes; then
37424 cat >>confdefs.h <<_ACEOF
37425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37426 _ACEOF
37427
37428 fi
37429 done
37430
37431
37432
37433
37434 for ac_func in putenv setenv
37435 do
37436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37437 echo "$as_me:$LINENO: checking for $ac_func" >&5
37438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37439 if eval "test \"\${$as_ac_var+set}\" = set"; then
37440 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 else
37442 cat >conftest.$ac_ext <<_ACEOF
37443 /* confdefs.h. */
37444 _ACEOF
37445 cat confdefs.h >>conftest.$ac_ext
37446 cat >>conftest.$ac_ext <<_ACEOF
37447 /* end confdefs.h. */
37448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37450 #define $ac_func innocuous_$ac_func
37451
37452 /* System header to define __stub macros and hopefully few prototypes,
37453 which can conflict with char $ac_func (); below.
37454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37455 <limits.h> exists even on freestanding compilers. */
37456
37457 #ifdef __STDC__
37458 # include <limits.h>
37459 #else
37460 # include <assert.h>
37461 #endif
37462
37463 #undef $ac_func
37464
37465 /* Override any gcc2 internal prototype to avoid an error. */
37466 #ifdef __cplusplus
37467 extern "C"
37468 {
37469 #endif
37470 /* We use char because int might match the return type of a gcc2
37471 builtin and then its argument prototype would still apply. */
37472 char $ac_func ();
37473 /* The GNU C library defines this for functions which it implements
37474 to always fail with ENOSYS. Some functions are actually named
37475 something starting with __ and the normal name is an alias. */
37476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37477 choke me
37478 #else
37479 char (*f) () = $ac_func;
37480 #endif
37481 #ifdef __cplusplus
37482 }
37483 #endif
37484
37485 int
37486 main ()
37487 {
37488 return f != $ac_func;
37489 ;
37490 return 0;
37491 }
37492 _ACEOF
37493 rm -f conftest.$ac_objext conftest$ac_exeext
37494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37495 (eval $ac_link) 2>conftest.er1
37496 ac_status=$?
37497 grep -v '^ *+' conftest.er1 >conftest.err
37498 rm -f conftest.er1
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } &&
37502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37505 ac_status=$?
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; } &&
37508 { ac_try='test -s conftest$ac_exeext'
37509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510 (eval $ac_try) 2>&5
37511 ac_status=$?
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); }; }; then
37514 eval "$as_ac_var=yes"
37515 else
37516 echo "$as_me: failed program was:" >&5
37517 sed 's/^/| /' conftest.$ac_ext >&5
37518
37519 eval "$as_ac_var=no"
37520 fi
37521 rm -f conftest.err conftest.$ac_objext \
37522 conftest$ac_exeext conftest.$ac_ext
37523 fi
37524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37526 if test `eval echo '${'$as_ac_var'}'` = yes; then
37527 cat >>confdefs.h <<_ACEOF
37528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37529 _ACEOF
37530 break
37531 fi
37532 done
37533
37534
37535 HAVE_SOME_SLEEP_FUNC=0
37536 if test "$USE_BEOS" = 1; then
37537 cat >>confdefs.h <<\_ACEOF
37538 #define HAVE_SLEEP 1
37539 _ACEOF
37540
37541 HAVE_SOME_SLEEP_FUNC=1
37542 fi
37543
37544 if test "$USE_DARWIN" = 1; then
37545 cat >>confdefs.h <<\_ACEOF
37546 #define HAVE_USLEEP 1
37547 _ACEOF
37548
37549 HAVE_SOME_SLEEP_FUNC=1
37550 fi
37551
37552 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37553 POSIX4_LINK=
37554
37555 for ac_func in nanosleep
37556 do
37557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37558 echo "$as_me:$LINENO: checking for $ac_func" >&5
37559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37560 if eval "test \"\${$as_ac_var+set}\" = set"; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37562 else
37563 cat >conftest.$ac_ext <<_ACEOF
37564 /* confdefs.h. */
37565 _ACEOF
37566 cat confdefs.h >>conftest.$ac_ext
37567 cat >>conftest.$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37571 #define $ac_func innocuous_$ac_func
37572
37573 /* System header to define __stub macros and hopefully few prototypes,
37574 which can conflict with char $ac_func (); below.
37575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37576 <limits.h> exists even on freestanding compilers. */
37577
37578 #ifdef __STDC__
37579 # include <limits.h>
37580 #else
37581 # include <assert.h>
37582 #endif
37583
37584 #undef $ac_func
37585
37586 /* Override any gcc2 internal prototype to avoid an error. */
37587 #ifdef __cplusplus
37588 extern "C"
37589 {
37590 #endif
37591 /* We use char because int might match the return type of a gcc2
37592 builtin and then its argument prototype would still apply. */
37593 char $ac_func ();
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37598 choke me
37599 #else
37600 char (*f) () = $ac_func;
37601 #endif
37602 #ifdef __cplusplus
37603 }
37604 #endif
37605
37606 int
37607 main ()
37608 {
37609 return f != $ac_func;
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37616 (eval $ac_link) 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625 (eval $ac_try) 2>&5
37626 ac_status=$?
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); }; } &&
37629 { ac_try='test -s conftest$ac_exeext'
37630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631 (eval $ac_try) 2>&5
37632 ac_status=$?
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); }; }; then
37635 eval "$as_ac_var=yes"
37636 else
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37639
37640 eval "$as_ac_var=no"
37641 fi
37642 rm -f conftest.err conftest.$ac_objext \
37643 conftest$ac_exeext conftest.$ac_ext
37644 fi
37645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37647 if test `eval echo '${'$as_ac_var'}'` = yes; then
37648 cat >>confdefs.h <<_ACEOF
37649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37650 _ACEOF
37651 cat >>confdefs.h <<\_ACEOF
37652 #define HAVE_NANOSLEEP 1
37653 _ACEOF
37654
37655 else
37656
37657 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37658 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37659 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662 ac_check_lib_save_LIBS=$LIBS
37663 LIBS="-lposix4 $LIBS"
37664 cat >conftest.$ac_ext <<_ACEOF
37665 /* confdefs.h. */
37666 _ACEOF
37667 cat confdefs.h >>conftest.$ac_ext
37668 cat >>conftest.$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37670
37671 /* Override any gcc2 internal prototype to avoid an error. */
37672 #ifdef __cplusplus
37673 extern "C"
37674 #endif
37675 /* We use char because int might match the return type of a gcc2
37676 builtin and then its argument prototype would still apply. */
37677 char nanosleep ();
37678 int
37679 main ()
37680 {
37681 nanosleep ();
37682 ;
37683 return 0;
37684 }
37685 _ACEOF
37686 rm -f conftest.$ac_objext conftest$ac_exeext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37688 (eval $ac_link) 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37697 (eval $ac_try) 2>&5
37698 ac_status=$?
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); }; } &&
37701 { ac_try='test -s conftest$ac_exeext'
37702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37703 (eval $ac_try) 2>&5
37704 ac_status=$?
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); }; }; then
37707 ac_cv_lib_posix4_nanosleep=yes
37708 else
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37711
37712 ac_cv_lib_posix4_nanosleep=no
37713 fi
37714 rm -f conftest.err conftest.$ac_objext \
37715 conftest$ac_exeext conftest.$ac_ext
37716 LIBS=$ac_check_lib_save_LIBS
37717 fi
37718 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37719 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37720 if test $ac_cv_lib_posix4_nanosleep = yes; then
37721
37722 cat >>confdefs.h <<\_ACEOF
37723 #define HAVE_NANOSLEEP 1
37724 _ACEOF
37725
37726 POSIX4_LINK=" -lposix4"
37727
37728 else
37729
37730
37731 for ac_func in usleep
37732 do
37733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734 echo "$as_me:$LINENO: checking for $ac_func" >&5
37735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37736 if eval "test \"\${$as_ac_var+set}\" = set"; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37748
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37753
37754 #ifdef __STDC__
37755 # include <limits.h>
37756 #else
37757 # include <assert.h>
37758 #endif
37759
37760 #undef $ac_func
37761
37762 /* Override any gcc2 internal prototype to avoid an error. */
37763 #ifdef __cplusplus
37764 extern "C"
37765 {
37766 #endif
37767 /* We use char because int might match the return type of a gcc2
37768 builtin and then its argument prototype would still apply. */
37769 char $ac_func ();
37770 /* The GNU C library defines this for functions which it implements
37771 to always fail with ENOSYS. Some functions are actually named
37772 something starting with __ and the normal name is an alias. */
37773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37774 choke me
37775 #else
37776 char (*f) () = $ac_func;
37777 #endif
37778 #ifdef __cplusplus
37779 }
37780 #endif
37781
37782 int
37783 main ()
37784 {
37785 return f != $ac_func;
37786 ;
37787 return 0;
37788 }
37789 _ACEOF
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792 (eval $ac_link) 2>conftest.er1
37793 ac_status=$?
37794 grep -v '^ *+' conftest.er1 >conftest.err
37795 rm -f conftest.er1
37796 cat conftest.err >&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37802 ac_status=$?
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; } &&
37805 { ac_try='test -s conftest$ac_exeext'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37808 ac_status=$?
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; }; then
37811 eval "$as_ac_var=yes"
37812 else
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816 eval "$as_ac_var=no"
37817 fi
37818 rm -f conftest.err conftest.$ac_objext \
37819 conftest$ac_exeext conftest.$ac_ext
37820 fi
37821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37823 if test `eval echo '${'$as_ac_var'}'` = yes; then
37824 cat >>confdefs.h <<_ACEOF
37825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37826 _ACEOF
37827 cat >>confdefs.h <<\_ACEOF
37828 #define HAVE_USLEEP 1
37829 _ACEOF
37830
37831 else
37832 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37833 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37834
37835 fi
37836 done
37837
37838
37839
37840 fi
37841
37842
37843
37844 fi
37845 done
37846
37847 fi
37848
37849
37850
37851 for ac_func in uname gethostname
37852 do
37853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37854 echo "$as_me:$LINENO: checking for $ac_func" >&5
37855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37856 if eval "test \"\${$as_ac_var+set}\" = set"; then
37857 echo $ECHO_N "(cached) $ECHO_C" >&6
37858 else
37859 cat >conftest.$ac_ext <<_ACEOF
37860 /* confdefs.h. */
37861 _ACEOF
37862 cat confdefs.h >>conftest.$ac_ext
37863 cat >>conftest.$ac_ext <<_ACEOF
37864 /* end confdefs.h. */
37865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37867 #define $ac_func innocuous_$ac_func
37868
37869 /* System header to define __stub macros and hopefully few prototypes,
37870 which can conflict with char $ac_func (); below.
37871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37872 <limits.h> exists even on freestanding compilers. */
37873
37874 #ifdef __STDC__
37875 # include <limits.h>
37876 #else
37877 # include <assert.h>
37878 #endif
37879
37880 #undef $ac_func
37881
37882 /* Override any gcc2 internal prototype to avoid an error. */
37883 #ifdef __cplusplus
37884 extern "C"
37885 {
37886 #endif
37887 /* We use char because int might match the return type of a gcc2
37888 builtin and then its argument prototype would still apply. */
37889 char $ac_func ();
37890 /* The GNU C library defines this for functions which it implements
37891 to always fail with ENOSYS. Some functions are actually named
37892 something starting with __ and the normal name is an alias. */
37893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37894 choke me
37895 #else
37896 char (*f) () = $ac_func;
37897 #endif
37898 #ifdef __cplusplus
37899 }
37900 #endif
37901
37902 int
37903 main ()
37904 {
37905 return f != $ac_func;
37906 ;
37907 return 0;
37908 }
37909 _ACEOF
37910 rm -f conftest.$ac_objext conftest$ac_exeext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37912 (eval $ac_link) 2>conftest.er1
37913 ac_status=$?
37914 grep -v '^ *+' conftest.er1 >conftest.err
37915 rm -f conftest.er1
37916 cat conftest.err >&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try='test -s conftest$ac_exeext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931 eval "$as_ac_var=yes"
37932 else
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.$ac_ext >&5
37935
37936 eval "$as_ac_var=no"
37937 fi
37938 rm -f conftest.err conftest.$ac_objext \
37939 conftest$ac_exeext conftest.$ac_ext
37940 fi
37941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37943 if test `eval echo '${'$as_ac_var'}'` = yes; then
37944 cat >>confdefs.h <<_ACEOF
37945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37946 _ACEOF
37947 break
37948 fi
37949 done
37950
37951
37952
37953 for wx_func in strtok_r
37954 do
37955 echo "$as_me:$LINENO: checking for $wx_func" >&5
37956 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37957 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37958 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 else
37960
37961 cat >conftest.$ac_ext <<_ACEOF
37962
37963 /* confdefs.h. */
37964 _ACEOF
37965 cat confdefs.h >>conftest.$ac_ext
37966 cat >>conftest.$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968
37969 #define _REENTRANT
37970 $ac_includes_default
37971
37972 int
37973 main ()
37974 {
37975
37976 #ifndef $wx_func
37977 &$wx_func;
37978 #endif
37979
37980
37981 ;
37982 return 0;
37983 }
37984
37985 _ACEOF
37986 rm -f conftest.$ac_objext conftest$ac_exeext
37987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37988 (eval $ac_link) 2>conftest.er1
37989 ac_status=$?
37990 grep -v '^ *+' conftest.er1 >conftest.err
37991 rm -f conftest.er1
37992 cat conftest.err >&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); } &&
37995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37998 ac_status=$?
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; } &&
38001 { ac_try='test -s conftest$ac_exeext'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38004 ac_status=$?
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; }; then
38007 eval wx_cv_func_$wx_func=yes
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38011
38012 eval wx_cv_func_$wx_func=no
38013 fi
38014 rm -f conftest.err conftest.$ac_objext \
38015 conftest$ac_exeext conftest.$ac_ext
38016
38017 fi
38018 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38019 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38020
38021 if eval test \$wx_cv_func_$wx_func = yes
38022 then
38023 cat >>confdefs.h <<_ACEOF
38024 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38025 _ACEOF
38026
38027
38028 else
38029 :
38030
38031 fi
38032 done
38033
38034
38035 INET_LINK=
38036
38037 for ac_func in inet_addr
38038 do
38039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38040 echo "$as_me:$LINENO: checking for $ac_func" >&5
38041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38042 if eval "test \"\${$as_ac_var+set}\" = set"; then
38043 echo $ECHO_N "(cached) $ECHO_C" >&6
38044 else
38045 cat >conftest.$ac_ext <<_ACEOF
38046 /* confdefs.h. */
38047 _ACEOF
38048 cat confdefs.h >>conftest.$ac_ext
38049 cat >>conftest.$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38053 #define $ac_func innocuous_$ac_func
38054
38055 /* System header to define __stub macros and hopefully few prototypes,
38056 which can conflict with char $ac_func (); below.
38057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38058 <limits.h> exists even on freestanding compilers. */
38059
38060 #ifdef __STDC__
38061 # include <limits.h>
38062 #else
38063 # include <assert.h>
38064 #endif
38065
38066 #undef $ac_func
38067
38068 /* Override any gcc2 internal prototype to avoid an error. */
38069 #ifdef __cplusplus
38070 extern "C"
38071 {
38072 #endif
38073 /* We use char because int might match the return type of a gcc2
38074 builtin and then its argument prototype would still apply. */
38075 char $ac_func ();
38076 /* The GNU C library defines this for functions which it implements
38077 to always fail with ENOSYS. Some functions are actually named
38078 something starting with __ and the normal name is an alias. */
38079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38080 choke me
38081 #else
38082 char (*f) () = $ac_func;
38083 #endif
38084 #ifdef __cplusplus
38085 }
38086 #endif
38087
38088 int
38089 main ()
38090 {
38091 return f != $ac_func;
38092 ;
38093 return 0;
38094 }
38095 _ACEOF
38096 rm -f conftest.$ac_objext conftest$ac_exeext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38098 (eval $ac_link) 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38107 (eval $ac_try) 2>&5
38108 ac_status=$?
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); }; } &&
38111 { ac_try='test -s conftest$ac_exeext'
38112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113 (eval $ac_try) 2>&5
38114 ac_status=$?
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); }; }; then
38117 eval "$as_ac_var=yes"
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 eval "$as_ac_var=no"
38123 fi
38124 rm -f conftest.err conftest.$ac_objext \
38125 conftest$ac_exeext conftest.$ac_ext
38126 fi
38127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38129 if test `eval echo '${'$as_ac_var'}'` = yes; then
38130 cat >>confdefs.h <<_ACEOF
38131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38132 _ACEOF
38133 cat >>confdefs.h <<\_ACEOF
38134 #define HAVE_INET_ADDR 1
38135 _ACEOF
38136
38137 else
38138
38139 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38140 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38141 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38144 ac_check_lib_save_LIBS=$LIBS
38145 LIBS="-lnsl $LIBS"
38146 cat >conftest.$ac_ext <<_ACEOF
38147 /* confdefs.h. */
38148 _ACEOF
38149 cat confdefs.h >>conftest.$ac_ext
38150 cat >>conftest.$ac_ext <<_ACEOF
38151 /* end confdefs.h. */
38152
38153 /* Override any gcc2 internal prototype to avoid an error. */
38154 #ifdef __cplusplus
38155 extern "C"
38156 #endif
38157 /* We use char because int might match the return type of a gcc2
38158 builtin and then its argument prototype would still apply. */
38159 char inet_addr ();
38160 int
38161 main ()
38162 {
38163 inet_addr ();
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext conftest$ac_exeext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38170 (eval $ac_link) 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38180 ac_status=$?
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try='test -s conftest$ac_exeext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38186 ac_status=$?
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 ac_cv_lib_nsl_inet_addr=yes
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194 ac_cv_lib_nsl_inet_addr=no
38195 fi
38196 rm -f conftest.err conftest.$ac_objext \
38197 conftest$ac_exeext conftest.$ac_ext
38198 LIBS=$ac_check_lib_save_LIBS
38199 fi
38200 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38201 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38202 if test $ac_cv_lib_nsl_inet_addr = yes; then
38203 INET_LINK="nsl"
38204 else
38205
38206 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38207 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38208 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 else
38211 ac_check_lib_save_LIBS=$LIBS
38212 LIBS="-lresolv $LIBS"
38213 cat >conftest.$ac_ext <<_ACEOF
38214 /* confdefs.h. */
38215 _ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219
38220 /* Override any gcc2 internal prototype to avoid an error. */
38221 #ifdef __cplusplus
38222 extern "C"
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38226 char inet_addr ();
38227 int
38228 main ()
38229 {
38230 inet_addr ();
38231 ;
38232 return 0;
38233 }
38234 _ACEOF
38235 rm -f conftest.$ac_objext conftest$ac_exeext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38237 (eval $ac_link) 2>conftest.er1
38238 ac_status=$?
38239 grep -v '^ *+' conftest.er1 >conftest.err
38240 rm -f conftest.er1
38241 cat conftest.err >&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } &&
38244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38246 (eval $ac_try) 2>&5
38247 ac_status=$?
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); }; } &&
38250 { ac_try='test -s conftest$ac_exeext'
38251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38252 (eval $ac_try) 2>&5
38253 ac_status=$?
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); }; }; then
38256 ac_cv_lib_resolv_inet_addr=yes
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 ac_cv_lib_resolv_inet_addr=no
38262 fi
38263 rm -f conftest.err conftest.$ac_objext \
38264 conftest$ac_exeext conftest.$ac_ext
38265 LIBS=$ac_check_lib_save_LIBS
38266 fi
38267 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38268 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38269 if test $ac_cv_lib_resolv_inet_addr = yes; then
38270 INET_LINK="resolv"
38271 else
38272
38273 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38274 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38275 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38277 else
38278 ac_check_lib_save_LIBS=$LIBS
38279 LIBS="-lsocket $LIBS"
38280 cat >conftest.$ac_ext <<_ACEOF
38281 /* confdefs.h. */
38282 _ACEOF
38283 cat confdefs.h >>conftest.$ac_ext
38284 cat >>conftest.$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38286
38287 /* Override any gcc2 internal prototype to avoid an error. */
38288 #ifdef __cplusplus
38289 extern "C"
38290 #endif
38291 /* We use char because int might match the return type of a gcc2
38292 builtin and then its argument prototype would still apply. */
38293 char inet_addr ();
38294 int
38295 main ()
38296 {
38297 inet_addr ();
38298 ;
38299 return 0;
38300 }
38301 _ACEOF
38302 rm -f conftest.$ac_objext conftest$ac_exeext
38303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38304 (eval $ac_link) 2>conftest.er1
38305 ac_status=$?
38306 grep -v '^ *+' conftest.er1 >conftest.err
38307 rm -f conftest.er1
38308 cat conftest.err >&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } &&
38311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
38317 { ac_try='test -s conftest$ac_exeext'
38318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38319 (eval $ac_try) 2>&5
38320 ac_status=$?
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); }; }; then
38323 ac_cv_lib_socket_inet_addr=yes
38324 else
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38327
38328 ac_cv_lib_socket_inet_addr=no
38329 fi
38330 rm -f conftest.err conftest.$ac_objext \
38331 conftest$ac_exeext conftest.$ac_ext
38332 LIBS=$ac_check_lib_save_LIBS
38333 fi
38334 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38335 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38336 if test $ac_cv_lib_socket_inet_addr = yes; then
38337 INET_LINK="socket"
38338
38339 fi
38340
38341
38342
38343 fi
38344
38345
38346
38347 fi
38348
38349
38350
38351 fi
38352 done
38353
38354
38355
38356 for ac_func in inet_aton
38357 do
38358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38359 echo "$as_me:$LINENO: checking for $ac_func" >&5
38360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38361 if eval "test \"\${$as_ac_var+set}\" = set"; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 else
38364 cat >conftest.$ac_ext <<_ACEOF
38365 /* confdefs.h. */
38366 _ACEOF
38367 cat confdefs.h >>conftest.$ac_ext
38368 cat >>conftest.$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define $ac_func innocuous_$ac_func
38373
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char $ac_func (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38378
38379 #ifdef __STDC__
38380 # include <limits.h>
38381 #else
38382 # include <assert.h>
38383 #endif
38384
38385 #undef $ac_func
38386
38387 /* Override any gcc2 internal prototype to avoid an error. */
38388 #ifdef __cplusplus
38389 extern "C"
38390 {
38391 #endif
38392 /* We use char because int might match the return type of a gcc2
38393 builtin and then its argument prototype would still apply. */
38394 char $ac_func ();
38395 /* The GNU C library defines this for functions which it implements
38396 to always fail with ENOSYS. Some functions are actually named
38397 something starting with __ and the normal name is an alias. */
38398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38399 choke me
38400 #else
38401 char (*f) () = $ac_func;
38402 #endif
38403 #ifdef __cplusplus
38404 }
38405 #endif
38406
38407 int
38408 main ()
38409 {
38410 return f != $ac_func;
38411 ;
38412 return 0;
38413 }
38414 _ACEOF
38415 rm -f conftest.$ac_objext conftest$ac_exeext
38416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38417 (eval $ac_link) 2>conftest.er1
38418 ac_status=$?
38419 grep -v '^ *+' conftest.er1 >conftest.err
38420 rm -f conftest.er1
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } &&
38424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38427 ac_status=$?
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; } &&
38430 { ac_try='test -s conftest$ac_exeext'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38433 ac_status=$?
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; }; then
38436 eval "$as_ac_var=yes"
38437 else
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38440
38441 eval "$as_ac_var=no"
38442 fi
38443 rm -f conftest.err conftest.$ac_objext \
38444 conftest$ac_exeext conftest.$ac_ext
38445 fi
38446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38448 if test `eval echo '${'$as_ac_var'}'` = yes; then
38449 cat >>confdefs.h <<_ACEOF
38450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38451 _ACEOF
38452 cat >>confdefs.h <<\_ACEOF
38453 #define HAVE_INET_ATON 1
38454 _ACEOF
38455
38456 else
38457
38458 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38459 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38460 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38461 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38462 echo $ECHO_N "(cached) $ECHO_C" >&6
38463 else
38464 ac_check_lib_save_LIBS=$LIBS
38465 LIBS="-l$INET_LINK $LIBS"
38466 cat >conftest.$ac_ext <<_ACEOF
38467 /* confdefs.h. */
38468 _ACEOF
38469 cat confdefs.h >>conftest.$ac_ext
38470 cat >>conftest.$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38472
38473 /* Override any gcc2 internal prototype to avoid an error. */
38474 #ifdef __cplusplus
38475 extern "C"
38476 #endif
38477 /* We use char because int might match the return type of a gcc2
38478 builtin and then its argument prototype would still apply. */
38479 char inet_aton ();
38480 int
38481 main ()
38482 {
38483 inet_aton ();
38484 ;
38485 return 0;
38486 }
38487 _ACEOF
38488 rm -f conftest.$ac_objext conftest$ac_exeext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38490 (eval $ac_link) 2>conftest.er1
38491 ac_status=$?
38492 grep -v '^ *+' conftest.er1 >conftest.err
38493 rm -f conftest.er1
38494 cat conftest.err >&5
38495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38496 (exit $ac_status); } &&
38497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499 (eval $ac_try) 2>&5
38500 ac_status=$?
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); }; } &&
38503 { ac_try='test -s conftest$ac_exeext'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38506 ac_status=$?
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; }; then
38509 eval "$as_ac_Lib=yes"
38510 else
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.$ac_ext >&5
38513
38514 eval "$as_ac_Lib=no"
38515 fi
38516 rm -f conftest.err conftest.$ac_objext \
38517 conftest$ac_exeext conftest.$ac_ext
38518 LIBS=$ac_check_lib_save_LIBS
38519 fi
38520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38521 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38522 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38523 cat >>confdefs.h <<\_ACEOF
38524 #define HAVE_INET_ATON 1
38525 _ACEOF
38526
38527 fi
38528
38529
38530 fi
38531 done
38532
38533
38534 if test "x$INET_LINK" != "x"; then
38535 cat >>confdefs.h <<\_ACEOF
38536 #define HAVE_INET_ADDR 1
38537 _ACEOF
38538
38539 INET_LINK=" -l$INET_LINK"
38540 fi
38541
38542 fi
38543
38544
38545
38546 EXTRALIBS_ESD=
38547 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38548 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38549 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 else
38552 ac_check_lib_save_LIBS=$LIBS
38553 LIBS="-lesd $LIBS"
38554 cat >conftest.$ac_ext <<_ACEOF
38555 /* confdefs.h. */
38556 _ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38560
38561 /* Override any gcc2 internal prototype to avoid an error. */
38562 #ifdef __cplusplus
38563 extern "C"
38564 #endif
38565 /* We use char because int might match the return type of a gcc2
38566 builtin and then its argument prototype would still apply. */
38567 char esd_close ();
38568 int
38569 main ()
38570 {
38571 esd_close ();
38572 ;
38573 return 0;
38574 }
38575 _ACEOF
38576 rm -f conftest.$ac_objext conftest$ac_exeext
38577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38578 (eval $ac_link) 2>conftest.er1
38579 ac_status=$?
38580 grep -v '^ *+' conftest.er1 >conftest.err
38581 rm -f conftest.er1
38582 cat conftest.err >&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } &&
38585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38588 ac_status=$?
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; } &&
38591 { ac_try='test -s conftest$ac_exeext'
38592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593 (eval $ac_try) 2>&5
38594 ac_status=$?
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); }; }; then
38597 ac_cv_lib_esd_esd_close=yes
38598 else
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38601
38602 ac_cv_lib_esd_esd_close=no
38603 fi
38604 rm -f conftest.err conftest.$ac_objext \
38605 conftest$ac_exeext conftest.$ac_ext
38606 LIBS=$ac_check_lib_save_LIBS
38607 fi
38608 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38609 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38610 if test $ac_cv_lib_esd_esd_close = yes; then
38611
38612
38613 for ac_header in esd.h
38614 do
38615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38617 echo "$as_me:$LINENO: checking for $ac_header" >&5
38618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38621 fi
38622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38624 else
38625 # Is the header compilable?
38626 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38628 cat >conftest.$ac_ext <<_ACEOF
38629 /* confdefs.h. */
38630 _ACEOF
38631 cat confdefs.h >>conftest.$ac_ext
38632 cat >>conftest.$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38634 $ac_includes_default
38635 #include <$ac_header>
38636 _ACEOF
38637 rm -f conftest.$ac_objext
38638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38639 (eval $ac_compile) 2>conftest.er1
38640 ac_status=$?
38641 grep -v '^ *+' conftest.er1 >conftest.err
38642 rm -f conftest.er1
38643 cat conftest.err >&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } &&
38646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38649 ac_status=$?
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; } &&
38652 { ac_try='test -s conftest.$ac_objext'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38655 ac_status=$?
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; }; then
38658 ac_header_compiler=yes
38659 else
38660 echo "$as_me: failed program was:" >&5
38661 sed 's/^/| /' conftest.$ac_ext >&5
38662
38663 ac_header_compiler=no
38664 fi
38665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38667 echo "${ECHO_T}$ac_header_compiler" >&6
38668
38669 # Is the header present?
38670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38672 cat >conftest.$ac_ext <<_ACEOF
38673 /* confdefs.h. */
38674 _ACEOF
38675 cat confdefs.h >>conftest.$ac_ext
38676 cat >>conftest.$ac_ext <<_ACEOF
38677 /* end confdefs.h. */
38678 #include <$ac_header>
38679 _ACEOF
38680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38682 ac_status=$?
38683 grep -v '^ *+' conftest.er1 >conftest.err
38684 rm -f conftest.er1
38685 cat conftest.err >&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } >/dev/null; then
38688 if test -s conftest.err; then
38689 ac_cpp_err=$ac_cxx_preproc_warn_flag
38690 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38691 else
38692 ac_cpp_err=
38693 fi
38694 else
38695 ac_cpp_err=yes
38696 fi
38697 if test -z "$ac_cpp_err"; then
38698 ac_header_preproc=yes
38699 else
38700 echo "$as_me: failed program was:" >&5
38701 sed 's/^/| /' conftest.$ac_ext >&5
38702
38703 ac_header_preproc=no
38704 fi
38705 rm -f conftest.err conftest.$ac_ext
38706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38707 echo "${ECHO_T}$ac_header_preproc" >&6
38708
38709 # So? What about this header?
38710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38711 yes:no: )
38712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38716 ac_header_preproc=yes
38717 ;;
38718 no:yes:* )
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38731 (
38732 cat <<\_ASBOX
38733 ## ----------------------------------------- ##
38734 ## Report this to wx-dev@lists.wxwidgets.org ##
38735 ## ----------------------------------------- ##
38736 _ASBOX
38737 ) |
38738 sed "s/^/$as_me: WARNING: /" >&2
38739 ;;
38740 esac
38741 echo "$as_me:$LINENO: checking for $ac_header" >&5
38742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 eval "$as_ac_Header=\$ac_header_preproc"
38747 fi
38748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38750
38751 fi
38752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38753 cat >>confdefs.h <<_ACEOF
38754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38755 _ACEOF
38756
38757 EXTRALIBS_ESD="-lesd"
38758
38759 fi
38760
38761 done
38762
38763
38764 fi
38765
38766
38767
38768 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38769 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38770 cat >conftest.$ac_ext <<_ACEOF
38771 /* confdefs.h. */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38776 #ifdef __linux__
38777 #include <linux/cdrom.h>
38778 #else
38779 /* For Solaris */
38780 #include <sys/cdio.h>
38781 #endif
38782
38783 int
38784 main ()
38785 {
38786 struct cdrom_tocentry entry, old_entry;
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38793 (eval $ac_compile) 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38803 ac_status=$?
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try='test -s conftest.$ac_objext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812 echo "$as_me:$LINENO: result: yes" >&5
38813 echo "${ECHO_T}yes" >&6
38814 cat >>confdefs.h <<\_ACEOF
38815 #define HAVE_KNOWN_CDROM_INTERFACE 1
38816 _ACEOF
38817
38818 else
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.$ac_ext >&5
38821
38822 echo "$as_me:$LINENO: result: no" >&5
38823 echo "${ECHO_T}no" >&6
38824 fi
38825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38826
38827
38828 cat >confcache <<\_ACEOF
38829 # This file is a shell script that caches the results of configure
38830 # tests run on this system so they can be shared between configure
38831 # scripts and configure runs, see configure's option --config-cache.
38832 # It is not useful on other systems. If it contains results you don't
38833 # want to keep, you may remove or edit it.
38834 #
38835 # config.status only pays attention to the cache file if you give it
38836 # the --recheck option to rerun configure.
38837 #
38838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38840 # following values.
38841
38842 _ACEOF
38843
38844 # The following way of writing the cache mishandles newlines in values,
38845 # but we know of no workaround that is simple, portable, and efficient.
38846 # So, don't put newlines in cache variables' values.
38847 # Ultrix sh set writes to stderr and can't be redirected directly,
38848 # and sets the high bit in the cache file unless we assign to the vars.
38849 {
38850 (set) 2>&1 |
38851 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38852 *ac_space=\ *)
38853 # `set' does not quote correctly, so add quotes (double-quote
38854 # substitution turns \\\\ into \\, and sed turns \\ into \).
38855 sed -n \
38856 "s/'/'\\\\''/g;
38857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38858 ;;
38859 *)
38860 # `set' quotes correctly as required by POSIX, so do not add quotes.
38861 sed -n \
38862 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38863 ;;
38864 esac;
38865 } |
38866 sed '
38867 t clear
38868 : clear
38869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38870 t end
38871 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38872 : end' >>confcache
38873 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38874 if test -w $cache_file; then
38875 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38876 cat confcache >$cache_file
38877 else
38878 echo "not updating unwritable cache $cache_file"
38879 fi
38880 fi
38881 rm -f confcache
38882
38883
38884 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38885
38886
38887 THREADS_LINK=
38888 THREADS_CXXFLAGS=
38889
38890 if test "$wxUSE_THREADS" = "yes" ; then
38891 if test "$USE_BEOS" = 1; then
38892 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38893 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38894 wxUSE_THREADS="no"
38895 fi
38896 fi
38897
38898 if test "$wxUSE_THREADS" = "yes" ; then
38899
38900
38901 THREAD_OPTS="-pthread"
38902 case "${host}" in
38903 *-*-solaris2* | *-*-sunos4* )
38904 if test "x$GCC" = "xyes"; then
38905 THREAD_OPTS="-pthreads $THREAD_OPTS"
38906 else
38907 THREAD_OPTS="-mt $THREAD_OPTS"
38908 fi
38909 ;;
38910 *-*-freebsd*)
38911 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38912 ;;
38913 *-*-darwin* | *-*-cygwin* )
38914 THREAD_OPTS=""
38915 ;;
38916 *-*-aix*)
38917 THREAD_OPTS="pthreads"
38918 ;;
38919 *-hp-hpux* )
38920 if test "x$GCC" = "xyes"; then
38921 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38922 THREAD_OPTS=""
38923 else
38924 THREAD_OPTS="-mt"
38925 fi
38926 ;;
38927
38928 *-*-irix* )
38929 if test "x$GCC" = "xyes"; then
38930 THREAD_OPTS=""
38931 fi
38932 ;;
38933
38934 *-*-*UnixWare*)
38935 if test "x$GCC" != "xyes"; then
38936 THREAD_OPTS="-Ethread"
38937 fi
38938 ;;
38939 esac
38940
38941 THREAD_OPTS="$THREAD_OPTS pthread none"
38942
38943 THREADS_OK=no
38944 for flag in $THREAD_OPTS; do
38945 case $flag in
38946 none)
38947 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38948 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38949 ;;
38950
38951 -*)
38952 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38953 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38954 THREADS_CXXFLAGS="$flag"
38955 ;;
38956
38957 *)
38958 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38959 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38960 THREADS_LINK="-l$flag"
38961 ;;
38962 esac
38963
38964 save_LIBS="$LIBS"
38965 save_CXXFLAGS="$CXXFLAGS"
38966 LIBS="$THREADS_LINK $LIBS"
38967 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38968
38969 cat >conftest.$ac_ext <<_ACEOF
38970 /* confdefs.h. */
38971 _ACEOF
38972 cat confdefs.h >>conftest.$ac_ext
38973 cat >>conftest.$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38975 #include <pthread.h>
38976 int
38977 main ()
38978 {
38979 pthread_create(0,0,0,0);
38980 ;
38981 return 0;
38982 }
38983 _ACEOF
38984 rm -f conftest.$ac_objext conftest$ac_exeext
38985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38986 (eval $ac_link) 2>conftest.er1
38987 ac_status=$?
38988 grep -v '^ *+' conftest.er1 >conftest.err
38989 rm -f conftest.er1
38990 cat conftest.err >&5
38991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38992 (exit $ac_status); } &&
38993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38995 (eval $ac_try) 2>&5
38996 ac_status=$?
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); }; } &&
38999 { ac_try='test -s conftest$ac_exeext'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39002 ac_status=$?
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; }; then
39005 THREADS_OK=yes
39006 else
39007 echo "$as_me: failed program was:" >&5
39008 sed 's/^/| /' conftest.$ac_ext >&5
39009
39010 fi
39011 rm -f conftest.err conftest.$ac_objext \
39012 conftest$ac_exeext conftest.$ac_ext
39013
39014 LIBS="$save_LIBS"
39015 CXXFLAGS="$save_CXXFLAGS"
39016
39017 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39018 echo "${ECHO_T}$THREADS_OK" >&6
39019 if test "x$THREADS_OK" = "xyes"; then
39020 break;
39021 fi
39022
39023 THREADS_LINK=""
39024 THREADS_CXXFLAGS=""
39025 done
39026
39027 if test "x$THREADS_OK" != "xyes"; then
39028 wxUSE_THREADS=no
39029 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39030 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39031 else
39032 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39033 LIBS="$THREADS_LINK $LIBS"
39034
39035 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39036 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39037 flag=no
39038 case "${host}" in
39039 *-aix*)
39040 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39041 flag="-D_THREAD_SAFE"
39042 ;;
39043 *-freebsd*)
39044 flag="-D_THREAD_SAFE"
39045 ;;
39046 *-hp-hpux* )
39047 flag="-D_REENTRANT"
39048 if test "x$GCC" != "xyes"; then
39049 flag="$flag -D_RWSTD_MULTI_THREAD"
39050 fi
39051 ;;
39052 *solaris* | alpha*-osf*)
39053 flag="-D_REENTRANT"
39054 ;;
39055 esac
39056 echo "$as_me:$LINENO: result: ${flag}" >&5
39057 echo "${ECHO_T}${flag}" >&6
39058 if test "x$flag" != xno; then
39059 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39060 fi
39061
39062 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39063 fi
39064 fi
39065
39066 if test "$wxUSE_THREADS" = "yes" ; then
39067
39068 for ac_func in thr_setconcurrency
39069 do
39070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39071 echo "$as_me:$LINENO: checking for $ac_func" >&5
39072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39073 if eval "test \"\${$as_ac_var+set}\" = set"; then
39074 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 else
39076 cat >conftest.$ac_ext <<_ACEOF
39077 /* confdefs.h. */
39078 _ACEOF
39079 cat confdefs.h >>conftest.$ac_ext
39080 cat >>conftest.$ac_ext <<_ACEOF
39081 /* end confdefs.h. */
39082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39084 #define $ac_func innocuous_$ac_func
39085
39086 /* System header to define __stub macros and hopefully few prototypes,
39087 which can conflict with char $ac_func (); below.
39088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089 <limits.h> exists even on freestanding compilers. */
39090
39091 #ifdef __STDC__
39092 # include <limits.h>
39093 #else
39094 # include <assert.h>
39095 #endif
39096
39097 #undef $ac_func
39098
39099 /* Override any gcc2 internal prototype to avoid an error. */
39100 #ifdef __cplusplus
39101 extern "C"
39102 {
39103 #endif
39104 /* We use char because int might match the return type of a gcc2
39105 builtin and then its argument prototype would still apply. */
39106 char $ac_func ();
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39111 choke me
39112 #else
39113 char (*f) () = $ac_func;
39114 #endif
39115 #ifdef __cplusplus
39116 }
39117 #endif
39118
39119 int
39120 main ()
39121 {
39122 return f != $ac_func;
39123 ;
39124 return 0;
39125 }
39126 _ACEOF
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39129 (eval $ac_link) 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } &&
39136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39138 (eval $ac_try) 2>&5
39139 ac_status=$?
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); }; } &&
39142 { ac_try='test -s conftest$ac_exeext'
39143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39144 (eval $ac_try) 2>&5
39145 ac_status=$?
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); }; }; then
39148 eval "$as_ac_var=yes"
39149 else
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39152
39153 eval "$as_ac_var=no"
39154 fi
39155 rm -f conftest.err conftest.$ac_objext \
39156 conftest$ac_exeext conftest.$ac_ext
39157 fi
39158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39160 if test `eval echo '${'$as_ac_var'}'` = yes; then
39161 cat >>confdefs.h <<_ACEOF
39162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39163 _ACEOF
39164
39165 fi
39166 done
39167
39168
39169 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39170 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39171 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39174
39175 cat >conftest.$ac_ext <<_ACEOF
39176 /* confdefs.h. */
39177 _ACEOF
39178 cat confdefs.h >>conftest.$ac_ext
39179 cat >>conftest.$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 #include <pthread.h>
39182 void ThreadCleanupFunc(void *p);
39183
39184 int
39185 main ()
39186 {
39187
39188 void *p;
39189 pthread_cleanup_push(ThreadCleanupFunc, p);
39190 pthread_cleanup_pop(0);
39191
39192 ;
39193 return 0;
39194 }
39195 _ACEOF
39196 rm -f conftest.$ac_objext
39197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39198 (eval $ac_compile) 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } &&
39205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207 (eval $ac_try) 2>&5
39208 ac_status=$?
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); }; } &&
39211 { ac_try='test -s conftest.$ac_objext'
39212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213 (eval $ac_try) 2>&5
39214 ac_status=$?
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); }; }; then
39217
39218 wx_cv_func_pthread_cleanup=yes
39219
39220 else
39221 echo "$as_me: failed program was:" >&5
39222 sed 's/^/| /' conftest.$ac_ext >&5
39223
39224
39225 wx_cv_func_pthread_cleanup=no
39226
39227
39228 fi
39229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39230
39231 fi
39232 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39233 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39234 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define wxHAVE_PTHREAD_CLEANUP 1
39237 _ACEOF
39238
39239 fi
39240
39241
39242 for ac_header in sched.h
39243 do
39244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39246 echo "$as_me:$LINENO: checking for $ac_header" >&5
39247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39249 echo $ECHO_N "(cached) $ECHO_C" >&6
39250 fi
39251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39253 else
39254 # Is the header compilable?
39255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39257 cat >conftest.$ac_ext <<_ACEOF
39258 /* confdefs.h. */
39259 _ACEOF
39260 cat confdefs.h >>conftest.$ac_ext
39261 cat >>conftest.$ac_ext <<_ACEOF
39262 /* end confdefs.h. */
39263 $ac_includes_default
39264 #include <$ac_header>
39265 _ACEOF
39266 rm -f conftest.$ac_objext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39268 (eval $ac_compile) 2>conftest.er1
39269 ac_status=$?
39270 grep -v '^ *+' conftest.er1 >conftest.err
39271 rm -f conftest.er1
39272 cat conftest.err >&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } &&
39275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39278 ac_status=$?
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; } &&
39281 { ac_try='test -s conftest.$ac_objext'
39282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283 (eval $ac_try) 2>&5
39284 ac_status=$?
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); }; }; then
39287 ac_header_compiler=yes
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 ac_header_compiler=no
39293 fi
39294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39296 echo "${ECHO_T}$ac_header_compiler" >&6
39297
39298 # Is the header present?
39299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39301 cat >conftest.$ac_ext <<_ACEOF
39302 /* confdefs.h. */
39303 _ACEOF
39304 cat confdefs.h >>conftest.$ac_ext
39305 cat >>conftest.$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307 #include <$ac_header>
39308 _ACEOF
39309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39311 ac_status=$?
39312 grep -v '^ *+' conftest.er1 >conftest.err
39313 rm -f conftest.er1
39314 cat conftest.err >&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } >/dev/null; then
39317 if test -s conftest.err; then
39318 ac_cpp_err=$ac_cxx_preproc_warn_flag
39319 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39320 else
39321 ac_cpp_err=
39322 fi
39323 else
39324 ac_cpp_err=yes
39325 fi
39326 if test -z "$ac_cpp_err"; then
39327 ac_header_preproc=yes
39328 else
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.$ac_ext >&5
39331
39332 ac_header_preproc=no
39333 fi
39334 rm -f conftest.err conftest.$ac_ext
39335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39336 echo "${ECHO_T}$ac_header_preproc" >&6
39337
39338 # So? What about this header?
39339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39340 yes:no: )
39341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39345 ac_header_preproc=yes
39346 ;;
39347 no:yes:* )
39348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39360 (
39361 cat <<\_ASBOX
39362 ## ----------------------------------------- ##
39363 ## Report this to wx-dev@lists.wxwidgets.org ##
39364 ## ----------------------------------------- ##
39365 _ASBOX
39366 ) |
39367 sed "s/^/$as_me: WARNING: /" >&2
39368 ;;
39369 esac
39370 echo "$as_me:$LINENO: checking for $ac_header" >&5
39371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39373 echo $ECHO_N "(cached) $ECHO_C" >&6
39374 else
39375 eval "$as_ac_Header=\$ac_header_preproc"
39376 fi
39377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39379
39380 fi
39381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39382 cat >>confdefs.h <<_ACEOF
39383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39384 _ACEOF
39385
39386 fi
39387
39388 done
39389
39390 if test "$ac_cv_header_sched_h" = "yes"; then
39391 echo "$as_me:$LINENO: checking for sched_yield" >&5
39392 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39393 if test "${ac_cv_func_sched_yield+set}" = set; then
39394 echo $ECHO_N "(cached) $ECHO_C" >&6
39395 else
39396 cat >conftest.$ac_ext <<_ACEOF
39397 /* confdefs.h. */
39398 _ACEOF
39399 cat confdefs.h >>conftest.$ac_ext
39400 cat >>conftest.$ac_ext <<_ACEOF
39401 /* end confdefs.h. */
39402 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39404 #define sched_yield innocuous_sched_yield
39405
39406 /* System header to define __stub macros and hopefully few prototypes,
39407 which can conflict with char sched_yield (); below.
39408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39409 <limits.h> exists even on freestanding compilers. */
39410
39411 #ifdef __STDC__
39412 # include <limits.h>
39413 #else
39414 # include <assert.h>
39415 #endif
39416
39417 #undef sched_yield
39418
39419 /* Override any gcc2 internal prototype to avoid an error. */
39420 #ifdef __cplusplus
39421 extern "C"
39422 {
39423 #endif
39424 /* We use char because int might match the return type of a gcc2
39425 builtin and then its argument prototype would still apply. */
39426 char sched_yield ();
39427 /* The GNU C library defines this for functions which it implements
39428 to always fail with ENOSYS. Some functions are actually named
39429 something starting with __ and the normal name is an alias. */
39430 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39431 choke me
39432 #else
39433 char (*f) () = sched_yield;
39434 #endif
39435 #ifdef __cplusplus
39436 }
39437 #endif
39438
39439 int
39440 main ()
39441 {
39442 return f != sched_yield;
39443 ;
39444 return 0;
39445 }
39446 _ACEOF
39447 rm -f conftest.$ac_objext conftest$ac_exeext
39448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39449 (eval $ac_link) 2>conftest.er1
39450 ac_status=$?
39451 grep -v '^ *+' conftest.er1 >conftest.err
39452 rm -f conftest.er1
39453 cat conftest.err >&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } &&
39456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39458 (eval $ac_try) 2>&5
39459 ac_status=$?
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); }; } &&
39462 { ac_try='test -s conftest$ac_exeext'
39463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39464 (eval $ac_try) 2>&5
39465 ac_status=$?
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); }; }; then
39468 ac_cv_func_sched_yield=yes
39469 else
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39472
39473 ac_cv_func_sched_yield=no
39474 fi
39475 rm -f conftest.err conftest.$ac_objext \
39476 conftest$ac_exeext conftest.$ac_ext
39477 fi
39478 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39479 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39480 if test $ac_cv_func_sched_yield = yes; then
39481 cat >>confdefs.h <<\_ACEOF
39482 #define HAVE_SCHED_YIELD 1
39483 _ACEOF
39484
39485 else
39486
39487 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39488 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39489 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39490 echo $ECHO_N "(cached) $ECHO_C" >&6
39491 else
39492 ac_check_lib_save_LIBS=$LIBS
39493 LIBS="-lposix4 $LIBS"
39494 cat >conftest.$ac_ext <<_ACEOF
39495 /* confdefs.h. */
39496 _ACEOF
39497 cat confdefs.h >>conftest.$ac_ext
39498 cat >>conftest.$ac_ext <<_ACEOF
39499 /* end confdefs.h. */
39500
39501 /* Override any gcc2 internal prototype to avoid an error. */
39502 #ifdef __cplusplus
39503 extern "C"
39504 #endif
39505 /* We use char because int might match the return type of a gcc2
39506 builtin and then its argument prototype would still apply. */
39507 char sched_yield ();
39508 int
39509 main ()
39510 {
39511 sched_yield ();
39512 ;
39513 return 0;
39514 }
39515 _ACEOF
39516 rm -f conftest.$ac_objext conftest$ac_exeext
39517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39518 (eval $ac_link) 2>conftest.er1
39519 ac_status=$?
39520 grep -v '^ *+' conftest.er1 >conftest.err
39521 rm -f conftest.er1
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } &&
39525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39527 (eval $ac_try) 2>&5
39528 ac_status=$?
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); }; } &&
39531 { ac_try='test -s conftest$ac_exeext'
39532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533 (eval $ac_try) 2>&5
39534 ac_status=$?
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); }; }; then
39537 ac_cv_lib_posix4_sched_yield=yes
39538 else
39539 echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.$ac_ext >&5
39541
39542 ac_cv_lib_posix4_sched_yield=no
39543 fi
39544 rm -f conftest.err conftest.$ac_objext \
39545 conftest$ac_exeext conftest.$ac_ext
39546 LIBS=$ac_check_lib_save_LIBS
39547 fi
39548 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39549 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39550 if test $ac_cv_lib_posix4_sched_yield = yes; then
39551 cat >>confdefs.h <<\_ACEOF
39552 #define HAVE_SCHED_YIELD 1
39553 _ACEOF
39554 POSIX4_LINK=" -lposix4"
39555 else
39556 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39557 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39558
39559 fi
39560
39561
39562
39563 fi
39564
39565 fi
39566
39567 HAVE_PRIOR_FUNCS=0
39568 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39569 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39570 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 else
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39582
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char pthread_attr_getschedpolicy (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39587
39588 #ifdef __STDC__
39589 # include <limits.h>
39590 #else
39591 # include <assert.h>
39592 #endif
39593
39594 #undef pthread_attr_getschedpolicy
39595
39596 /* Override any gcc2 internal prototype to avoid an error. */
39597 #ifdef __cplusplus
39598 extern "C"
39599 {
39600 #endif
39601 /* We use char because int might match the return type of a gcc2
39602 builtin and then its argument prototype would still apply. */
39603 char pthread_attr_getschedpolicy ();
39604 /* The GNU C library defines this for functions which it implements
39605 to always fail with ENOSYS. Some functions are actually named
39606 something starting with __ and the normal name is an alias. */
39607 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39608 choke me
39609 #else
39610 char (*f) () = pthread_attr_getschedpolicy;
39611 #endif
39612 #ifdef __cplusplus
39613 }
39614 #endif
39615
39616 int
39617 main ()
39618 {
39619 return f != pthread_attr_getschedpolicy;
39620 ;
39621 return 0;
39622 }
39623 _ACEOF
39624 rm -f conftest.$ac_objext conftest$ac_exeext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39626 (eval $ac_link) 2>conftest.er1
39627 ac_status=$?
39628 grep -v '^ *+' conftest.er1 >conftest.err
39629 rm -f conftest.er1
39630 cat conftest.err >&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39636 ac_status=$?
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try='test -s conftest$ac_exeext'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39642 ac_status=$?
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; }; then
39645 ac_cv_func_pthread_attr_getschedpolicy=yes
39646 else
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.$ac_ext >&5
39649
39650 ac_cv_func_pthread_attr_getschedpolicy=no
39651 fi
39652 rm -f conftest.err conftest.$ac_objext \
39653 conftest$ac_exeext conftest.$ac_ext
39654 fi
39655 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39656 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39657 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39658 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39659 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39660 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39661 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 else
39663 cat >conftest.$ac_ext <<_ACEOF
39664 /* confdefs.h. */
39665 _ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39669 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39671 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39672
39673 /* System header to define __stub macros and hopefully few prototypes,
39674 which can conflict with char pthread_attr_setschedparam (); below.
39675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676 <limits.h> exists even on freestanding compilers. */
39677
39678 #ifdef __STDC__
39679 # include <limits.h>
39680 #else
39681 # include <assert.h>
39682 #endif
39683
39684 #undef pthread_attr_setschedparam
39685
39686 /* Override any gcc2 internal prototype to avoid an error. */
39687 #ifdef __cplusplus
39688 extern "C"
39689 {
39690 #endif
39691 /* We use char because int might match the return type of a gcc2
39692 builtin and then its argument prototype would still apply. */
39693 char pthread_attr_setschedparam ();
39694 /* The GNU C library defines this for functions which it implements
39695 to always fail with ENOSYS. Some functions are actually named
39696 something starting with __ and the normal name is an alias. */
39697 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39698 choke me
39699 #else
39700 char (*f) () = pthread_attr_setschedparam;
39701 #endif
39702 #ifdef __cplusplus
39703 }
39704 #endif
39705
39706 int
39707 main ()
39708 {
39709 return f != pthread_attr_setschedparam;
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 rm -f conftest.$ac_objext conftest$ac_exeext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39716 (eval $ac_link) 2>conftest.er1
39717 ac_status=$?
39718 grep -v '^ *+' conftest.er1 >conftest.err
39719 rm -f conftest.er1
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } &&
39723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39726 ac_status=$?
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; } &&
39729 { ac_try='test -s conftest$ac_exeext'
39730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39731 (eval $ac_try) 2>&5
39732 ac_status=$?
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); }; }; then
39735 ac_cv_func_pthread_attr_setschedparam=yes
39736 else
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.$ac_ext >&5
39739
39740 ac_cv_func_pthread_attr_setschedparam=no
39741 fi
39742 rm -f conftest.err conftest.$ac_objext \
39743 conftest$ac_exeext conftest.$ac_ext
39744 fi
39745 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39746 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39747 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39748 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39749 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39750 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 else
39753 cat >conftest.$ac_ext <<_ACEOF
39754 /* confdefs.h. */
39755 _ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39761 #define sched_get_priority_max innocuous_sched_get_priority_max
39762
39763 /* System header to define __stub macros and hopefully few prototypes,
39764 which can conflict with char sched_get_priority_max (); below.
39765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39766 <limits.h> exists even on freestanding compilers. */
39767
39768 #ifdef __STDC__
39769 # include <limits.h>
39770 #else
39771 # include <assert.h>
39772 #endif
39773
39774 #undef sched_get_priority_max
39775
39776 /* Override any gcc2 internal prototype to avoid an error. */
39777 #ifdef __cplusplus
39778 extern "C"
39779 {
39780 #endif
39781 /* We use char because int might match the return type of a gcc2
39782 builtin and then its argument prototype would still apply. */
39783 char sched_get_priority_max ();
39784 /* The GNU C library defines this for functions which it implements
39785 to always fail with ENOSYS. Some functions are actually named
39786 something starting with __ and the normal name is an alias. */
39787 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39788 choke me
39789 #else
39790 char (*f) () = sched_get_priority_max;
39791 #endif
39792 #ifdef __cplusplus
39793 }
39794 #endif
39795
39796 int
39797 main ()
39798 {
39799 return f != sched_get_priority_max;
39800 ;
39801 return 0;
39802 }
39803 _ACEOF
39804 rm -f conftest.$ac_objext conftest$ac_exeext
39805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39806 (eval $ac_link) 2>conftest.er1
39807 ac_status=$?
39808 grep -v '^ *+' conftest.er1 >conftest.err
39809 rm -f conftest.er1
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } &&
39813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39815 (eval $ac_try) 2>&5
39816 ac_status=$?
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); }; } &&
39819 { ac_try='test -s conftest$ac_exeext'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39822 ac_status=$?
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 ac_cv_func_sched_get_priority_max=yes
39826 else
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39829
39830 ac_cv_func_sched_get_priority_max=no
39831 fi
39832 rm -f conftest.err conftest.$ac_objext \
39833 conftest$ac_exeext conftest.$ac_ext
39834 fi
39835 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39836 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39837 if test $ac_cv_func_sched_get_priority_max = yes; then
39838 HAVE_PRIOR_FUNCS=1
39839 else
39840 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39841 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39842 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39843 echo $ECHO_N "(cached) $ECHO_C" >&6
39844 else
39845 ac_check_lib_save_LIBS=$LIBS
39846 LIBS="-lposix4 $LIBS"
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853
39854 /* Override any gcc2 internal prototype to avoid an error. */
39855 #ifdef __cplusplus
39856 extern "C"
39857 #endif
39858 /* We use char because int might match the return type of a gcc2
39859 builtin and then its argument prototype would still apply. */
39860 char sched_get_priority_max ();
39861 int
39862 main ()
39863 {
39864 sched_get_priority_max ();
39865 ;
39866 return 0;
39867 }
39868 _ACEOF
39869 rm -f conftest.$ac_objext conftest$ac_exeext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39871 (eval $ac_link) 2>conftest.er1
39872 ac_status=$?
39873 grep -v '^ *+' conftest.er1 >conftest.err
39874 rm -f conftest.er1
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } &&
39878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; } &&
39884 { ac_try='test -s conftest$ac_exeext'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39887 ac_status=$?
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; }; then
39890 ac_cv_lib_posix4_sched_get_priority_max=yes
39891 else
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39894
39895 ac_cv_lib_posix4_sched_get_priority_max=no
39896 fi
39897 rm -f conftest.err conftest.$ac_objext \
39898 conftest$ac_exeext conftest.$ac_ext
39899 LIBS=$ac_check_lib_save_LIBS
39900 fi
39901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39902 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39903 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39904
39905 HAVE_PRIOR_FUNCS=1
39906 POSIX4_LINK=" -lposix4"
39907
39908 fi
39909
39910
39911 fi
39912
39913
39914 fi
39915
39916
39917 fi
39918
39919
39920 if test "$HAVE_PRIOR_FUNCS" = 1; then
39921 cat >>confdefs.h <<\_ACEOF
39922 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39923 _ACEOF
39924
39925 else
39926 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39927 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39928 fi
39929
39930 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39931 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39932 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39933 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 else
39935 cat >conftest.$ac_ext <<_ACEOF
39936 /* confdefs.h. */
39937 _ACEOF
39938 cat confdefs.h >>conftest.$ac_ext
39939 cat >>conftest.$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39943 #define pthread_cancel innocuous_pthread_cancel
39944
39945 /* System header to define __stub macros and hopefully few prototypes,
39946 which can conflict with char pthread_cancel (); below.
39947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39948 <limits.h> exists even on freestanding compilers. */
39949
39950 #ifdef __STDC__
39951 # include <limits.h>
39952 #else
39953 # include <assert.h>
39954 #endif
39955
39956 #undef pthread_cancel
39957
39958 /* Override any gcc2 internal prototype to avoid an error. */
39959 #ifdef __cplusplus
39960 extern "C"
39961 {
39962 #endif
39963 /* We use char because int might match the return type of a gcc2
39964 builtin and then its argument prototype would still apply. */
39965 char pthread_cancel ();
39966 /* The GNU C library defines this for functions which it implements
39967 to always fail with ENOSYS. Some functions are actually named
39968 something starting with __ and the normal name is an alias. */
39969 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39970 choke me
39971 #else
39972 char (*f) () = pthread_cancel;
39973 #endif
39974 #ifdef __cplusplus
39975 }
39976 #endif
39977
39978 int
39979 main ()
39980 {
39981 return f != pthread_cancel;
39982 ;
39983 return 0;
39984 }
39985 _ACEOF
39986 rm -f conftest.$ac_objext conftest$ac_exeext
39987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39988 (eval $ac_link) 2>conftest.er1
39989 ac_status=$?
39990 grep -v '^ *+' conftest.er1 >conftest.err
39991 rm -f conftest.er1
39992 cat conftest.err >&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } &&
39995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39997 (eval $ac_try) 2>&5
39998 ac_status=$?
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); }; } &&
40001 { ac_try='test -s conftest$ac_exeext'
40002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40003 (eval $ac_try) 2>&5
40004 ac_status=$?
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); }; }; then
40007 ac_cv_func_pthread_cancel=yes
40008 else
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40011
40012 ac_cv_func_pthread_cancel=no
40013 fi
40014 rm -f conftest.err conftest.$ac_objext \
40015 conftest$ac_exeext conftest.$ac_ext
40016 fi
40017 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40018 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40019 if test $ac_cv_func_pthread_cancel = yes; then
40020 cat >>confdefs.h <<\_ACEOF
40021 #define HAVE_PTHREAD_CANCEL 1
40022 _ACEOF
40023
40024 else
40025 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40026 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40027 fi
40028
40029
40030 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40031 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40032 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40034 else
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40044
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char pthread_attr_setstacksize (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40049
40050 #ifdef __STDC__
40051 # include <limits.h>
40052 #else
40053 # include <assert.h>
40054 #endif
40055
40056 #undef pthread_attr_setstacksize
40057
40058 /* Override any gcc2 internal prototype to avoid an error. */
40059 #ifdef __cplusplus
40060 extern "C"
40061 {
40062 #endif
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char pthread_attr_setstacksize ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40070 choke me
40071 #else
40072 char (*f) () = pthread_attr_setstacksize;
40073 #endif
40074 #ifdef __cplusplus
40075 }
40076 #endif
40077
40078 int
40079 main ()
40080 {
40081 return f != pthread_attr_setstacksize;
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40089 ac_status=$?
40090 grep -v '^ *+' conftest.er1 >conftest.err
40091 rm -f conftest.er1
40092 cat conftest.err >&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40098 ac_status=$?
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40104 ac_status=$?
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 ac_cv_func_pthread_attr_setstacksize=yes
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112 ac_cv_func_pthread_attr_setstacksize=no
40113 fi
40114 rm -f conftest.err conftest.$ac_objext \
40115 conftest$ac_exeext conftest.$ac_ext
40116 fi
40117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40119 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40120 cat >>confdefs.h <<\_ACEOF
40121 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40122 _ACEOF
40123
40124 fi
40125
40126
40127
40128 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40129 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40130 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40133
40134 cat >conftest.$ac_ext <<_ACEOF
40135 /* confdefs.h. */
40136 _ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 #include <pthread.h>
40141 int
40142 main ()
40143 {
40144
40145 pthread_mutexattr_t attr;
40146 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40147
40148 ;
40149 return 0;
40150 }
40151 _ACEOF
40152 rm -f conftest.$ac_objext
40153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40154 (eval $ac_compile) 2>conftest.er1
40155 ac_status=$?
40156 grep -v '^ *+' conftest.er1 >conftest.err
40157 rm -f conftest.er1
40158 cat conftest.err >&5
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); } &&
40161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163 (eval $ac_try) 2>&5
40164 ac_status=$?
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); }; } &&
40167 { ac_try='test -s conftest.$ac_objext'
40168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40169 (eval $ac_try) 2>&5
40170 ac_status=$?
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); }; }; then
40173 wx_cv_type_pthread_mutexattr_t=yes
40174 else
40175 echo "$as_me: failed program was:" >&5
40176 sed 's/^/| /' conftest.$ac_ext >&5
40177
40178 wx_cv_type_pthread_mutexattr_t=no
40179
40180 fi
40181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40182
40183 fi
40184 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40185 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40186
40187 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define HAVE_PTHREAD_MUTEXATTR_T 1
40190 _ACEOF
40191
40192
40193 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40194 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40195 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40196 echo $ECHO_N "(cached) $ECHO_C" >&6
40197 else
40198
40199 cat >conftest.$ac_ext <<_ACEOF
40200 /* confdefs.h. */
40201 _ACEOF
40202 cat confdefs.h >>conftest.$ac_ext
40203 cat >>conftest.$ac_ext <<_ACEOF
40204 /* end confdefs.h. */
40205 #include <pthread.h>
40206 int
40207 main ()
40208 {
40209
40210 pthread_mutexattr_t attr;
40211 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40212
40213 ;
40214 return 0;
40215 }
40216 _ACEOF
40217 rm -f conftest.$ac_objext
40218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40219 (eval $ac_compile) 2>conftest.er1
40220 ac_status=$?
40221 grep -v '^ *+' conftest.er1 >conftest.err
40222 rm -f conftest.er1
40223 cat conftest.err >&5
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); } &&
40226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40229 ac_status=$?
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try='test -s conftest.$ac_objext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40235 ac_status=$?
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 wx_cv_func_pthread_mutexattr_settype_decl=yes
40239 else
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.$ac_ext >&5
40242
40243 wx_cv_func_pthread_mutexattr_settype_decl=no
40244
40245 fi
40246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40247
40248 fi
40249 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40250 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40251 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40252 cat >>confdefs.h <<\_ACEOF
40253 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40254 _ACEOF
40255
40256 fi
40257 else
40258 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40259 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40260 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40263
40264 cat >conftest.$ac_ext <<_ACEOF
40265 /* confdefs.h. */
40266 _ACEOF
40267 cat confdefs.h >>conftest.$ac_ext
40268 cat >>conftest.$ac_ext <<_ACEOF
40269 /* end confdefs.h. */
40270 #include <pthread.h>
40271 int
40272 main ()
40273 {
40274
40275 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40276
40277 ;
40278 return 0;
40279 }
40280 _ACEOF
40281 rm -f conftest.$ac_objext
40282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40283 (eval $ac_compile) 2>conftest.er1
40284 ac_status=$?
40285 grep -v '^ *+' conftest.er1 >conftest.err
40286 rm -f conftest.er1
40287 cat conftest.err >&5
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); } &&
40290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; } &&
40296 { ac_try='test -s conftest.$ac_objext'
40297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298 (eval $ac_try) 2>&5
40299 ac_status=$?
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); }; }; then
40302
40303 wx_cv_type_pthread_rec_mutex_init=yes
40304
40305 else
40306 echo "$as_me: failed program was:" >&5
40307 sed 's/^/| /' conftest.$ac_ext >&5
40308
40309
40310 wx_cv_type_pthread_rec_mutex_init=no
40311
40312
40313 fi
40314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40315
40316 fi
40317 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40318 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40319 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40320 cat >>confdefs.h <<\_ACEOF
40321 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40322 _ACEOF
40323
40324 else
40325 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40326 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40327 fi
40328 fi
40329 fi
40330
40331 else
40332 if test "$wxUSE_THREADS" = "yes" ; then
40333 case "${host}" in
40334 *-*-mingw32* )
40335 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40336 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40337 if test "${wx_cv_cflags_mthread+set}" = set; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40339 else
40340
40341 CXXFLAGS_OLD="$CXXFLAGS"
40342 CXXFLAGS="-mthreads $CXXFLAGS"
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349
40350 int
40351 main ()
40352 {
40353
40354 ;
40355 return 0;
40356 }
40357 _ACEOF
40358 rm -f conftest.$ac_objext
40359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40360 (eval $ac_compile) 2>conftest.er1
40361 ac_status=$?
40362 grep -v '^ *+' conftest.er1 >conftest.err
40363 rm -f conftest.er1
40364 cat conftest.err >&5
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); } &&
40367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try='test -s conftest.$ac_objext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40379 wx_cv_cflags_mthread=yes
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40383
40384 wx_cv_cflags_mthread=no
40385
40386 fi
40387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40388
40389
40390 fi
40391 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40392 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40393
40394 if test "$wx_cv_cflags_mthread" = "yes"; then
40395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40396 LDFLAGS="$LDFLAGS -mthreads"
40397 else
40398 CXXFLAGS="$CXXFLAGS_OLD"
40399 fi
40400 ;;
40401 *-pc-os2*emx )
40402 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40403 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40404 LDFLAGS="$LDFLAGS -Zmt"
40405 ;;
40406 esac
40407 fi
40408 fi
40409
40410 echo "$as_me:$LINENO: checking for localtime_r" >&5
40411 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40412 if test "${ac_cv_func_localtime_r+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 else
40415 cat >conftest.$ac_ext <<_ACEOF
40416 /* confdefs.h. */
40417 _ACEOF
40418 cat confdefs.h >>conftest.$ac_ext
40419 cat >>conftest.$ac_ext <<_ACEOF
40420 /* end confdefs.h. */
40421 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40423 #define localtime_r innocuous_localtime_r
40424
40425 /* System header to define __stub macros and hopefully few prototypes,
40426 which can conflict with char localtime_r (); below.
40427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40428 <limits.h> exists even on freestanding compilers. */
40429
40430 #ifdef __STDC__
40431 # include <limits.h>
40432 #else
40433 # include <assert.h>
40434 #endif
40435
40436 #undef localtime_r
40437
40438 /* Override any gcc2 internal prototype to avoid an error. */
40439 #ifdef __cplusplus
40440 extern "C"
40441 {
40442 #endif
40443 /* We use char because int might match the return type of a gcc2
40444 builtin and then its argument prototype would still apply. */
40445 char localtime_r ();
40446 /* The GNU C library defines this for functions which it implements
40447 to always fail with ENOSYS. Some functions are actually named
40448 something starting with __ and the normal name is an alias. */
40449 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40450 choke me
40451 #else
40452 char (*f) () = localtime_r;
40453 #endif
40454 #ifdef __cplusplus
40455 }
40456 #endif
40457
40458 int
40459 main ()
40460 {
40461 return f != localtime_r;
40462 ;
40463 return 0;
40464 }
40465 _ACEOF
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40468 (eval $ac_link) 2>conftest.er1
40469 ac_status=$?
40470 grep -v '^ *+' conftest.er1 >conftest.err
40471 rm -f conftest.er1
40472 cat conftest.err >&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } &&
40475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40477 (eval $ac_try) 2>&5
40478 ac_status=$?
40479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40480 (exit $ac_status); }; } &&
40481 { ac_try='test -s conftest$ac_exeext'
40482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40483 (eval $ac_try) 2>&5
40484 ac_status=$?
40485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486 (exit $ac_status); }; }; then
40487 ac_cv_func_localtime_r=yes
40488 else
40489 echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.$ac_ext >&5
40491
40492 ac_cv_func_localtime_r=no
40493 fi
40494 rm -f conftest.err conftest.$ac_objext \
40495 conftest$ac_exeext conftest.$ac_ext
40496 fi
40497 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40498 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40499 if test $ac_cv_func_localtime_r = yes; then
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_LOCALTIME_R 1
40502 _ACEOF
40503
40504 fi
40505
40506 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40507 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40508 if test "${ac_cv_func_gmtime_r+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 else
40511 cat >conftest.$ac_ext <<_ACEOF
40512 /* confdefs.h. */
40513 _ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40519 #define gmtime_r innocuous_gmtime_r
40520
40521 /* System header to define __stub macros and hopefully few prototypes,
40522 which can conflict with char gmtime_r (); below.
40523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40524 <limits.h> exists even on freestanding compilers. */
40525
40526 #ifdef __STDC__
40527 # include <limits.h>
40528 #else
40529 # include <assert.h>
40530 #endif
40531
40532 #undef gmtime_r
40533
40534 /* Override any gcc2 internal prototype to avoid an error. */
40535 #ifdef __cplusplus
40536 extern "C"
40537 {
40538 #endif
40539 /* We use char because int might match the return type of a gcc2
40540 builtin and then its argument prototype would still apply. */
40541 char gmtime_r ();
40542 /* The GNU C library defines this for functions which it implements
40543 to always fail with ENOSYS. Some functions are actually named
40544 something starting with __ and the normal name is an alias. */
40545 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40546 choke me
40547 #else
40548 char (*f) () = gmtime_r;
40549 #endif
40550 #ifdef __cplusplus
40551 }
40552 #endif
40553
40554 int
40555 main ()
40556 {
40557 return f != gmtime_r;
40558 ;
40559 return 0;
40560 }
40561 _ACEOF
40562 rm -f conftest.$ac_objext conftest$ac_exeext
40563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40564 (eval $ac_link) 2>conftest.er1
40565 ac_status=$?
40566 grep -v '^ *+' conftest.er1 >conftest.err
40567 rm -f conftest.er1
40568 cat conftest.err >&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); } &&
40571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40574 ac_status=$?
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; } &&
40577 { ac_try='test -s conftest$ac_exeext'
40578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40579 (eval $ac_try) 2>&5
40580 ac_status=$?
40581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40582 (exit $ac_status); }; }; then
40583 ac_cv_func_gmtime_r=yes
40584 else
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.$ac_ext >&5
40587
40588 ac_cv_func_gmtime_r=no
40589 fi
40590 rm -f conftest.err conftest.$ac_objext \
40591 conftest$ac_exeext conftest.$ac_ext
40592 fi
40593 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40594 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40595 if test $ac_cv_func_gmtime_r = yes; then
40596 cat >>confdefs.h <<\_ACEOF
40597 #define HAVE_GMTIME_R 1
40598 _ACEOF
40599
40600 fi
40601
40602 echo "$as_me:$LINENO: checking for readdir_r" >&5
40603 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40604 if test "${ac_cv_func_readdir_r+set}" = set; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 else
40607 cat >conftest.$ac_ext <<_ACEOF
40608 /* confdefs.h. */
40609 _ACEOF
40610 cat confdefs.h >>conftest.$ac_ext
40611 cat >>conftest.$ac_ext <<_ACEOF
40612 /* end confdefs.h. */
40613 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40615 #define readdir_r innocuous_readdir_r
40616
40617 /* System header to define __stub macros and hopefully few prototypes,
40618 which can conflict with char readdir_r (); below.
40619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40620 <limits.h> exists even on freestanding compilers. */
40621
40622 #ifdef __STDC__
40623 # include <limits.h>
40624 #else
40625 # include <assert.h>
40626 #endif
40627
40628 #undef readdir_r
40629
40630 /* Override any gcc2 internal prototype to avoid an error. */
40631 #ifdef __cplusplus
40632 extern "C"
40633 {
40634 #endif
40635 /* We use char because int might match the return type of a gcc2
40636 builtin and then its argument prototype would still apply. */
40637 char readdir_r ();
40638 /* The GNU C library defines this for functions which it implements
40639 to always fail with ENOSYS. Some functions are actually named
40640 something starting with __ and the normal name is an alias. */
40641 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40642 choke me
40643 #else
40644 char (*f) () = readdir_r;
40645 #endif
40646 #ifdef __cplusplus
40647 }
40648 #endif
40649
40650 int
40651 main ()
40652 {
40653 return f != readdir_r;
40654 ;
40655 return 0;
40656 }
40657 _ACEOF
40658 rm -f conftest.$ac_objext conftest$ac_exeext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40660 (eval $ac_link) 2>conftest.er1
40661 ac_status=$?
40662 grep -v '^ *+' conftest.er1 >conftest.err
40663 rm -f conftest.er1
40664 cat conftest.err >&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try='test -s conftest$ac_exeext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 ac_cv_func_readdir_r=yes
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684 ac_cv_func_readdir_r=no
40685 fi
40686 rm -f conftest.err conftest.$ac_objext \
40687 conftest$ac_exeext conftest.$ac_ext
40688 fi
40689 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40690 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40691 if test $ac_cv_func_readdir_r = yes; then
40692 cat >>confdefs.h <<\_ACEOF
40693 #define HAVE_READDIR_R 1
40694 _ACEOF
40695
40696 fi
40697
40698
40699
40700
40701 ac_ext=c
40702 ac_cpp='$CPP $CPPFLAGS'
40703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40706
40707 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40708 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40709
40710 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 else
40713
40714
40715 ################################################################
40716
40717 ac_cv_func_which_gethostbyname_r=unknown
40718
40719 #
40720 # ONE ARGUMENT (sanity check)
40721 #
40722
40723 # This should fail, as there is no variant of gethostbyname_r() that takes
40724 # a single argument. If it actually compiles, then we can assume that
40725 # netdb.h is not declaring the function, and the compiler is thereby
40726 # assuming an implicit prototype. In which case, we're out of luck.
40727 #
40728 cat >conftest.$ac_ext <<_ACEOF
40729 /* confdefs.h. */
40730 _ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734 #include <netdb.h>
40735 int
40736 main ()
40737 {
40738
40739 char *name = "www.gnu.org";
40740 (void)gethostbyname_r(name) /* ; */
40741
40742 ;
40743 return 0;
40744 }
40745 _ACEOF
40746 rm -f conftest.$ac_objext
40747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40748 (eval $ac_compile) 2>conftest.er1
40749 ac_status=$?
40750 grep -v '^ *+' conftest.er1 >conftest.err
40751 rm -f conftest.er1
40752 cat conftest.err >&5
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); } &&
40755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40758 ac_status=$?
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try='test -s conftest.$ac_objext'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40764 ac_status=$?
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; }; then
40767 ac_cv_func_which_gethostbyname_r=no
40768 else
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.$ac_ext >&5
40771
40772 fi
40773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40774
40775 #
40776 # SIX ARGUMENTS
40777 # (e.g. Linux)
40778 #
40779
40780 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40781
40782 cat >conftest.$ac_ext <<_ACEOF
40783 /* confdefs.h. */
40784 _ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40788 #include <netdb.h>
40789 int
40790 main ()
40791 {
40792
40793 char *name = "www.gnu.org";
40794 struct hostent ret, *retp;
40795 char buf[1024];
40796 int buflen = 1024;
40797 int my_h_errno;
40798 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40799
40800 ;
40801 return 0;
40802 }
40803 _ACEOF
40804 rm -f conftest.$ac_objext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40806 (eval $ac_compile) 2>conftest.er1
40807 ac_status=$?
40808 grep -v '^ *+' conftest.er1 >conftest.err
40809 rm -f conftest.er1
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40816 ac_status=$?
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try='test -s conftest.$ac_objext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40822 ac_status=$?
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 ac_cv_func_which_gethostbyname_r=six
40826 else
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.$ac_ext >&5
40829
40830 fi
40831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40832
40833 fi
40834
40835 #
40836 # FIVE ARGUMENTS
40837 # (e.g. Solaris)
40838 #
40839
40840 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40841
40842 cat >conftest.$ac_ext <<_ACEOF
40843 /* confdefs.h. */
40844 _ACEOF
40845 cat confdefs.h >>conftest.$ac_ext
40846 cat >>conftest.$ac_ext <<_ACEOF
40847 /* end confdefs.h. */
40848 #include <netdb.h>
40849 int
40850 main ()
40851 {
40852
40853 char *name = "www.gnu.org";
40854 struct hostent ret;
40855 char buf[1024];
40856 int buflen = 1024;
40857 int my_h_errno;
40858 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40859
40860 ;
40861 return 0;
40862 }
40863 _ACEOF
40864 rm -f conftest.$ac_objext
40865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40866 (eval $ac_compile) 2>conftest.er1
40867 ac_status=$?
40868 grep -v '^ *+' conftest.er1 >conftest.err
40869 rm -f conftest.er1
40870 cat conftest.err >&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } &&
40873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40876 ac_status=$?
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; } &&
40879 { ac_try='test -s conftest.$ac_objext'
40880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40881 (eval $ac_try) 2>&5
40882 ac_status=$?
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); }; }; then
40885 ac_cv_func_which_gethostbyname_r=five
40886 else
40887 echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40889
40890 fi
40891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40892
40893 fi
40894
40895 #
40896 # THREE ARGUMENTS
40897 # (e.g. AIX, HP-UX, Tru64)
40898 #
40899
40900 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40901
40902 cat >conftest.$ac_ext <<_ACEOF
40903 /* confdefs.h. */
40904 _ACEOF
40905 cat confdefs.h >>conftest.$ac_ext
40906 cat >>conftest.$ac_ext <<_ACEOF
40907 /* end confdefs.h. */
40908 #include <netdb.h>
40909 int
40910 main ()
40911 {
40912
40913 char *name = "www.gnu.org";
40914 struct hostent ret;
40915 struct hostent_data data;
40916 (void)gethostbyname_r(name, &ret, &data) /* ; */
40917
40918 ;
40919 return 0;
40920 }
40921 _ACEOF
40922 rm -f conftest.$ac_objext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40924 (eval $ac_compile) 2>conftest.er1
40925 ac_status=$?
40926 grep -v '^ *+' conftest.er1 >conftest.err
40927 rm -f conftest.er1
40928 cat conftest.err >&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); } &&
40931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40933 (eval $ac_try) 2>&5
40934 ac_status=$?
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); }; } &&
40937 { ac_try='test -s conftest.$ac_objext'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40940 ac_status=$?
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; }; then
40943 ac_cv_func_which_gethostbyname_r=three
40944 else
40945 echo "$as_me: failed program was:" >&5
40946 sed 's/^/| /' conftest.$ac_ext >&5
40947
40948 fi
40949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40950
40951 fi
40952
40953 ################################################################
40954
40955
40956 fi
40957
40958 case "$ac_cv_func_which_gethostbyname_r" in
40959 three)
40960 echo "$as_me:$LINENO: result: three" >&5
40961 echo "${ECHO_T}three" >&6
40962 cat >>confdefs.h <<\_ACEOF
40963 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40964 _ACEOF
40965
40966 ;;
40967
40968 five)
40969 echo "$as_me:$LINENO: result: five" >&5
40970 echo "${ECHO_T}five" >&6
40971 cat >>confdefs.h <<\_ACEOF
40972 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40973 _ACEOF
40974
40975 ;;
40976
40977 six)
40978 echo "$as_me:$LINENO: result: six" >&5
40979 echo "${ECHO_T}six" >&6
40980 cat >>confdefs.h <<\_ACEOF
40981 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40982 _ACEOF
40983
40984 ;;
40985
40986 no)
40987 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40988 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40989 ;;
40990
40991 unknown)
40992 echo "$as_me:$LINENO: result: can't tell" >&5
40993 echo "${ECHO_T}can't tell" >&6
40994 ;;
40995
40996 *)
40997 { { echo "$as_me:$LINENO: error: internal error" >&5
40998 echo "$as_me: error: internal error" >&2;}
40999 { (exit 1); exit 1; }; }
41000 ;;
41001 esac
41002
41003 ac_ext=cc
41004 ac_cpp='$CXXCPP $CPPFLAGS'
41005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41008
41009
41010
41011 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41012 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41013 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41014 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41015 if test "${ac_cv_func_gethostbyname+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 else
41018 cat >conftest.$ac_ext <<_ACEOF
41019 /* confdefs.h. */
41020 _ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define gethostbyname innocuous_gethostbyname
41027
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char gethostbyname (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41032
41033 #ifdef __STDC__
41034 # include <limits.h>
41035 #else
41036 # include <assert.h>
41037 #endif
41038
41039 #undef gethostbyname
41040
41041 /* Override any gcc2 internal prototype to avoid an error. */
41042 #ifdef __cplusplus
41043 extern "C"
41044 {
41045 #endif
41046 /* We use char because int might match the return type of a gcc2
41047 builtin and then its argument prototype would still apply. */
41048 char gethostbyname ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41053 choke me
41054 #else
41055 char (*f) () = gethostbyname;
41056 #endif
41057 #ifdef __cplusplus
41058 }
41059 #endif
41060
41061 int
41062 main ()
41063 {
41064 return f != gethostbyname;
41065 ;
41066 return 0;
41067 }
41068 _ACEOF
41069 rm -f conftest.$ac_objext conftest$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>conftest.er1
41072 ac_status=$?
41073 grep -v '^ *+' conftest.er1 >conftest.err
41074 rm -f conftest.er1
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } &&
41078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41081 ac_status=$?
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 ac_cv_func_gethostbyname=yes
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 ac_cv_func_gethostbyname=no
41096 fi
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41099 fi
41100 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41101 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41102 if test $ac_cv_func_gethostbyname = yes; then
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_GETHOSTBYNAME 1
41105 _ACEOF
41106
41107 fi
41108
41109 fi
41110
41111 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41112 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41113 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 else
41116
41117 cat >conftest.$ac_ext <<_ACEOF
41118 /* confdefs.h. */
41119 _ACEOF
41120 cat confdefs.h >>conftest.$ac_ext
41121 cat >>conftest.$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41123 #include <netdb.h>
41124 int
41125 main ()
41126 {
41127
41128 char *name;
41129 char *proto;
41130 struct servent *se, *res;
41131 char buffer[2048];
41132 int buflen = 2048;
41133 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41134
41135 ;
41136 return 0;
41137 }
41138 _ACEOF
41139 rm -f conftest.$ac_objext
41140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41141 (eval $ac_compile) 2>conftest.er1
41142 ac_status=$?
41143 grep -v '^ *+' conftest.er1 >conftest.err
41144 rm -f conftest.er1
41145 cat conftest.err >&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); } &&
41148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41150 (eval $ac_try) 2>&5
41151 ac_status=$?
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); }; } &&
41154 { ac_try='test -s conftest.$ac_objext'
41155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41156 (eval $ac_try) 2>&5
41157 ac_status=$?
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 ac_cv_func_which_getservbyname_r=six
41161 else
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.$ac_ext >&5
41164
41165
41166 cat >conftest.$ac_ext <<_ACEOF
41167 /* confdefs.h. */
41168 _ACEOF
41169 cat confdefs.h >>conftest.$ac_ext
41170 cat >>conftest.$ac_ext <<_ACEOF
41171 /* end confdefs.h. */
41172 #include <netdb.h>
41173 int
41174 main ()
41175 {
41176
41177 char *name;
41178 char *proto;
41179 struct servent *se;
41180 char buffer[2048];
41181 int buflen = 2048;
41182 (void) getservbyname_r(name, proto, se, buffer, buflen)
41183
41184 ;
41185 return 0;
41186 }
41187 _ACEOF
41188 rm -f conftest.$ac_objext
41189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41190 (eval $ac_compile) 2>conftest.er1
41191 ac_status=$?
41192 grep -v '^ *+' conftest.er1 >conftest.err
41193 rm -f conftest.er1
41194 cat conftest.err >&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } &&
41197 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41200 ac_status=$?
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; } &&
41203 { ac_try='test -s conftest.$ac_objext'
41204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41205 (eval $ac_try) 2>&5
41206 ac_status=$?
41207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 (exit $ac_status); }; }; then
41209 ac_cv_func_which_getservbyname_r=five
41210 else
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41213
41214
41215 cat >conftest.$ac_ext <<_ACEOF
41216 /* confdefs.h. */
41217 _ACEOF
41218 cat confdefs.h >>conftest.$ac_ext
41219 cat >>conftest.$ac_ext <<_ACEOF
41220 /* end confdefs.h. */
41221 #include <netdb.h>
41222 int
41223 main ()
41224 {
41225
41226 char *name;
41227 char *proto;
41228 struct servent *se;
41229 struct servent_data data;
41230 (void) getservbyname_r(name, proto, se, &data);
41231
41232 ;
41233 return 0;
41234 }
41235 _ACEOF
41236 rm -f conftest.$ac_objext
41237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41238 (eval $ac_compile) 2>conftest.er1
41239 ac_status=$?
41240 grep -v '^ *+' conftest.er1 >conftest.err
41241 rm -f conftest.er1
41242 cat conftest.err >&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } &&
41245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41248 ac_status=$?
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; } &&
41251 { ac_try='test -s conftest.$ac_objext'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41254 ac_status=$?
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; }; then
41257 ac_cv_func_which_getservbyname_r=four
41258 else
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262 ac_cv_func_which_getservbyname_r=no
41263
41264 fi
41265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41266
41267
41268 fi
41269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41270
41271
41272 fi
41273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41274
41275
41276 fi
41277 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41278 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41279
41280 if test $ac_cv_func_which_getservbyname_r = six; then
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41283 _ACEOF
41284
41285 elif test $ac_cv_func_which_getservbyname_r = five; then
41286 cat >>confdefs.h <<\_ACEOF
41287 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41288 _ACEOF
41289
41290 elif test $ac_cv_func_which_getservbyname_r = four; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41293 _ACEOF
41294
41295 fi
41296
41297
41298 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41299 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41300
41301 for ac_func in getservbyname
41302 do
41303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41304 echo "$as_me:$LINENO: checking for $ac_func" >&5
41305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41306 if eval "test \"\${$as_ac_var+set}\" = set"; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 else
41309 cat >conftest.$ac_ext <<_ACEOF
41310 /* confdefs.h. */
41311 _ACEOF
41312 cat confdefs.h >>conftest.$ac_ext
41313 cat >>conftest.$ac_ext <<_ACEOF
41314 /* end confdefs.h. */
41315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41317 #define $ac_func innocuous_$ac_func
41318
41319 /* System header to define __stub macros and hopefully few prototypes,
41320 which can conflict with char $ac_func (); below.
41321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41322 <limits.h> exists even on freestanding compilers. */
41323
41324 #ifdef __STDC__
41325 # include <limits.h>
41326 #else
41327 # include <assert.h>
41328 #endif
41329
41330 #undef $ac_func
41331
41332 /* Override any gcc2 internal prototype to avoid an error. */
41333 #ifdef __cplusplus
41334 extern "C"
41335 {
41336 #endif
41337 /* We use char because int might match the return type of a gcc2
41338 builtin and then its argument prototype would still apply. */
41339 char $ac_func ();
41340 /* The GNU C library defines this for functions which it implements
41341 to always fail with ENOSYS. Some functions are actually named
41342 something starting with __ and the normal name is an alias. */
41343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41344 choke me
41345 #else
41346 char (*f) () = $ac_func;
41347 #endif
41348 #ifdef __cplusplus
41349 }
41350 #endif
41351
41352 int
41353 main ()
41354 {
41355 return f != $ac_func;
41356 ;
41357 return 0;
41358 }
41359 _ACEOF
41360 rm -f conftest.$ac_objext conftest$ac_exeext
41361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41362 (eval $ac_link) 2>conftest.er1
41363 ac_status=$?
41364 grep -v '^ *+' conftest.er1 >conftest.err
41365 rm -f conftest.er1
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } &&
41369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41371 (eval $ac_try) 2>&5
41372 ac_status=$?
41373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374 (exit $ac_status); }; } &&
41375 { ac_try='test -s conftest$ac_exeext'
41376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41377 (eval $ac_try) 2>&5
41378 ac_status=$?
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); }; }; then
41381 eval "$as_ac_var=yes"
41382 else
41383 echo "$as_me: failed program was:" >&5
41384 sed 's/^/| /' conftest.$ac_ext >&5
41385
41386 eval "$as_ac_var=no"
41387 fi
41388 rm -f conftest.err conftest.$ac_objext \
41389 conftest$ac_exeext conftest.$ac_ext
41390 fi
41391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41393 if test `eval echo '${'$as_ac_var'}'` = yes; then
41394 cat >>confdefs.h <<_ACEOF
41395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41396 _ACEOF
41397 cat >>confdefs.h <<\_ACEOF
41398 #define HAVE_GETSERVBYNAME 1
41399 _ACEOF
41400
41401 fi
41402 done
41403
41404 fi
41405
41406 if test "$wxUSE_THREADS" = "yes"; then
41407 cat >>confdefs.h <<\_ACEOF
41408 #define wxUSE_THREADS 1
41409 _ACEOF
41410
41411
41412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41413 else
41414 if test "$wx_cv_func_strtok_r" = "yes"; then
41415 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41416 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41417 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41418 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41419 echo "$as_me:$LINENO: result: yes" >&5
41420 echo "${ECHO_T}yes" >&6
41421 else
41422 echo "$as_me:$LINENO: result: no" >&5
41423 echo "${ECHO_T}no" >&6
41424 fi
41425 fi
41426 fi
41427
41428 if test "$WXGTK20" = 1 ; then
41429 cat >>confdefs.h <<_ACEOF
41430 #define __WXGTK20__ $WXGTK20
41431 _ACEOF
41432
41433 WXGTK12=1
41434 fi
41435
41436 if test "$WXGTK12" = 1 ; then
41437 cat >>confdefs.h <<_ACEOF
41438 #define __WXGTK12__ $WXGTK12
41439 _ACEOF
41440
41441 fi
41442
41443 if test "$WXGTK127" = 1 ; then
41444 cat >>confdefs.h <<_ACEOF
41445 #define __WXGTK127__ $WXGTK127
41446 _ACEOF
41447
41448 fi
41449
41450 if test "$WXGPE" = 1 ; then
41451 cat >>confdefs.h <<_ACEOF
41452 #define __WXGPE__ $WXGPE
41453 _ACEOF
41454
41455 fi
41456
41457 DEBUG_CFLAGS=
41458 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41459 DEBUG_CFLAGS="-g"
41460 wxUSE_OPTIMISE=no
41461 fi
41462
41463 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41464 wxUSE_DEBUG_INFO=yes
41465 if test "$GCC" = yes; then
41466 DEBUG_CFLAGS="-ggdb"
41467 fi
41468 fi
41469
41470 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41471 cat >>confdefs.h <<\_ACEOF
41472 #define WXDEBUG 1
41473 _ACEOF
41474
41475 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41476 else
41477 if test "$wxUSE_GTK" = 1 ; then
41478 if test "x$wxGTK_VERSION" = "x1" ; then
41479 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41480 fi
41481 fi
41482 fi
41483
41484 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41485 cat >>confdefs.h <<\_ACEOF
41486 #define wxUSE_MEMORY_TRACING 1
41487 _ACEOF
41488
41489 cat >>confdefs.h <<\_ACEOF
41490 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41491 _ACEOF
41492
41493 cat >>confdefs.h <<\_ACEOF
41494 #define wxUSE_DEBUG_NEW_ALWAYS 1
41495 _ACEOF
41496
41497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41498 fi
41499
41500 if test "$wxUSE_DMALLOC" = "yes" ; then
41501 DMALLOC_LIBS="-ldmallocthcxx"
41502 fi
41503
41504 PROFILE_FLAGS=
41505 if test "$wxUSE_PROFILE" = "yes" ; then
41506 PROFILE_FLAGS=" -pg"
41507 fi
41508
41509 if test "$GCC" = "yes" ; then
41510 if test "$wxUSE_NO_RTTI" = "yes" ; then
41511 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41512 fi
41513 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41514 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41515 fi
41516 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41517 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41518 fi
41519
41520 case "${host}" in
41521 powerpc*-*-aix* )
41522 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41523 ;;
41524 *-hppa* )
41525 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41526 ;;
41527 esac
41528 fi
41529
41530 OPTIMISE_CFLAGS=
41531 if test "$wxUSE_OPTIMISE" = "no" ; then
41532 if test "$GCC" = yes ; then
41533 OPTIMISE_CFLAGS="-O0"
41534 fi
41535 else
41536 if test "$GCC" = yes ; then
41537 case "${host}" in
41538 *-pc-os2_emx | *-pc-os2-emx )
41539 OPTIMISE_CFLAGS="-O2"
41540 ;;
41541 *)
41542 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41543 ;;
41544 esac
41545 else
41546 OPTIMISE_CFLAGS="-O"
41547 fi
41548 fi
41549
41550
41551 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41552 cat >>confdefs.h <<\_ACEOF
41553 #define WXWIN_COMPATIBILITY_2_4 1
41554 _ACEOF
41555
41556
41557 WXWIN_COMPATIBILITY_2_6="yes"
41558 fi
41559
41560 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define WXWIN_COMPATIBILITY_2_6 1
41563 _ACEOF
41564
41565 fi
41566
41567
41568 if test "$wxUSE_GUI" = "yes"; then
41569 cat >>confdefs.h <<\_ACEOF
41570 #define wxUSE_GUI 1
41571 _ACEOF
41572
41573
41574 fi
41575
41576
41577 if test "$wxUSE_UNIX" = "yes"; then
41578 cat >>confdefs.h <<\_ACEOF
41579 #define wxUSE_UNIX 1
41580 _ACEOF
41581
41582 fi
41583
41584
41585 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41586
41587 HAVE_DL_FUNCS=0
41588 HAVE_SHL_FUNCS=0
41589 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41590 if test "$USE_DARWIN" = 1; then
41591 HAVE_DL_FUNCS=1
41592 elif test "$USE_DOS" = 1; then
41593 HAVE_DL_FUNCS=0
41594 else
41595
41596 for ac_func in dlopen
41597 do
41598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41599 echo "$as_me:$LINENO: checking for $ac_func" >&5
41600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41601 if eval "test \"\${$as_ac_var+set}\" = set"; then
41602 echo $ECHO_N "(cached) $ECHO_C" >&6
41603 else
41604 cat >conftest.$ac_ext <<_ACEOF
41605 /* confdefs.h. */
41606 _ACEOF
41607 cat confdefs.h >>conftest.$ac_ext
41608 cat >>conftest.$ac_ext <<_ACEOF
41609 /* end confdefs.h. */
41610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41612 #define $ac_func innocuous_$ac_func
41613
41614 /* System header to define __stub macros and hopefully few prototypes,
41615 which can conflict with char $ac_func (); below.
41616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41617 <limits.h> exists even on freestanding compilers. */
41618
41619 #ifdef __STDC__
41620 # include <limits.h>
41621 #else
41622 # include <assert.h>
41623 #endif
41624
41625 #undef $ac_func
41626
41627 /* Override any gcc2 internal prototype to avoid an error. */
41628 #ifdef __cplusplus
41629 extern "C"
41630 {
41631 #endif
41632 /* We use char because int might match the return type of a gcc2
41633 builtin and then its argument prototype would still apply. */
41634 char $ac_func ();
41635 /* The GNU C library defines this for functions which it implements
41636 to always fail with ENOSYS. Some functions are actually named
41637 something starting with __ and the normal name is an alias. */
41638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41639 choke me
41640 #else
41641 char (*f) () = $ac_func;
41642 #endif
41643 #ifdef __cplusplus
41644 }
41645 #endif
41646
41647 int
41648 main ()
41649 {
41650 return f != $ac_func;
41651 ;
41652 return 0;
41653 }
41654 _ACEOF
41655 rm -f conftest.$ac_objext conftest$ac_exeext
41656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41657 (eval $ac_link) 2>conftest.er1
41658 ac_status=$?
41659 grep -v '^ *+' conftest.er1 >conftest.err
41660 rm -f conftest.er1
41661 cat conftest.err >&5
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); } &&
41664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41666 (eval $ac_try) 2>&5
41667 ac_status=$?
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); }; } &&
41670 { ac_try='test -s conftest$ac_exeext'
41671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672 (eval $ac_try) 2>&5
41673 ac_status=$?
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); }; }; then
41676 eval "$as_ac_var=yes"
41677 else
41678 echo "$as_me: failed program was:" >&5
41679 sed 's/^/| /' conftest.$ac_ext >&5
41680
41681 eval "$as_ac_var=no"
41682 fi
41683 rm -f conftest.err conftest.$ac_objext \
41684 conftest$ac_exeext conftest.$ac_ext
41685 fi
41686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41688 if test `eval echo '${'$as_ac_var'}'` = yes; then
41689 cat >>confdefs.h <<_ACEOF
41690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41691 _ACEOF
41692
41693 cat >>confdefs.h <<\_ACEOF
41694 #define HAVE_DLOPEN 1
41695 _ACEOF
41696
41697 HAVE_DL_FUNCS=1
41698
41699 else
41700
41701 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41702 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41703 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41704 echo $ECHO_N "(cached) $ECHO_C" >&6
41705 else
41706 ac_check_lib_save_LIBS=$LIBS
41707 LIBS="-ldl $LIBS"
41708 cat >conftest.$ac_ext <<_ACEOF
41709 /* confdefs.h. */
41710 _ACEOF
41711 cat confdefs.h >>conftest.$ac_ext
41712 cat >>conftest.$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41714
41715 /* Override any gcc2 internal prototype to avoid an error. */
41716 #ifdef __cplusplus
41717 extern "C"
41718 #endif
41719 /* We use char because int might match the return type of a gcc2
41720 builtin and then its argument prototype would still apply. */
41721 char dlopen ();
41722 int
41723 main ()
41724 {
41725 dlopen ();
41726 ;
41727 return 0;
41728 }
41729 _ACEOF
41730 rm -f conftest.$ac_objext conftest$ac_exeext
41731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41732 (eval $ac_link) 2>conftest.er1
41733 ac_status=$?
41734 grep -v '^ *+' conftest.er1 >conftest.err
41735 rm -f conftest.er1
41736 cat conftest.err >&5
41737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738 (exit $ac_status); } &&
41739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41741 (eval $ac_try) 2>&5
41742 ac_status=$?
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); }; } &&
41745 { ac_try='test -s conftest$ac_exeext'
41746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41747 (eval $ac_try) 2>&5
41748 ac_status=$?
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); }; }; then
41751 ac_cv_lib_dl_dlopen=yes
41752 else
41753 echo "$as_me: failed program was:" >&5
41754 sed 's/^/| /' conftest.$ac_ext >&5
41755
41756 ac_cv_lib_dl_dlopen=no
41757 fi
41758 rm -f conftest.err conftest.$ac_objext \
41759 conftest$ac_exeext conftest.$ac_ext
41760 LIBS=$ac_check_lib_save_LIBS
41761 fi
41762 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41763 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41764 if test $ac_cv_lib_dl_dlopen = yes; then
41765
41766 cat >>confdefs.h <<\_ACEOF
41767 #define HAVE_DLOPEN 1
41768 _ACEOF
41769
41770 HAVE_DL_FUNCS=1
41771 DL_LINK=" -ldl$DL_LINK"
41772
41773 else
41774
41775
41776 for ac_func in shl_load
41777 do
41778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41779 echo "$as_me:$LINENO: checking for $ac_func" >&5
41780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41781 if eval "test \"\${$as_ac_var+set}\" = set"; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 else
41784 cat >conftest.$ac_ext <<_ACEOF
41785 /* confdefs.h. */
41786 _ACEOF
41787 cat confdefs.h >>conftest.$ac_ext
41788 cat >>conftest.$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41792 #define $ac_func innocuous_$ac_func
41793
41794 /* System header to define __stub macros and hopefully few prototypes,
41795 which can conflict with char $ac_func (); below.
41796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41797 <limits.h> exists even on freestanding compilers. */
41798
41799 #ifdef __STDC__
41800 # include <limits.h>
41801 #else
41802 # include <assert.h>
41803 #endif
41804
41805 #undef $ac_func
41806
41807 /* Override any gcc2 internal prototype to avoid an error. */
41808 #ifdef __cplusplus
41809 extern "C"
41810 {
41811 #endif
41812 /* We use char because int might match the return type of a gcc2
41813 builtin and then its argument prototype would still apply. */
41814 char $ac_func ();
41815 /* The GNU C library defines this for functions which it implements
41816 to always fail with ENOSYS. Some functions are actually named
41817 something starting with __ and the normal name is an alias. */
41818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41819 choke me
41820 #else
41821 char (*f) () = $ac_func;
41822 #endif
41823 #ifdef __cplusplus
41824 }
41825 #endif
41826
41827 int
41828 main ()
41829 {
41830 return f != $ac_func;
41831 ;
41832 return 0;
41833 }
41834 _ACEOF
41835 rm -f conftest.$ac_objext conftest$ac_exeext
41836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41837 (eval $ac_link) 2>conftest.er1
41838 ac_status=$?
41839 grep -v '^ *+' conftest.er1 >conftest.err
41840 rm -f conftest.er1
41841 cat conftest.err >&5
41842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41843 (exit $ac_status); } &&
41844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41846 (eval $ac_try) 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; } &&
41850 { ac_try='test -s conftest$ac_exeext'
41851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41852 (eval $ac_try) 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; }; then
41856 eval "$as_ac_var=yes"
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41860
41861 eval "$as_ac_var=no"
41862 fi
41863 rm -f conftest.err conftest.$ac_objext \
41864 conftest$ac_exeext conftest.$ac_ext
41865 fi
41866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41868 if test `eval echo '${'$as_ac_var'}'` = yes; then
41869 cat >>confdefs.h <<_ACEOF
41870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41871 _ACEOF
41872
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_SHL_LOAD 1
41875 _ACEOF
41876
41877 HAVE_SHL_FUNCS=1
41878
41879 else
41880
41881 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41882 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41883 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41885 else
41886 ac_check_lib_save_LIBS=$LIBS
41887 LIBS="-lshl_load $LIBS"
41888 cat >conftest.$ac_ext <<_ACEOF
41889 /* confdefs.h. */
41890 _ACEOF
41891 cat confdefs.h >>conftest.$ac_ext
41892 cat >>conftest.$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41894
41895 /* Override any gcc2 internal prototype to avoid an error. */
41896 #ifdef __cplusplus
41897 extern "C"
41898 #endif
41899 /* We use char because int might match the return type of a gcc2
41900 builtin and then its argument prototype would still apply. */
41901 char dld ();
41902 int
41903 main ()
41904 {
41905 dld ();
41906 ;
41907 return 0;
41908 }
41909 _ACEOF
41910 rm -f conftest.$ac_objext conftest$ac_exeext
41911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41912 (eval $ac_link) 2>conftest.er1
41913 ac_status=$?
41914 grep -v '^ *+' conftest.er1 >conftest.err
41915 rm -f conftest.er1
41916 cat conftest.err >&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41922 ac_status=$?
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; } &&
41925 { ac_try='test -s conftest$ac_exeext'
41926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41927 (eval $ac_try) 2>&5
41928 ac_status=$?
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); }; }; then
41931 ac_cv_lib_shl_load_dld=yes
41932 else
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41935
41936 ac_cv_lib_shl_load_dld=no
41937 fi
41938 rm -f conftest.err conftest.$ac_objext \
41939 conftest$ac_exeext conftest.$ac_ext
41940 LIBS=$ac_check_lib_save_LIBS
41941 fi
41942 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41943 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41944 if test $ac_cv_lib_shl_load_dld = yes; then
41945
41946 HAVE_SHL_FUNCS=1
41947 DL_LINK=" -ldld$DL_LINK"
41948
41949 fi
41950
41951
41952 fi
41953 done
41954
41955
41956 fi
41957
41958
41959 fi
41960 done
41961
41962
41963 if test "$HAVE_DL_FUNCS" = 1; then
41964
41965 for ac_func in dlerror
41966 do
41967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41968 echo "$as_me:$LINENO: checking for $ac_func" >&5
41969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41970 if eval "test \"\${$as_ac_var+set}\" = set"; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 else
41973 cat >conftest.$ac_ext <<_ACEOF
41974 /* confdefs.h. */
41975 _ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41981 #define $ac_func innocuous_$ac_func
41982
41983 /* System header to define __stub macros and hopefully few prototypes,
41984 which can conflict with char $ac_func (); below.
41985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41986 <limits.h> exists even on freestanding compilers. */
41987
41988 #ifdef __STDC__
41989 # include <limits.h>
41990 #else
41991 # include <assert.h>
41992 #endif
41993
41994 #undef $ac_func
41995
41996 /* Override any gcc2 internal prototype to avoid an error. */
41997 #ifdef __cplusplus
41998 extern "C"
41999 {
42000 #endif
42001 /* We use char because int might match the return type of a gcc2
42002 builtin and then its argument prototype would still apply. */
42003 char $ac_func ();
42004 /* The GNU C library defines this for functions which it implements
42005 to always fail with ENOSYS. Some functions are actually named
42006 something starting with __ and the normal name is an alias. */
42007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42008 choke me
42009 #else
42010 char (*f) () = $ac_func;
42011 #endif
42012 #ifdef __cplusplus
42013 }
42014 #endif
42015
42016 int
42017 main ()
42018 {
42019 return f != $ac_func;
42020 ;
42021 return 0;
42022 }
42023 _ACEOF
42024 rm -f conftest.$ac_objext conftest$ac_exeext
42025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42026 (eval $ac_link) 2>conftest.er1
42027 ac_status=$?
42028 grep -v '^ *+' conftest.er1 >conftest.err
42029 rm -f conftest.er1
42030 cat conftest.err >&5
42031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42032 (exit $ac_status); } &&
42033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42035 (eval $ac_try) 2>&5
42036 ac_status=$?
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); }; } &&
42039 { ac_try='test -s conftest$ac_exeext'
42040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42041 (eval $ac_try) 2>&5
42042 ac_status=$?
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); }; }; then
42045 eval "$as_ac_var=yes"
42046 else
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42049
42050 eval "$as_ac_var=no"
42051 fi
42052 rm -f conftest.err conftest.$ac_objext \
42053 conftest$ac_exeext conftest.$ac_ext
42054 fi
42055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42057 if test `eval echo '${'$as_ac_var'}'` = yes; then
42058 cat >>confdefs.h <<_ACEOF
42059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42060 _ACEOF
42061 cat >>confdefs.h <<\_ACEOF
42062 #define HAVE_DLERROR 1
42063 _ACEOF
42064
42065 else
42066
42067 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42068 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42069 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 else
42072 ac_check_lib_save_LIBS=$LIBS
42073 LIBS="-ldl $LIBS"
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h. */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080
42081 /* Override any gcc2 internal prototype to avoid an error. */
42082 #ifdef __cplusplus
42083 extern "C"
42084 #endif
42085 /* We use char because int might match the return type of a gcc2
42086 builtin and then its argument prototype would still apply. */
42087 char dlerror ();
42088 int
42089 main ()
42090 {
42091 dlerror ();
42092 ;
42093 return 0;
42094 }
42095 _ACEOF
42096 rm -f conftest.$ac_objext conftest$ac_exeext
42097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42098 (eval $ac_link) 2>conftest.er1
42099 ac_status=$?
42100 grep -v '^ *+' conftest.er1 >conftest.err
42101 rm -f conftest.er1
42102 cat conftest.err >&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } &&
42105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42107 (eval $ac_try) 2>&5
42108 ac_status=$?
42109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42110 (exit $ac_status); }; } &&
42111 { ac_try='test -s conftest$ac_exeext'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42114 ac_status=$?
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; }; then
42117 ac_cv_lib_dl_dlerror=yes
42118 else
42119 echo "$as_me: failed program was:" >&5
42120 sed 's/^/| /' conftest.$ac_ext >&5
42121
42122 ac_cv_lib_dl_dlerror=no
42123 fi
42124 rm -f conftest.err conftest.$ac_objext \
42125 conftest$ac_exeext conftest.$ac_ext
42126 LIBS=$ac_check_lib_save_LIBS
42127 fi
42128 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42129 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42130 if test $ac_cv_lib_dl_dlerror = yes; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define HAVE_DLERROR 1
42133 _ACEOF
42134
42135 fi
42136
42137
42138
42139 fi
42140 done
42141
42142 fi
42143 fi
42144
42145 if test "$HAVE_DL_FUNCS" = 0; then
42146 if test "$HAVE_SHL_FUNCS" = 0; then
42147 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42148 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42149 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42150 wxUSE_DYNAMIC_LOADER=no
42151 wxUSE_DYNLIB_CLASS=no
42152 else
42153 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42154 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42155 fi
42156 fi
42157 fi
42158 fi
42159 fi
42160
42161 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42162 cat >>confdefs.h <<\_ACEOF
42163 #define wxUSE_DYNAMIC_LOADER 1
42164 _ACEOF
42165
42166 fi
42167 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42168 cat >>confdefs.h <<\_ACEOF
42169 #define wxUSE_DYNLIB_CLASS 1
42170 _ACEOF
42171
42172 fi
42173
42174
42175
42176 if test "$wxUSE_PLUGINS" = "yes" ; then
42177 if test "$wxUSE_SHARED" = "no" ; then
42178 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42179 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42180 wxUSE_PLUGINS=no
42181 fi
42182 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42183 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42184 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42185 wxUSE_PLUGINS=no
42186 fi
42187 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42188 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42189 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42190 wxUSE_PLUGINS=no
42191 fi
42192 if test "$wxUSE_PLUGINS" = "yes" ; then
42193 cat >>confdefs.h <<\_ACEOF
42194 #define wxUSE_PLUGINS 1
42195 _ACEOF
42196
42197 fi
42198 fi
42199
42200
42201 if test "$wxUSE_STL" = "yes"; then
42202 cat >>confdefs.h <<\_ACEOF
42203 #define wxUSE_STL 1
42204 _ACEOF
42205
42206 fi
42207
42208 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_APPLE_IEEE 1
42211 _ACEOF
42212
42213 fi
42214
42215 if test "$wxUSE_TIMER" = "yes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_TIMER 1
42218 _ACEOF
42219
42220 fi
42221
42222 if test "$USE_UNIX" = "1" ; then
42223 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42224 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42225 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42227 else
42228
42229 cat >conftest.$ac_ext <<_ACEOF
42230 /* confdefs.h. */
42231 _ACEOF
42232 cat confdefs.h >>conftest.$ac_ext
42233 cat >>conftest.$ac_ext <<_ACEOF
42234 /* end confdefs.h. */
42235
42236 #include <sys/ioctl.h>
42237 #include <sys/soundcard.h>
42238
42239 int
42240 main ()
42241 {
42242
42243 ioctl(0, SNDCTL_DSP_SPEED, 0);
42244
42245 ;
42246 return 0;
42247 }
42248 _ACEOF
42249 rm -f conftest.$ac_objext conftest$ac_exeext
42250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42251 (eval $ac_link) 2>conftest.er1
42252 ac_status=$?
42253 grep -v '^ *+' conftest.er1 >conftest.err
42254 rm -f conftest.er1
42255 cat conftest.err >&5
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); } &&
42258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42260 (eval $ac_try) 2>&5
42261 ac_status=$?
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; } &&
42264 { ac_try='test -s conftest$ac_exeext'
42265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42266 (eval $ac_try) 2>&5
42267 ac_status=$?
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; }; then
42270 ac_cv_header_sys_soundcard=yes
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42274
42275
42276 saveLibs="$LIBS"
42277 LIBS="$saveLibs -lossaudio"
42278 cat >conftest.$ac_ext <<_ACEOF
42279 /* confdefs.h. */
42280 _ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42284
42285 #include <sys/ioctl.h>
42286 #include <sys/soundcard.h>
42287
42288 int
42289 main ()
42290 {
42291
42292 ioctl(0, SNDCTL_DSP_SPEED, 0);
42293
42294 ;
42295 return 0;
42296 }
42297 _ACEOF
42298 rm -f conftest.$ac_objext conftest$ac_exeext
42299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42300 (eval $ac_link) 2>conftest.er1
42301 ac_status=$?
42302 grep -v '^ *+' conftest.er1 >conftest.err
42303 rm -f conftest.er1
42304 cat conftest.err >&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } &&
42307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42309 (eval $ac_try) 2>&5
42310 ac_status=$?
42311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42312 (exit $ac_status); }; } &&
42313 { ac_try='test -s conftest$ac_exeext'
42314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42315 (eval $ac_try) 2>&5
42316 ac_status=$?
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); }; }; then
42319 ac_cv_header_sys_soundcard=yes
42320 else
42321 echo "$as_me: failed program was:" >&5
42322 sed 's/^/| /' conftest.$ac_ext >&5
42323
42324
42325 LIBS="$saveLibs"
42326 ac_cv_header_sys_soundcard=no
42327
42328
42329 fi
42330 rm -f conftest.err conftest.$ac_objext \
42331 conftest$ac_exeext conftest.$ac_ext
42332
42333
42334 fi
42335 rm -f conftest.err conftest.$ac_objext \
42336 conftest$ac_exeext conftest.$ac_ext
42337
42338 fi
42339 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42340 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42341
42342 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42343 cat >>confdefs.h <<\_ACEOF
42344 #define HAVE_SYS_SOUNDCARD_H 1
42345 _ACEOF
42346
42347 else
42348 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42349 fi
42350 fi
42351 WITH_PLUGIN_SDL=0
42352 if test "$wxUSE_SOUND" = "yes"; then
42353 if test "$USE_UNIX" = "1" ; then
42354 if test "$wxUSE_LIBSDL" != "no"; then
42355
42356 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42357 if test "${with_sdl_prefix+set}" = set; then
42358 withval="$with_sdl_prefix"
42359 sdl_prefix="$withval"
42360 else
42361 sdl_prefix=""
42362 fi;
42363
42364 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42365 if test "${with_sdl_exec_prefix+set}" = set; then
42366 withval="$with_sdl_exec_prefix"
42367 sdl_exec_prefix="$withval"
42368 else
42369 sdl_exec_prefix=""
42370 fi;
42371 # Check whether --enable-sdltest or --disable-sdltest was given.
42372 if test "${enable_sdltest+set}" = set; then
42373 enableval="$enable_sdltest"
42374
42375 else
42376 enable_sdltest=yes
42377 fi;
42378
42379 if test x$sdl_exec_prefix != x ; then
42380 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42381 if test x${SDL_CONFIG+set} != xset ; then
42382 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42383 fi
42384 fi
42385 if test x$sdl_prefix != x ; then
42386 sdl_args="$sdl_args --prefix=$sdl_prefix"
42387 if test x${SDL_CONFIG+set} != xset ; then
42388 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42389 fi
42390 fi
42391
42392 if test "x$prefix" != xNONE; then
42393 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42394 fi
42395 # Extract the first word of "sdl-config", so it can be a program name with args.
42396 set dummy sdl-config; ac_word=$2
42397 echo "$as_me:$LINENO: checking for $ac_word" >&5
42398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42399 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42400 echo $ECHO_N "(cached) $ECHO_C" >&6
42401 else
42402 case $SDL_CONFIG in
42403 [\\/]* | ?:[\\/]*)
42404 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42405 ;;
42406 *)
42407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42408 for as_dir in $PATH
42409 do
42410 IFS=$as_save_IFS
42411 test -z "$as_dir" && as_dir=.
42412 for ac_exec_ext in '' $ac_executable_extensions; do
42413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42414 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42416 break 2
42417 fi
42418 done
42419 done
42420
42421 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42422 ;;
42423 esac
42424 fi
42425 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42426
42427 if test -n "$SDL_CONFIG"; then
42428 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42429 echo "${ECHO_T}$SDL_CONFIG" >&6
42430 else
42431 echo "$as_me:$LINENO: result: no" >&5
42432 echo "${ECHO_T}no" >&6
42433 fi
42434
42435 min_sdl_version=1.2.0
42436 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42437 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42438 no_sdl=""
42439 if test "$SDL_CONFIG" = "no" ; then
42440 no_sdl=yes
42441 else
42442 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42443 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42444
42445 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42447 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42449 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42451 if test "x$enable_sdltest" = "xyes" ; then
42452 ac_save_CFLAGS="$CFLAGS"
42453 ac_save_CXXFLAGS="$CXXFLAGS"
42454 ac_save_LIBS="$LIBS"
42455 CFLAGS="$CFLAGS $SDL_CFLAGS"
42456 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42457 LIBS="$LIBS $SDL_LIBS"
42458 rm -f conf.sdltest
42459 if test "$cross_compiling" = yes; then
42460 echo $ac_n "cross compiling; assumed OK... $ac_c"
42461 else
42462 cat >conftest.$ac_ext <<_ACEOF
42463 /* confdefs.h. */
42464 _ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468
42469 #include <stdio.h>
42470 #include <stdlib.h>
42471 #include <string.h>
42472 #include "SDL.h"
42473
42474 char*
42475 my_strdup (char *str)
42476 {
42477 char *new_str;
42478
42479 if (str)
42480 {
42481 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42482 strcpy (new_str, str);
42483 }
42484 else
42485 new_str = NULL;
42486
42487 return new_str;
42488 }
42489
42490 int main (int argc, char *argv[])
42491 {
42492 int major, minor, micro;
42493 char *tmp_version;
42494
42495 /* This hangs on some systems (?)
42496 system ("touch conf.sdltest");
42497 */
42498 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42499
42500 /* HP/UX 9 (%@#!) writes to sscanf strings */
42501 tmp_version = my_strdup("$min_sdl_version");
42502 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42503 printf("%s, bad version string\n", "$min_sdl_version");
42504 exit(1);
42505 }
42506
42507 if (($sdl_major_version > major) ||
42508 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42509 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42510 {
42511 return 0;
42512 }
42513 else
42514 {
42515 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42516 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42517 printf("*** best to upgrade to the required version.\n");
42518 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42519 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42520 printf("*** config.cache before re-running configure\n");
42521 return 1;
42522 }
42523 }
42524
42525
42526 _ACEOF
42527 rm -f conftest$ac_exeext
42528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42529 (eval $ac_link) 2>&5
42530 ac_status=$?
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; }; then
42538 :
42539 else
42540 echo "$as_me: program exited with status $ac_status" >&5
42541 echo "$as_me: failed program was:" >&5
42542 sed 's/^/| /' conftest.$ac_ext >&5
42543
42544 ( exit $ac_status )
42545 no_sdl=yes
42546 fi
42547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42548 fi
42549 CFLAGS="$ac_save_CFLAGS"
42550 CXXFLAGS="$ac_save_CXXFLAGS"
42551 LIBS="$ac_save_LIBS"
42552 fi
42553 fi
42554 if test "x$no_sdl" = x ; then
42555 echo "$as_me:$LINENO: result: yes" >&5
42556 echo "${ECHO_T}yes" >&6
42557
42558 EXTRALIBS_SDL="$SDL_LIBS"
42559 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42560 cat >>confdefs.h <<\_ACEOF
42561 #define wxUSE_LIBSDL 1
42562 _ACEOF
42563
42564
42565 else
42566 echo "$as_me:$LINENO: result: no" >&5
42567 echo "${ECHO_T}no" >&6
42568 if test "$SDL_CONFIG" = "no" ; then
42569 echo "*** The sdl-config script installed by SDL could not be found"
42570 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42571 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42572 echo "*** full path to sdl-config."
42573 else
42574 if test -f conf.sdltest ; then
42575 :
42576 else
42577 echo "*** Could not run SDL test program, checking why..."
42578 CFLAGS="$CFLAGS $SDL_CFLAGS"
42579 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42580 LIBS="$LIBS $SDL_LIBS"
42581 cat >conftest.$ac_ext <<_ACEOF
42582 /* confdefs.h. */
42583 _ACEOF
42584 cat confdefs.h >>conftest.$ac_ext
42585 cat >>conftest.$ac_ext <<_ACEOF
42586 /* end confdefs.h. */
42587
42588 #include <stdio.h>
42589 #include "SDL.h"
42590
42591 int main(int argc, char *argv[])
42592 { return 0; }
42593 #undef main
42594 #define main K_and_R_C_main
42595
42596 int
42597 main ()
42598 {
42599 return 0;
42600 ;
42601 return 0;
42602 }
42603 _ACEOF
42604 rm -f conftest.$ac_objext conftest$ac_exeext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42606 (eval $ac_link) 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42615 (eval $ac_try) 2>&5
42616 ac_status=$?
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); }; } &&
42619 { ac_try='test -s conftest$ac_exeext'
42620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42621 (eval $ac_try) 2>&5
42622 ac_status=$?
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); }; }; then
42625 echo "*** The test program compiled, but did not run. This usually means"
42626 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42627 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42630 echo "*** is required on your system"
42631 echo "***"
42632 echo "*** If you have an old version installed, it is best to remove it, although"
42633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42634 else
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.$ac_ext >&5
42637
42638 echo "*** The test program failed to compile or link. See the file config.log for the"
42639 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42640 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42641 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42642 fi
42643 rm -f conftest.err conftest.$ac_objext \
42644 conftest$ac_exeext conftest.$ac_ext
42645 CFLAGS="$ac_save_CFLAGS"
42646 CXXFLAGS="$ac_save_CXXFLAGS"
42647 LIBS="$ac_save_LIBS"
42648 fi
42649 fi
42650 SDL_CFLAGS=""
42651 SDL_LIBS=""
42652 wxUSE_LIBSDL="no"
42653 fi
42654
42655
42656 rm -f conf.sdltest
42657
42658 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42659 WITH_PLUGIN_SDL=1
42660 fi
42661 fi
42662 fi
42663
42664 cat >>confdefs.h <<\_ACEOF
42665 #define wxUSE_SOUND 1
42666 _ACEOF
42667
42668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42669 fi
42670
42671 if test "$WXGTK20" = 1; then
42672 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42673 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42674
42675
42676 pkg_failed=no
42677 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42678 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42679
42680 if test -n "$PKG_CONFIG"; then
42681 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42682 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42683 else
42684 if test -n "$PKG_CONFIG" && \
42685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42686 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42687 ac_status=$?
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; then
42690 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42691 else
42692 pkg_failed=yes
42693 fi
42694 fi
42695 else
42696 pkg_failed=untried
42697 fi
42698 if test -n "$PKG_CONFIG"; then
42699 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42700 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42701 else
42702 if test -n "$PKG_CONFIG" && \
42703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42704 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42705 ac_status=$?
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); }; then
42708 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42709 else
42710 pkg_failed=yes
42711 fi
42712 fi
42713 else
42714 pkg_failed=untried
42715 fi
42716
42717
42718
42719 if test $pkg_failed = yes; then
42720
42721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42722 _pkg_short_errors_supported=yes
42723 else
42724 _pkg_short_errors_supported=no
42725 fi
42726 if test $_pkg_short_errors_supported = yes; then
42727 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42728 else
42729 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42730 fi
42731 # Put the nasty error message in config.log where it belongs
42732 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42733
42734
42735 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42736 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42737 wxUSE_LIBGNOMEPRINT="no"
42738
42739
42740 elif test $pkg_failed = untried; then
42741
42742 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42743 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42744 wxUSE_LIBGNOMEPRINT="no"
42745
42746
42747 else
42748 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42749 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42750 echo "$as_me:$LINENO: result: yes" >&5
42751 echo "${ECHO_T}yes" >&6
42752
42753 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42754 cat >>confdefs.h <<\_ACEOF
42755 #define wxUSE_LIBGNOMEPRINT 1
42756 _ACEOF
42757
42758
42759 fi
42760 fi
42761 fi
42762 fi
42763
42764 if test "$WXGTK20" = 1; then
42765 if test "$wxUSE_MIMETYPE" = "yes" ; then
42766 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42767
42768
42769 pkg_failed=no
42770 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42771 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42772
42773 if test -n "$PKG_CONFIG"; then
42774 if test -n "$GNOMEVFS_CFLAGS"; then
42775 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42776 else
42777 if test -n "$PKG_CONFIG" && \
42778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42779 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42780 ac_status=$?
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); }; then
42783 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42784 else
42785 pkg_failed=yes
42786 fi
42787 fi
42788 else
42789 pkg_failed=untried
42790 fi
42791 if test -n "$PKG_CONFIG"; then
42792 if test -n "$GNOMEVFS_LIBS"; then
42793 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42794 else
42795 if test -n "$PKG_CONFIG" && \
42796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42797 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42798 ac_status=$?
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); }; then
42801 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42802 else
42803 pkg_failed=yes
42804 fi
42805 fi
42806 else
42807 pkg_failed=untried
42808 fi
42809
42810
42811
42812 if test $pkg_failed = yes; then
42813
42814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42815 _pkg_short_errors_supported=yes
42816 else
42817 _pkg_short_errors_supported=no
42818 fi
42819 if test $_pkg_short_errors_supported = yes; then
42820 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42821 else
42822 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42823 fi
42824 # Put the nasty error message in config.log where it belongs
42825 echo "$GNOMEVFS_PKG_ERRORS" >&5
42826
42827
42828 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42829 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42830 wxUSE_LIBGNOMEVFS="no"
42831
42832
42833 elif test $pkg_failed = untried; then
42834
42835 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42836 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42837 wxUSE_LIBGNOMEVFS="no"
42838
42839
42840 else
42841 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42842 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42843 echo "$as_me:$LINENO: result: yes" >&5
42844 echo "${ECHO_T}yes" >&6
42845
42846 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42847 cat >>confdefs.h <<\_ACEOF
42848 #define wxUSE_LIBGNOMEVFS 1
42849 _ACEOF
42850
42851
42852 fi
42853 fi
42854 fi
42855 fi
42856
42857 if test "$WXGTK20" = 1; then
42858 if test "$wxUSE_LIBHILDON" = "yes" ; then
42859
42860 pkg_failed=no
42861 echo "$as_me:$LINENO: checking for HILDON" >&5
42862 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42863
42864 if test -n "$PKG_CONFIG"; then
42865 if test -n "$HILDON_CFLAGS"; then
42866 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42867 else
42868 if test -n "$PKG_CONFIG" && \
42869 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42870 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42871 ac_status=$?
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); }; then
42874 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42875 else
42876 pkg_failed=yes
42877 fi
42878 fi
42879 else
42880 pkg_failed=untried
42881 fi
42882 if test -n "$PKG_CONFIG"; then
42883 if test -n "$HILDON_LIBS"; then
42884 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42885 else
42886 if test -n "$PKG_CONFIG" && \
42887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42888 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; then
42892 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42893 else
42894 pkg_failed=yes
42895 fi
42896 fi
42897 else
42898 pkg_failed=untried
42899 fi
42900
42901
42902
42903 if test $pkg_failed = yes; then
42904
42905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42906 _pkg_short_errors_supported=yes
42907 else
42908 _pkg_short_errors_supported=no
42909 fi
42910 if test $_pkg_short_errors_supported = yes; then
42911 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42912 else
42913 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42914 fi
42915 # Put the nasty error message in config.log where it belongs
42916 echo "$HILDON_PKG_ERRORS" >&5
42917
42918
42919 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42920 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42921 wxUSE_LIBHILDON="no"
42922
42923
42924 elif test $pkg_failed = untried; then
42925
42926 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42927 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42928 wxUSE_LIBHILDON="no"
42929
42930
42931 else
42932 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42933 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42934 echo "$as_me:$LINENO: result: yes" >&5
42935 echo "${ECHO_T}yes" >&6
42936
42937 EXTRALIBS_HILDON="$HILDON_LIBS"
42938 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42939 cat >>confdefs.h <<\_ACEOF
42940 #define wxUSE_LIBHILDON 1
42941 _ACEOF
42942
42943
42944 fi
42945 fi
42946 fi
42947
42948 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42949 cat >>confdefs.h <<\_ACEOF
42950 #define wxUSE_CMDLINE_PARSER 1
42951 _ACEOF
42952
42953 fi
42954
42955 if test "$wxUSE_STOPWATCH" = "yes"; then
42956 cat >>confdefs.h <<\_ACEOF
42957 #define wxUSE_STOPWATCH 1
42958 _ACEOF
42959
42960 fi
42961
42962 if test "$wxUSE_DATETIME" = "yes"; then
42963 cat >>confdefs.h <<\_ACEOF
42964 #define wxUSE_DATETIME 1
42965 _ACEOF
42966
42967 fi
42968
42969 if test "$wxUSE_FILE" = "yes"; then
42970 cat >>confdefs.h <<\_ACEOF
42971 #define wxUSE_FILE 1
42972 _ACEOF
42973
42974 fi
42975
42976 if test "$wxUSE_FFILE" = "yes"; then
42977 cat >>confdefs.h <<\_ACEOF
42978 #define wxUSE_FFILE 1
42979 _ACEOF
42980
42981 fi
42982
42983 if test "$wxUSE_FILESYSTEM" = "yes"; then
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_FILESYSTEM 1
42986 _ACEOF
42987
42988 fi
42989
42990 if test "$wxUSE_FS_ZIP" = "yes"; then
42991 cat >>confdefs.h <<\_ACEOF
42992 #define wxUSE_FS_ZIP 1
42993 _ACEOF
42994
42995 fi
42996
42997 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42998 cat >>confdefs.h <<\_ACEOF
42999 #define wxUSE_ARCHIVE_STREAMS 1
43000 _ACEOF
43001
43002 fi
43003
43004 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43005 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43006 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43007 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43008 elif test "$wxUSE_ZLIB" = "no"; then
43009 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43010 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43011 else
43012 cat >>confdefs.h <<\_ACEOF
43013 #define wxUSE_ZIPSTREAM 1
43014 _ACEOF
43015
43016 fi
43017 fi
43018
43019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43020 if test "$USE_UNIX" != 1; then
43021 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43022 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43023 wxUSE_ON_FATAL_EXCEPTION=no
43024 else
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_ON_FATAL_EXCEPTION 1
43027 _ACEOF
43028
43029 fi
43030 fi
43031
43032 if test "$wxUSE_STACKWALKER" = "yes"; then
43033 cat >>confdefs.h <<\_ACEOF
43034 #define wxUSE_STACKWALKER 1
43035 _ACEOF
43036
43037 fi
43038
43039 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43040 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43041 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43042 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43043 wxUSE_DEBUGREPORT=no
43044 else
43045 cat >>confdefs.h <<\_ACEOF
43046 #define wxUSE_DEBUGREPORT 1
43047 _ACEOF
43048
43049 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43051 fi
43052 fi
43053 fi
43054
43055 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43056 cat >>confdefs.h <<\_ACEOF
43057 #define wxUSE_SNGLINST_CHECKER 1
43058 _ACEOF
43059
43060 fi
43061
43062 if test "$wxUSE_BUSYINFO" = "yes"; then
43063 cat >>confdefs.h <<\_ACEOF
43064 #define wxUSE_BUSYINFO 1
43065 _ACEOF
43066
43067 fi
43068
43069 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43070 cat >>confdefs.h <<\_ACEOF
43071 #define wxUSE_STD_IOSTREAM 1
43072 _ACEOF
43073
43074 fi
43075
43076 if test "$wxUSE_STD_STRING" = "yes"; then
43077 cat >>confdefs.h <<\_ACEOF
43078 #define wxUSE_STD_STRING 1
43079 _ACEOF
43080
43081 fi
43082
43083 if test "$wxUSE_STDPATHS" = "yes"; then
43084 cat >>confdefs.h <<\_ACEOF
43085 #define wxUSE_STDPATHS 1
43086 _ACEOF
43087
43088 fi
43089
43090 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43091 cat >>confdefs.h <<\_ACEOF
43092 #define wxUSE_TEXTBUFFER 1
43093 _ACEOF
43094
43095 fi
43096
43097 if test "$wxUSE_TEXTFILE" = "yes"; then
43098 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43099 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43100 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43101 else
43102 cat >>confdefs.h <<\_ACEOF
43103 #define wxUSE_TEXTFILE 1
43104 _ACEOF
43105
43106 fi
43107 fi
43108
43109 if test "$wxUSE_CONFIG" = "yes" ; then
43110 if test "$wxUSE_TEXTFILE" != "yes"; then
43111 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43112 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43113 else
43114 cat >>confdefs.h <<\_ACEOF
43115 #define wxUSE_CONFIG 1
43116 _ACEOF
43117
43118 cat >>confdefs.h <<\_ACEOF
43119 #define wxUSE_CONFIG_NATIVE 1
43120 _ACEOF
43121
43122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43123 fi
43124 fi
43125
43126 if test "$wxUSE_INTL" = "yes" ; then
43127 if test "$wxUSE_FILE" != "yes"; then
43128 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43129 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43130 else
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_INTL 1
43133 _ACEOF
43134
43135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43136 GUIDIST="$GUIDIST INTL_DIST"
43137 fi
43138 fi
43139
43140 if test "$wxUSE_LOG" = "yes"; then
43141 cat >>confdefs.h <<\_ACEOF
43142 #define wxUSE_LOG 1
43143 _ACEOF
43144
43145
43146 if test "$wxUSE_LOGGUI" = "yes"; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define wxUSE_LOGGUI 1
43149 _ACEOF
43150
43151 fi
43152
43153 if test "$wxUSE_LOGWINDOW" = "yes"; then
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_LOGWINDOW 1
43156 _ACEOF
43157
43158 fi
43159
43160 if test "$wxUSE_LOGDIALOG" = "yes"; then
43161 cat >>confdefs.h <<\_ACEOF
43162 #define wxUSE_LOG_DIALOG 1
43163 _ACEOF
43164
43165 fi
43166
43167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43168 fi
43169
43170 if test "$wxUSE_LONGLONG" = "yes"; then
43171 cat >>confdefs.h <<\_ACEOF
43172 #define wxUSE_LONGLONG 1
43173 _ACEOF
43174
43175 fi
43176
43177 if test "$wxUSE_GEOMETRY" = "yes"; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define wxUSE_GEOMETRY 1
43180 _ACEOF
43181
43182 fi
43183
43184 if test "$wxUSE_STREAMS" = "yes" ; then
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_STREAMS 1
43187 _ACEOF
43188
43189 fi
43190
43191 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43192 cat >>confdefs.h <<\_ACEOF
43193 #define wxUSE_PRINTF_POS_PARAMS 1
43194 _ACEOF
43195
43196 fi
43197
43198
43199
43200 if test "$wxUSE_DATETIME" = "yes"; then
43201
43202 for ac_func in strptime
43203 do
43204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43205 echo "$as_me:$LINENO: checking for $ac_func" >&5
43206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43207 if eval "test \"\${$as_ac_var+set}\" = set"; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43209 else
43210 cat >conftest.$ac_ext <<_ACEOF
43211 /* confdefs.h. */
43212 _ACEOF
43213 cat confdefs.h >>conftest.$ac_ext
43214 cat >>conftest.$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43218 #define $ac_func innocuous_$ac_func
43219
43220 /* System header to define __stub macros and hopefully few prototypes,
43221 which can conflict with char $ac_func (); below.
43222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43223 <limits.h> exists even on freestanding compilers. */
43224
43225 #ifdef __STDC__
43226 # include <limits.h>
43227 #else
43228 # include <assert.h>
43229 #endif
43230
43231 #undef $ac_func
43232
43233 /* Override any gcc2 internal prototype to avoid an error. */
43234 #ifdef __cplusplus
43235 extern "C"
43236 {
43237 #endif
43238 /* We use char because int might match the return type of a gcc2
43239 builtin and then its argument prototype would still apply. */
43240 char $ac_func ();
43241 /* The GNU C library defines this for functions which it implements
43242 to always fail with ENOSYS. Some functions are actually named
43243 something starting with __ and the normal name is an alias. */
43244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43245 choke me
43246 #else
43247 char (*f) () = $ac_func;
43248 #endif
43249 #ifdef __cplusplus
43250 }
43251 #endif
43252
43253 int
43254 main ()
43255 {
43256 return f != $ac_func;
43257 ;
43258 return 0;
43259 }
43260 _ACEOF
43261 rm -f conftest.$ac_objext conftest$ac_exeext
43262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43263 (eval $ac_link) 2>conftest.er1
43264 ac_status=$?
43265 grep -v '^ *+' conftest.er1 >conftest.err
43266 rm -f conftest.er1
43267 cat conftest.err >&5
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); } &&
43270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43272 (eval $ac_try) 2>&5
43273 ac_status=$?
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; } &&
43276 { ac_try='test -s conftest$ac_exeext'
43277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43278 (eval $ac_try) 2>&5
43279 ac_status=$?
43280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281 (exit $ac_status); }; }; then
43282 eval "$as_ac_var=yes"
43283 else
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.$ac_ext >&5
43286
43287 eval "$as_ac_var=no"
43288 fi
43289 rm -f conftest.err conftest.$ac_objext \
43290 conftest$ac_exeext conftest.$ac_ext
43291 fi
43292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43294 if test `eval echo '${'$as_ac_var'}'` = yes; then
43295 cat >>confdefs.h <<_ACEOF
43296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43297 _ACEOF
43298
43299 fi
43300 done
43301
43302 if test "$ac_cv_func_strptime" = "yes"; then
43303 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43304 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43305 if test "${wx_cv_func_strptime_decl+set}" = set; then
43306 echo $ECHO_N "(cached) $ECHO_C" >&6
43307 else
43308
43309 cat >conftest.$ac_ext <<_ACEOF
43310 /* confdefs.h. */
43311 _ACEOF
43312 cat confdefs.h >>conftest.$ac_ext
43313 cat >>conftest.$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315
43316 #include <time.h>
43317
43318 int
43319 main ()
43320 {
43321
43322 struct tm t;
43323 strptime("foo", "bar", &t);
43324
43325 ;
43326 return 0;
43327 }
43328 _ACEOF
43329 rm -f conftest.$ac_objext
43330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43331 (eval $ac_compile) 2>conftest.er1
43332 ac_status=$?
43333 grep -v '^ *+' conftest.er1 >conftest.err
43334 rm -f conftest.er1
43335 cat conftest.err >&5
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); } &&
43338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43340 (eval $ac_try) 2>&5
43341 ac_status=$?
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); }; } &&
43344 { ac_try='test -s conftest.$ac_objext'
43345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43346 (eval $ac_try) 2>&5
43347 ac_status=$?
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 wx_cv_func_strptime_decl=yes
43351 else
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43354
43355 wx_cv_func_strptime_decl=no
43356
43357 fi
43358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43359
43360
43361 fi
43362 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43363 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43364 fi
43365 if test "$wx_cv_func_strptime_decl" = "yes"; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define HAVE_STRPTIME_DECL 1
43368 _ACEOF
43369
43370 fi
43371
43372 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43373 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43374 if test "${wx_cv_var_timezone+set}" = set; then
43375 echo $ECHO_N "(cached) $ECHO_C" >&6
43376 else
43377
43378 cat >conftest.$ac_ext <<_ACEOF
43379 /* confdefs.h. */
43380 _ACEOF
43381 cat confdefs.h >>conftest.$ac_ext
43382 cat >>conftest.$ac_ext <<_ACEOF
43383 /* end confdefs.h. */
43384
43385 #include <time.h>
43386
43387 int
43388 main ()
43389 {
43390
43391 int tz;
43392 tz = timezone;
43393
43394 ;
43395 return 0;
43396 }
43397 _ACEOF
43398 rm -f conftest.$ac_objext
43399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43400 (eval $ac_compile) 2>conftest.er1
43401 ac_status=$?
43402 grep -v '^ *+' conftest.er1 >conftest.err
43403 rm -f conftest.er1
43404 cat conftest.err >&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43409 (eval $ac_try) 2>&5
43410 ac_status=$?
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); }; } &&
43413 { ac_try='test -s conftest.$ac_objext'
43414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43415 (eval $ac_try) 2>&5
43416 ac_status=$?
43417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43418 (exit $ac_status); }; }; then
43419
43420 wx_cv_var_timezone=timezone
43421
43422 else
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.$ac_ext >&5
43425
43426
43427 cat >conftest.$ac_ext <<_ACEOF
43428 /* confdefs.h. */
43429 _ACEOF
43430 cat confdefs.h >>conftest.$ac_ext
43431 cat >>conftest.$ac_ext <<_ACEOF
43432 /* end confdefs.h. */
43433
43434 #include <time.h>
43435
43436 int
43437 main ()
43438 {
43439
43440 int tz;
43441 tz = _timezone;
43442
43443 ;
43444 return 0;
43445 }
43446 _ACEOF
43447 rm -f conftest.$ac_objext
43448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43449 (eval $ac_compile) 2>conftest.er1
43450 ac_status=$?
43451 grep -v '^ *+' conftest.er1 >conftest.err
43452 rm -f conftest.er1
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } &&
43456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43459 ac_status=$?
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43468
43469 wx_cv_var_timezone=_timezone
43470
43471 else
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.$ac_ext >&5
43474
43475
43476 cat >conftest.$ac_ext <<_ACEOF
43477 /* confdefs.h. */
43478 _ACEOF
43479 cat confdefs.h >>conftest.$ac_ext
43480 cat >>conftest.$ac_ext <<_ACEOF
43481 /* end confdefs.h. */
43482
43483 #include <time.h>
43484
43485 int
43486 main ()
43487 {
43488
43489 int tz;
43490 tz = __timezone;
43491
43492 ;
43493 return 0;
43494 }
43495 _ACEOF
43496 rm -f conftest.$ac_objext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43498 (eval $ac_compile) 2>conftest.er1
43499 ac_status=$?
43500 grep -v '^ *+' conftest.er1 >conftest.err
43501 rm -f conftest.er1
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } &&
43505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43507 (eval $ac_try) 2>&5
43508 ac_status=$?
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); }; } &&
43511 { ac_try='test -s conftest.$ac_objext'
43512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513 (eval $ac_try) 2>&5
43514 ac_status=$?
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); }; }; then
43517
43518 wx_cv_var_timezone=__timezone
43519
43520 else
43521 echo "$as_me: failed program was:" >&5
43522 sed 's/^/| /' conftest.$ac_ext >&5
43523
43524
43525 if test "$USE_DOS" = 0 ; then
43526 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43527 echo "$as_me: WARNING: no timezone variable" >&2;}
43528 fi
43529
43530
43531 fi
43532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43533
43534
43535 fi
43536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43537
43538
43539 fi
43540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43541
43542
43543 fi
43544 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43545 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43546
43547 if test "x$wx_cv_var_timezone" != x ; then
43548 cat >>confdefs.h <<_ACEOF
43549 #define WX_TIMEZONE $wx_cv_var_timezone
43550 _ACEOF
43551
43552 fi
43553
43554
43555 for ac_func in localtime
43556 do
43557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43558 echo "$as_me:$LINENO: checking for $ac_func" >&5
43559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43560 if eval "test \"\${$as_ac_var+set}\" = set"; then
43561 echo $ECHO_N "(cached) $ECHO_C" >&6
43562 else
43563 cat >conftest.$ac_ext <<_ACEOF
43564 /* confdefs.h. */
43565 _ACEOF
43566 cat confdefs.h >>conftest.$ac_ext
43567 cat >>conftest.$ac_ext <<_ACEOF
43568 /* end confdefs.h. */
43569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43571 #define $ac_func innocuous_$ac_func
43572
43573 /* System header to define __stub macros and hopefully few prototypes,
43574 which can conflict with char $ac_func (); below.
43575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43576 <limits.h> exists even on freestanding compilers. */
43577
43578 #ifdef __STDC__
43579 # include <limits.h>
43580 #else
43581 # include <assert.h>
43582 #endif
43583
43584 #undef $ac_func
43585
43586 /* Override any gcc2 internal prototype to avoid an error. */
43587 #ifdef __cplusplus
43588 extern "C"
43589 {
43590 #endif
43591 /* We use char because int might match the return type of a gcc2
43592 builtin and then its argument prototype would still apply. */
43593 char $ac_func ();
43594 /* The GNU C library defines this for functions which it implements
43595 to always fail with ENOSYS. Some functions are actually named
43596 something starting with __ and the normal name is an alias. */
43597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43598 choke me
43599 #else
43600 char (*f) () = $ac_func;
43601 #endif
43602 #ifdef __cplusplus
43603 }
43604 #endif
43605
43606 int
43607 main ()
43608 {
43609 return f != $ac_func;
43610 ;
43611 return 0;
43612 }
43613 _ACEOF
43614 rm -f conftest.$ac_objext conftest$ac_exeext
43615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43616 (eval $ac_link) 2>conftest.er1
43617 ac_status=$?
43618 grep -v '^ *+' conftest.er1 >conftest.err
43619 rm -f conftest.er1
43620 cat conftest.err >&5
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); } &&
43623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43625 (eval $ac_try) 2>&5
43626 ac_status=$?
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); }; } &&
43629 { ac_try='test -s conftest$ac_exeext'
43630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43631 (eval $ac_try) 2>&5
43632 ac_status=$?
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); }; }; then
43635 eval "$as_ac_var=yes"
43636 else
43637 echo "$as_me: failed program was:" >&5
43638 sed 's/^/| /' conftest.$ac_ext >&5
43639
43640 eval "$as_ac_var=no"
43641 fi
43642 rm -f conftest.err conftest.$ac_objext \
43643 conftest$ac_exeext conftest.$ac_ext
43644 fi
43645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43647 if test `eval echo '${'$as_ac_var'}'` = yes; then
43648 cat >>confdefs.h <<_ACEOF
43649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43650 _ACEOF
43651
43652 fi
43653 done
43654
43655
43656 if test "$ac_cv_func_localtime" = "yes"; then
43657 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43658 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43659 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43660 echo $ECHO_N "(cached) $ECHO_C" >&6
43661 else
43662
43663 cat >conftest.$ac_ext <<_ACEOF
43664 /* confdefs.h. */
43665 _ACEOF
43666 cat confdefs.h >>conftest.$ac_ext
43667 cat >>conftest.$ac_ext <<_ACEOF
43668 /* end confdefs.h. */
43669
43670 #include <time.h>
43671
43672 int
43673 main ()
43674 {
43675
43676 struct tm tm;
43677 tm.tm_gmtoff++;
43678
43679 ;
43680 return 0;
43681 }
43682 _ACEOF
43683 rm -f conftest.$ac_objext
43684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43685 (eval $ac_compile) 2>conftest.er1
43686 ac_status=$?
43687 grep -v '^ *+' conftest.er1 >conftest.err
43688 rm -f conftest.er1
43689 cat conftest.err >&5
43690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43691 (exit $ac_status); } &&
43692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43694 (eval $ac_try) 2>&5
43695 ac_status=$?
43696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697 (exit $ac_status); }; } &&
43698 { ac_try='test -s conftest.$ac_objext'
43699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43700 (eval $ac_try) 2>&5
43701 ac_status=$?
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; }; then
43704
43705 wx_cv_struct_tm_has_gmtoff=yes
43706
43707 else
43708 echo "$as_me: failed program was:" >&5
43709 sed 's/^/| /' conftest.$ac_ext >&5
43710
43711 wx_cv_struct_tm_has_gmtoff=no
43712
43713 fi
43714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43715
43716 fi
43717 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43718 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43719 fi
43720
43721 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define WX_GMTOFF_IN_TM 1
43724 _ACEOF
43725
43726 fi
43727
43728
43729
43730 for ac_func in gettimeofday ftime
43731 do
43732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43733 echo "$as_me:$LINENO: checking for $ac_func" >&5
43734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43735 if eval "test \"\${$as_ac_var+set}\" = set"; then
43736 echo $ECHO_N "(cached) $ECHO_C" >&6
43737 else
43738 cat >conftest.$ac_ext <<_ACEOF
43739 /* confdefs.h. */
43740 _ACEOF
43741 cat confdefs.h >>conftest.$ac_ext
43742 cat >>conftest.$ac_ext <<_ACEOF
43743 /* end confdefs.h. */
43744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43746 #define $ac_func innocuous_$ac_func
43747
43748 /* System header to define __stub macros and hopefully few prototypes,
43749 which can conflict with char $ac_func (); below.
43750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751 <limits.h> exists even on freestanding compilers. */
43752
43753 #ifdef __STDC__
43754 # include <limits.h>
43755 #else
43756 # include <assert.h>
43757 #endif
43758
43759 #undef $ac_func
43760
43761 /* Override any gcc2 internal prototype to avoid an error. */
43762 #ifdef __cplusplus
43763 extern "C"
43764 {
43765 #endif
43766 /* We use char because int might match the return type of a gcc2
43767 builtin and then its argument prototype would still apply. */
43768 char $ac_func ();
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43773 choke me
43774 #else
43775 char (*f) () = $ac_func;
43776 #endif
43777 #ifdef __cplusplus
43778 }
43779 #endif
43780
43781 int
43782 main ()
43783 {
43784 return f != $ac_func;
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 rm -f conftest.$ac_objext conftest$ac_exeext
43790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43791 (eval $ac_link) 2>conftest.er1
43792 ac_status=$?
43793 grep -v '^ *+' conftest.er1 >conftest.err
43794 rm -f conftest.er1
43795 cat conftest.err >&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } &&
43798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43800 (eval $ac_try) 2>&5
43801 ac_status=$?
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); }; } &&
43804 { ac_try='test -s conftest$ac_exeext'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43807 ac_status=$?
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; }; then
43810 eval "$as_ac_var=yes"
43811 else
43812 echo "$as_me: failed program was:" >&5
43813 sed 's/^/| /' conftest.$ac_ext >&5
43814
43815 eval "$as_ac_var=no"
43816 fi
43817 rm -f conftest.err conftest.$ac_objext \
43818 conftest$ac_exeext conftest.$ac_ext
43819 fi
43820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43822 if test `eval echo '${'$as_ac_var'}'` = yes; then
43823 cat >>confdefs.h <<_ACEOF
43824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43825 _ACEOF
43826 break
43827 fi
43828 done
43829
43830
43831 if test "$ac_cv_func_gettimeofday" = "yes"; then
43832 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43833 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43834 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 else
43837
43838 cat >conftest.$ac_ext <<_ACEOF
43839 /* confdefs.h. */
43840 _ACEOF
43841 cat confdefs.h >>conftest.$ac_ext
43842 cat >>conftest.$ac_ext <<_ACEOF
43843 /* end confdefs.h. */
43844
43845 #include <sys/time.h>
43846 #include <unistd.h>
43847
43848 int
43849 main ()
43850 {
43851
43852 struct timeval tv;
43853 gettimeofday(&tv, NULL);
43854
43855 ;
43856 return 0;
43857 }
43858 _ACEOF
43859 rm -f conftest.$ac_objext
43860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43861 (eval $ac_compile) 2>conftest.er1
43862 ac_status=$?
43863 grep -v '^ *+' conftest.er1 >conftest.err
43864 rm -f conftest.er1
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } &&
43868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43870 (eval $ac_try) 2>&5
43871 ac_status=$?
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); }; } &&
43874 { ac_try='test -s conftest.$ac_objext'
43875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43876 (eval $ac_try) 2>&5
43877 ac_status=$?
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; }; then
43880 wx_cv_func_gettimeofday_has_2_args=yes
43881 else
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.$ac_ext >&5
43884
43885 cat >conftest.$ac_ext <<_ACEOF
43886 /* confdefs.h. */
43887 _ACEOF
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43891
43892 #include <sys/time.h>
43893 #include <unistd.h>
43894
43895 int
43896 main ()
43897 {
43898
43899 struct timeval tv;
43900 gettimeofday(&tv);
43901
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext
43907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43908 (eval $ac_compile) 2>conftest.er1
43909 ac_status=$?
43910 grep -v '^ *+' conftest.er1 >conftest.err
43911 rm -f conftest.er1
43912 cat conftest.err >&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); } &&
43915 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43917 (eval $ac_try) 2>&5
43918 ac_status=$?
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); }; } &&
43921 { ac_try='test -s conftest.$ac_objext'
43922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923 (eval $ac_try) 2>&5
43924 ac_status=$?
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); }; }; then
43927 wx_cv_func_gettimeofday_has_2_args=no
43928 else
43929 echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.$ac_ext >&5
43931
43932
43933 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43934 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43935 wx_cv_func_gettimeofday_has_2_args=unknown
43936
43937
43938 fi
43939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43940
43941 fi
43942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43943
43944 fi
43945 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43946 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43947
43948 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43949 cat >>confdefs.h <<\_ACEOF
43950 #define WX_GETTIMEOFDAY_NO_TZ 1
43951 _ACEOF
43952
43953 fi
43954 fi
43955
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43957 fi
43958
43959
43960 if test "$wxUSE_SOCKETS" = "yes"; then
43961 if test "$wxUSE_MGL" = "1"; then
43962 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43963 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43964 wxUSE_SOCKETS="no"
43965 fi
43966 fi
43967
43968 if test "$wxUSE_SOCKETS" = "yes"; then
43969 if test "$TOOLKIT" != "MSW"; then
43970 echo "$as_me:$LINENO: checking for socket" >&5
43971 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43972 if test "${ac_cv_func_socket+set}" = set; then
43973 echo $ECHO_N "(cached) $ECHO_C" >&6
43974 else
43975 cat >conftest.$ac_ext <<_ACEOF
43976 /* confdefs.h. */
43977 _ACEOF
43978 cat confdefs.h >>conftest.$ac_ext
43979 cat >>conftest.$ac_ext <<_ACEOF
43980 /* end confdefs.h. */
43981 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43983 #define socket innocuous_socket
43984
43985 /* System header to define __stub macros and hopefully few prototypes,
43986 which can conflict with char socket (); below.
43987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43988 <limits.h> exists even on freestanding compilers. */
43989
43990 #ifdef __STDC__
43991 # include <limits.h>
43992 #else
43993 # include <assert.h>
43994 #endif
43995
43996 #undef socket
43997
43998 /* Override any gcc2 internal prototype to avoid an error. */
43999 #ifdef __cplusplus
44000 extern "C"
44001 {
44002 #endif
44003 /* We use char because int might match the return type of a gcc2
44004 builtin and then its argument prototype would still apply. */
44005 char socket ();
44006 /* The GNU C library defines this for functions which it implements
44007 to always fail with ENOSYS. Some functions are actually named
44008 something starting with __ and the normal name is an alias. */
44009 #if defined (__stub_socket) || defined (__stub___socket)
44010 choke me
44011 #else
44012 char (*f) () = socket;
44013 #endif
44014 #ifdef __cplusplus
44015 }
44016 #endif
44017
44018 int
44019 main ()
44020 {
44021 return f != socket;
44022 ;
44023 return 0;
44024 }
44025 _ACEOF
44026 rm -f conftest.$ac_objext conftest$ac_exeext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44028 (eval $ac_link) 2>conftest.er1
44029 ac_status=$?
44030 grep -v '^ *+' conftest.er1 >conftest.err
44031 rm -f conftest.er1
44032 cat conftest.err >&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037 (eval $ac_try) 2>&5
44038 ac_status=$?
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; } &&
44041 { ac_try='test -s conftest$ac_exeext'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44044 ac_status=$?
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; }; then
44047 ac_cv_func_socket=yes
44048 else
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44051
44052 ac_cv_func_socket=no
44053 fi
44054 rm -f conftest.err conftest.$ac_objext \
44055 conftest$ac_exeext conftest.$ac_ext
44056 fi
44057 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44058 echo "${ECHO_T}$ac_cv_func_socket" >&6
44059 if test $ac_cv_func_socket = yes; then
44060 :
44061 else
44062
44063 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44064 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44065 if test "${ac_cv_lib_socket_socket+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44068 ac_check_lib_save_LIBS=$LIBS
44069 LIBS="-lsocket $LIBS"
44070 cat >conftest.$ac_ext <<_ACEOF
44071 /* confdefs.h. */
44072 _ACEOF
44073 cat confdefs.h >>conftest.$ac_ext
44074 cat >>conftest.$ac_ext <<_ACEOF
44075 /* end confdefs.h. */
44076
44077 /* Override any gcc2 internal prototype to avoid an error. */
44078 #ifdef __cplusplus
44079 extern "C"
44080 #endif
44081 /* We use char because int might match the return type of a gcc2
44082 builtin and then its argument prototype would still apply. */
44083 char socket ();
44084 int
44085 main ()
44086 {
44087 socket ();
44088 ;
44089 return 0;
44090 }
44091 _ACEOF
44092 rm -f conftest.$ac_objext conftest$ac_exeext
44093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44094 (eval $ac_link) 2>conftest.er1
44095 ac_status=$?
44096 grep -v '^ *+' conftest.er1 >conftest.err
44097 rm -f conftest.er1
44098 cat conftest.err >&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); } &&
44101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44103 (eval $ac_try) 2>&5
44104 ac_status=$?
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); }; } &&
44107 { ac_try='test -s conftest$ac_exeext'
44108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109 (eval $ac_try) 2>&5
44110 ac_status=$?
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; }; then
44113 ac_cv_lib_socket_socket=yes
44114 else
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44117
44118 ac_cv_lib_socket_socket=no
44119 fi
44120 rm -f conftest.err conftest.$ac_objext \
44121 conftest$ac_exeext conftest.$ac_ext
44122 LIBS=$ac_check_lib_save_LIBS
44123 fi
44124 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44125 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44126 if test $ac_cv_lib_socket_socket = yes; then
44127 if test "$INET_LINK" != " -lsocket"; then
44128 INET_LINK="$INET_LINK -lsocket"
44129 fi
44130 else
44131
44132 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44133 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44134 wxUSE_SOCKETS=no
44135
44136
44137 fi
44138
44139
44140
44141 fi
44142
44143 fi
44144 fi
44145
44146 if test "$wxUSE_SOCKETS" = "yes" ; then
44147 if test "$TOOLKIT" != "MSW"; then
44148 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44149 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44150 if test "${wx_cv_type_getsockname3+set}" = set; then
44151 echo $ECHO_N "(cached) $ECHO_C" >&6
44152 else
44153
44154 cat >conftest.$ac_ext <<_ACEOF
44155 /* confdefs.h. */
44156 _ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44160
44161 #include <sys/types.h>
44162 #include <sys/socket.h>
44163
44164 int
44165 main ()
44166 {
44167
44168 socklen_t len;
44169 getsockname(0, 0, &len);
44170
44171 ;
44172 return 0;
44173 }
44174 _ACEOF
44175 rm -f conftest.$ac_objext
44176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44177 (eval $ac_compile) 2>conftest.er1
44178 ac_status=$?
44179 grep -v '^ *+' conftest.er1 >conftest.err
44180 rm -f conftest.er1
44181 cat conftest.err >&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } &&
44184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44186 (eval $ac_try) 2>&5
44187 ac_status=$?
44188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189 (exit $ac_status); }; } &&
44190 { ac_try='test -s conftest.$ac_objext'
44191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44192 (eval $ac_try) 2>&5
44193 ac_status=$?
44194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44195 (exit $ac_status); }; }; then
44196 wx_cv_type_getsockname3=socklen_t
44197 else
44198 echo "$as_me: failed program was:" >&5
44199 sed 's/^/| /' conftest.$ac_ext >&5
44200
44201
44202 CXXFLAGS_OLD="$CXXFLAGS"
44203 if test "$GCC" = yes ; then
44204 CXXFLAGS="-Werror $CXXFLAGS"
44205 fi
44206
44207 cat >conftest.$ac_ext <<_ACEOF
44208 /* confdefs.h. */
44209 _ACEOF
44210 cat confdefs.h >>conftest.$ac_ext
44211 cat >>conftest.$ac_ext <<_ACEOF
44212 /* end confdefs.h. */
44213
44214 #include <sys/types.h>
44215 #include <sys/socket.h>
44216
44217 int
44218 main ()
44219 {
44220
44221 size_t len;
44222 getsockname(0, 0, &len);
44223
44224 ;
44225 return 0;
44226 }
44227 _ACEOF
44228 rm -f conftest.$ac_objext
44229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44230 (eval $ac_compile) 2>conftest.er1
44231 ac_status=$?
44232 grep -v '^ *+' conftest.er1 >conftest.err
44233 rm -f conftest.er1
44234 cat conftest.err >&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } &&
44237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44239 (eval $ac_try) 2>&5
44240 ac_status=$?
44241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44242 (exit $ac_status); }; } &&
44243 { ac_try='test -s conftest.$ac_objext'
44244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44245 (eval $ac_try) 2>&5
44246 ac_status=$?
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); }; }; then
44249 wx_cv_type_getsockname3=size_t
44250 else
44251 echo "$as_me: failed program was:" >&5
44252 sed 's/^/| /' conftest.$ac_ext >&5
44253
44254 cat >conftest.$ac_ext <<_ACEOF
44255 /* confdefs.h. */
44256 _ACEOF
44257 cat confdefs.h >>conftest.$ac_ext
44258 cat >>conftest.$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44260
44261 #include <sys/types.h>
44262 #include <sys/socket.h>
44263
44264 int
44265 main ()
44266 {
44267
44268 int len;
44269 getsockname(0, 0, &len);
44270
44271 ;
44272 return 0;
44273 }
44274 _ACEOF
44275 rm -f conftest.$ac_objext
44276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44277 (eval $ac_compile) 2>conftest.er1
44278 ac_status=$?
44279 grep -v '^ *+' conftest.er1 >conftest.err
44280 rm -f conftest.er1
44281 cat conftest.err >&5
44282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44283 (exit $ac_status); } &&
44284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44286 (eval $ac_try) 2>&5
44287 ac_status=$?
44288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 (exit $ac_status); }; } &&
44290 { ac_try='test -s conftest.$ac_objext'
44291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44292 (eval $ac_try) 2>&5
44293 ac_status=$?
44294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44295 (exit $ac_status); }; }; then
44296 wx_cv_type_getsockname3=int
44297 else
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.$ac_ext >&5
44300
44301 wx_cv_type_getsockname3=unknown
44302
44303 fi
44304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44305
44306 fi
44307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44308
44309 CXXFLAGS="$CXXFLAGS_OLD"
44310
44311
44312 fi
44313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44314
44315 fi
44316 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44317 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44318
44319 if test "$wx_cv_type_getsockname3" = "unknown"; then
44320 wxUSE_SOCKETS=no
44321 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44322 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44323 else
44324 cat >>confdefs.h <<_ACEOF
44325 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44326 _ACEOF
44327
44328 fi
44329 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44330 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44331 if test "${wx_cv_type_getsockopt5+set}" = set; then
44332 echo $ECHO_N "(cached) $ECHO_C" >&6
44333 else
44334
44335 cat >conftest.$ac_ext <<_ACEOF
44336 /* confdefs.h. */
44337 _ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44341
44342 #include <sys/types.h>
44343 #include <sys/socket.h>
44344
44345 int
44346 main ()
44347 {
44348
44349 socklen_t len;
44350 getsockopt(0, 0, 0, 0, &len);
44351
44352 ;
44353 return 0;
44354 }
44355 _ACEOF
44356 rm -f conftest.$ac_objext
44357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44358 (eval $ac_compile) 2>conftest.er1
44359 ac_status=$?
44360 grep -v '^ *+' conftest.er1 >conftest.err
44361 rm -f conftest.er1
44362 cat conftest.err >&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); } &&
44365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44367 (eval $ac_try) 2>&5
44368 ac_status=$?
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); }; } &&
44371 { ac_try='test -s conftest.$ac_objext'
44372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44373 (eval $ac_try) 2>&5
44374 ac_status=$?
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; }; then
44377 wx_cv_type_getsockopt5=socklen_t
44378 else
44379 echo "$as_me: failed program was:" >&5
44380 sed 's/^/| /' conftest.$ac_ext >&5
44381
44382
44383 CXXFLAGS_OLD="$CXXFLAGS"
44384 if test "$GCC" = yes ; then
44385 CXXFLAGS="-Werror $CXXFLAGS"
44386 fi
44387
44388 cat >conftest.$ac_ext <<_ACEOF
44389 /* confdefs.h. */
44390 _ACEOF
44391 cat confdefs.h >>conftest.$ac_ext
44392 cat >>conftest.$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394
44395 #include <sys/types.h>
44396 #include <sys/socket.h>
44397
44398 int
44399 main ()
44400 {
44401
44402 size_t len;
44403 getsockopt(0, 0, 0, 0, &len);
44404
44405 ;
44406 return 0;
44407 }
44408 _ACEOF
44409 rm -f conftest.$ac_objext
44410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44411 (eval $ac_compile) 2>conftest.er1
44412 ac_status=$?
44413 grep -v '^ *+' conftest.er1 >conftest.err
44414 rm -f conftest.er1
44415 cat conftest.err >&5
44416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417 (exit $ac_status); } &&
44418 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44420 (eval $ac_try) 2>&5
44421 ac_status=$?
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); }; } &&
44424 { ac_try='test -s conftest.$ac_objext'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44427 ac_status=$?
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; }; then
44430 wx_cv_type_getsockopt5=size_t
44431 else
44432 echo "$as_me: failed program was:" >&5
44433 sed 's/^/| /' conftest.$ac_ext >&5
44434
44435 cat >conftest.$ac_ext <<_ACEOF
44436 /* confdefs.h. */
44437 _ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44441
44442 #include <sys/types.h>
44443 #include <sys/socket.h>
44444
44445 int
44446 main ()
44447 {
44448
44449 int len;
44450 getsockopt(0, 0, 0, 0, &len);
44451
44452 ;
44453 return 0;
44454 }
44455 _ACEOF
44456 rm -f conftest.$ac_objext
44457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44458 (eval $ac_compile) 2>conftest.er1
44459 ac_status=$?
44460 grep -v '^ *+' conftest.er1 >conftest.err
44461 rm -f conftest.er1
44462 cat conftest.err >&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); } &&
44465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467 (eval $ac_try) 2>&5
44468 ac_status=$?
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; } &&
44471 { ac_try='test -s conftest.$ac_objext'
44472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473 (eval $ac_try) 2>&5
44474 ac_status=$?
44475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476 (exit $ac_status); }; }; then
44477 wx_cv_type_getsockopt5=int
44478 else
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44481
44482 wx_cv_type_getsockopt5=unknown
44483
44484 fi
44485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44486
44487 fi
44488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44489
44490 CXXFLAGS="$CXXFLAGS_OLD"
44491
44492
44493 fi
44494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44495
44496 fi
44497 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44498 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44499
44500 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44501 wxUSE_SOCKETS=no
44502 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44503 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44504 else
44505 cat >>confdefs.h <<_ACEOF
44506 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44507 _ACEOF
44508
44509 fi
44510 fi
44511 fi
44512
44513 if test "$wxUSE_SOCKETS" = "yes" ; then
44514 cat >>confdefs.h <<\_ACEOF
44515 #define wxUSE_SOCKETS 1
44516 _ACEOF
44517
44518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44519 fi
44520
44521 if test "$wxUSE_PROTOCOL" = "yes"; then
44522 if test "$wxUSE_SOCKETS" != "yes"; then
44523 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44524 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44525 wxUSE_PROTOCOL=no
44526 fi
44527 fi
44528
44529 if test "$wxUSE_PROTOCOL" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_PROTOCOL 1
44532 _ACEOF
44533
44534
44535 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_PROTOCOL_HTTP 1
44538 _ACEOF
44539
44540 fi
44541 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_PROTOCOL_FTP 1
44544 _ACEOF
44545
44546 fi
44547 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_PROTOCOL_FILE 1
44550 _ACEOF
44551
44552 fi
44553 else
44554 if test "$wxUSE_FS_INET" = "yes"; then
44555 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44556 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44557 wxUSE_FS_INET="no"
44558 fi
44559 fi
44560
44561 if test "$wxUSE_URL" = "yes"; then
44562 if test "$wxUSE_PROTOCOL" != "yes"; then
44563 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44564 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44565 wxUSE_URL=no
44566 fi
44567 if test "$wxUSE_URL" = "yes"; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_URL 1
44570 _ACEOF
44571
44572 fi
44573 fi
44574
44575 if test "$wxUSE_VARIANT" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_VARIANT 1
44578 _ACEOF
44579
44580 fi
44581
44582 if test "$wxUSE_FS_INET" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_FS_INET 1
44585 _ACEOF
44586
44587 fi
44588
44589
44590 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44591 wxUSE_JOYSTICK=no
44592
44593 if test "$TOOLKIT" = "MSW"; then
44594 wxUSE_JOYSTICK=yes
44595
44596 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44597 if test "$USE_DARWIN" = 1; then
44598 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44599 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44600 cat >conftest.$ac_ext <<_ACEOF
44601 /* confdefs.h. */
44602 _ACEOF
44603 cat confdefs.h >>conftest.$ac_ext
44604 cat >>conftest.$ac_ext <<_ACEOF
44605 /* end confdefs.h. */
44606 #include <IOKit/hid/IOHIDLib.h>
44607 int
44608 main ()
44609 {
44610 IOHIDQueueInterface *qi = NULL;
44611 IOHIDCallbackFunction cb = NULL;
44612 qi->setEventCallout(NULL, cb, NULL, NULL);
44613 ;
44614 return 0;
44615 }
44616 _ACEOF
44617 rm -f conftest.$ac_objext
44618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44619 (eval $ac_compile) 2>conftest.er1
44620 ac_status=$?
44621 grep -v '^ *+' conftest.er1 >conftest.err
44622 rm -f conftest.er1
44623 cat conftest.err >&5
44624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625 (exit $ac_status); } &&
44626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44628 (eval $ac_try) 2>&5
44629 ac_status=$?
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); }; } &&
44632 { ac_try='test -s conftest.$ac_objext'
44633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44634 (eval $ac_try) 2>&5
44635 ac_status=$?
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; }; then
44638 wxUSE_JOYSTICK=yes
44639
44640 else
44641 echo "$as_me: failed program was:" >&5
44642 sed 's/^/| /' conftest.$ac_ext >&5
44643
44644 fi
44645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44646 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44647 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44648 fi
44649
44650 else
44651
44652 for ac_header in linux/joystick.h
44653 do
44654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44656 echo "$as_me:$LINENO: checking for $ac_header" >&5
44657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44660 fi
44661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44663 else
44664 # Is the header compilable?
44665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44667 cat >conftest.$ac_ext <<_ACEOF
44668 /* confdefs.h. */
44669 _ACEOF
44670 cat confdefs.h >>conftest.$ac_ext
44671 cat >>conftest.$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44673 $ac_includes_default
44674 #include <$ac_header>
44675 _ACEOF
44676 rm -f conftest.$ac_objext
44677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44678 (eval $ac_compile) 2>conftest.er1
44679 ac_status=$?
44680 grep -v '^ *+' conftest.er1 >conftest.err
44681 rm -f conftest.er1
44682 cat conftest.err >&5
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); } &&
44685 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687 (eval $ac_try) 2>&5
44688 ac_status=$?
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); }; } &&
44691 { ac_try='test -s conftest.$ac_objext'
44692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44693 (eval $ac_try) 2>&5
44694 ac_status=$?
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); }; }; then
44697 ac_header_compiler=yes
44698 else
44699 echo "$as_me: failed program was:" >&5
44700 sed 's/^/| /' conftest.$ac_ext >&5
44701
44702 ac_header_compiler=no
44703 fi
44704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44706 echo "${ECHO_T}$ac_header_compiler" >&6
44707
44708 # Is the header present?
44709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44711 cat >conftest.$ac_ext <<_ACEOF
44712 /* confdefs.h. */
44713 _ACEOF
44714 cat confdefs.h >>conftest.$ac_ext
44715 cat >>conftest.$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44717 #include <$ac_header>
44718 _ACEOF
44719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44721 ac_status=$?
44722 grep -v '^ *+' conftest.er1 >conftest.err
44723 rm -f conftest.er1
44724 cat conftest.err >&5
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); } >/dev/null; then
44727 if test -s conftest.err; then
44728 ac_cpp_err=$ac_cxx_preproc_warn_flag
44729 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44730 else
44731 ac_cpp_err=
44732 fi
44733 else
44734 ac_cpp_err=yes
44735 fi
44736 if test -z "$ac_cpp_err"; then
44737 ac_header_preproc=yes
44738 else
44739 echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.$ac_ext >&5
44741
44742 ac_header_preproc=no
44743 fi
44744 rm -f conftest.err conftest.$ac_ext
44745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44746 echo "${ECHO_T}$ac_header_preproc" >&6
44747
44748 # So? What about this header?
44749 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44750 yes:no: )
44751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44755 ac_header_preproc=yes
44756 ;;
44757 no:yes:* )
44758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44770 (
44771 cat <<\_ASBOX
44772 ## ----------------------------------------- ##
44773 ## Report this to wx-dev@lists.wxwidgets.org ##
44774 ## ----------------------------------------- ##
44775 _ASBOX
44776 ) |
44777 sed "s/^/$as_me: WARNING: /" >&2
44778 ;;
44779 esac
44780 echo "$as_me:$LINENO: checking for $ac_header" >&5
44781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44783 echo $ECHO_N "(cached) $ECHO_C" >&6
44784 else
44785 eval "$as_ac_Header=\$ac_header_preproc"
44786 fi
44787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44789
44790 fi
44791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44792 cat >>confdefs.h <<_ACEOF
44793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44794 _ACEOF
44795 wxUSE_JOYSTICK=yes
44796 fi
44797
44798 done
44799
44800 fi
44801
44802 if test "$wxUSE_JOYSTICK" = "yes"; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_JOYSTICK 1
44805 _ACEOF
44806
44807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44808 else
44809 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44810 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44811 fi
44812 fi
44813
44814
44815
44816 if test "$wxUSE_FONTMAP" = "yes" ; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define wxUSE_FONTMAP 1
44819 _ACEOF
44820
44821 fi
44822
44823 if test "$wxUSE_UNICODE" = "yes" ; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_UNICODE 1
44826 _ACEOF
44827
44828
44829 if test "$USE_WIN32" != 1; then
44830 wxUSE_UNICODE_MSLU=no
44831 fi
44832
44833 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44834 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44835 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44836 if test "${ac_cv_lib_unicows_main+set}" = set; then
44837 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 else
44839 ac_check_lib_save_LIBS=$LIBS
44840 LIBS="-lunicows $LIBS"
44841 cat >conftest.$ac_ext <<_ACEOF
44842 /* confdefs.h. */
44843 _ACEOF
44844 cat confdefs.h >>conftest.$ac_ext
44845 cat >>conftest.$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44847
44848
44849 int
44850 main ()
44851 {
44852 main ();
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 rm -f conftest.$ac_objext conftest$ac_exeext
44858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44859 (eval $ac_link) 2>conftest.er1
44860 ac_status=$?
44861 grep -v '^ *+' conftest.er1 >conftest.err
44862 rm -f conftest.er1
44863 cat conftest.err >&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } &&
44866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try='test -s conftest$ac_exeext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 ac_cv_lib_unicows_main=yes
44879 else
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44882
44883 ac_cv_lib_unicows_main=no
44884 fi
44885 rm -f conftest.err conftest.$ac_objext \
44886 conftest$ac_exeext conftest.$ac_ext
44887 LIBS=$ac_check_lib_save_LIBS
44888 fi
44889 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44890 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44891 if test $ac_cv_lib_unicows_main = yes; then
44892
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_UNICODE_MSLU 1
44895 _ACEOF
44896
44897
44898 else
44899
44900 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44901 Applications will only run on Windows NT/2000/XP!" >&5
44902 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44903 Applications will only run on Windows NT/2000/XP!" >&2;}
44904 wxUSE_UNICODE_MSLU=no
44905
44906 fi
44907
44908 fi
44909 fi
44910
44911 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_EXPERIMENTAL_PRINTF 1
44914 _ACEOF
44915
44916 fi
44917
44918
44919 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_POSTSCRIPT 1
44922 _ACEOF
44923
44924 fi
44925
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44928 _ACEOF
44929
44930
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_NORMALIZED_PS_FONTS 1
44933 _ACEOF
44934
44935
44936
44937 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_CONSTRAINTS 1
44940 _ACEOF
44941
44942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44943 fi
44944
44945 if test "$wxUSE_MDI" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_MDI 1
44948 _ACEOF
44949
44950
44951 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_MDI_ARCHITECTURE 1
44954 _ACEOF
44955
44956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44957 fi
44958 fi
44959
44960 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44963 _ACEOF
44964
44965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44966 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44968 fi
44969 fi
44970
44971 if test "$wxUSE_HELP" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_HELP 1
44974 _ACEOF
44975
44976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44977
44978 if test "$wxUSE_MSW" = 1; then
44979 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_MS_HTML_HELP 1
44982 _ACEOF
44983
44984 fi
44985 fi
44986
44987 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44988 if test "$wxUSE_HTML" = "yes"; then
44989 cat >>confdefs.h <<\_ACEOF
44990 #define wxUSE_WXHTML_HELP 1
44991 _ACEOF
44992
44993 else
44994 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44995 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44996 wxUSE_WXHTML_HELP=no
44997 fi
44998 fi
44999 fi
45000
45001 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45002 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45003 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45004 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45005 else
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_PRINTING_ARCHITECTURE 1
45008 _ACEOF
45009
45010 fi
45011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45012 fi
45013
45014 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45015 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45016 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45017 { (exit 1); exit 1; }; }
45018 fi
45019
45020
45021 if test "$wxUSE_METAFILE" = "yes"; then
45022 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45023 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45024 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45025 wxUSE_METAFILE=no
45026 fi
45027 fi
45028
45029
45030 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45031 -o "$wxUSE_CLIPBOARD" = "yes" \
45032 -o "$wxUSE_OLE" = "yes" \
45033 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45034
45035 for ac_header in ole2.h
45036 do
45037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45039 echo "$as_me:$LINENO: checking for $ac_header" >&5
45040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45042 echo $ECHO_N "(cached) $ECHO_C" >&6
45043 fi
45044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45046 else
45047 # Is the header compilable?
45048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45050 cat >conftest.$ac_ext <<_ACEOF
45051 /* confdefs.h. */
45052 _ACEOF
45053 cat confdefs.h >>conftest.$ac_ext
45054 cat >>conftest.$ac_ext <<_ACEOF
45055 /* end confdefs.h. */
45056 $ac_includes_default
45057 #include <$ac_header>
45058 _ACEOF
45059 rm -f conftest.$ac_objext
45060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45061 (eval $ac_compile) 2>conftest.er1
45062 ac_status=$?
45063 grep -v '^ *+' conftest.er1 >conftest.err
45064 rm -f conftest.er1
45065 cat conftest.err >&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); } &&
45068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try='test -s conftest.$ac_objext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 ac_header_compiler=yes
45081 else
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45084
45085 ac_header_compiler=no
45086 fi
45087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45089 echo "${ECHO_T}$ac_header_compiler" >&6
45090
45091 # Is the header present?
45092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45094 cat >conftest.$ac_ext <<_ACEOF
45095 /* confdefs.h. */
45096 _ACEOF
45097 cat confdefs.h >>conftest.$ac_ext
45098 cat >>conftest.$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45100 #include <$ac_header>
45101 _ACEOF
45102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45104 ac_status=$?
45105 grep -v '^ *+' conftest.er1 >conftest.err
45106 rm -f conftest.er1
45107 cat conftest.err >&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); } >/dev/null; then
45110 if test -s conftest.err; then
45111 ac_cpp_err=$ac_cxx_preproc_warn_flag
45112 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45113 else
45114 ac_cpp_err=
45115 fi
45116 else
45117 ac_cpp_err=yes
45118 fi
45119 if test -z "$ac_cpp_err"; then
45120 ac_header_preproc=yes
45121 else
45122 echo "$as_me: failed program was:" >&5
45123 sed 's/^/| /' conftest.$ac_ext >&5
45124
45125 ac_header_preproc=no
45126 fi
45127 rm -f conftest.err conftest.$ac_ext
45128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45129 echo "${ECHO_T}$ac_header_preproc" >&6
45130
45131 # So? What about this header?
45132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45133 yes:no: )
45134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45138 ac_header_preproc=yes
45139 ;;
45140 no:yes:* )
45141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45153 (
45154 cat <<\_ASBOX
45155 ## ----------------------------------------- ##
45156 ## Report this to wx-dev@lists.wxwidgets.org ##
45157 ## ----------------------------------------- ##
45158 _ASBOX
45159 ) |
45160 sed "s/^/$as_me: WARNING: /" >&2
45161 ;;
45162 esac
45163 echo "$as_me:$LINENO: checking for $ac_header" >&5
45164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45166 echo $ECHO_N "(cached) $ECHO_C" >&6
45167 else
45168 eval "$as_ac_Header=\$ac_header_preproc"
45169 fi
45170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45172
45173 fi
45174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45175 cat >>confdefs.h <<_ACEOF
45176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45177 _ACEOF
45178
45179 fi
45180
45181 done
45182
45183
45184 if test "$ac_cv_header_ole2_h" = "yes" ; then
45185 if test "$GCC" = yes ; then
45186 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45187 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45188 cat >conftest.$ac_ext <<_ACEOF
45189 /* confdefs.h. */
45190 _ACEOF
45191 cat confdefs.h >>conftest.$ac_ext
45192 cat >>conftest.$ac_ext <<_ACEOF
45193 /* end confdefs.h. */
45194 #include <windows.h>
45195 #include <ole2.h>
45196 int
45197 main ()
45198 {
45199
45200 ;
45201 return 0;
45202 }
45203 _ACEOF
45204 rm -f conftest.$ac_objext
45205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45206 (eval $ac_compile) 2>conftest.er1
45207 ac_status=$?
45208 grep -v '^ *+' conftest.er1 >conftest.err
45209 rm -f conftest.er1
45210 cat conftest.err >&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); } &&
45213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215 (eval $ac_try) 2>&5
45216 ac_status=$?
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); }; } &&
45219 { ac_try='test -s conftest.$ac_objext'
45220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45221 (eval $ac_try) 2>&5
45222 ac_status=$?
45223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45224 (exit $ac_status); }; }; then
45225 echo "$as_me:$LINENO: result: no" >&5
45226 echo "${ECHO_T}no" >&6
45227 else
45228 echo "$as_me: failed program was:" >&5
45229 sed 's/^/| /' conftest.$ac_ext >&5
45230
45231 echo "$as_me:$LINENO: result: yes" >&5
45232 echo "${ECHO_T}yes" >&6
45233 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45234 fi
45235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45236 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45237 if test "$wxUSE_OLE" = "yes" ; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_OLE 1
45240 _ACEOF
45241
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_OLE_AUTOMATION 1
45244 _ACEOF
45245
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_OLE_ACTIVEX 1
45248 _ACEOF
45249
45250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45251 fi
45252 fi
45253
45254 if test "$wxUSE_DATAOBJ" = "yes" ; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_DATAOBJ 1
45257 _ACEOF
45258
45259 fi
45260 else
45261 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45262 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45263
45264 wxUSE_CLIPBOARD=no
45265 wxUSE_DRAG_AND_DROP=no
45266 wxUSE_DATAOBJ=no
45267 wxUSE_OLE=no
45268 fi
45269
45270 if test "$wxUSE_METAFILE" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_METAFILE 1
45273 _ACEOF
45274
45275
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_ENH_METAFILE 1
45278 _ACEOF
45279
45280 fi
45281 fi
45282
45283 if test "$wxUSE_IPC" = "yes"; then
45284 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45285 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45286 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45287 wxUSE_IPC=no
45288 fi
45289
45290 if test "$wxUSE_IPC" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_IPC 1
45293 _ACEOF
45294
45295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45296 fi
45297 fi
45298
45299 if test "$wxUSE_DATAOBJ" = "yes"; then
45300 if test "$wxUSE_MGL" = 1; then
45301 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45302 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45303 wxUSE_DATAOBJ=no
45304 else
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_DATAOBJ 1
45307 _ACEOF
45308
45309 fi
45310 else
45311 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45312 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45313 wxUSE_CLIPBOARD=no
45314 wxUSE_DRAG_AND_DROP=no
45315 fi
45316
45317 if test "$wxUSE_CLIPBOARD" = "yes"; then
45318 if test "$wxUSE_MGL" = 1; then
45319 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45320 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45321 wxUSE_CLIPBOARD=no
45322 fi
45323
45324 if test "$wxUSE_CLIPBOARD" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_CLIPBOARD 1
45327 _ACEOF
45328
45329 fi
45330 fi
45331
45332 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45333 if test "$wxUSE_GTK" = 1; then
45334 if test "$WXGTK12" != 1; then
45335 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45336 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45337 wxUSE_DRAG_AND_DROP=no
45338 fi
45339 fi
45340
45341 if test "$wxUSE_MOTIF" = 1; then
45342 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45343 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45344 wxUSE_DRAG_AND_DROP=no
45345 fi
45346
45347 if test "$wxUSE_X11" = 1; then
45348 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45349 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45350 wxUSE_DRAG_AND_DROP=no
45351 fi
45352
45353 if test "$wxUSE_MGL" = 1; then
45354 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45355 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45356 wxUSE_DRAG_AND_DROP=no
45357 fi
45358
45359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_DRAG_AND_DROP 1
45362 _ACEOF
45363
45364 fi
45365
45366 fi
45367
45368 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45370 fi
45371
45372 if test "$wxUSE_SPLINES" = "yes" ; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_SPLINES 1
45375 _ACEOF
45376
45377 fi
45378
45379 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_MOUSEWHEEL 1
45382 _ACEOF
45383
45384 fi
45385
45386
45387 USES_CONTROLS=0
45388 if test "$wxUSE_CONTROLS" = "yes"; then
45389 USES_CONTROLS=1
45390 fi
45391
45392 if test "$wxUSE_ACCEL" = "yes"; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_ACCEL 1
45395 _ACEOF
45396
45397 USES_CONTROLS=1
45398 fi
45399
45400 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_ANIMATIONCTRL 1
45403 _ACEOF
45404
45405 USES_CONTROLS=1
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45407 fi
45408
45409 if test "$wxUSE_BUTTON" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_BUTTON 1
45412 _ACEOF
45413
45414 USES_CONTROLS=1
45415 fi
45416
45417 if test "$wxUSE_BMPBUTTON" = "yes"; then
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_BMPBUTTON 1
45420 _ACEOF
45421
45422 USES_CONTROLS=1
45423 fi
45424
45425 if test "$wxUSE_CALCTRL" = "yes"; then
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_CALENDARCTRL 1
45428 _ACEOF
45429
45430 USES_CONTROLS=1
45431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45432 fi
45433
45434 if test "$wxUSE_CARET" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_CARET 1
45437 _ACEOF
45438
45439 USES_CONTROLS=1
45440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45441 fi
45442
45443 if test "$wxUSE_COMBOBOX" = "yes"; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_COMBOBOX 1
45446 _ACEOF
45447
45448 USES_CONTROLS=1
45449 fi
45450
45451 if test "$wxUSE_COMBOCTRL" = "yes"; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_COMBOCTRL 1
45454 _ACEOF
45455
45456 USES_CONTROLS=1
45457 fi
45458
45459 if test "$wxUSE_CHOICE" = "yes"; then
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_CHOICE 1
45462 _ACEOF
45463
45464 USES_CONTROLS=1
45465 fi
45466
45467 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_CHOICEBOOK 1
45470 _ACEOF
45471
45472 USES_CONTROLS=1
45473 fi
45474
45475 if test "$wxUSE_CHECKBOX" = "yes"; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_CHECKBOX 1
45478 _ACEOF
45479
45480 USES_CONTROLS=1
45481 fi
45482
45483 if test "$wxUSE_CHECKLST" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_CHECKLISTBOX 1
45486 _ACEOF
45487
45488 USES_CONTROLS=1
45489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45490 fi
45491
45492 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_COLOURPICKERCTRL 1
45495 _ACEOF
45496
45497 USES_CONTROLS=1
45498 fi
45499
45500 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_DATEPICKCTRL 1
45503 _ACEOF
45504
45505 USES_CONTROLS=1
45506 fi
45507
45508 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_DIRPICKERCTRL 1
45511 _ACEOF
45512
45513 USES_CONTROLS=1
45514 fi
45515
45516 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_FILEPICKERCTRL 1
45519 _ACEOF
45520
45521 USES_CONTROLS=1
45522 fi
45523
45524 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_FONTPICKERCTRL 1
45527 _ACEOF
45528
45529 USES_CONTROLS=1
45530 fi
45531
45532 if test "$wxUSE_DISPLAY" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_DISPLAY 1
45535 _ACEOF
45536
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45538 fi
45539
45540 if test "$wxUSE_DETECT_SM" = "yes"; then
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_DETECT_SM 1
45543 _ACEOF
45544
45545 fi
45546
45547 if test "$wxUSE_GAUGE" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_GAUGE 1
45550 _ACEOF
45551
45552 USES_CONTROLS=1
45553 fi
45554
45555 if test "$wxUSE_GRID" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_GRID 1
45558 _ACEOF
45559
45560 USES_CONTROLS=1
45561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45562 fi
45563
45564 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_HYPERLINKCTRL 1
45567 _ACEOF
45568
45569 USES_CONTROLS=1
45570 fi
45571
45572 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_BITMAPCOMBOBOX 1
45575 _ACEOF
45576
45577 USES_CONTROLS=1
45578 fi
45579
45580 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_DATAVIEWCTRL 1
45583 _ACEOF
45584
45585 USES_CONTROLS=1
45586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45587 fi
45588
45589 if test "$wxUSE_IMAGLIST" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_IMAGLIST 1
45592 _ACEOF
45593
45594 fi
45595
45596 if test "$wxUSE_LISTBOOK" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_LISTBOOK 1
45599 _ACEOF
45600
45601 USES_CONTROLS=1
45602 fi
45603
45604 if test "$wxUSE_LISTBOX" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_LISTBOX 1
45607 _ACEOF
45608
45609 USES_CONTROLS=1
45610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45611 fi
45612
45613 if test "$wxUSE_LISTCTRL" = "yes"; then
45614 if test "$wxUSE_IMAGLIST" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_LISTCTRL 1
45617 _ACEOF
45618
45619 USES_CONTROLS=1
45620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45621 else
45622 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45623 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45624 fi
45625 fi
45626
45627 if test "$wxUSE_NOTEBOOK" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_NOTEBOOK 1
45630 _ACEOF
45631
45632 USES_CONTROLS=1
45633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45634 fi
45635
45636 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_ODCOMBOBOX 1
45639 _ACEOF
45640
45641 USES_CONTROLS=1
45642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45643 fi
45644
45645
45646 if test "$wxUSE_RADIOBOX" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_RADIOBOX 1
45649 _ACEOF
45650
45651 USES_CONTROLS=1
45652 fi
45653
45654 if test "$wxUSE_RADIOBTN" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_RADIOBTN 1
45657 _ACEOF
45658
45659 USES_CONTROLS=1
45660 fi
45661
45662 if test "$wxUSE_SASH" = "yes"; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_SASH 1
45665 _ACEOF
45666
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45668 fi
45669
45670 if test "$wxUSE_SCROLLBAR" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_SCROLLBAR 1
45673 _ACEOF
45674
45675 USES_CONTROLS=1
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45677 fi
45678
45679 if test "$wxUSE_SLIDER" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_SLIDER 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 fi
45686
45687 if test "$wxUSE_SPINBTN" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_SPINBTN 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_SPINCTRL" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_SPINCTRL 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 fi
45702
45703 if test "$wxUSE_SPLITTER" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_SPLITTER 1
45706 _ACEOF
45707
45708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45709 fi
45710
45711 if test "$wxUSE_STATBMP" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_STATBMP 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_STATBOX" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_STATBOX 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 fi
45726
45727 if test "$wxUSE_STATTEXT" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_STATTEXT 1
45730 _ACEOF
45731
45732 USES_CONTROLS=1
45733 fi
45734
45735 if test "$wxUSE_STATLINE" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_STATLINE 1
45738 _ACEOF
45739
45740 USES_CONTROLS=1
45741 fi
45742
45743 if test "$wxUSE_STATUSBAR" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_NATIVE_STATUSBAR 1
45746 _ACEOF
45747
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_STATUSBAR 1
45750 _ACEOF
45751
45752 USES_CONTROLS=1
45753
45754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45755 fi
45756
45757 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_TAB_DIALOG 1
45760 _ACEOF
45761
45762 fi
45763
45764 if test "$wxUSE_TEXTCTRL" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_TEXTCTRL 1
45767 _ACEOF
45768
45769 USES_CONTROLS=1
45770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45771 fi
45772
45773 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45774 if test "$wxUSE_COCOA" = 1 ; then
45775 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45776 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45777 wxUSE_TOGGLEBTN=no
45778 fi
45779
45780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_TOGGLEBTN 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 fi
45787 fi
45788
45789 if test "$wxUSE_TOOLBAR" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_TOOLBAR 1
45792 _ACEOF
45793
45794 USES_CONTROLS=1
45795
45796 if test "$wxUSE_UNIVERSAL" = "yes"; then
45797 wxUSE_TOOLBAR_NATIVE="no"
45798 else
45799 wxUSE_TOOLBAR_NATIVE="yes"
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_TOOLBAR_NATIVE 1
45802 _ACEOF
45803
45804 fi
45805
45806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45807 fi
45808
45809 if test "$wxUSE_TOOLTIPS" = "yes"; then
45810 if test "$wxUSE_MOTIF" = 1; then
45811 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45812 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45813 else
45814 if test "$wxUSE_UNIVERSAL" = "yes"; then
45815 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45816 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45817 else
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_TOOLTIPS 1
45820 _ACEOF
45821
45822 fi
45823 fi
45824 fi
45825
45826 if test "$wxUSE_TREEBOOK" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_TREEBOOK 1
45829 _ACEOF
45830
45831 USES_CONTROLS=1
45832 fi
45833
45834 if test "$wxUSE_TOOLBOOK" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_TOOLBOOK 1
45837 _ACEOF
45838
45839 USES_CONTROLS=1
45840 fi
45841
45842 if test "$wxUSE_TREECTRL" = "yes"; then
45843 if test "$wxUSE_IMAGLIST" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_TREECTRL 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45850 else
45851 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45852 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45853 fi
45854 fi
45855
45856 if test "$wxUSE_POPUPWIN" = "yes"; then
45857 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45858 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45859 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45860 else
45861 if test "$wxUSE_PM" = 1; then
45862 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45863 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45864 else
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_POPUPWIN 1
45867 _ACEOF
45868
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45870
45871 USES_CONTROLS=1
45872 fi
45873 fi
45874 fi
45875
45876 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45877 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45878 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45879 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45880 else
45881 cat >>confdefs.h <<\_ACEOF
45882 #define wxUSE_DIALUP_MANAGER 1
45883 _ACEOF
45884
45885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45886 fi
45887 fi
45888
45889 if test "$wxUSE_TIPWINDOW" = "yes"; then
45890 if test "$wxUSE_PM" = 1; then
45891 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45892 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45893 else
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_TIPWINDOW 1
45896 _ACEOF
45897
45898 fi
45899 fi
45900
45901 if test "$USES_CONTROLS" = 1; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_CONTROLS 1
45904 _ACEOF
45905
45906 fi
45907
45908
45909 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_ACCESSIBILITY 1
45912 _ACEOF
45913
45914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45915 fi
45916
45917 if test "$wxUSE_DC_CACHEING" = "yes"; then
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_DC_CACHEING 1
45920 _ACEOF
45921
45922 fi
45923
45924 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_DRAGIMAGE 1
45927 _ACEOF
45928
45929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45930 fi
45931
45932 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45933 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45934 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45935 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45936 else
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_EXCEPTIONS 1
45939 _ACEOF
45940
45941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45942 fi
45943 fi
45944
45945 USE_HTML=0
45946 if test "$wxUSE_HTML" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_HTML 1
45949 _ACEOF
45950
45951 USE_HTML=1
45952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45953 if test "$wxUSE_MAC" = 1; then
45954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45955 fi
45956 fi
45957 if test "$wxUSE_WEBKIT" = "yes"; then
45958 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45959 old_CPPFLAGS="$CPPFLAGS"
45960 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45961 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45962 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45963 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45964 echo $ECHO_N "(cached) $ECHO_C" >&6
45965 else
45966 cat >conftest.$ac_ext <<_ACEOF
45967 /* confdefs.h. */
45968 _ACEOF
45969 cat confdefs.h >>conftest.$ac_ext
45970 cat >>conftest.$ac_ext <<_ACEOF
45971 /* end confdefs.h. */
45972 #include <Carbon/Carbon.h>
45973
45974 #include <WebKit/HIWebView.h>
45975 _ACEOF
45976 rm -f conftest.$ac_objext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45978 (eval $ac_compile) 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } &&
45985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45987 (eval $ac_try) 2>&5
45988 ac_status=$?
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); }; } &&
45991 { ac_try='test -s conftest.$ac_objext'
45992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45993 (eval $ac_try) 2>&5
45994 ac_status=$?
45995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996 (exit $ac_status); }; }; then
45997 ac_cv_header_WebKit_HIWebView_h=yes
45998 else
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.$ac_ext >&5
46001
46002 ac_cv_header_WebKit_HIWebView_h=no
46003 fi
46004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46005 fi
46006 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46007 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46008 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46009
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_WEBKIT 1
46012 _ACEOF
46013
46014 WEBKIT_LINK="-framework WebKit"
46015
46016 else
46017
46018 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46019 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46020 wxUSE_WEBKIT=no
46021
46022 fi
46023
46024
46025 CPPFLAGS="$old_CPPFLAGS"
46026 elif test "$wxUSE_COCOA" = 1; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_WEBKIT 1
46029 _ACEOF
46030
46031 else
46032 wxUSE_WEBKIT=no
46033 fi
46034 fi
46035
46036 USE_XRC=0
46037 if test "$wxUSE_XRC" = "yes"; then
46038 if test "$wxUSE_XML" != "yes"; then
46039 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46040 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46041 wxUSE_XRC=no
46042 else
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_XRC 1
46045 _ACEOF
46046
46047 USE_XRC=1
46048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46049 fi
46050 fi
46051
46052 USE_AUI=0
46053 if test "$wxUSE_AUI" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_AUI 1
46056 _ACEOF
46057
46058 USE_AUI=1
46059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46060 fi
46061
46062 if test "$wxUSE_MENUS" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_MENUS 1
46065 _ACEOF
46066
46067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46068 fi
46069
46070 if test "$wxUSE_METAFILE" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_METAFILE 1
46073 _ACEOF
46074
46075 fi
46076
46077 if test "$wxUSE_MIMETYPE" = "yes"; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_MIMETYPE 1
46080 _ACEOF
46081
46082 fi
46083
46084 if test "$wxUSE_MINIFRAME" = "yes"; then
46085 cat >>confdefs.h <<\_ACEOF
46086 #define wxUSE_MINIFRAME 1
46087 _ACEOF
46088
46089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46090 fi
46091
46092 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_SYSTEM_OPTIONS 1
46095 _ACEOF
46096
46097 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46098 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46100 fi
46101 fi
46102
46103
46104 if test "$wxUSE_VALIDATORS" = "yes"; then
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_VALIDATORS 1
46107 _ACEOF
46108
46109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46110 fi
46111
46112 if test "$wxUSE_PALETTE" = "yes" ; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_PALETTE 1
46115 _ACEOF
46116
46117 fi
46118
46119 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46120 LIBS=" -lunicows $LIBS"
46121 fi
46122
46123 USE_RICHTEXT=0
46124 if test "$wxUSE_RICHTEXT" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_RICHTEXT 1
46127 _ACEOF
46128
46129 USE_RICHTEXT=1
46130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46131 fi
46132
46133
46134 if test "$wxUSE_IMAGE" = "yes" ; then
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_IMAGE 1
46137 _ACEOF
46138
46139
46140 if test "$wxUSE_GIF" = "yes" ; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_GIF 1
46143 _ACEOF
46144
46145 fi
46146
46147 if test "$wxUSE_PCX" = "yes" ; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_PCX 1
46150 _ACEOF
46151
46152 fi
46153
46154 if test "$wxUSE_IFF" = "yes" ; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_IFF 1
46157 _ACEOF
46158
46159 fi
46160
46161 if test "$wxUSE_PNM" = "yes" ; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_PNM 1
46164 _ACEOF
46165
46166 fi
46167
46168 if test "$wxUSE_XPM" = "yes" ; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define wxUSE_XPM 1
46171 _ACEOF
46172
46173 fi
46174
46175 if test "$wxUSE_ICO_CUR" = "yes" ; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_ICO_CUR 1
46178 _ACEOF
46179
46180 fi
46181 fi
46182
46183
46184 if test "$wxUSE_ABOUTDLG" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_ABOUTDLG 1
46187 _ACEOF
46188
46189 fi
46190
46191 if test "$wxUSE_CHOICEDLG" = "yes"; then
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_CHOICEDLG 1
46194 _ACEOF
46195
46196 fi
46197
46198 if test "$wxUSE_COLOURDLG" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_COLOURDLG 1
46201 _ACEOF
46202
46203 fi
46204
46205 if test "$wxUSE_FILEDLG" = "yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_FILEDLG 1
46208 _ACEOF
46209
46210 fi
46211
46212 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_FINDREPLDLG 1
46215 _ACEOF
46216
46217 fi
46218
46219 if test "$wxUSE_FONTDLG" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_FONTDLG 1
46222 _ACEOF
46223
46224 fi
46225
46226 if test "$wxUSE_DIRDLG" = "yes"; then
46227 if test "$wxUSE_TREECTRL" != "yes"; then
46228 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46229 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46230 else
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_DIRDLG 1
46233 _ACEOF
46234
46235 fi
46236 fi
46237
46238 if test "$wxUSE_MSGDLG" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_MSGDLG 1
46241 _ACEOF
46242
46243 fi
46244
46245 if test "$wxUSE_NUMBERDLG" = "yes"; then
46246 cat >>confdefs.h <<\_ACEOF
46247 #define wxUSE_NUMBERDLG 1
46248 _ACEOF
46249
46250 fi
46251
46252 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46253 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46254 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46255 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46256 else
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_PROGRESSDLG 1
46259 _ACEOF
46260
46261 fi
46262 fi
46263
46264 if test "$wxUSE_SPLASH" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_SPLASH 1
46267 _ACEOF
46268
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46270 fi
46271
46272 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46273 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46274 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46275 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46276 else
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_STARTUP_TIPS 1
46279 _ACEOF
46280
46281 fi
46282 fi
46283
46284 if test "$wxUSE_TEXTDLG" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_TEXTDLG 1
46287 _ACEOF
46288
46289 fi
46290
46291 if test "$wxUSE_WIZARDDLG" = "yes"; then
46292 cat >>confdefs.h <<\_ACEOF
46293 #define wxUSE_WIZARDDLG 1
46294 _ACEOF
46295
46296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46297 fi
46298
46299
46300 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46301 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_GRAPHICS_CONTEXT 1
46304 _ACEOF
46305
46306 elif test "$wxUSE_GTK" != 1; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_GRAPHICS_CONTEXT 1
46309 _ACEOF
46310
46311 else
46312
46313 pkg_failed=no
46314 echo "$as_me:$LINENO: checking for CAIRO" >&5
46315 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46316
46317 if test -n "$PKG_CONFIG"; then
46318 if test -n "$CAIRO_CFLAGS"; then
46319 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46320 else
46321 if test -n "$PKG_CONFIG" && \
46322 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46323 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46324 ac_status=$?
46325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326 (exit $ac_status); }; then
46327 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46328 else
46329 pkg_failed=yes
46330 fi
46331 fi
46332 else
46333 pkg_failed=untried
46334 fi
46335 if test -n "$PKG_CONFIG"; then
46336 if test -n "$CAIRO_LIBS"; then
46337 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46338 else
46339 if test -n "$PKG_CONFIG" && \
46340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46341 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46342 ac_status=$?
46343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46344 (exit $ac_status); }; then
46345 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46346 else
46347 pkg_failed=yes
46348 fi
46349 fi
46350 else
46351 pkg_failed=untried
46352 fi
46353
46354
46355
46356 if test $pkg_failed = yes; then
46357
46358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46359 _pkg_short_errors_supported=yes
46360 else
46361 _pkg_short_errors_supported=no
46362 fi
46363 if test $_pkg_short_errors_supported = yes; then
46364 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46365 else
46366 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46367 fi
46368 # Put the nasty error message in config.log where it belongs
46369 echo "$CAIRO_PKG_ERRORS" >&5
46370
46371
46372 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46373 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46374
46375
46376 elif test $pkg_failed = untried; then
46377
46378 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46379 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46380
46381
46382 else
46383 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46384 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46385 echo "$as_me:$LINENO: result: yes" >&5
46386 echo "${ECHO_T}yes" >&6
46387
46388 cat >>confdefs.h <<\_ACEOF
46389 #define wxUSE_GRAPHICS_CONTEXT 1
46390 _ACEOF
46391
46392
46393 fi
46394 fi
46395 fi
46396
46397
46398 USE_MEDIA=0
46399
46400 if test "$wxUSE_MEDIACTRL" = "yes"; then
46401 USE_MEDIA=1
46402
46403 if test "$wxUSE_GTK" = 1; then
46404 wxUSE_GSTREAMER="no"
46405
46406 GST_VERSION_MAJOR=0
46407 GST_VERSION_MINOR=10
46408 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46409
46410 if test "$wxUSE_GSTREAMER8" = "no"; then
46411
46412 pkg_failed=no
46413 echo "$as_me:$LINENO: checking for GST" >&5
46414 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46415
46416 if test -n "$PKG_CONFIG"; then
46417 if test -n "$GST_CFLAGS"; then
46418 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46419 else
46420 if test -n "$PKG_CONFIG" && \
46421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46422 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46423 ac_status=$?
46424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46425 (exit $ac_status); }; then
46426 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46427 else
46428 pkg_failed=yes
46429 fi
46430 fi
46431 else
46432 pkg_failed=untried
46433 fi
46434 if test -n "$PKG_CONFIG"; then
46435 if test -n "$GST_LIBS"; then
46436 pkg_cv_GST_LIBS="$GST_LIBS"
46437 else
46438 if test -n "$PKG_CONFIG" && \
46439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46440 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46441 ac_status=$?
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); }; then
46444 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46445 else
46446 pkg_failed=yes
46447 fi
46448 fi
46449 else
46450 pkg_failed=untried
46451 fi
46452
46453
46454
46455 if test $pkg_failed = yes; then
46456
46457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46458 _pkg_short_errors_supported=yes
46459 else
46460 _pkg_short_errors_supported=no
46461 fi
46462 if test $_pkg_short_errors_supported = yes; then
46463 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46464 else
46465 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46466 fi
46467 # Put the nasty error message in config.log where it belongs
46468 echo "$GST_PKG_ERRORS" >&5
46469
46470
46471 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46472 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46473 GST_VERSION_MINOR=8
46474
46475
46476 elif test $pkg_failed = untried; then
46477
46478 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46479 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46480 GST_VERSION_MINOR=8
46481
46482
46483 else
46484 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46485 GST_LIBS=$pkg_cv_GST_LIBS
46486 echo "$as_me:$LINENO: result: yes" >&5
46487 echo "${ECHO_T}yes" >&6
46488
46489 wxUSE_GSTREAMER="yes"
46490 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46491
46492 fi
46493 else
46494 GST_VERSION_MINOR=8
46495 fi
46496
46497 if test $GST_VERSION_MINOR = "8"; then
46498 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46499
46500 pkg_failed=no
46501 echo "$as_me:$LINENO: checking for GST" >&5
46502 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46503
46504 if test -n "$PKG_CONFIG"; then
46505 if test -n "$GST_CFLAGS"; then
46506 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46507 else
46508 if test -n "$PKG_CONFIG" && \
46509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46510 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46511 ac_status=$?
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); }; then
46514 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46515 else
46516 pkg_failed=yes
46517 fi
46518 fi
46519 else
46520 pkg_failed=untried
46521 fi
46522 if test -n "$PKG_CONFIG"; then
46523 if test -n "$GST_LIBS"; then
46524 pkg_cv_GST_LIBS="$GST_LIBS"
46525 else
46526 if test -n "$PKG_CONFIG" && \
46527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46528 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46529 ac_status=$?
46530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46531 (exit $ac_status); }; then
46532 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46533 else
46534 pkg_failed=yes
46535 fi
46536 fi
46537 else
46538 pkg_failed=untried
46539 fi
46540
46541
46542
46543 if test $pkg_failed = yes; then
46544
46545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46546 _pkg_short_errors_supported=yes
46547 else
46548 _pkg_short_errors_supported=no
46549 fi
46550 if test $_pkg_short_errors_supported = yes; then
46551 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46552 else
46553 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46554 fi
46555 # Put the nasty error message in config.log where it belongs
46556 echo "$GST_PKG_ERRORS" >&5
46557
46558
46559 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46560 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46561
46562 elif test $pkg_failed = untried; then
46563
46564 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46565 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46566
46567 else
46568 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46569 GST_LIBS=$pkg_cv_GST_LIBS
46570 echo "$as_me:$LINENO: result: yes" >&5
46571 echo "${ECHO_T}yes" >&6
46572 wxUSE_GSTREAMER="yes"
46573 fi
46574 fi
46575
46576
46577 if test "$wxUSE_GSTREAMER" = "yes"; then
46578 case "${host}" in
46579 *-*-solaris2* )
46580 if "$GCC" = yes; then
46581 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46582 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46583 fi
46584 esac
46585
46586 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46587 LIBS="$GST_LIBS $LIBS"
46588
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_GSTREAMER 1
46591 _ACEOF
46592
46593 else
46594 USE_MEDIA=0
46595 fi
46596 fi
46597
46598 if test $USE_MEDIA = 1; then
46599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_MEDIACTRL 1
46602 _ACEOF
46603
46604 fi
46605 fi
46606
46607
46608 if test "$cross_compiling" = "yes"; then
46609 OSINFO="\"$host\""
46610 else
46611 OSINFO=`uname -s -r -m`
46612 OSINFO="\"$OSINFO\""
46613 fi
46614
46615 cat >>confdefs.h <<_ACEOF
46616 #define WXWIN_OS_DESCRIPTION $OSINFO
46617 _ACEOF
46618
46619
46620
46621 if test "x$prefix" != "xNONE"; then
46622 wxPREFIX=$prefix
46623 else
46624 wxPREFIX=$ac_default_prefix
46625 fi
46626
46627 cat >>confdefs.h <<_ACEOF
46628 #define wxINSTALL_PREFIX "$wxPREFIX"
46629 _ACEOF
46630
46631
46632
46633
46634 CORE_BASE_LIBS="net base"
46635 CORE_GUI_LIBS="adv core"
46636
46637 if test "$wxUSE_XML" = "yes" ; then
46638 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46639 fi
46640 if test "$wxUSE_ODBC" != "no" ; then
46641 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46642 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46643 fi
46644 if test "$wxUSE_HTML" = "yes" ; then
46645 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46646 fi
46647 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46648 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46649 fi
46650 if test "$wxUSE_XRC" = "yes" ; then
46651 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46652 fi
46653 if test "$wxUSE_AUI" = "yes" ; then
46654 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46655 fi
46656
46657 if test "$wxUSE_GUI" != "yes"; then
46658 CORE_GUI_LIBS=""
46659 fi
46660
46661
46662
46663
46664
46665 ac_ext=c
46666 ac_cpp='$CPP $CPPFLAGS'
46667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46670
46671
46672
46673 if test "$wxUSE_MAC" = 1 ; then
46674 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46675 if test "$USE_DARWIN" = 1; then
46676 LDFLAGS="$LDFLAGS -framework QuickTime"
46677 else
46678 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46679 fi
46680 fi
46681 if test "$USE_DARWIN" = 1; then
46682 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46683 else
46684 LDFLAGS="$LDFLAGS -lCarbonLib"
46685 fi
46686 fi
46687 if test "$wxUSE_COCOA" = 1 ; then
46688 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46689 if test "$wxUSE_MEDIACTRL" = "yes"; then
46690 LDFLAGS="$LDFLAGS -framework QuickTime"
46691 fi
46692 fi
46693 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46694 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46695 fi
46696
46697 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46698
46699 if test "$wxUSE_GUI" = "yes"; then
46700
46701
46702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46703 dynamic erase event exec font image minimal mobile \
46704 mobile/wxedit mobile/styles propsize render \
46705 rotate shaped vscroll widgets"
46706
46707 if test "$wxUSE_MONOLITHIC" != "yes"; then
46708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46709 fi
46710 if test "$TOOLKIT" = "MSW"; then
46711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46712 if test "$wxUSE_UNIVERSAL" != "yes"; then
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46714 fi
46715 fi
46716 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46718 fi
46719 else
46720 SAMPLES_SUBDIRS="console"
46721 fi
46722
46723
46724 if test "x$INTELCC" = "xyes" ; then
46725 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46726 elif test "$GCC" = yes ; then
46727 CWARNINGS="-Wall -Wundef"
46728 fi
46729
46730 if test "x$INTELCXX" = "xyes" ; then
46731 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46732 elif test "$GXX" = yes ; then
46733 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46734 fi
46735
46736
46737 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46738 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46739
46740
46741 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46742 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46743 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46744 $CPPFLAGS `
46745
46746 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46747 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46748 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46749
46750 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46751
46752
46753 if test "x$MWCC" = "xyes"; then
46754
46755 CC="$CC -cwd source -I-"
46756 CXX="$CXX -cwd source -I-"
46757 fi
46758
46759
46760 LIBS=`echo $LIBS`
46761 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46762 EXTRALIBS_XML="$EXPAT_LINK"
46763 EXTRALIBS_HTML="$MSPACK_LINK"
46764 EXTRALIBS_ODBC="$ODBC_LINK"
46765 if test "$wxUSE_GUI" = "yes"; then
46766 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46767 fi
46768 if test "$wxUSE_OPENGL" = "yes"; then
46769 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46770 fi
46771
46772 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46773
46774 WXCONFIG_LIBS="$LIBS"
46775
46776 if test "$wxUSE_REGEX" = "builtin" ; then
46777 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46778 fi
46779 if test "$wxUSE_EXPAT" = "builtin" ; then
46780 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46781 fi
46782 if test "$wxUSE_ODBC" = "builtin" ; then
46783 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46784 fi
46785 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46786 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46787 fi
46788 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46789 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46790 fi
46791 if test "$wxUSE_LIBPNG" = "builtin" ; then
46792 wxconfig_3rdparty="png $wxconfig_3rdparty"
46793 fi
46794 if test "$wxUSE_ZLIB" = "builtin" ; then
46795 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46796 fi
46797
46798 for i in $wxconfig_3rdparty ; do
46799 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46800 done
46801
46802
46803 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46804 WXUNIV=1
46805
46806 case "$wxUNIV_THEMES" in
46807 ''|all)
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_ALL_THEMES 1
46810 _ACEOF
46811
46812 ;;
46813
46814 *)
46815 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46816 cat >>confdefs.h <<_ACEOF
46817 #define wxUSE_THEME_$t 1
46818 _ACEOF
46819
46820 done
46821 esac
46822 else
46823 WXUNIV=0
46824 fi
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834 if test $wxUSE_MONOLITHIC = "yes" ; then
46835 MONOLITHIC=1
46836 else
46837 MONOLITHIC=0
46838 fi
46839
46840 if test $wxUSE_PLUGINS = "yes" ; then
46841 USE_PLUGINS=1
46842 else
46843 USE_PLUGINS=0
46844 fi
46845
46846 if test $wxUSE_ODBC != "no" ; then
46847 USE_ODBC=1
46848 else
46849 USE_ODBC=0
46850 fi
46851
46852 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46853 USE_QA=1
46854 else
46855 USE_QA=0
46856 fi
46857
46858 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46859 OFFICIAL_BUILD=1
46860 else
46861 OFFICIAL_BUILD=0
46862 fi
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46889
46890
46891
46892
46893
46894
46895
46896
46897 case "$TOOLKIT" in
46898 GTK)
46899 TOOLKIT_DESC="GTK+"
46900 if test "$WXGTK20" = 1; then
46901 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46902 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46903 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46904 fi
46905 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46906 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46907 fi
46908 if test "$wxUSE_LIBHILDON" = "yes"; then
46909 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46910 fi
46911
46912 if test "$TOOLKIT_EXTRA" != ""; then
46913 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46914 fi
46915 fi
46916 ;;
46917
46918 ?*)
46919 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46920 ;;
46921
46922 *)
46923 TOOLKIT_DESC="base only"
46924 ;;
46925 esac
46926
46927 if test "$wxUSE_WINE" = "yes"; then
46928 BAKEFILE_FORCE_PLATFORM=win32
46929 fi
46930
46931 if test "$wxUSE_MAC" = 1 ; then
46932 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46933 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46934 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46935 else
46936 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46937 fi
46938 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46939 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46940 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46941 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46942 bk_use_pch=no
46943 fi
46944 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46945 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46946 fi
46947
46948
46949
46950
46951 if test "x$BAKEFILE_HOST" = "x"; then
46952 if test "x${host}" = "x" ; then
46953 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46954 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46955 { (exit 1); exit 1; }; }
46956 fi
46957
46958 BAKEFILE_HOST="${host}"
46959 fi
46960
46961 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46962
46963 if test -n "$ac_tool_prefix"; then
46964 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46965 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46966 echo "$as_me:$LINENO: checking for $ac_word" >&5
46967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46968 if test "${ac_cv_prog_RANLIB+set}" = set; then
46969 echo $ECHO_N "(cached) $ECHO_C" >&6
46970 else
46971 if test -n "$RANLIB"; then
46972 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46973 else
46974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46975 for as_dir in $PATH
46976 do
46977 IFS=$as_save_IFS
46978 test -z "$as_dir" && as_dir=.
46979 for ac_exec_ext in '' $ac_executable_extensions; do
46980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46981 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46983 break 2
46984 fi
46985 done
46986 done
46987
46988 fi
46989 fi
46990 RANLIB=$ac_cv_prog_RANLIB
46991 if test -n "$RANLIB"; then
46992 echo "$as_me:$LINENO: result: $RANLIB" >&5
46993 echo "${ECHO_T}$RANLIB" >&6
46994 else
46995 echo "$as_me:$LINENO: result: no" >&5
46996 echo "${ECHO_T}no" >&6
46997 fi
46998
46999 fi
47000 if test -z "$ac_cv_prog_RANLIB"; then
47001 ac_ct_RANLIB=$RANLIB
47002 # Extract the first word of "ranlib", so it can be a program name with args.
47003 set dummy ranlib; ac_word=$2
47004 echo "$as_me:$LINENO: checking for $ac_word" >&5
47005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47007 echo $ECHO_N "(cached) $ECHO_C" >&6
47008 else
47009 if test -n "$ac_ct_RANLIB"; then
47010 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47011 else
47012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47013 for as_dir in $PATH
47014 do
47015 IFS=$as_save_IFS
47016 test -z "$as_dir" && as_dir=.
47017 for ac_exec_ext in '' $ac_executable_extensions; do
47018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47019 ac_cv_prog_ac_ct_RANLIB="ranlib"
47020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47021 break 2
47022 fi
47023 done
47024 done
47025
47026 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47027 fi
47028 fi
47029 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47030 if test -n "$ac_ct_RANLIB"; then
47031 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47032 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47033 else
47034 echo "$as_me:$LINENO: result: no" >&5
47035 echo "${ECHO_T}no" >&6
47036 fi
47037
47038 RANLIB=$ac_ct_RANLIB
47039 else
47040 RANLIB="$ac_cv_prog_RANLIB"
47041 fi
47042
47043 # Find a good install program. We prefer a C program (faster),
47044 # so one script is as good as another. But avoid the broken or
47045 # incompatible versions:
47046 # SysV /etc/install, /usr/sbin/install
47047 # SunOS /usr/etc/install
47048 # IRIX /sbin/install
47049 # AIX /bin/install
47050 # AmigaOS /C/install, which installs bootblocks on floppy discs
47051 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47052 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47053 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47054 # OS/2's system install, which has a completely different semantic
47055 # ./install, which can be erroneously created by make from ./install.sh.
47056 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47057 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47058 if test -z "$INSTALL"; then
47059 if test "${ac_cv_path_install+set}" = set; then
47060 echo $ECHO_N "(cached) $ECHO_C" >&6
47061 else
47062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47063 for as_dir in $PATH
47064 do
47065 IFS=$as_save_IFS
47066 test -z "$as_dir" && as_dir=.
47067 # Account for people who put trailing slashes in PATH elements.
47068 case $as_dir/ in
47069 ./ | .// | /cC/* | \
47070 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47071 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47072 /usr/ucb/* ) ;;
47073 *)
47074 # OSF1 and SCO ODT 3.0 have their own names for install.
47075 # Don't use installbsd from OSF since it installs stuff as root
47076 # by default.
47077 for ac_prog in ginstall scoinst install; do
47078 for ac_exec_ext in '' $ac_executable_extensions; do
47079 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47080 if test $ac_prog = install &&
47081 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47082 # AIX install. It has an incompatible calling convention.
47083 :
47084 elif test $ac_prog = install &&
47085 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47086 # program-specific install script used by HP pwplus--don't use.
47087 :
47088 else
47089 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47090 break 3
47091 fi
47092 fi
47093 done
47094 done
47095 ;;
47096 esac
47097 done
47098
47099
47100 fi
47101 if test "${ac_cv_path_install+set}" = set; then
47102 INSTALL=$ac_cv_path_install
47103 else
47104 # As a last resort, use the slow shell script. We don't cache a
47105 # path for INSTALL within a source directory, because that will
47106 # break other packages using the cache if that directory is
47107 # removed, or if the path is relative.
47108 INSTALL=$ac_install_sh
47109 fi
47110 fi
47111 echo "$as_me:$LINENO: result: $INSTALL" >&5
47112 echo "${ECHO_T}$INSTALL" >&6
47113
47114 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47115 # It thinks the first close brace ends the variable substitution.
47116 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47117
47118 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47119
47120 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47121
47122 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47123 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47124 LN_S=$as_ln_s
47125 if test "$LN_S" = "ln -s"; then
47126 echo "$as_me:$LINENO: result: yes" >&5
47127 echo "${ECHO_T}yes" >&6
47128 else
47129 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47130 echo "${ECHO_T}no, using $LN_S" >&6
47131 fi
47132
47133
47134 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47135 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47136 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47137 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47138 echo $ECHO_N "(cached) $ECHO_C" >&6
47139 else
47140 cat >conftest.make <<\_ACEOF
47141 all:
47142 @echo 'ac_maketemp="$(MAKE)"'
47143 _ACEOF
47144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47145 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47146 if test -n "$ac_maketemp"; then
47147 eval ac_cv_prog_make_${ac_make}_set=yes
47148 else
47149 eval ac_cv_prog_make_${ac_make}_set=no
47150 fi
47151 rm -f conftest.make
47152 fi
47153 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47154 echo "$as_me:$LINENO: result: yes" >&5
47155 echo "${ECHO_T}yes" >&6
47156 SET_MAKE=
47157 else
47158 echo "$as_me:$LINENO: result: no" >&5
47159 echo "${ECHO_T}no" >&6
47160 SET_MAKE="MAKE=${MAKE-make}"
47161 fi
47162
47163
47164
47165 if test -n "$ac_tool_prefix"; then
47166 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47167 set dummy ${ac_tool_prefix}ar; ac_word=$2
47168 echo "$as_me:$LINENO: checking for $ac_word" >&5
47169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47170 if test "${ac_cv_prog_AR+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 else
47173 if test -n "$AR"; then
47174 ac_cv_prog_AR="$AR" # Let the user override the test.
47175 else
47176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47177 for as_dir in $PATH
47178 do
47179 IFS=$as_save_IFS
47180 test -z "$as_dir" && as_dir=.
47181 for ac_exec_ext in '' $ac_executable_extensions; do
47182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47183 ac_cv_prog_AR="${ac_tool_prefix}ar"
47184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47185 break 2
47186 fi
47187 done
47188 done
47189
47190 fi
47191 fi
47192 AR=$ac_cv_prog_AR
47193 if test -n "$AR"; then
47194 echo "$as_me:$LINENO: result: $AR" >&5
47195 echo "${ECHO_T}$AR" >&6
47196 else
47197 echo "$as_me:$LINENO: result: no" >&5
47198 echo "${ECHO_T}no" >&6
47199 fi
47200
47201 fi
47202 if test -z "$ac_cv_prog_AR"; then
47203 ac_ct_AR=$AR
47204 # Extract the first word of "ar", so it can be a program name with args.
47205 set dummy ar; ac_word=$2
47206 echo "$as_me:$LINENO: checking for $ac_word" >&5
47207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47208 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 else
47211 if test -n "$ac_ct_AR"; then
47212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47213 else
47214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47215 for as_dir in $PATH
47216 do
47217 IFS=$as_save_IFS
47218 test -z "$as_dir" && as_dir=.
47219 for ac_exec_ext in '' $ac_executable_extensions; do
47220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47221 ac_cv_prog_ac_ct_AR="ar"
47222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47223 break 2
47224 fi
47225 done
47226 done
47227
47228 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47229 fi
47230 fi
47231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47232 if test -n "$ac_ct_AR"; then
47233 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47234 echo "${ECHO_T}$ac_ct_AR" >&6
47235 else
47236 echo "$as_me:$LINENO: result: no" >&5
47237 echo "${ECHO_T}no" >&6
47238 fi
47239
47240 AR=$ac_ct_AR
47241 else
47242 AR="$ac_cv_prog_AR"
47243 fi
47244
47245 if test -n "$ac_tool_prefix"; then
47246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47247 set dummy ${ac_tool_prefix}strip; ac_word=$2
47248 echo "$as_me:$LINENO: checking for $ac_word" >&5
47249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47250 if test "${ac_cv_prog_STRIP+set}" = set; then
47251 echo $ECHO_N "(cached) $ECHO_C" >&6
47252 else
47253 if test -n "$STRIP"; then
47254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47255 else
47256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47257 for as_dir in $PATH
47258 do
47259 IFS=$as_save_IFS
47260 test -z "$as_dir" && as_dir=.
47261 for ac_exec_ext in '' $ac_executable_extensions; do
47262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47265 break 2
47266 fi
47267 done
47268 done
47269
47270 fi
47271 fi
47272 STRIP=$ac_cv_prog_STRIP
47273 if test -n "$STRIP"; then
47274 echo "$as_me:$LINENO: result: $STRIP" >&5
47275 echo "${ECHO_T}$STRIP" >&6
47276 else
47277 echo "$as_me:$LINENO: result: no" >&5
47278 echo "${ECHO_T}no" >&6
47279 fi
47280
47281 fi
47282 if test -z "$ac_cv_prog_STRIP"; then
47283 ac_ct_STRIP=$STRIP
47284 # Extract the first word of "strip", so it can be a program name with args.
47285 set dummy strip; ac_word=$2
47286 echo "$as_me:$LINENO: checking for $ac_word" >&5
47287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47288 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47289 echo $ECHO_N "(cached) $ECHO_C" >&6
47290 else
47291 if test -n "$ac_ct_STRIP"; then
47292 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47293 else
47294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47295 for as_dir in $PATH
47296 do
47297 IFS=$as_save_IFS
47298 test -z "$as_dir" && as_dir=.
47299 for ac_exec_ext in '' $ac_executable_extensions; do
47300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47301 ac_cv_prog_ac_ct_STRIP="strip"
47302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47303 break 2
47304 fi
47305 done
47306 done
47307
47308 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47309 fi
47310 fi
47311 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47312 if test -n "$ac_ct_STRIP"; then
47313 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47314 echo "${ECHO_T}$ac_ct_STRIP" >&6
47315 else
47316 echo "$as_me:$LINENO: result: no" >&5
47317 echo "${ECHO_T}no" >&6
47318 fi
47319
47320 STRIP=$ac_ct_STRIP
47321 else
47322 STRIP="$ac_cv_prog_STRIP"
47323 fi
47324
47325 if test -n "$ac_tool_prefix"; then
47326 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47327 set dummy ${ac_tool_prefix}nm; ac_word=$2
47328 echo "$as_me:$LINENO: checking for $ac_word" >&5
47329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47330 if test "${ac_cv_prog_NM+set}" = set; then
47331 echo $ECHO_N "(cached) $ECHO_C" >&6
47332 else
47333 if test -n "$NM"; then
47334 ac_cv_prog_NM="$NM" # Let the user override the test.
47335 else
47336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47337 for as_dir in $PATH
47338 do
47339 IFS=$as_save_IFS
47340 test -z "$as_dir" && as_dir=.
47341 for ac_exec_ext in '' $ac_executable_extensions; do
47342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47343 ac_cv_prog_NM="${ac_tool_prefix}nm"
47344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47345 break 2
47346 fi
47347 done
47348 done
47349
47350 fi
47351 fi
47352 NM=$ac_cv_prog_NM
47353 if test -n "$NM"; then
47354 echo "$as_me:$LINENO: result: $NM" >&5
47355 echo "${ECHO_T}$NM" >&6
47356 else
47357 echo "$as_me:$LINENO: result: no" >&5
47358 echo "${ECHO_T}no" >&6
47359 fi
47360
47361 fi
47362 if test -z "$ac_cv_prog_NM"; then
47363 ac_ct_NM=$NM
47364 # Extract the first word of "nm", so it can be a program name with args.
47365 set dummy nm; ac_word=$2
47366 echo "$as_me:$LINENO: checking for $ac_word" >&5
47367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47368 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47370 else
47371 if test -n "$ac_ct_NM"; then
47372 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47373 else
47374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47375 for as_dir in $PATH
47376 do
47377 IFS=$as_save_IFS
47378 test -z "$as_dir" && as_dir=.
47379 for ac_exec_ext in '' $ac_executable_extensions; do
47380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47381 ac_cv_prog_ac_ct_NM="nm"
47382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47383 break 2
47384 fi
47385 done
47386 done
47387
47388 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47389 fi
47390 fi
47391 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47392 if test -n "$ac_ct_NM"; then
47393 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47394 echo "${ECHO_T}$ac_ct_NM" >&6
47395 else
47396 echo "$as_me:$LINENO: result: no" >&5
47397 echo "${ECHO_T}no" >&6
47398 fi
47399
47400 NM=$ac_ct_NM
47401 else
47402 NM="$ac_cv_prog_NM"
47403 fi
47404
47405
47406 case ${BAKEFILE_HOST} in
47407 *-hp-hpux* )
47408 INSTALL_DIR="mkdir -p"
47409 ;;
47410 *) INSTALL_DIR="$INSTALL -d"
47411 ;;
47412 esac
47413
47414
47415 LDFLAGS_GUI=
47416 case ${BAKEFILE_HOST} in
47417 *-*-cygwin* | *-*-mingw32* )
47418 LDFLAGS_GUI="-mwindows"
47419 esac
47420
47421
47422 fi
47423
47424 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47425 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47426 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47428 else
47429
47430 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47431 egrep -s GNU > /dev/null); then
47432 bakefile_cv_prog_makeisgnu="yes"
47433 else
47434 bakefile_cv_prog_makeisgnu="no"
47435 fi
47436
47437 fi
47438 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47439 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47440
47441 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47442 IF_GNU_MAKE=""
47443 else
47444 IF_GNU_MAKE="#"
47445 fi
47446
47447
47448
47449 PLATFORM_UNIX=0
47450 PLATFORM_WIN32=0
47451 PLATFORM_MSDOS=0
47452 PLATFORM_MAC=0
47453 PLATFORM_MACOS=0
47454 PLATFORM_MACOSX=0
47455 PLATFORM_OS2=0
47456 PLATFORM_BEOS=0
47457
47458 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47459 case "${BAKEFILE_HOST}" in
47460 *-*-mingw32* )
47461 PLATFORM_WIN32=1
47462 ;;
47463 *-pc-msdosdjgpp )
47464 PLATFORM_MSDOS=1
47465 ;;
47466 *-pc-os2_emx | *-pc-os2-emx )
47467 PLATFORM_OS2=1
47468 ;;
47469 *-*-darwin* )
47470 PLATFORM_MAC=1
47471 PLATFORM_MACOSX=1
47472 ;;
47473 *-*-beos* )
47474 PLATFORM_BEOS=1
47475 ;;
47476 powerpc-apple-macos* )
47477 PLATFORM_MAC=1
47478 PLATFORM_MACOS=1
47479 ;;
47480 * )
47481 PLATFORM_UNIX=1
47482 ;;
47483 esac
47484 else
47485 case "$BAKEFILE_FORCE_PLATFORM" in
47486 win32 )
47487 PLATFORM_WIN32=1
47488 ;;
47489 msdos )
47490 PLATFORM_MSDOS=1
47491 ;;
47492 os2 )
47493 PLATFORM_OS2=1
47494 ;;
47495 darwin )
47496 PLATFORM_MAC=1
47497 PLATFORM_MACOSX=1
47498 ;;
47499 unix )
47500 PLATFORM_UNIX=1
47501 ;;
47502 beos )
47503 PLATFORM_BEOS=1
47504 ;;
47505 * )
47506 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47507 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47508 { (exit 1); exit 1; }; }
47509 ;;
47510 esac
47511 fi
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523 # Check whether --enable-omf or --disable-omf was given.
47524 if test "${enable_omf+set}" = set; then
47525 enableval="$enable_omf"
47526 bk_os2_use_omf="$enableval"
47527 fi;
47528
47529 case "${BAKEFILE_HOST}" in
47530 *-*-darwin* )
47531 if test "x$GCC" = "xyes"; then
47532 CFLAGS="$CFLAGS -fno-common"
47533 CXXFLAGS="$CXXFLAGS -fno-common"
47534 fi
47535 if test "x$XLCC" = "xyes"; then
47536 CFLAGS="$CFLAGS -qnocommon"
47537 CXXFLAGS="$CXXFLAGS -qnocommon"
47538 fi
47539 ;;
47540
47541 *-pc-os2_emx | *-pc-os2-emx )
47542 if test "x$bk_os2_use_omf" = "xyes" ; then
47543 AR=emxomfar
47544 RANLIB=:
47545 LDFLAGS="-Zomf $LDFLAGS"
47546 CFLAGS="-Zomf $CFLAGS"
47547 CXXFLAGS="-Zomf $CXXFLAGS"
47548 OS2_LIBEXT="lib"
47549 else
47550 OS2_LIBEXT="a"
47551 fi
47552 ;;
47553
47554 i*86-*-beos* )
47555 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47556 ;;
47557 esac
47558
47559
47560 SO_SUFFIX="so"
47561 SO_SUFFIX_MODULE="so"
47562 EXEEXT=""
47563 LIBPREFIX="lib"
47564 LIBEXT=".a"
47565 DLLPREFIX="lib"
47566 DLLPREFIX_MODULE=""
47567 DLLIMP_SUFFIX=""
47568 dlldir="$libdir"
47569
47570 case "${BAKEFILE_HOST}" in
47571 *-hp-hpux* )
47572 SO_SUFFIX="sl"
47573 SO_SUFFIX_MODULE="sl"
47574 ;;
47575 *-*-aix* )
47576 SO_SUFFIX="a"
47577 SO_SUFFIX_MODULE="a"
47578 ;;
47579 *-*-cygwin* )
47580 SO_SUFFIX="dll"
47581 SO_SUFFIX_MODULE="dll"
47582 DLLIMP_SUFFIX="dll.a"
47583 EXEEXT=".exe"
47584 DLLPREFIX="cyg"
47585 dlldir="$bindir"
47586 ;;
47587 *-*-mingw32* )
47588 SO_SUFFIX="dll"
47589 SO_SUFFIX_MODULE="dll"
47590 DLLIMP_SUFFIX="dll.a"
47591 EXEEXT=".exe"
47592 DLLPREFIX=""
47593 dlldir="$bindir"
47594 ;;
47595 *-pc-msdosdjgpp )
47596 EXEEXT=".exe"
47597 DLLPREFIX=""
47598 dlldir="$bindir"
47599 ;;
47600 *-pc-os2_emx | *-pc-os2-emx )
47601 SO_SUFFIX="dll"
47602 SO_SUFFIX_MODULE="dll"
47603 DLLIMP_SUFFIX=$OS2_LIBEXT
47604 EXEEXT=".exe"
47605 DLLPREFIX=""
47606 LIBPREFIX=""
47607 LIBEXT=".$OS2_LIBEXT"
47608 dlldir="$bindir"
47609 ;;
47610 *-*-darwin* )
47611 SO_SUFFIX="dylib"
47612 SO_SUFFIX_MODULE="bundle"
47613 ;;
47614 esac
47615
47616 if test "x$DLLIMP_SUFFIX" = "x" ; then
47617 DLLIMP_SUFFIX="$SO_SUFFIX"
47618 fi
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631 PIC_FLAG=""
47632 if test "x$GCC" = "xyes"; then
47633 PIC_FLAG="-fPIC"
47634 fi
47635
47636 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47637 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47638 WINDOWS_IMPLIB=0
47639
47640 case "${BAKEFILE_HOST}" in
47641 *-hp-hpux* )
47642 if test "x$GCC" != "xyes"; then
47643 LDFLAGS="$LDFLAGS -L/usr/lib"
47644
47645 SHARED_LD_CC="${CC} -b -o"
47646 SHARED_LD_CXX="${CXX} -b -o"
47647 PIC_FLAG="+Z"
47648 fi
47649 ;;
47650
47651 *-*-linux* )
47652 if test "x$GCC" != "xyes"; then
47653 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47654 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47655 if test "${bakefile_cv_prog_icc+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47657 else
47658
47659 cat >conftest.$ac_ext <<_ACEOF
47660 /* confdefs.h. */
47661 _ACEOF
47662 cat confdefs.h >>conftest.$ac_ext
47663 cat >>conftest.$ac_ext <<_ACEOF
47664 /* end confdefs.h. */
47665
47666 int
47667 main ()
47668 {
47669
47670 #ifndef __INTEL_COMPILER
47671 This is not ICC
47672 #endif
47673
47674 ;
47675 return 0;
47676 }
47677 _ACEOF
47678 rm -f conftest.$ac_objext
47679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47680 (eval $ac_compile) 2>conftest.er1
47681 ac_status=$?
47682 grep -v '^ *+' conftest.er1 >conftest.err
47683 rm -f conftest.er1
47684 cat conftest.err >&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } &&
47687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47689 (eval $ac_try) 2>&5
47690 ac_status=$?
47691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47692 (exit $ac_status); }; } &&
47693 { ac_try='test -s conftest.$ac_objext'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47696 ac_status=$?
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; }; then
47699 bakefile_cv_prog_icc=yes
47700 else
47701 echo "$as_me: failed program was:" >&5
47702 sed 's/^/| /' conftest.$ac_ext >&5
47703
47704 bakefile_cv_prog_icc=no
47705
47706 fi
47707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47708
47709 fi
47710 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47711 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47712 if test "$bakefile_cv_prog_icc" = "yes"; then
47713 PIC_FLAG="-KPIC"
47714 fi
47715 fi
47716 ;;
47717
47718 *-*-solaris2* )
47719 if test "x$GCC" != xyes ; then
47720 SHARED_LD_CC="${CC} -G -o"
47721 SHARED_LD_CXX="${CXX} -G -o"
47722 PIC_FLAG="-KPIC"
47723 fi
47724 ;;
47725
47726 *-*-darwin* )
47727
47728 D='$'
47729 cat <<EOF >shared-ld-sh
47730 #!/bin/sh
47731 #-----------------------------------------------------------------------------
47732 #-- Name: distrib/mac/shared-ld-sh
47733 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47734 #-- Author: Gilles Depeyrot
47735 #-- Copyright: (c) 2002 Gilles Depeyrot
47736 #-- Licence: any use permitted
47737 #-----------------------------------------------------------------------------
47738
47739 verbose=0
47740 args=""
47741 objects=""
47742 linking_flag="-dynamiclib"
47743 ldargs="-r -keep_private_externs -nostdlib"
47744
47745 while test ${D}# -gt 0; do
47746 case ${D}1 in
47747
47748 -v)
47749 verbose=1
47750 ;;
47751
47752 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47753 # collect these options and values
47754 args="${D}{args} ${D}1 ${D}2"
47755 shift
47756 ;;
47757
47758 -s|-Wl,*)
47759 # collect these load args
47760 ldargs="${D}{ldargs} ${D}1"
47761 ;;
47762
47763 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47764 # collect these options
47765 args="${D}{args} ${D}1"
47766 ;;
47767
47768 -dynamiclib|-bundle)
47769 linking_flag="${D}1"
47770 ;;
47771
47772 -*)
47773 echo "shared-ld: unhandled option '${D}1'"
47774 exit 1
47775 ;;
47776
47777 *.o | *.a | *.dylib)
47778 # collect object files
47779 objects="${D}{objects} ${D}1"
47780 ;;
47781
47782 *)
47783 echo "shared-ld: unhandled argument '${D}1'"
47784 exit 1
47785 ;;
47786
47787 esac
47788 shift
47789 done
47790
47791 status=0
47792
47793 #
47794 # Link one module containing all the others
47795 #
47796 if test ${D}{verbose} = 1; then
47797 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47798 fi
47799 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47800 status=${D}?
47801
47802 #
47803 # Link the shared library from the single module created, but only if the
47804 # previous command didn't fail:
47805 #
47806 if test ${D}{status} = 0; then
47807 if test ${D}{verbose} = 1; then
47808 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47809 fi
47810 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47811 status=${D}?
47812 fi
47813
47814 #
47815 # Remove intermediate module
47816 #
47817 rm -f master.${D}${D}.o
47818
47819 exit ${D}status
47820 EOF
47821
47822 chmod +x shared-ld-sh
47823
47824 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47825 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47826
47827
47828 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47829 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47830 if test "${bakefile_cv_gcc31+set}" = set; then
47831 echo $ECHO_N "(cached) $ECHO_C" >&6
47832 else
47833
47834 cat >conftest.$ac_ext <<_ACEOF
47835 /* confdefs.h. */
47836 _ACEOF
47837 cat confdefs.h >>conftest.$ac_ext
47838 cat >>conftest.$ac_ext <<_ACEOF
47839 /* end confdefs.h. */
47840
47841 int
47842 main ()
47843 {
47844
47845 #if (__GNUC__ < 3) || \
47846 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47847 This is old gcc
47848 #endif
47849
47850 ;
47851 return 0;
47852 }
47853 _ACEOF
47854 rm -f conftest.$ac_objext
47855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47856 (eval $ac_compile) 2>conftest.er1
47857 ac_status=$?
47858 grep -v '^ *+' conftest.er1 >conftest.err
47859 rm -f conftest.er1
47860 cat conftest.err >&5
47861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862 (exit $ac_status); } &&
47863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47866 ac_status=$?
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try='test -s conftest.$ac_objext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47875
47876 bakefile_cv_gcc31=yes
47877
47878 else
47879 echo "$as_me: failed program was:" >&5
47880 sed 's/^/| /' conftest.$ac_ext >&5
47881
47882
47883 bakefile_cv_gcc31=no
47884
47885
47886 fi
47887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47888
47889 fi
47890 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47891 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47892 if test "$bakefile_cv_gcc31" = "no"; then
47893 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47894 SHARED_LD_CXX="$SHARED_LD_CC"
47895 else
47896 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47897 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47898 fi
47899
47900 if test "x$GCC" == "xyes"; then
47901 PIC_FLAG="-dynamic -fPIC"
47902 fi
47903 if test "x$XLCC" = "xyes"; then
47904 PIC_FLAG="-dynamic -DPIC"
47905 fi
47906 ;;
47907
47908 *-*-aix* )
47909 if test "x$GCC" = "xyes"; then
47910 PIC_FLAG=""
47911
47912 case "${BAKEFILE_HOST}" in
47913 *-*-aix5* )
47914 LD_EXPFULL="-Wl,-bexpfull"
47915 ;;
47916 esac
47917
47918 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47919 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47920 else
47921 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47922 set dummy makeC++SharedLib; ac_word=$2
47923 echo "$as_me:$LINENO: checking for $ac_word" >&5
47924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47925 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47926 echo $ECHO_N "(cached) $ECHO_C" >&6
47927 else
47928 if test -n "$AIX_CXX_LD"; then
47929 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47930 else
47931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47932 for as_dir in $PATH
47933 do
47934 IFS=$as_save_IFS
47935 test -z "$as_dir" && as_dir=.
47936 for ac_exec_ext in '' $ac_executable_extensions; do
47937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47938 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47940 break 2
47941 fi
47942 done
47943 done
47944
47945 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47946 fi
47947 fi
47948 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47949 if test -n "$AIX_CXX_LD"; then
47950 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47951 echo "${ECHO_T}$AIX_CXX_LD" >&6
47952 else
47953 echo "$as_me:$LINENO: result: no" >&5
47954 echo "${ECHO_T}no" >&6
47955 fi
47956
47957 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47958 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47959 fi
47960 ;;
47961
47962 *-*-beos* )
47963 SHARED_LD_CC="${LD} -nostart -o"
47964 SHARED_LD_CXX="${LD} -nostart -o"
47965 ;;
47966
47967 *-*-irix* )
47968 if test "x$GCC" != "xyes"; then
47969 PIC_FLAG="-KPIC"
47970 fi
47971 ;;
47972
47973 *-*-cygwin* | *-*-mingw32* )
47974 PIC_FLAG=""
47975 SHARED_LD_CC="\$(CC) -shared -o"
47976 SHARED_LD_CXX="\$(CXX) -shared -o"
47977 WINDOWS_IMPLIB=1
47978 ;;
47979
47980 *-pc-os2_emx | *-pc-os2-emx )
47981 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47982 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47983 PIC_FLAG=""
47984
47985 D='$'
47986 cat <<EOF >dllar.sh
47987 #!/bin/sh
47988 #
47989 # dllar - a tool to build both a .dll and an .a file
47990 # from a set of object (.o) files for EMX/OS2.
47991 #
47992 # Written by Andrew Zabolotny, bit@freya.etu.ru
47993 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47994 #
47995 # This script will accept a set of files on the command line.
47996 # All the public symbols from the .o files will be exported into
47997 # a .DEF file, then linker will be run (through gcc) against them to
47998 # build a shared library consisting of all given .o files. All libraries
47999 # (.a) will be first decompressed into component .o files then act as
48000 # described above. You can optionally give a description (-d "description")
48001 # which will be put into .DLL. To see the list of accepted options (as well
48002 # as command-line format) simply run this program without options. The .DLL
48003 # is built to be imported by name (there is no guarantee that new versions
48004 # of the library you build will have same ordinals for same symbols).
48005 #
48006 # dllar is free software; you can redistribute it and/or modify
48007 # it under the terms of the GNU General Public License as published by
48008 # the Free Software Foundation; either version 2, or (at your option)
48009 # any later version.
48010 #
48011 # dllar is distributed in the hope that it will be useful,
48012 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48013 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48014 # GNU General Public License for more details.
48015 #
48016 # You should have received a copy of the GNU General Public License
48017 # along with dllar; see the file COPYING. If not, write to the Free
48018 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48019 # 02111-1307, USA.
48020
48021 # To successfuly run this program you will need:
48022 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48023 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48024 # - gcc
48025 # (used to build the .dll)
48026 # - emxexp
48027 # (used to create .def file from .o files)
48028 # - emximp
48029 # (used to create .a file from .def file)
48030 # - GNU text utilites (cat, sort, uniq)
48031 # used to process emxexp output
48032 # - GNU file utilities (mv, rm)
48033 # - GNU sed
48034 # - lxlite (optional, see flag below)
48035 # (used for general .dll cleanup)
48036 #
48037
48038 flag_USE_LXLITE=1;
48039
48040 #
48041 # helper functions
48042 # basnam, variant of basename, which does _not_ remove the path, _iff_
48043 # second argument (suffix to remove) is given
48044 basnam(){
48045 case ${D}# in
48046 1)
48047 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48048 ;;
48049 2)
48050 echo ${D}1 | sed 's/'${D}2'${D}//'
48051 ;;
48052 *)
48053 echo "error in basnam ${D}*"
48054 exit 8
48055 ;;
48056 esac
48057 }
48058
48059 # Cleanup temporary files and output
48060 CleanUp() {
48061 cd ${D}curDir
48062 for i in ${D}inputFiles ; do
48063 case ${D}i in
48064 *!)
48065 rm -rf \`basnam ${D}i !\`
48066 ;;
48067 *)
48068 ;;
48069 esac
48070 done
48071
48072 # Kill result in case of failure as there is just to many stupid make/nmake
48073 # things out there which doesn't do this.
48074 if [ ${D}# -eq 0 ]; then
48075 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48076 fi
48077 }
48078
48079 # Print usage and exit script with rc=1.
48080 PrintHelp() {
48081 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48082 echo ' [-name-mangler-script script.sh]'
48083 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48084 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48085 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48086 echo ' [*.o] [*.a]'
48087 echo '*> "output_file" should have no extension.'
48088 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48089 echo ' The import library name is derived from this and is set to "name".a,'
48090 echo ' unless overridden by -import'
48091 echo '*> "importlib_name" should have no extension.'
48092 echo ' If it has the .o, or .a extension, it is automatically removed.'
48093 echo ' This name is used as the import library name and may be longer and'
48094 echo ' more descriptive than the DLL name which has to follow the old '
48095 echo ' 8.3 convention of FAT.'
48096 echo '*> "script.sh may be given to override the output_file name by a'
48097 echo ' different name. It is mainly useful if the regular make process'
48098 echo ' of some package does not take into account OS/2 restriction of'
48099 echo ' DLL name lengths. It takes the importlib name as input and is'
48100 echo ' supposed to procude a shorter name as output. The script should'
48101 echo ' expect to get importlib_name without extension and should produce'
48102 echo ' a (max.) 8 letter name without extension.'
48103 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48104 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48105 echo ' These flags will be put at the start of GCC command line.'
48106 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48107 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48108 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48109 echo ' If the last character of a symbol is "*", all symbols beginning'
48110 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48111 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48112 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48113 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48114 echo ' C runtime DLLs.'
48115 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48116 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48117 echo ' unchanged to GCC at the end of command line.'
48118 echo '*> If you create a DLL from a library and you do not specify -o,'
48119 echo ' the basename for DLL and import library will be set to library name,'
48120 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48121 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48122 echo ' library will be renamed into gcc_s.a.'
48123 echo '--------'
48124 echo 'Example:'
48125 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48126 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48127 CleanUp
48128 exit 1
48129 }
48130
48131 # Execute a command.
48132 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48133 # @Uses Whatever CleanUp() uses.
48134 doCommand() {
48135 echo "${D}*"
48136 eval ${D}*
48137 rcCmd=${D}?
48138
48139 if [ ${D}rcCmd -ne 0 ]; then
48140 echo "command failed, exit code="${D}rcCmd
48141 CleanUp
48142 exit ${D}rcCmd
48143 fi
48144 }
48145
48146 # main routine
48147 # setup globals
48148 cmdLine=${D}*
48149 outFile=""
48150 outimpFile=""
48151 inputFiles=""
48152 renameScript=""
48153 description=""
48154 CC=gcc.exe
48155 CFLAGS="-s -Zcrtdll"
48156 EXTRA_CFLAGS=""
48157 EXPORT_BY_ORDINALS=0
48158 exclude_symbols=""
48159 library_flags=""
48160 curDir=\`pwd\`
48161 curDirS=curDir
48162 case ${D}curDirS in
48163 */)
48164 ;;
48165 *)
48166 curDirS=${D}{curDirS}"/"
48167 ;;
48168 esac
48169 # Parse commandline
48170 libsToLink=0
48171 omfLinking=0
48172 while [ ${D}1 ]; do
48173 case ${D}1 in
48174 -ord*)
48175 EXPORT_BY_ORDINALS=1;
48176 ;;
48177 -o*)
48178 shift
48179 outFile=${D}1
48180 ;;
48181 -i*)
48182 shift
48183 outimpFile=${D}1
48184 ;;
48185 -name-mangler-script)
48186 shift
48187 renameScript=${D}1
48188 ;;
48189 -d*)
48190 shift
48191 description=${D}1
48192 ;;
48193 -f*)
48194 shift
48195 CFLAGS=${D}1
48196 ;;
48197 -c*)
48198 shift
48199 CC=${D}1
48200 ;;
48201 -h*)
48202 PrintHelp
48203 ;;
48204 -ex*)
48205 shift
48206 exclude_symbols=${D}{exclude_symbols}${D}1" "
48207 ;;
48208 -libf*)
48209 shift
48210 library_flags=${D}{library_flags}${D}1" "
48211 ;;
48212 -nocrt*)
48213 CFLAGS="-s"
48214 ;;
48215 -nolxl*)
48216 flag_USE_LXLITE=0
48217 ;;
48218 -* | /*)
48219 case ${D}1 in
48220 -L* | -l*)
48221 libsToLink=1
48222 ;;
48223 -Zomf)
48224 omfLinking=1
48225 ;;
48226 *)
48227 ;;
48228 esac
48229 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48230 ;;
48231 *.dll)
48232 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48233 if [ ${D}omfLinking -eq 1 ]; then
48234 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48235 else
48236 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48237 fi
48238 ;;
48239 *)
48240 found=0;
48241 if [ ${D}libsToLink -ne 0 ]; then
48242 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48243 else
48244 for file in ${D}1 ; do
48245 if [ -f ${D}file ]; then
48246 inputFiles="${D}{inputFiles} ${D}file"
48247 found=1
48248 fi
48249 done
48250 if [ ${D}found -eq 0 ]; then
48251 echo "ERROR: No file(s) found: "${D}1
48252 exit 8
48253 fi
48254 fi
48255 ;;
48256 esac
48257 shift
48258 done # iterate cmdline words
48259
48260 #
48261 if [ -z "${D}inputFiles" ]; then
48262 echo "dllar: no input files"
48263 PrintHelp
48264 fi
48265
48266 # Now extract all .o files from .a files
48267 newInputFiles=""
48268 for file in ${D}inputFiles ; do
48269 case ${D}file in
48270 *.a | *.lib)
48271 case ${D}file in
48272 *.a)
48273 suffix=".a"
48274 AR="ar"
48275 ;;
48276 *.lib)
48277 suffix=".lib"
48278 AR="emxomfar"
48279 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48280 ;;
48281 *)
48282 ;;
48283 esac
48284 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48285 mkdir ${D}dirname
48286 if [ ${D}? -ne 0 ]; then
48287 echo "Failed to create subdirectory ./${D}dirname"
48288 CleanUp
48289 exit 8;
48290 fi
48291 # Append '!' to indicate archive
48292 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48293 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48294 cd ${D}curDir
48295 found=0;
48296 for subfile in ${D}dirname/*.o* ; do
48297 if [ -f ${D}subfile ]; then
48298 found=1
48299 if [ -s ${D}subfile ]; then
48300 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48301 newInputFiles="${D}newInputFiles ${D}subfile"
48302 fi
48303 fi
48304 done
48305 if [ ${D}found -eq 0 ]; then
48306 echo "WARNING: there are no files in archive \\'${D}file\\'"
48307 fi
48308 ;;
48309 *)
48310 newInputFiles="${D}{newInputFiles} ${D}file"
48311 ;;
48312 esac
48313 done
48314 inputFiles="${D}newInputFiles"
48315
48316 # Output filename(s).
48317 do_backup=0;
48318 if [ -z ${D}outFile ]; then
48319 do_backup=1;
48320 set outFile ${D}inputFiles; outFile=${D}2
48321 fi
48322
48323 # If it is an archive, remove the '!' and the '_%' suffixes
48324 case ${D}outFile in
48325 *_%!)
48326 outFile=\`basnam ${D}outFile _%!\`
48327 ;;
48328 *)
48329 ;;
48330 esac
48331 case ${D}outFile in
48332 *.dll)
48333 outFile=\`basnam ${D}outFile .dll\`
48334 ;;
48335 *.DLL)
48336 outFile=\`basnam ${D}outFile .DLL\`
48337 ;;
48338 *.o)
48339 outFile=\`basnam ${D}outFile .o\`
48340 ;;
48341 *.obj)
48342 outFile=\`basnam ${D}outFile .obj\`
48343 ;;
48344 *.a)
48345 outFile=\`basnam ${D}outFile .a\`
48346 ;;
48347 *.lib)
48348 outFile=\`basnam ${D}outFile .lib\`
48349 ;;
48350 *)
48351 ;;
48352 esac
48353 case ${D}outimpFile in
48354 *.a)
48355 outimpFile=\`basnam ${D}outimpFile .a\`
48356 ;;
48357 *.lib)
48358 outimpFile=\`basnam ${D}outimpFile .lib\`
48359 ;;
48360 *)
48361 ;;
48362 esac
48363 if [ -z ${D}outimpFile ]; then
48364 outimpFile=${D}outFile
48365 fi
48366 defFile="${D}{outFile}.def"
48367 arcFile="${D}{outimpFile}.a"
48368 arcFile2="${D}{outimpFile}.lib"
48369
48370 #create ${D}dllFile as something matching 8.3 restrictions,
48371 if [ -z ${D}renameScript ] ; then
48372 dllFile="${D}outFile"
48373 else
48374 dllFile=\`${D}renameScript ${D}outimpFile\`
48375 fi
48376
48377 if [ ${D}do_backup -ne 0 ] ; then
48378 if [ -f ${D}arcFile ] ; then
48379 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48380 fi
48381 if [ -f ${D}arcFile2 ] ; then
48382 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48383 fi
48384 fi
48385
48386 # Extract public symbols from all the object files.
48387 tmpdefFile=${D}{defFile}_%
48388 rm -f ${D}tmpdefFile
48389 for file in ${D}inputFiles ; do
48390 case ${D}file in
48391 *!)
48392 ;;
48393 *)
48394 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48395 ;;
48396 esac
48397 done
48398
48399 # Create the def file.
48400 rm -f ${D}defFile
48401 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48402 dllFile="${D}{dllFile}.dll"
48403 if [ ! -z ${D}description ]; then
48404 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48405 fi
48406 echo "EXPORTS" >> ${D}defFile
48407
48408 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48409 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48410
48411 # Checks if the export is ok or not.
48412 for word in ${D}exclude_symbols; do
48413 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48414 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48415 done
48416
48417
48418 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48419 sed "=" < ${D}tmpdefFile | \\
48420 sed '
48421 N
48422 : loop
48423 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48424 t loop
48425 ' > ${D}{tmpdefFile}%
48426 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48427 else
48428 rm -f ${D}{tmpdefFile}%
48429 fi
48430 cat ${D}tmpdefFile >> ${D}defFile
48431 rm -f ${D}tmpdefFile
48432
48433 # Do linking, create implib, and apply lxlite.
48434 gccCmdl="";
48435 for file in ${D}inputFiles ; do
48436 case ${D}file in
48437 *!)
48438 ;;
48439 *)
48440 gccCmdl="${D}gccCmdl ${D}file"
48441 ;;
48442 esac
48443 done
48444 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48445 touch "${D}{outFile}.dll"
48446
48447 doCommand "emximp -o ${D}arcFile ${D}defFile"
48448 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48449 add_flags="";
48450 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48451 add_flags="-ynd"
48452 fi
48453 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48454 fi
48455 doCommand "emxomf -s -l ${D}arcFile"
48456
48457 # Successful exit.
48458 CleanUp 1
48459 exit 0
48460 EOF
48461
48462 chmod +x dllar.sh
48463 ;;
48464
48465 powerpc-apple-macos* | \
48466 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48467 *-*-sunos4* | \
48468 *-*-osf* | \
48469 *-*-dgux5* | \
48470 *-*-sysv5* | \
48471 *-pc-msdosdjgpp )
48472 ;;
48473
48474 *)
48475 esac
48476
48477 if test "x$PIC_FLAG" != "x" ; then
48478 PIC_FLAG="$PIC_FLAG -DPIC"
48479 fi
48480
48481 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48482 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48483 fi
48484 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48485 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48486 fi
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496 USE_SOVERSION=0
48497 USE_SOVERLINUX=0
48498 USE_SOVERSOLARIS=0
48499 USE_SOVERCYGWIN=0
48500 USE_SOSYMLINKS=0
48501 USE_MACVERSION=0
48502 SONAME_FLAG=
48503
48504 case "${BAKEFILE_HOST}" in
48505 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48506 SONAME_FLAG="-Wl,-soname,"
48507 USE_SOVERSION=1
48508 USE_SOVERLINUX=1
48509 USE_SOSYMLINKS=1
48510 ;;
48511
48512 *-*-solaris2* )
48513 SONAME_FLAG="-h "
48514 USE_SOVERSION=1
48515 USE_SOVERSOLARIS=1
48516 USE_SOSYMLINKS=1
48517 ;;
48518
48519 *-*-darwin* )
48520 USE_MACVERSION=1
48521 USE_SOVERSION=1
48522 USE_SOSYMLINKS=1
48523 ;;
48524
48525 *-*-cygwin* )
48526 USE_SOVERSION=1
48527 USE_SOVERCYGWIN=1
48528 ;;
48529 esac
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48541 if test "${enable_dependency_tracking+set}" = set; then
48542 enableval="$enable_dependency_tracking"
48543 bk_use_trackdeps="$enableval"
48544 fi;
48545
48546 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48547 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48548
48549 if test "x$bk_use_trackdeps" = "xno" ; then
48550 DEPS_TRACKING=0
48551 echo "$as_me:$LINENO: result: disabled" >&5
48552 echo "${ECHO_T}disabled" >&6
48553 else
48554 DEPS_TRACKING=1
48555
48556 if test "x$GCC" = "xyes"; then
48557 DEPSMODE=gcc
48558 case "${BAKEFILE_HOST}" in
48559 *-*-darwin* )
48560 DEPSFLAG="-no-cpp-precomp -MMD"
48561 ;;
48562 * )
48563 DEPSFLAG="-MMD"
48564 ;;
48565 esac
48566 echo "$as_me:$LINENO: result: gcc" >&5
48567 echo "${ECHO_T}gcc" >&6
48568 elif test "x$MWCC" = "xyes"; then
48569 DEPSMODE=mwcc
48570 DEPSFLAG="-MM"
48571 echo "$as_me:$LINENO: result: mwcc" >&5
48572 echo "${ECHO_T}mwcc" >&6
48573 elif test "x$SUNCC" = "xyes"; then
48574 DEPSMODE=unixcc
48575 DEPSFLAG="-xM1"
48576 echo "$as_me:$LINENO: result: Sun cc" >&5
48577 echo "${ECHO_T}Sun cc" >&6
48578 elif test "x$SGICC" = "xyes"; then
48579 DEPSMODE=unixcc
48580 DEPSFLAG="-M"
48581 echo "$as_me:$LINENO: result: SGI cc" >&5
48582 echo "${ECHO_T}SGI cc" >&6
48583 elif test "x$HPCC" = "xyes"; then
48584 DEPSMODE=unixcc
48585 DEPSFLAG="+make"
48586 echo "$as_me:$LINENO: result: HP cc" >&5
48587 echo "${ECHO_T}HP cc" >&6
48588 elif test "x$COMPAQCC" = "xyes"; then
48589 DEPSMODE=gcc
48590 DEPSFLAG="-MD"
48591 echo "$as_me:$LINENO: result: Compaq cc" >&5
48592 echo "${ECHO_T}Compaq cc" >&6
48593 else
48594 DEPS_TRACKING=0
48595 echo "$as_me:$LINENO: result: none" >&5
48596 echo "${ECHO_T}none" >&6
48597 fi
48598
48599 if test $DEPS_TRACKING = 1 ; then
48600
48601 D='$'
48602 cat <<EOF >bk-deps
48603 #!/bin/sh
48604
48605 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48606 # script. It is used to track C/C++ files dependencies in portable way.
48607 #
48608 # Permission is given to use this file in any way.
48609
48610 DEPSMODE=${DEPSMODE}
48611 DEPSDIR=.deps
48612 DEPSFLAG="${DEPSFLAG}"
48613
48614 mkdir -p ${D}DEPSDIR
48615
48616 if test ${D}DEPSMODE = gcc ; then
48617 ${D}* ${D}{DEPSFLAG}
48618 status=${D}?
48619 if test ${D}{status} != 0 ; then
48620 exit ${D}{status}
48621 fi
48622 # move created file to the location we want it in:
48623 while test ${D}# -gt 0; do
48624 case "${D}1" in
48625 -o )
48626 shift
48627 objfile=${D}1
48628 ;;
48629 -* )
48630 ;;
48631 * )
48632 srcfile=${D}1
48633 ;;
48634 esac
48635 shift
48636 done
48637 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48638 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48639 if test -f ${D}depfile ; then
48640 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48641 rm -f ${D}depfile
48642 else
48643 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48644 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48645 if test ! -f ${D}depfile ; then
48646 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48647 depfile="${D}objfile.d"
48648 fi
48649 if test -f ${D}depfile ; then
48650 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48651 rm -f ${D}depfile
48652 fi
48653 fi
48654 exit 0
48655 elif test ${D}DEPSMODE = mwcc ; then
48656 ${D}* || exit ${D}?
48657 # Run mwcc again with -MM and redirect into the dep file we want
48658 # NOTE: We can't use shift here because we need ${D}* to be valid
48659 prevarg=
48660 for arg in ${D}* ; do
48661 if test "${D}prevarg" = "-o"; then
48662 objfile=${D}arg
48663 else
48664 case "${D}arg" in
48665 -* )
48666 ;;
48667 * )
48668 srcfile=${D}arg
48669 ;;
48670 esac
48671 fi
48672 prevarg="${D}arg"
48673 done
48674 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48675 exit 0
48676 elif test ${D}DEPSMODE = unixcc; then
48677 ${D}* || exit ${D}?
48678 # Run compiler again with deps flag and redirect into the dep file.
48679 # It doesn't work if the '-o FILE' option is used, but without it the
48680 # dependency file will contain the wrong name for the object. So it is
48681 # removed from the command line, and the dep file is fixed with sed.
48682 cmd=""
48683 while test ${D}# -gt 0; do
48684 case "${D}1" in
48685 -o )
48686 shift
48687 objfile=${D}1
48688 ;;
48689 * )
48690 eval arg${D}#=\\${D}1
48691 cmd="${D}cmd \\${D}arg${D}#"
48692 ;;
48693 esac
48694 shift
48695 done
48696 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48697 exit 0
48698 else
48699 ${D}*
48700 exit ${D}?
48701 fi
48702 EOF
48703
48704 chmod +x bk-deps
48705 fi
48706 fi
48707
48708
48709
48710
48711 case ${BAKEFILE_HOST} in
48712 *-*-cygwin* | *-*-mingw32* )
48713 if test -n "$ac_tool_prefix"; then
48714 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48715 set dummy ${ac_tool_prefix}windres; ac_word=$2
48716 echo "$as_me:$LINENO: checking for $ac_word" >&5
48717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48718 if test "${ac_cv_prog_WINDRES+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48720 else
48721 if test -n "$WINDRES"; then
48722 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48723 else
48724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48725 for as_dir in $PATH
48726 do
48727 IFS=$as_save_IFS
48728 test -z "$as_dir" && as_dir=.
48729 for ac_exec_ext in '' $ac_executable_extensions; do
48730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48731 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48733 break 2
48734 fi
48735 done
48736 done
48737
48738 fi
48739 fi
48740 WINDRES=$ac_cv_prog_WINDRES
48741 if test -n "$WINDRES"; then
48742 echo "$as_me:$LINENO: result: $WINDRES" >&5
48743 echo "${ECHO_T}$WINDRES" >&6
48744 else
48745 echo "$as_me:$LINENO: result: no" >&5
48746 echo "${ECHO_T}no" >&6
48747 fi
48748
48749 fi
48750 if test -z "$ac_cv_prog_WINDRES"; then
48751 ac_ct_WINDRES=$WINDRES
48752 # Extract the first word of "windres", so it can be a program name with args.
48753 set dummy windres; ac_word=$2
48754 echo "$as_me:$LINENO: checking for $ac_word" >&5
48755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48756 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48757 echo $ECHO_N "(cached) $ECHO_C" >&6
48758 else
48759 if test -n "$ac_ct_WINDRES"; then
48760 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48761 else
48762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48763 for as_dir in $PATH
48764 do
48765 IFS=$as_save_IFS
48766 test -z "$as_dir" && as_dir=.
48767 for ac_exec_ext in '' $ac_executable_extensions; do
48768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48769 ac_cv_prog_ac_ct_WINDRES="windres"
48770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48771 break 2
48772 fi
48773 done
48774 done
48775
48776 fi
48777 fi
48778 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48779 if test -n "$ac_ct_WINDRES"; then
48780 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48781 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48782 else
48783 echo "$as_me:$LINENO: result: no" >&5
48784 echo "${ECHO_T}no" >&6
48785 fi
48786
48787 WINDRES=$ac_ct_WINDRES
48788 else
48789 WINDRES="$ac_cv_prog_WINDRES"
48790 fi
48791
48792 ;;
48793
48794 *-*-darwin* | powerpc-apple-macos* )
48795 # Extract the first word of "Rez", so it can be a program name with args.
48796 set dummy Rez; ac_word=$2
48797 echo "$as_me:$LINENO: checking for $ac_word" >&5
48798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48799 if test "${ac_cv_prog_REZ+set}" = set; then
48800 echo $ECHO_N "(cached) $ECHO_C" >&6
48801 else
48802 if test -n "$REZ"; then
48803 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48804 else
48805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48806 for as_dir in $PATH
48807 do
48808 IFS=$as_save_IFS
48809 test -z "$as_dir" && as_dir=.
48810 for ac_exec_ext in '' $ac_executable_extensions; do
48811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48812 ac_cv_prog_REZ="Rez"
48813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48814 break 2
48815 fi
48816 done
48817 done
48818
48819 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48820 fi
48821 fi
48822 REZ=$ac_cv_prog_REZ
48823 if test -n "$REZ"; then
48824 echo "$as_me:$LINENO: result: $REZ" >&5
48825 echo "${ECHO_T}$REZ" >&6
48826 else
48827 echo "$as_me:$LINENO: result: no" >&5
48828 echo "${ECHO_T}no" >&6
48829 fi
48830
48831 # Extract the first word of "SetFile", so it can be a program name with args.
48832 set dummy SetFile; ac_word=$2
48833 echo "$as_me:$LINENO: checking for $ac_word" >&5
48834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48835 if test "${ac_cv_prog_SETFILE+set}" = set; then
48836 echo $ECHO_N "(cached) $ECHO_C" >&6
48837 else
48838 if test -n "$SETFILE"; then
48839 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48840 else
48841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48842 for as_dir in $PATH
48843 do
48844 IFS=$as_save_IFS
48845 test -z "$as_dir" && as_dir=.
48846 for ac_exec_ext in '' $ac_executable_extensions; do
48847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48848 ac_cv_prog_SETFILE="SetFile"
48849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48850 break 2
48851 fi
48852 done
48853 done
48854
48855 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48856 fi
48857 fi
48858 SETFILE=$ac_cv_prog_SETFILE
48859 if test -n "$SETFILE"; then
48860 echo "$as_me:$LINENO: result: $SETFILE" >&5
48861 echo "${ECHO_T}$SETFILE" >&6
48862 else
48863 echo "$as_me:$LINENO: result: no" >&5
48864 echo "${ECHO_T}no" >&6
48865 fi
48866
48867 ;;
48868 esac
48869
48870
48871
48872
48873
48874
48875 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48876
48877
48878 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48879
48880
48881
48882 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48883 if test "${enable_precomp_headers+set}" = set; then
48884 enableval="$enable_precomp_headers"
48885 bk_use_pch="$enableval"
48886 fi;
48887
48888 GCC_PCH=0
48889 ICC_PCH=0
48890 USE_PCH=0
48891
48892 case ${BAKEFILE_HOST} in
48893 *-*-cygwin* )
48894 bk_use_pch="no"
48895 ;;
48896 esac
48897
48898 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48899 if test "x$GCC" = "xyes"; then
48900 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48901 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48902 cat >conftest.$ac_ext <<_ACEOF
48903 /* confdefs.h. */
48904 _ACEOF
48905 cat confdefs.h >>conftest.$ac_ext
48906 cat >>conftest.$ac_ext <<_ACEOF
48907 /* end confdefs.h. */
48908
48909 int
48910 main ()
48911 {
48912
48913 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48914 There is no PCH support
48915 #endif
48916 #if (__GNUC__ < 3)
48917 There is no PCH support
48918 #endif
48919 #if (__GNUC__ == 3) && \
48920 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48921 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48922 ( defined(__INTEL_COMPILER) )
48923 There is no PCH support
48924 #endif
48925
48926 ;
48927 return 0;
48928 }
48929 _ACEOF
48930 rm -f conftest.$ac_objext
48931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48932 (eval $ac_compile) 2>conftest.er1
48933 ac_status=$?
48934 grep -v '^ *+' conftest.er1 >conftest.err
48935 rm -f conftest.er1
48936 cat conftest.err >&5
48937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48938 (exit $ac_status); } &&
48939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48941 (eval $ac_try) 2>&5
48942 ac_status=$?
48943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48944 (exit $ac_status); }; } &&
48945 { ac_try='test -s conftest.$ac_objext'
48946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48947 (eval $ac_try) 2>&5
48948 ac_status=$?
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); }; }; then
48951
48952 echo "$as_me:$LINENO: result: yes" >&5
48953 echo "${ECHO_T}yes" >&6
48954 GCC_PCH=1
48955
48956 else
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48959
48960
48961 cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h. */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48967
48968 int
48969 main ()
48970 {
48971
48972 #if !defined(__INTEL_COMPILER) || \
48973 (__INTEL_COMPILER < 800)
48974 There is no PCH support
48975 #endif
48976
48977 ;
48978 return 0;
48979 }
48980 _ACEOF
48981 rm -f conftest.$ac_objext
48982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48983 (eval $ac_compile) 2>conftest.er1
48984 ac_status=$?
48985 grep -v '^ *+' conftest.er1 >conftest.err
48986 rm -f conftest.er1
48987 cat conftest.err >&5
48988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989 (exit $ac_status); } &&
48990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48992 (eval $ac_try) 2>&5
48993 ac_status=$?
48994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995 (exit $ac_status); }; } &&
48996 { ac_try='test -s conftest.$ac_objext'
48997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998 (eval $ac_try) 2>&5
48999 ac_status=$?
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); }; }; then
49002
49003 echo "$as_me:$LINENO: result: yes" >&5
49004 echo "${ECHO_T}yes" >&6
49005 ICC_PCH=1
49006
49007 else
49008 echo "$as_me: failed program was:" >&5
49009 sed 's/^/| /' conftest.$ac_ext >&5
49010
49011
49012 echo "$as_me:$LINENO: result: no" >&5
49013 echo "${ECHO_T}no" >&6
49014
49015 fi
49016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49017
49018 fi
49019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49020 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49021 USE_PCH=1
49022
49023 D='$'
49024 cat <<EOF >bk-make-pch
49025 #!/bin/sh
49026
49027 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49028 # script. It is used to generated precompiled headers.
49029 #
49030 # Permission is given to use this file in any way.
49031
49032 outfile="${D}{1}"
49033 header="${D}{2}"
49034 shift
49035 shift
49036
49037 compiler=""
49038 headerfile=""
49039
49040 while test ${D}{#} -gt 0; do
49041 add_to_cmdline=1
49042 case "${D}{1}" in
49043 -I* )
49044 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49045 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49046 headerfile="${D}{incdir}/${D}{header}"
49047 fi
49048 ;;
49049 -use-pch|-use_pch )
49050 shift
49051 add_to_cmdline=0
49052 ;;
49053 esac
49054 if test ${D}add_to_cmdline = 1 ; then
49055 compiler="${D}{compiler} ${D}{1}"
49056 fi
49057 shift
49058 done
49059
49060 if test "x${D}{headerfile}" = "x" ; then
49061 echo "error: can't find header ${D}{header} in include paths" >&2
49062 else
49063 if test -f ${D}{outfile} ; then
49064 rm -f ${D}{outfile}
49065 else
49066 mkdir -p \`dirname ${D}{outfile}\`
49067 fi
49068 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49069 mkdir -p .deps
49070 if test "x${GCC_PCH}" = "x1" ; then
49071 # can do this because gcc is >= 3.4:
49072 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49073 elif test "x${ICC_PCH}" = "x1" ; then
49074 filename=pch_gen-${D}${D}
49075 file=${D}{filename}.c
49076 dfile=${D}{filename}.d
49077 cat > ${D}file <<EOT
49078 #include "${D}header"
49079 EOT
49080 # using -MF icc complains about differing command lines in creation/use
49081 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49082 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49083 rm -f ${D}file ${D}dfile ${D}{filename}.o
49084 fi
49085 exit ${D}{?}
49086 fi
49087 EOF
49088
49089 chmod +x bk-make-pch
49090 fi
49091 fi
49092 fi
49093
49094
49095
49096
49097 COND_BUILD_DEBUG="#"
49098 if test "x$BUILD" = "xdebug" ; then
49099 COND_BUILD_DEBUG=""
49100 fi
49101
49102 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49103 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49104 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49105 fi
49106
49107 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49108 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49109 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49110 fi
49111
49112 COND_BUILD_DEBUG_UNICODE_0="#"
49113 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49114 COND_BUILD_DEBUG_UNICODE_0=""
49115 fi
49116
49117 COND_BUILD_DEBUG_UNICODE_1="#"
49118 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49119 COND_BUILD_DEBUG_UNICODE_1=""
49120 fi
49121
49122 COND_BUILD_RELEASE="#"
49123 if test "x$BUILD" = "xrelease" ; then
49124 COND_BUILD_RELEASE=""
49125 fi
49126
49127 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49128 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49130 fi
49131
49132 COND_BUILD_RELEASE_UNICODE_0="#"
49133 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49134 COND_BUILD_RELEASE_UNICODE_0=""
49135 fi
49136
49137 COND_BUILD_RELEASE_UNICODE_1="#"
49138 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49139 COND_BUILD_RELEASE_UNICODE_1=""
49140 fi
49141
49142 COND_DEBUG_FLAG_1="#"
49143 if test "x$DEBUG_FLAG" = "x1" ; then
49144 COND_DEBUG_FLAG_1=""
49145 fi
49146
49147 COND_DEBUG_INFO_0="#"
49148 if test "x$DEBUG_INFO" = "x0" ; then
49149 COND_DEBUG_INFO_0=""
49150 fi
49151
49152 COND_DEBUG_INFO_1="#"
49153 if test "x$DEBUG_INFO" = "x1" ; then
49154 COND_DEBUG_INFO_1=""
49155 fi
49156
49157 COND_DEPS_TRACKING_0="#"
49158 if test "x$DEPS_TRACKING" = "x0" ; then
49159 COND_DEPS_TRACKING_0=""
49160 fi
49161
49162 COND_DEPS_TRACKING_1="#"
49163 if test "x$DEPS_TRACKING" = "x1" ; then
49164 COND_DEPS_TRACKING_1=""
49165 fi
49166
49167 COND_GCC_PCH_1="#"
49168 if test "x$GCC_PCH" = "x1" ; then
49169 COND_GCC_PCH_1=""
49170 fi
49171
49172 COND_ICC_PCH_1="#"
49173 if test "x$ICC_PCH" = "x1" ; then
49174 COND_ICC_PCH_1=""
49175 fi
49176
49177 COND_MONOLITHIC_0="#"
49178 if test "x$MONOLITHIC" = "x0" ; then
49179 COND_MONOLITHIC_0=""
49180 fi
49181
49182 COND_MONOLITHIC_0_SHARED_0="#"
49183 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49184 COND_MONOLITHIC_0_SHARED_0=""
49185 fi
49186
49187 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49188 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49189 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49190 fi
49191
49192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49193 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49194 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49195 fi
49196
49197 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49199 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49200 fi
49201
49202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49205 fi
49206
49207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49210 fi
49211
49212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49215 fi
49216
49217 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49219 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49220 fi
49221
49222 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49224 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49225 fi
49226
49227 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49229 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49230 fi
49231
49232 COND_MONOLITHIC_0_SHARED_1="#"
49233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49234 COND_MONOLITHIC_0_SHARED_1=""
49235 fi
49236
49237 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49239 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49240 fi
49241
49242 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49244 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49245 fi
49246
49247 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49249 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49250 fi
49251
49252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49254 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49255 fi
49256
49257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49259 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49260 fi
49261
49262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49265 fi
49266
49267 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49269 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49270 fi
49271
49272 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49274 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49275 fi
49276
49277 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49279 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49280 fi
49281
49282 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49283 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49284 COND_MONOLITHIC_0_USE_MEDIA_1=""
49285 fi
49286
49287 COND_MONOLITHIC_0_USE_ODBC_1="#"
49288 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49289 COND_MONOLITHIC_0_USE_ODBC_1=""
49290 fi
49291
49292 COND_MONOLITHIC_1="#"
49293 if test "x$MONOLITHIC" = "x1" ; then
49294 COND_MONOLITHIC_1=""
49295 fi
49296
49297 COND_MONOLITHIC_1_SHARED_0="#"
49298 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49299 COND_MONOLITHIC_1_SHARED_0=""
49300 fi
49301
49302 COND_MONOLITHIC_1_SHARED_1="#"
49303 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49304 COND_MONOLITHIC_1_SHARED_1=""
49305 fi
49306
49307 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49308 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49309 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49310 fi
49311
49312 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49313 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49314 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49315 fi
49316
49317 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49318 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49319 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49320 fi
49321
49322 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49323 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49324 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49325 fi
49326
49327 COND_PLATFORM_MACOSX_1="#"
49328 if test "x$PLATFORM_MACOSX" = "x1" ; then
49329 COND_PLATFORM_MACOSX_1=""
49330 fi
49331
49332 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49333 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49334 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49335 fi
49336
49337 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49338 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49340 fi
49341
49342 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49343 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49344 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49345 fi
49346
49347 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49348 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49349 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49350 fi
49351
49352 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49353 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49354 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49355 fi
49356
49357 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49358 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49359 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49360 fi
49361
49362 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49363 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49364 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49365 fi
49366
49367 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49368 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49369 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49370 fi
49371
49372 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49373 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49374 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49375 fi
49376
49377 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49378 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49379 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49380 fi
49381
49382 COND_PLATFORM_MACOS_1="#"
49383 if test "x$PLATFORM_MACOS" = "x1" ; then
49384 COND_PLATFORM_MACOS_1=""
49385 fi
49386
49387 COND_PLATFORM_MAC_1="#"
49388 if test "x$PLATFORM_MAC" = "x1" ; then
49389 COND_PLATFORM_MAC_1=""
49390 fi
49391
49392 COND_PLATFORM_MSDOS_0="#"
49393 if test "x$PLATFORM_MSDOS" = "x0" ; then
49394 COND_PLATFORM_MSDOS_0=""
49395 fi
49396
49397 COND_PLATFORM_MSDOS_1="#"
49398 if test "x$PLATFORM_MSDOS" = "x1" ; then
49399 COND_PLATFORM_MSDOS_1=""
49400 fi
49401
49402 COND_PLATFORM_OS2_1="#"
49403 if test "x$PLATFORM_OS2" = "x1" ; then
49404 COND_PLATFORM_OS2_1=""
49405 fi
49406
49407 COND_PLATFORM_UNIX_0="#"
49408 if test "x$PLATFORM_UNIX" = "x0" ; then
49409 COND_PLATFORM_UNIX_0=""
49410 fi
49411
49412 COND_PLATFORM_UNIX_1="#"
49413 if test "x$PLATFORM_UNIX" = "x1" ; then
49414 COND_PLATFORM_UNIX_1=""
49415 fi
49416
49417 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49418 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49419 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49420 fi
49421
49422 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49423 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49424 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49425 fi
49426
49427 COND_PLATFORM_WIN32_0="#"
49428 if test "x$PLATFORM_WIN32" = "x0" ; then
49429 COND_PLATFORM_WIN32_0=""
49430 fi
49431
49432 COND_PLATFORM_WIN32_1="#"
49433 if test "x$PLATFORM_WIN32" = "x1" ; then
49434 COND_PLATFORM_WIN32_1=""
49435 fi
49436
49437 COND_SHARED_0="#"
49438 if test "x$SHARED" = "x0" ; then
49439 COND_SHARED_0=""
49440 fi
49441
49442 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49443 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49444 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49445 fi
49446
49447 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49448 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49449 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49450 fi
49451
49452 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49453 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49454 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49455 fi
49456
49457 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49458 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49459 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49460 fi
49461
49462 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49463 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49464 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49465 fi
49466
49467 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49468 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49469 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49470 fi
49471
49472 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49473 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49474 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49475 fi
49476
49477 COND_SHARED_0_USE_XRC_1="#"
49478 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49479 COND_SHARED_0_USE_XRC_1=""
49480 fi
49481
49482 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49483 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49484 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49485 fi
49486
49487 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49488 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49489 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49490 fi
49491
49492 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49493 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49494 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49495 fi
49496
49497 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49498 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49499 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49500 fi
49501
49502 COND_SHARED_1="#"
49503 if test "x$SHARED" = "x1" ; then
49504 COND_SHARED_1=""
49505 fi
49506
49507 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49508 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49509 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49510 fi
49511
49512 COND_SHARED_1_USE_XRC_1="#"
49513 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49514 COND_SHARED_1_USE_XRC_1=""
49515 fi
49516
49517 COND_TOOLKIT_="#"
49518 if test "x$TOOLKIT" = "x" ; then
49519 COND_TOOLKIT_=""
49520 fi
49521
49522 COND_TOOLKIT_COCOA="#"
49523 if test "x$TOOLKIT" = "xCOCOA" ; then
49524 COND_TOOLKIT_COCOA=""
49525 fi
49526
49527 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49528 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49529 COND_TOOLKIT_COCOA_USE_GUI_1=""
49530 fi
49531
49532 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49533 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49534 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49535 fi
49536
49537 COND_TOOLKIT_DFB="#"
49538 if test "x$TOOLKIT" = "xDFB" ; then
49539 COND_TOOLKIT_DFB=""
49540 fi
49541
49542 COND_TOOLKIT_DFB_USE_GUI_1="#"
49543 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49544 COND_TOOLKIT_DFB_USE_GUI_1=""
49545 fi
49546
49547 COND_TOOLKIT_GTK="#"
49548 if test "x$TOOLKIT" = "xGTK" ; then
49549 COND_TOOLKIT_GTK=""
49550 fi
49551
49552 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49553 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49554 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49555 fi
49556
49557 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49558 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49559 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49560 fi
49561
49562 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49563 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49564 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49565 fi
49566
49567 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49568 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49569 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49570 fi
49571
49572 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49573 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49574 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49575 fi
49576
49577 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49578 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49579 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49580 fi
49581
49582 COND_TOOLKIT_GTK_USE_GUI_1="#"
49583 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49584 COND_TOOLKIT_GTK_USE_GUI_1=""
49585 fi
49586
49587 COND_TOOLKIT_MAC="#"
49588 if test "x$TOOLKIT" = "xMAC" ; then
49589 COND_TOOLKIT_MAC=""
49590 fi
49591
49592 COND_TOOLKIT_MAC_USE_GUI_1="#"
49593 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49594 COND_TOOLKIT_MAC_USE_GUI_1=""
49595 fi
49596
49597 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49598 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49599 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49600 fi
49601
49602 COND_TOOLKIT_MGL="#"
49603 if test "x$TOOLKIT" = "xMGL" ; then
49604 COND_TOOLKIT_MGL=""
49605 fi
49606
49607 COND_TOOLKIT_MGL_USE_GUI_1="#"
49608 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49609 COND_TOOLKIT_MGL_USE_GUI_1=""
49610 fi
49611
49612 COND_TOOLKIT_MOTIF="#"
49613 if test "x$TOOLKIT" = "xMOTIF" ; then
49614 COND_TOOLKIT_MOTIF=""
49615 fi
49616
49617 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49618 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49619 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49620 fi
49621
49622 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49623 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49624 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49625 fi
49626
49627 COND_TOOLKIT_MSW="#"
49628 if test "x$TOOLKIT" = "xMSW" ; then
49629 COND_TOOLKIT_MSW=""
49630 fi
49631
49632 COND_TOOLKIT_MSW_USE_GUI_1="#"
49633 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49634 COND_TOOLKIT_MSW_USE_GUI_1=""
49635 fi
49636
49637 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49638 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49639 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49640 fi
49641
49642 COND_TOOLKIT_MSW_WXUNIV_0="#"
49643 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49644 COND_TOOLKIT_MSW_WXUNIV_0=""
49645 fi
49646
49647 COND_TOOLKIT_PM="#"
49648 if test "x$TOOLKIT" = "xPM" ; then
49649 COND_TOOLKIT_PM=""
49650 fi
49651
49652 COND_TOOLKIT_PM_USE_GUI_1="#"
49653 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49654 COND_TOOLKIT_PM_USE_GUI_1=""
49655 fi
49656
49657 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49658 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49659 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49660 fi
49661
49662 COND_TOOLKIT_WINCE="#"
49663 if test "x$TOOLKIT" = "xWINCE" ; then
49664 COND_TOOLKIT_WINCE=""
49665 fi
49666
49667 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49668 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49669 COND_TOOLKIT_WINCE_USE_GUI_1=""
49670 fi
49671
49672 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49673 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49674 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49675 fi
49676
49677 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49678 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49679 COND_TOOLKIT_WINCE_WXUNIV_0=""
49680 fi
49681
49682 COND_TOOLKIT_X11="#"
49683 if test "x$TOOLKIT" = "xX11" ; then
49684 COND_TOOLKIT_X11=""
49685 fi
49686
49687 COND_TOOLKIT_X11_USE_GUI_1="#"
49688 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49689 COND_TOOLKIT_X11_USE_GUI_1=""
49690 fi
49691
49692 COND_UNICODE_1="#"
49693 if test "x$UNICODE" = "x1" ; then
49694 COND_UNICODE_1=""
49695 fi
49696
49697 COND_USE_EXCEPTIONS_0="#"
49698 if test "x$USE_EXCEPTIONS" = "x0" ; then
49699 COND_USE_EXCEPTIONS_0=""
49700 fi
49701
49702 COND_USE_EXCEPTIONS_1="#"
49703 if test "x$USE_EXCEPTIONS" = "x1" ; then
49704 COND_USE_EXCEPTIONS_1=""
49705 fi
49706
49707 COND_USE_GUI_0="#"
49708 if test "x$USE_GUI" = "x0" ; then
49709 COND_USE_GUI_0=""
49710 fi
49711
49712 COND_USE_GUI_1="#"
49713 if test "x$USE_GUI" = "x1" ; then
49714 COND_USE_GUI_1=""
49715 fi
49716
49717 COND_USE_GUI_1_WXUNIV_0="#"
49718 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49719 COND_USE_GUI_1_WXUNIV_0=""
49720 fi
49721
49722 COND_USE_GUI_1_WXUNIV_1="#"
49723 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49724 COND_USE_GUI_1_WXUNIV_1=""
49725 fi
49726
49727 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49728 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49729 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49730 fi
49731
49732 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49733 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49734 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49735 fi
49736
49737 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49738 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49739 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49740 fi
49741
49742 COND_USE_ODBC_1="#"
49743 if test "x$USE_ODBC" = "x1" ; then
49744 COND_USE_ODBC_1=""
49745 fi
49746
49747 COND_USE_OPENGL_1="#"
49748 if test "x$USE_OPENGL" = "x1" ; then
49749 COND_USE_OPENGL_1=""
49750 fi
49751
49752 COND_USE_PCH_1="#"
49753 if test "x$USE_PCH" = "x1" ; then
49754 COND_USE_PCH_1=""
49755 fi
49756
49757 COND_USE_PLUGINS_0="#"
49758 if test "x$USE_PLUGINS" = "x0" ; then
49759 COND_USE_PLUGINS_0=""
49760 fi
49761
49762 COND_USE_RTTI_0="#"
49763 if test "x$USE_RTTI" = "x0" ; then
49764 COND_USE_RTTI_0=""
49765 fi
49766
49767 COND_USE_RTTI_1="#"
49768 if test "x$USE_RTTI" = "x1" ; then
49769 COND_USE_RTTI_1=""
49770 fi
49771
49772 COND_USE_SOSYMLINKS_1="#"
49773 if test "x$USE_SOSYMLINKS" = "x1" ; then
49774 COND_USE_SOSYMLINKS_1=""
49775 fi
49776
49777 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49778 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49779 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49780 fi
49781
49782 COND_USE_SOVERLINUX_1="#"
49783 if test "x$USE_SOVERLINUX" = "x1" ; then
49784 COND_USE_SOVERLINUX_1=""
49785 fi
49786
49787 COND_USE_SOVERSION_0="#"
49788 if test "x$USE_SOVERSION" = "x0" ; then
49789 COND_USE_SOVERSION_0=""
49790 fi
49791
49792 COND_USE_SOVERSOLARIS_1="#"
49793 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49794 COND_USE_SOVERSOLARIS_1=""
49795 fi
49796
49797 COND_USE_THREADS_0="#"
49798 if test "x$USE_THREADS" = "x0" ; then
49799 COND_USE_THREADS_0=""
49800 fi
49801
49802 COND_USE_THREADS_1="#"
49803 if test "x$USE_THREADS" = "x1" ; then
49804 COND_USE_THREADS_1=""
49805 fi
49806
49807 COND_USE_XRC_1="#"
49808 if test "x$USE_XRC" = "x1" ; then
49809 COND_USE_XRC_1=""
49810 fi
49811
49812 COND_WINDOWS_IMPLIB_1="#"
49813 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49814 COND_WINDOWS_IMPLIB_1=""
49815 fi
49816
49817 COND_WITH_PLUGIN_SDL_1="#"
49818 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49819 COND_WITH_PLUGIN_SDL_1=""
49820 fi
49821
49822 COND_WXUNIV_0="#"
49823 if test "x$WXUNIV" = "x0" ; then
49824 COND_WXUNIV_0=""
49825 fi
49826
49827 COND_WXUNIV_1="#"
49828 if test "x$WXUNIV" = "x1" ; then
49829 COND_WXUNIV_1=""
49830 fi
49831
49832 COND_WXUSE_EXPAT_BUILTIN="#"
49833 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49834 COND_WXUSE_EXPAT_BUILTIN=""
49835 fi
49836
49837 COND_WXUSE_LIBJPEG_BUILTIN="#"
49838 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49839 COND_WXUSE_LIBJPEG_BUILTIN=""
49840 fi
49841
49842 COND_WXUSE_LIBPNG_BUILTIN="#"
49843 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49844 COND_WXUSE_LIBPNG_BUILTIN=""
49845 fi
49846
49847 COND_WXUSE_LIBTIFF_BUILTIN="#"
49848 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49849 COND_WXUSE_LIBTIFF_BUILTIN=""
49850 fi
49851
49852 COND_WXUSE_ODBC_BUILTIN="#"
49853 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49854 COND_WXUSE_ODBC_BUILTIN=""
49855 fi
49856
49857 COND_WXUSE_REGEX_BUILTIN="#"
49858 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49859 COND_WXUSE_REGEX_BUILTIN=""
49860 fi
49861
49862 COND_WXUSE_ZLIB_BUILTIN="#"
49863 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49864 COND_WXUSE_ZLIB_BUILTIN=""
49865 fi
49866
49867
49868
49869 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49870 { { 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
49871 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;}
49872 { (exit 1); exit 1; }; }
49873 fi
49874
49875 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49876 { { 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
49877 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;}
49878 { (exit 1); exit 1; }; }
49879 fi
49880
49881
49882
49883 if test "$wxUSE_MAC" = 1 ; then
49884 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49885 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49886 mv temp bk-deps
49887 chmod +x bk-deps
49888 fi
49889 fi
49890
49891 if test "$wxUSE_SHARED" = "yes"; then
49892
49893 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49894 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49895
49896 case "${host}" in
49897 *-pc-os2_emx | *-pc-os2-emx )
49898 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49899 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49900 cp -p ${srcdir}/src/os2/dllnames.sh .
49901 cp -p ${srcdir}/src/os2/dllar.sh .
49902 ;;
49903 esac
49904 else
49905
49906 EXE_LINKER="$CXX -o"
49907
49908 fi
49909 if test "$wxUSE_OMF" = "yes"; then
49910 case "${host}" in
49911 *-pc-os2_emx | *-pc-os2-emx )
49912 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49913 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49914 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49915 ;;
49916 esac
49917 fi
49918
49919 if test $GCC_PCH = 1 ; then
49920 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49921 fi
49922
49923 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49924
49925 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49988 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49989 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49990 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49991 echo $ECHO_N "(cached) $ECHO_C" >&6
49992 else
49993 cat >conftest.make <<\_ACEOF
49994 all:
49995 @echo 'ac_maketemp="$(MAKE)"'
49996 _ACEOF
49997 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49998 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49999 if test -n "$ac_maketemp"; then
50000 eval ac_cv_prog_make_${ac_make}_set=yes
50001 else
50002 eval ac_cv_prog_make_${ac_make}_set=no
50003 fi
50004 rm -f conftest.make
50005 fi
50006 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50007 echo "$as_me:$LINENO: result: yes" >&5
50008 echo "${ECHO_T}yes" >&6
50009 SET_MAKE=
50010 else
50011 echo "$as_me:$LINENO: result: no" >&5
50012 echo "${ECHO_T}no" >&6
50013 SET_MAKE="MAKE=${MAKE-make}"
50014 fi
50015
50016
50017
50018 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50019
50020
50021 if test "$USE_WIN32" = 1; then
50022 ac_config_commands="$ac_config_commands
50023 rcdefs.h
50024 "
50025
50026 fi
50027
50028 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50029
50030
50031 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50032
50033
50034 ac_config_files="$ac_config_files version-script Makefile"
50035
50036
50037 ac_config_commands="$ac_config_commands wx-config"
50038
50039
50040
50041 if test "$wxWITH_SUBDIRS" != "no"; then
50042 if test "$wxUSE_GUI" = "yes"; then
50043 SUBDIRS="samples demos utils contrib"
50044 else SUBDIRS="samples utils"
50045 fi
50046
50047
50048
50049 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50050 if test "${with_cppunit_prefix+set}" = set; then
50051 withval="$with_cppunit_prefix"
50052 cppunit_config_prefix="$withval"
50053 else
50054 cppunit_config_prefix=""
50055 fi;
50056
50057 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50058 if test "${with_cppunit_exec_prefix+set}" = set; then
50059 withval="$with_cppunit_exec_prefix"
50060 cppunit_config_exec_prefix="$withval"
50061 else
50062 cppunit_config_exec_prefix=""
50063 fi;
50064
50065 if test x$cppunit_config_exec_prefix != x ; then
50066 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50067 if test x${CPPUNIT_CONFIG+set} != xset ; then
50068 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50069 fi
50070 fi
50071 if test x$cppunit_config_prefix != x ; then
50072 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50073 if test x${CPPUNIT_CONFIG+set} != xset ; then
50074 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50075 fi
50076 fi
50077
50078 # Extract the first word of "cppunit-config", so it can be a program name with args.
50079 set dummy cppunit-config; ac_word=$2
50080 echo "$as_me:$LINENO: checking for $ac_word" >&5
50081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50082 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50083 echo $ECHO_N "(cached) $ECHO_C" >&6
50084 else
50085 case $CPPUNIT_CONFIG in
50086 [\\/]* | ?:[\\/]*)
50087 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50088 ;;
50089 *)
50090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50091 for as_dir in $PATH
50092 do
50093 IFS=$as_save_IFS
50094 test -z "$as_dir" && as_dir=.
50095 for ac_exec_ext in '' $ac_executable_extensions; do
50096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50097 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50099 break 2
50100 fi
50101 done
50102 done
50103
50104 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50105 ;;
50106 esac
50107 fi
50108 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50109
50110 if test -n "$CPPUNIT_CONFIG"; then
50111 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50112 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50113 else
50114 echo "$as_me:$LINENO: result: no" >&5
50115 echo "${ECHO_T}no" >&6
50116 fi
50117
50118 cppunit_version_min=1.8.0
50119
50120 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50121 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50122 no_cppunit=""
50123 if test "$CPPUNIT_CONFIG" = "no" ; then
50124 echo "$as_me:$LINENO: result: no" >&5
50125 echo "${ECHO_T}no" >&6
50126 no_cppunit=yes
50127 else
50128 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50129 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50130 cppunit_version=`$CPPUNIT_CONFIG --version`
50131
50132 cppunit_major_version=`echo $cppunit_version | \
50133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50134 cppunit_minor_version=`echo $cppunit_version | \
50135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50136 cppunit_micro_version=`echo $cppunit_version | \
50137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50138
50139 cppunit_major_min=`echo $cppunit_version_min | \
50140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50141 cppunit_minor_min=`echo $cppunit_version_min | \
50142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50143 cppunit_micro_min=`echo $cppunit_version_min | \
50144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50145
50146 cppunit_version_proper=`expr \
50147 $cppunit_major_version \> $cppunit_major_min \| \
50148 $cppunit_major_version \= $cppunit_major_min \& \
50149 $cppunit_minor_version \> $cppunit_minor_min \| \
50150 $cppunit_major_version \= $cppunit_major_min \& \
50151 $cppunit_minor_version \= $cppunit_minor_min \& \
50152 $cppunit_micro_version \>= $cppunit_micro_min `
50153
50154 if test "$cppunit_version_proper" = "1" ; then
50155 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50156 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50157 else
50158 echo "$as_me:$LINENO: result: no" >&5
50159 echo "${ECHO_T}no" >&6
50160 no_cppunit=yes
50161 fi
50162 fi
50163
50164 if test "x$no_cppunit" = x ; then
50165 SUBDIRS="$SUBDIRS tests"
50166 else
50167 CPPUNIT_CFLAGS=""
50168 CPPUNIT_LIBS=""
50169 :
50170 fi
50171
50172
50173
50174
50175
50176 for subdir in `echo $SUBDIRS`; do
50177 if test -d ${srcdir}/${subdir} ; then
50178 if test "$wxUSE_GUI" = "yes"; then
50179 if test ${subdir} = "samples"; then
50180 makefiles="samples/Makefile.in $makefiles"
50181 for sample in `echo $SAMPLES_SUBDIRS`; do
50182 if test -d $srcdir/samples/$sample; then
50183 makefiles="samples/$sample/Makefile.in $makefiles"
50184 fi
50185 done
50186 else
50187 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50188 eval "disabled=\$$disabled_var"
50189 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50190 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50191 fi
50192 else if test ${subdir} = "samples"; then
50193 makefiles="samples/Makefile.in samples/console/Makefile.in"
50194 elif test ${subdir} = "utils"; then
50195 makefiles=""
50196 for util in HelpGen tex2rtf ; do
50197 if test -d $srcdir/utils/$util ; then
50198 makefiles="utils/$util/Makefile.in \
50199 utils/$util/src/Makefile.in \
50200 $makefiles"
50201 fi
50202 done
50203 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50204 fi
50205 fi
50206
50207 for mkin in $makefiles ; do
50208 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50209 ac_config_files="$ac_config_files $mk"
50210
50211 done
50212 fi
50213 done
50214 fi
50215 cat >confcache <<\_ACEOF
50216 # This file is a shell script that caches the results of configure
50217 # tests run on this system so they can be shared between configure
50218 # scripts and configure runs, see configure's option --config-cache.
50219 # It is not useful on other systems. If it contains results you don't
50220 # want to keep, you may remove or edit it.
50221 #
50222 # config.status only pays attention to the cache file if you give it
50223 # the --recheck option to rerun configure.
50224 #
50225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50227 # following values.
50228
50229 _ACEOF
50230
50231 # The following way of writing the cache mishandles newlines in values,
50232 # but we know of no workaround that is simple, portable, and efficient.
50233 # So, don't put newlines in cache variables' values.
50234 # Ultrix sh set writes to stderr and can't be redirected directly,
50235 # and sets the high bit in the cache file unless we assign to the vars.
50236 {
50237 (set) 2>&1 |
50238 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50239 *ac_space=\ *)
50240 # `set' does not quote correctly, so add quotes (double-quote
50241 # substitution turns \\\\ into \\, and sed turns \\ into \).
50242 sed -n \
50243 "s/'/'\\\\''/g;
50244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50245 ;;
50246 *)
50247 # `set' quotes correctly as required by POSIX, so do not add quotes.
50248 sed -n \
50249 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50250 ;;
50251 esac;
50252 } |
50253 sed '
50254 t clear
50255 : clear
50256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50257 t end
50258 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50259 : end' >>confcache
50260 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50261 if test -w $cache_file; then
50262 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50263 cat confcache >$cache_file
50264 else
50265 echo "not updating unwritable cache $cache_file"
50266 fi
50267 fi
50268 rm -f confcache
50269
50270 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50271 # Let make expand exec_prefix.
50272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50273
50274 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50275 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50276 # trailing colons and then remove the whole line if VPATH becomes empty
50277 # (actually we leave an empty line to preserve line numbers).
50278 if test "x$srcdir" = x.; then
50279 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50280 s/:*\$(srcdir):*/:/;
50281 s/:*\${srcdir}:*/:/;
50282 s/:*@srcdir@:*/:/;
50283 s/^\([^=]*=[ ]*\):*/\1/;
50284 s/:*$//;
50285 s/^[^=]*=[ ]*$//;
50286 }'
50287 fi
50288
50289 DEFS=-DHAVE_CONFIG_H
50290
50291 ac_libobjs=
50292 ac_ltlibobjs=
50293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50294 # 1. Remove the extension, and $U if already installed.
50295 ac_i=`echo "$ac_i" |
50296 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50297 # 2. Add them.
50298 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50299 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50300 done
50301 LIBOBJS=$ac_libobjs
50302
50303 LTLIBOBJS=$ac_ltlibobjs
50304
50305
50306
50307 : ${CONFIG_STATUS=./config.status}
50308 ac_clean_files_save=$ac_clean_files
50309 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50310 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50311 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50312 cat >$CONFIG_STATUS <<_ACEOF
50313 #! $SHELL
50314 # Generated by $as_me.
50315 # Run this file to recreate the current configuration.
50316 # Compiler output produced by configure, useful for debugging
50317 # configure, is in config.log if it exists.
50318
50319 debug=false
50320 ac_cs_recheck=false
50321 ac_cs_silent=false
50322 SHELL=\${CONFIG_SHELL-$SHELL}
50323 _ACEOF
50324
50325 cat >>$CONFIG_STATUS <<\_ACEOF
50326 ## --------------------- ##
50327 ## M4sh Initialization. ##
50328 ## --------------------- ##
50329
50330 # Be Bourne compatible
50331 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50332 emulate sh
50333 NULLCMD=:
50334 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50335 # is contrary to our usage. Disable this feature.
50336 alias -g '${1+"$@"}'='"$@"'
50337 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50338 set -o posix
50339 fi
50340 DUALCASE=1; export DUALCASE # for MKS sh
50341
50342 # Support unset when possible.
50343 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50344 as_unset=unset
50345 else
50346 as_unset=false
50347 fi
50348
50349
50350 # Work around bugs in pre-3.0 UWIN ksh.
50351 $as_unset ENV MAIL MAILPATH
50352 PS1='$ '
50353 PS2='> '
50354 PS4='+ '
50355
50356 # NLS nuisances.
50357 for as_var in \
50358 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50359 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50360 LC_TELEPHONE LC_TIME
50361 do
50362 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50363 eval $as_var=C; export $as_var
50364 else
50365 $as_unset $as_var
50366 fi
50367 done
50368
50369 # Required to use basename.
50370 if expr a : '\(a\)' >/dev/null 2>&1; then
50371 as_expr=expr
50372 else
50373 as_expr=false
50374 fi
50375
50376 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50377 as_basename=basename
50378 else
50379 as_basename=false
50380 fi
50381
50382
50383 # Name of the executable.
50384 as_me=`$as_basename "$0" ||
50385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50386 X"$0" : 'X\(//\)$' \| \
50387 X"$0" : 'X\(/\)$' \| \
50388 . : '\(.\)' 2>/dev/null ||
50389 echo X/"$0" |
50390 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50391 /^X\/\(\/\/\)$/{ s//\1/; q; }
50392 /^X\/\(\/\).*/{ s//\1/; q; }
50393 s/.*/./; q'`
50394
50395
50396 # PATH needs CR, and LINENO needs CR and PATH.
50397 # Avoid depending upon Character Ranges.
50398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50401 as_cr_digits='0123456789'
50402 as_cr_alnum=$as_cr_Letters$as_cr_digits
50403
50404 # The user is always right.
50405 if test "${PATH_SEPARATOR+set}" != set; then
50406 echo "#! /bin/sh" >conf$$.sh
50407 echo "exit 0" >>conf$$.sh
50408 chmod +x conf$$.sh
50409 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50410 PATH_SEPARATOR=';'
50411 else
50412 PATH_SEPARATOR=:
50413 fi
50414 rm -f conf$$.sh
50415 fi
50416
50417
50418 as_lineno_1=$LINENO
50419 as_lineno_2=$LINENO
50420 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50421 test "x$as_lineno_1" != "x$as_lineno_2" &&
50422 test "x$as_lineno_3" = "x$as_lineno_2" || {
50423 # Find who we are. Look in the path if we contain no path at all
50424 # relative or not.
50425 case $0 in
50426 *[\\/]* ) as_myself=$0 ;;
50427 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50428 for as_dir in $PATH
50429 do
50430 IFS=$as_save_IFS
50431 test -z "$as_dir" && as_dir=.
50432 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50433 done
50434
50435 ;;
50436 esac
50437 # We did not find ourselves, most probably we were run as `sh COMMAND'
50438 # in which case we are not to be found in the path.
50439 if test "x$as_myself" = x; then
50440 as_myself=$0
50441 fi
50442 if test ! -f "$as_myself"; then
50443 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50444 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50445 { (exit 1); exit 1; }; }
50446 fi
50447 case $CONFIG_SHELL in
50448 '')
50449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50450 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50451 do
50452 IFS=$as_save_IFS
50453 test -z "$as_dir" && as_dir=.
50454 for as_base in sh bash ksh sh5; do
50455 case $as_dir in
50456 /*)
50457 if ("$as_dir/$as_base" -c '
50458 as_lineno_1=$LINENO
50459 as_lineno_2=$LINENO
50460 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50461 test "x$as_lineno_1" != "x$as_lineno_2" &&
50462 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50463 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50464 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50465 CONFIG_SHELL=$as_dir/$as_base
50466 export CONFIG_SHELL
50467 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50468 fi;;
50469 esac
50470 done
50471 done
50472 ;;
50473 esac
50474
50475 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50476 # uniformly replaced by the line number. The first 'sed' inserts a
50477 # line-number line before each line; the second 'sed' does the real
50478 # work. The second script uses 'N' to pair each line-number line
50479 # with the numbered line, and appends trailing '-' during
50480 # substitution so that $LINENO is not a special case at line end.
50481 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50482 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50483 sed '=' <$as_myself |
50484 sed '
50485 N
50486 s,$,-,
50487 : loop
50488 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50489 t loop
50490 s,-$,,
50491 s,^['$as_cr_digits']*\n,,
50492 ' >$as_me.lineno &&
50493 chmod +x $as_me.lineno ||
50494 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50495 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50496 { (exit 1); exit 1; }; }
50497
50498 # Don't try to exec as it changes $[0], causing all sort of problems
50499 # (the dirname of $[0] is not the place where we might find the
50500 # original and so on. Autoconf is especially sensible to this).
50501 . ./$as_me.lineno
50502 # Exit status is that of the last command.
50503 exit
50504 }
50505
50506
50507 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50508 *c*,-n*) ECHO_N= ECHO_C='
50509 ' ECHO_T=' ' ;;
50510 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50511 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50512 esac
50513
50514 if expr a : '\(a\)' >/dev/null 2>&1; then
50515 as_expr=expr
50516 else
50517 as_expr=false
50518 fi
50519
50520 rm -f conf$$ conf$$.exe conf$$.file
50521 echo >conf$$.file
50522 if ln -s conf$$.file conf$$ 2>/dev/null; then
50523 # We could just check for DJGPP; but this test a) works b) is more generic
50524 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50525 if test -f conf$$.exe; then
50526 # Don't use ln at all; we don't have any links
50527 as_ln_s='cp -p'
50528 else
50529 as_ln_s='ln -s'
50530 fi
50531 elif ln conf$$.file conf$$ 2>/dev/null; then
50532 as_ln_s=ln
50533 else
50534 as_ln_s='cp -p'
50535 fi
50536 rm -f conf$$ conf$$.exe conf$$.file
50537
50538 if mkdir -p . 2>/dev/null; then
50539 as_mkdir_p=:
50540 else
50541 test -d ./-p && rmdir ./-p
50542 as_mkdir_p=false
50543 fi
50544
50545 as_executable_p="test -f"
50546
50547 # Sed expression to map a string onto a valid CPP name.
50548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50549
50550 # Sed expression to map a string onto a valid variable name.
50551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50552
50553
50554 # IFS
50555 # We need space, tab and new line, in precisely that order.
50556 as_nl='
50557 '
50558 IFS=" $as_nl"
50559
50560 # CDPATH.
50561 $as_unset CDPATH
50562
50563 exec 6>&1
50564
50565 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50566 # report actual input values of CONFIG_FILES etc. instead of their
50567 # values after options handling. Logging --version etc. is OK.
50568 exec 5>>config.log
50569 {
50570 echo
50571 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50572 ## Running $as_me. ##
50573 _ASBOX
50574 } >&5
50575 cat >&5 <<_CSEOF
50576
50577 This file was extended by wxWidgets $as_me 2.7.1, which was
50578 generated by GNU Autoconf 2.59. Invocation command line was
50579
50580 CONFIG_FILES = $CONFIG_FILES
50581 CONFIG_HEADERS = $CONFIG_HEADERS
50582 CONFIG_LINKS = $CONFIG_LINKS
50583 CONFIG_COMMANDS = $CONFIG_COMMANDS
50584 $ $0 $@
50585
50586 _CSEOF
50587 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50588 echo >&5
50589 _ACEOF
50590
50591 # Files that config.status was made for.
50592 if test -n "$ac_config_files"; then
50593 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50594 fi
50595
50596 if test -n "$ac_config_headers"; then
50597 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50598 fi
50599
50600 if test -n "$ac_config_links"; then
50601 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50602 fi
50603
50604 if test -n "$ac_config_commands"; then
50605 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50606 fi
50607
50608 cat >>$CONFIG_STATUS <<\_ACEOF
50609
50610 ac_cs_usage="\
50611 \`$as_me' instantiates files from templates according to the
50612 current configuration.
50613
50614 Usage: $0 [OPTIONS] [FILE]...
50615
50616 -h, --help print this help, then exit
50617 -V, --version print version number, then exit
50618 -q, --quiet do not print progress messages
50619 -d, --debug don't remove temporary files
50620 --recheck update $as_me by reconfiguring in the same conditions
50621 --file=FILE[:TEMPLATE]
50622 instantiate the configuration file FILE
50623 --header=FILE[:TEMPLATE]
50624 instantiate the configuration header FILE
50625
50626 Configuration files:
50627 $config_files
50628
50629 Configuration headers:
50630 $config_headers
50631
50632 Configuration commands:
50633 $config_commands
50634
50635 Report bugs to <bug-autoconf@gnu.org>."
50636 _ACEOF
50637
50638 cat >>$CONFIG_STATUS <<_ACEOF
50639 ac_cs_version="\\
50640 wxWidgets config.status 2.7.1
50641 configured by $0, generated by GNU Autoconf 2.59,
50642 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50643
50644 Copyright (C) 2003 Free Software Foundation, Inc.
50645 This config.status script is free software; the Free Software Foundation
50646 gives unlimited permission to copy, distribute and modify it."
50647 srcdir=$srcdir
50648 INSTALL="$INSTALL"
50649 _ACEOF
50650
50651 cat >>$CONFIG_STATUS <<\_ACEOF
50652 # If no file are specified by the user, then we need to provide default
50653 # value. By we need to know if files were specified by the user.
50654 ac_need_defaults=:
50655 while test $# != 0
50656 do
50657 case $1 in
50658 --*=*)
50659 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50660 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50661 ac_shift=:
50662 ;;
50663 -*)
50664 ac_option=$1
50665 ac_optarg=$2
50666 ac_shift=shift
50667 ;;
50668 *) # This is not an option, so the user has probably given explicit
50669 # arguments.
50670 ac_option=$1
50671 ac_need_defaults=false;;
50672 esac
50673
50674 case $ac_option in
50675 # Handling of the options.
50676 _ACEOF
50677 cat >>$CONFIG_STATUS <<\_ACEOF
50678 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50679 ac_cs_recheck=: ;;
50680 --version | --vers* | -V )
50681 echo "$ac_cs_version"; exit 0 ;;
50682 --he | --h)
50683 # Conflict between --help and --header
50684 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50685 Try \`$0 --help' for more information." >&5
50686 echo "$as_me: error: ambiguous option: $1
50687 Try \`$0 --help' for more information." >&2;}
50688 { (exit 1); exit 1; }; };;
50689 --help | --hel | -h )
50690 echo "$ac_cs_usage"; exit 0 ;;
50691 --debug | --d* | -d )
50692 debug=: ;;
50693 --file | --fil | --fi | --f )
50694 $ac_shift
50695 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50696 ac_need_defaults=false;;
50697 --header | --heade | --head | --hea )
50698 $ac_shift
50699 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50700 ac_need_defaults=false;;
50701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50702 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50703 ac_cs_silent=: ;;
50704
50705 # This is an error.
50706 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50707 Try \`$0 --help' for more information." >&5
50708 echo "$as_me: error: unrecognized option: $1
50709 Try \`$0 --help' for more information." >&2;}
50710 { (exit 1); exit 1; }; } ;;
50711
50712 *) ac_config_targets="$ac_config_targets $1" ;;
50713
50714 esac
50715 shift
50716 done
50717
50718 ac_configure_extra_args=
50719
50720 if $ac_cs_silent; then
50721 exec 6>/dev/null
50722 ac_configure_extra_args="$ac_configure_extra_args --silent"
50723 fi
50724
50725 _ACEOF
50726 cat >>$CONFIG_STATUS <<_ACEOF
50727 if \$ac_cs_recheck; then
50728 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50729 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50730 fi
50731
50732 _ACEOF
50733
50734 cat >>$CONFIG_STATUS <<_ACEOF
50735 #
50736 # INIT-COMMANDS section.
50737 #
50738
50739
50740 CPP="$CPP"
50741 infile="$srcdir/include/wx/msw/genrcdefs.h"
50742 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50743
50744
50745 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50746 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50747 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50748 LN_S="${LN_S}"
50749
50750
50751 _ACEOF
50752
50753
50754
50755 cat >>$CONFIG_STATUS <<\_ACEOF
50756 for ac_config_target in $ac_config_targets
50757 do
50758 case "$ac_config_target" in
50759 # Handling of arguments.
50760 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50761 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50762 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50763 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50764 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50765 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50766 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50767 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50768 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50769 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50770 { (exit 1); exit 1; }; };;
50771 esac
50772 done
50773
50774 # If the user did not use the arguments to specify the items to instantiate,
50775 # then the envvar interface is used. Set only those that are not.
50776 # We use the long form for the default assignment because of an extremely
50777 # bizarre bug on SunOS 4.1.3.
50778 if $ac_need_defaults; then
50779 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50780 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50781 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50782 fi
50783
50784 # Have a temporary directory for convenience. Make it in the build tree
50785 # simply because there is no reason to put it here, and in addition,
50786 # creating and moving files from /tmp can sometimes cause problems.
50787 # Create a temporary directory, and hook for its removal unless debugging.
50788 $debug ||
50789 {
50790 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50791 trap '{ (exit 1); exit 1; }' 1 2 13 15
50792 }
50793
50794 # Create a (secure) tmp directory for tmp files.
50795
50796 {
50797 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50798 test -n "$tmp" && test -d "$tmp"
50799 } ||
50800 {
50801 tmp=./confstat$$-$RANDOM
50802 (umask 077 && mkdir $tmp)
50803 } ||
50804 {
50805 echo "$me: cannot create a temporary directory in ." >&2
50806 { (exit 1); exit 1; }
50807 }
50808
50809 _ACEOF
50810
50811 cat >>$CONFIG_STATUS <<_ACEOF
50812
50813 #
50814 # CONFIG_FILES section.
50815 #
50816
50817 # No need to generate the scripts if there are no CONFIG_FILES.
50818 # This happens for instance when ./config.status config.h
50819 if test -n "\$CONFIG_FILES"; then
50820 # Protect against being on the right side of a sed subst in config.status.
50821 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50822 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50823 s,@SHELL@,$SHELL,;t t
50824 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50825 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50826 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50827 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50828 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50829 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50830 s,@exec_prefix@,$exec_prefix,;t t
50831 s,@prefix@,$prefix,;t t
50832 s,@program_transform_name@,$program_transform_name,;t t
50833 s,@bindir@,$bindir,;t t
50834 s,@sbindir@,$sbindir,;t t
50835 s,@libexecdir@,$libexecdir,;t t
50836 s,@datadir@,$datadir,;t t
50837 s,@sysconfdir@,$sysconfdir,;t t
50838 s,@sharedstatedir@,$sharedstatedir,;t t
50839 s,@localstatedir@,$localstatedir,;t t
50840 s,@libdir@,$libdir,;t t
50841 s,@includedir@,$includedir,;t t
50842 s,@oldincludedir@,$oldincludedir,;t t
50843 s,@infodir@,$infodir,;t t
50844 s,@mandir@,$mandir,;t t
50845 s,@build_alias@,$build_alias,;t t
50846 s,@host_alias@,$host_alias,;t t
50847 s,@target_alias@,$target_alias,;t t
50848 s,@DEFS@,$DEFS,;t t
50849 s,@ECHO_C@,$ECHO_C,;t t
50850 s,@ECHO_N@,$ECHO_N,;t t
50851 s,@ECHO_T@,$ECHO_T,;t t
50852 s,@LIBS@,$LIBS,;t t
50853 s,@build@,$build,;t t
50854 s,@build_cpu@,$build_cpu,;t t
50855 s,@build_vendor@,$build_vendor,;t t
50856 s,@build_os@,$build_os,;t t
50857 s,@host@,$host,;t t
50858 s,@host_cpu@,$host_cpu,;t t
50859 s,@host_vendor@,$host_vendor,;t t
50860 s,@host_os@,$host_os,;t t
50861 s,@target@,$target,;t t
50862 s,@target_cpu@,$target_cpu,;t t
50863 s,@target_vendor@,$target_vendor,;t t
50864 s,@target_os@,$target_os,;t t
50865 s,@CC@,$CC,;t t
50866 s,@CFLAGS@,$CFLAGS,;t t
50867 s,@LDFLAGS@,$LDFLAGS,;t t
50868 s,@CPPFLAGS@,$CPPFLAGS,;t t
50869 s,@ac_ct_CC@,$ac_ct_CC,;t t
50870 s,@EXEEXT@,$EXEEXT,;t t
50871 s,@OBJEXT@,$OBJEXT,;t t
50872 s,@CPP@,$CPP,;t t
50873 s,@EGREP@,$EGREP,;t t
50874 s,@CXX@,$CXX,;t t
50875 s,@CXXFLAGS@,$CXXFLAGS,;t t
50876 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50877 s,@RANLIB@,$RANLIB,;t t
50878 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50879 s,@AR@,$AR,;t t
50880 s,@ac_ct_AR@,$ac_ct_AR,;t t
50881 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50882 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50883 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50884 s,@STRIP@,$STRIP,;t t
50885 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50886 s,@WINDRES@,$WINDRES,;t t
50887 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50888 s,@DLLTOOL@,$DLLTOOL,;t t
50889 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50890 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50891 s,@LN_S@,$LN_S,;t t
50892 s,@CXXCPP@,$CXXCPP,;t t
50893 s,@subdirs@,$subdirs,;t t
50894 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50895 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50896 s,@GTK_LIBS@,$GTK_LIBS,;t t
50897 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50898 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50899 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50900 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50901 s,@X_CFLAGS@,$X_CFLAGS,;t t
50902 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50903 s,@X_LIBS@,$X_LIBS,;t t
50904 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50905 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50906 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50907 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50908 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50909 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50910 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50911 s,@REZ@,$REZ,;t t
50912 s,@DEREZ@,$DEREZ,;t t
50913 s,@SETFILE@,$SETFILE,;t t
50914 s,@LIBICONV@,$LIBICONV,;t t
50915 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50916 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50917 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50918 s,@SDL_LIBS@,$SDL_LIBS,;t t
50919 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50920 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50921 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50922 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50923 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50924 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50925 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50926 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50927 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50928 s,@GST_LIBS@,$GST_LIBS,;t t
50929 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50930 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50931 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50932 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50933 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50934 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50935 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50936 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50937 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50938 s,@VENDOR@,$VENDOR,;t t
50939 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50940 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50941 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50942 s,@WXUNIV@,$WXUNIV,;t t
50943 s,@MONOLITHIC@,$MONOLITHIC,;t t
50944 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50945 s,@EXTRALIBS@,$EXTRALIBS,;t t
50946 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50947 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50948 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50949 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50950 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50951 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50952 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50953 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50954 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50955 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50956 s,@UNICODE@,$UNICODE,;t t
50957 s,@BUILD@,$BUILD,;t t
50958 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50959 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50960 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50961 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50962 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50963 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50964 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50965 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50966 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50967 s,@SET_MAKE@,$SET_MAKE,;t t
50968 s,@MAKE_SET@,$MAKE_SET,;t t
50969 s,@NM@,$NM,;t t
50970 s,@ac_ct_NM@,$ac_ct_NM,;t t
50971 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50972 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50973 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50974 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50975 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50976 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50977 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50978 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50979 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50980 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50981 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50982 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50983 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50984 s,@LIBPREFIX@,$LIBPREFIX,;t t
50985 s,@LIBEXT@,$LIBEXT,;t t
50986 s,@DLLPREFIX@,$DLLPREFIX,;t t
50987 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50988 s,@dlldir@,$dlldir,;t t
50989 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50990 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50991 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50992 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50993 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50994 s,@PIC_FLAG@,$PIC_FLAG,;t t
50995 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50996 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50997 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50998 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50999 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51000 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51001 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51002 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51003 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51004 s,@GCC_PCH@,$GCC_PCH,;t t
51005 s,@ICC_PCH@,$ICC_PCH,;t t
51006 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51007 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51008 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51009 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51010 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51011 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51012 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51013 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51014 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51015 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51016 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51017 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51018 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51019 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51020 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51021 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51022 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51023 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51024 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51025 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51026 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
51027 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
51028 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
51029 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
51030 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51031 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51032 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51033 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51034 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51035 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51036 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
51037 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
51038 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
51039 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
51040 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51041 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51042 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51043 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51044 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51045 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51046 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51047 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51048 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51049 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51050 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51051 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51052 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51053 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51054 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51055 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51056 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51057 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51058 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
51059 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51060 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51061 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51062 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51063 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51064 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51065 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51066 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51067 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51068 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51069 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51070 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51071 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51072 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51073 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51074 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51075 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51076 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51077 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51078 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51079 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51080 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51081 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51082 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51083 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51084 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51085 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51086 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51087 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51088 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51089 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51090 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51091 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51092 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51093 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51094 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51095 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51096 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51097 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51098 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51099 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51100 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
51101 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51102 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51103 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51104 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51105 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51106 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51107 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51108 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51109 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51110 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51111 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51112 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51113 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51114 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51115 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51116 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51117 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51118 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51119 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51120 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51121 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51122 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51123 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51124 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51125 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51126 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51127 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51128 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51129 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51130 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51131 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51132 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51133 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51134 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51135 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51136 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51137 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51138 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51139 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51140 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51141 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51142 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51143 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51144 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51145 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51146 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51147 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51148 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51149 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51150 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51151 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51152 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51153 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51154 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51155 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51156 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51157 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51158 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51159 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51160 s,@SHARED@,$SHARED,;t t
51161 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51162 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51163 s,@USE_GUI@,$USE_GUI,;t t
51164 s,@AFMINSTALL@,$AFMINSTALL,;t t
51165 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51166 s,@TOOLKIT@,$TOOLKIT,;t t
51167 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51168 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51169 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51170 s,@cross_compiling@,$cross_compiling,;t t
51171 s,@WIDGET_SET@,$WIDGET_SET,;t t
51172 s,@WX_RELEASE@,$WX_RELEASE,;t t
51173 s,@WX_VERSION@,$WX_VERSION,;t t
51174 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51175 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51176 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51177 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51178 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51179 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51180 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51181 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51182 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51183 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51184 s,@EXE_LINKER@,$EXE_LINKER,;t t
51185 s,@GUIDIST@,$GUIDIST,;t t
51186 s,@DISTDIR@,$DISTDIR,;t t
51187 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51188 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51189 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51190 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51191 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51192 s,@RESCOMP@,$RESCOMP,;t t
51193 s,@RESFLAGS@,$RESFLAGS,;t t
51194 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51195 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51196 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51197 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51198 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51199 s,@MACSETFILE@,$MACSETFILE,;t t
51200 s,@GCC@,$GCC,;t t
51201 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51202 s,@LIBOBJS@,$LIBOBJS,;t t
51203 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51204 CEOF
51205
51206 _ACEOF
51207
51208 cat >>$CONFIG_STATUS <<\_ACEOF
51209 # Split the substitutions into bite-sized pieces for seds with
51210 # small command number limits, like on Digital OSF/1 and HP-UX.
51211 ac_max_sed_lines=48
51212 ac_sed_frag=1 # Number of current file.
51213 ac_beg=1 # First line for current file.
51214 ac_end=$ac_max_sed_lines # Line after last line for current file.
51215 ac_more_lines=:
51216 ac_sed_cmds=
51217 while $ac_more_lines; do
51218 if test $ac_beg -gt 1; then
51219 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51220 else
51221 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51222 fi
51223 if test ! -s $tmp/subs.frag; then
51224 ac_more_lines=false
51225 else
51226 # The purpose of the label and of the branching condition is to
51227 # speed up the sed processing (if there are no `@' at all, there
51228 # is no need to browse any of the substitutions).
51229 # These are the two extra sed commands mentioned above.
51230 (echo ':t
51231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51232 if test -z "$ac_sed_cmds"; then
51233 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51234 else
51235 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51236 fi
51237 ac_sed_frag=`expr $ac_sed_frag + 1`
51238 ac_beg=$ac_end
51239 ac_end=`expr $ac_end + $ac_max_sed_lines`
51240 fi
51241 done
51242 if test -z "$ac_sed_cmds"; then
51243 ac_sed_cmds=cat
51244 fi
51245 fi # test -n "$CONFIG_FILES"
51246
51247 _ACEOF
51248 cat >>$CONFIG_STATUS <<\_ACEOF
51249 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51250 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51251 case $ac_file in
51252 - | *:- | *:-:* ) # input from stdin
51253 cat >$tmp/stdin
51254 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51256 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51257 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51258 * ) ac_file_in=$ac_file.in ;;
51259 esac
51260
51261 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51262 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51264 X"$ac_file" : 'X\(//\)[^/]' \| \
51265 X"$ac_file" : 'X\(//\)$' \| \
51266 X"$ac_file" : 'X\(/\)' \| \
51267 . : '\(.\)' 2>/dev/null ||
51268 echo X"$ac_file" |
51269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51271 /^X\(\/\/\)$/{ s//\1/; q; }
51272 /^X\(\/\).*/{ s//\1/; q; }
51273 s/.*/./; q'`
51274 { if $as_mkdir_p; then
51275 mkdir -p "$ac_dir"
51276 else
51277 as_dir="$ac_dir"
51278 as_dirs=
51279 while test ! -d "$as_dir"; do
51280 as_dirs="$as_dir $as_dirs"
51281 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51283 X"$as_dir" : 'X\(//\)[^/]' \| \
51284 X"$as_dir" : 'X\(//\)$' \| \
51285 X"$as_dir" : 'X\(/\)' \| \
51286 . : '\(.\)' 2>/dev/null ||
51287 echo X"$as_dir" |
51288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51290 /^X\(\/\/\)$/{ s//\1/; q; }
51291 /^X\(\/\).*/{ s//\1/; q; }
51292 s/.*/./; q'`
51293 done
51294 test ! -n "$as_dirs" || mkdir $as_dirs
51295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51297 { (exit 1); exit 1; }; }; }
51298
51299 ac_builddir=.
51300
51301 if test "$ac_dir" != .; then
51302 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51303 # A "../" for each directory in $ac_dir_suffix.
51304 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51305 else
51306 ac_dir_suffix= ac_top_builddir=
51307 fi
51308
51309 case $srcdir in
51310 .) # No --srcdir option. We are building in place.
51311 ac_srcdir=.
51312 if test -z "$ac_top_builddir"; then
51313 ac_top_srcdir=.
51314 else
51315 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51316 fi ;;
51317 [\\/]* | ?:[\\/]* ) # Absolute path.
51318 ac_srcdir=$srcdir$ac_dir_suffix;
51319 ac_top_srcdir=$srcdir ;;
51320 *) # Relative path.
51321 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51322 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51323 esac
51324
51325 # Do not use `cd foo && pwd` to compute absolute paths, because
51326 # the directories may not exist.
51327 case `pwd` in
51328 .) ac_abs_builddir="$ac_dir";;
51329 *)
51330 case "$ac_dir" in
51331 .) ac_abs_builddir=`pwd`;;
51332 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51333 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51334 esac;;
51335 esac
51336 case $ac_abs_builddir in
51337 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51338 *)
51339 case ${ac_top_builddir}. in
51340 .) ac_abs_top_builddir=$ac_abs_builddir;;
51341 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51342 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51343 esac;;
51344 esac
51345 case $ac_abs_builddir in
51346 .) ac_abs_srcdir=$ac_srcdir;;
51347 *)
51348 case $ac_srcdir in
51349 .) ac_abs_srcdir=$ac_abs_builddir;;
51350 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51351 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51352 esac;;
51353 esac
51354 case $ac_abs_builddir in
51355 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51356 *)
51357 case $ac_top_srcdir in
51358 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51359 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51360 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51361 esac;;
51362 esac
51363
51364
51365 case $INSTALL in
51366 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51367 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51368 esac
51369
51370 # Let's still pretend it is `configure' which instantiates (i.e., don't
51371 # use $as_me), people would be surprised to read:
51372 # /* config.h. Generated by config.status. */
51373 if test x"$ac_file" = x-; then
51374 configure_input=
51375 else
51376 configure_input="$ac_file. "
51377 fi
51378 configure_input=$configure_input"Generated from `echo $ac_file_in |
51379 sed 's,.*/,,'` by configure."
51380
51381 # First look for the input files in the build tree, otherwise in the
51382 # src tree.
51383 ac_file_inputs=`IFS=:
51384 for f in $ac_file_in; do
51385 case $f in
51386 -) echo $tmp/stdin ;;
51387 [\\/$]*)
51388 # Absolute (can't be DOS-style, as IFS=:)
51389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51390 echo "$as_me: error: cannot find input file: $f" >&2;}
51391 { (exit 1); exit 1; }; }
51392 echo "$f";;
51393 *) # Relative
51394 if test -f "$f"; then
51395 # Build tree
51396 echo "$f"
51397 elif test -f "$srcdir/$f"; then
51398 # Source tree
51399 echo "$srcdir/$f"
51400 else
51401 # /dev/null tree
51402 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51403 echo "$as_me: error: cannot find input file: $f" >&2;}
51404 { (exit 1); exit 1; }; }
51405 fi;;
51406 esac
51407 done` || { (exit 1); exit 1; }
51408
51409 if test x"$ac_file" != x-; then
51410 { echo "$as_me:$LINENO: creating $ac_file" >&5
51411 echo "$as_me: creating $ac_file" >&6;}
51412 rm -f "$ac_file"
51413 fi
51414 _ACEOF
51415 cat >>$CONFIG_STATUS <<_ACEOF
51416 sed "$ac_vpsub
51417 $extrasub
51418 _ACEOF
51419 cat >>$CONFIG_STATUS <<\_ACEOF
51420 :t
51421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51422 s,@configure_input@,$configure_input,;t t
51423 s,@srcdir@,$ac_srcdir,;t t
51424 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51425 s,@top_srcdir@,$ac_top_srcdir,;t t
51426 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51427 s,@builddir@,$ac_builddir,;t t
51428 s,@abs_builddir@,$ac_abs_builddir,;t t
51429 s,@top_builddir@,$ac_top_builddir,;t t
51430 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51431 s,@INSTALL@,$ac_INSTALL,;t t
51432 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51433 rm -f $tmp/stdin
51434 if test x"$ac_file" != x-; then
51435 mv $tmp/out $ac_file
51436 else
51437 cat $tmp/out
51438 rm -f $tmp/out
51439 fi
51440
51441 # Run the commands associated with the file.
51442 case $ac_file in
51443 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51444 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51445 esac
51446 done
51447 _ACEOF
51448 cat >>$CONFIG_STATUS <<\_ACEOF
51449
51450 #
51451 # CONFIG_HEADER section.
51452 #
51453
51454 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51455 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51456 #
51457 # ac_d sets the value in "#define NAME VALUE" lines.
51458 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51459 ac_dB='[ ].*$,\1#\2'
51460 ac_dC=' '
51461 ac_dD=',;t'
51462 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51463 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51464 ac_uB='$,\1#\2define\3'
51465 ac_uC=' '
51466 ac_uD=',;t'
51467
51468 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51469 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51470 case $ac_file in
51471 - | *:- | *:-:* ) # input from stdin
51472 cat >$tmp/stdin
51473 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51474 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51475 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51476 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51477 * ) ac_file_in=$ac_file.in ;;
51478 esac
51479
51480 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51481 echo "$as_me: creating $ac_file" >&6;}
51482
51483 # First look for the input files in the build tree, otherwise in the
51484 # src tree.
51485 ac_file_inputs=`IFS=:
51486 for f in $ac_file_in; do
51487 case $f in
51488 -) echo $tmp/stdin ;;
51489 [\\/$]*)
51490 # Absolute (can't be DOS-style, as IFS=:)
51491 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51492 echo "$as_me: error: cannot find input file: $f" >&2;}
51493 { (exit 1); exit 1; }; }
51494 # Do quote $f, to prevent DOS paths from being IFS'd.
51495 echo "$f";;
51496 *) # Relative
51497 if test -f "$f"; then
51498 # Build tree
51499 echo "$f"
51500 elif test -f "$srcdir/$f"; then
51501 # Source tree
51502 echo "$srcdir/$f"
51503 else
51504 # /dev/null tree
51505 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51506 echo "$as_me: error: cannot find input file: $f" >&2;}
51507 { (exit 1); exit 1; }; }
51508 fi;;
51509 esac
51510 done` || { (exit 1); exit 1; }
51511 # Remove the trailing spaces.
51512 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51513
51514 _ACEOF
51515
51516 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51517 # `conftest.undefs', that substitutes the proper values into
51518 # config.h.in to produce config.h. The first handles `#define'
51519 # templates, and the second `#undef' templates.
51520 # And first: Protect against being on the right side of a sed subst in
51521 # config.status. Protect against being in an unquoted here document
51522 # in config.status.
51523 rm -f conftest.defines conftest.undefs
51524 # Using a here document instead of a string reduces the quoting nightmare.
51525 # Putting comments in sed scripts is not portable.
51526 #
51527 # `end' is used to avoid that the second main sed command (meant for
51528 # 0-ary CPP macros) applies to n-ary macro definitions.
51529 # See the Autoconf documentation for `clear'.
51530 cat >confdef2sed.sed <<\_ACEOF
51531 s/[\\&,]/\\&/g
51532 s,[\\$`],\\&,g
51533 t clear
51534 : clear
51535 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51536 t end
51537 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51538 : end
51539 _ACEOF
51540 # If some macros were called several times there might be several times
51541 # the same #defines, which is useless. Nevertheless, we may not want to
51542 # sort them, since we want the *last* AC-DEFINE to be honored.
51543 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51544 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51545 rm -f confdef2sed.sed
51546
51547 # This sed command replaces #undef with comments. This is necessary, for
51548 # example, in the case of _POSIX_SOURCE, which is predefined and required
51549 # on some systems where configure will not decide to define it.
51550 cat >>conftest.undefs <<\_ACEOF
51551 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51552 _ACEOF
51553
51554 # Break up conftest.defines because some shells have a limit on the size
51555 # of here documents, and old seds have small limits too (100 cmds).
51556 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51557 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51558 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51559 echo ' :' >>$CONFIG_STATUS
51560 rm -f conftest.tail
51561 while grep . conftest.defines >/dev/null
51562 do
51563 # Write a limited-size here document to $tmp/defines.sed.
51564 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51565 # Speed up: don't consider the non `#define' lines.
51566 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51567 # Work around the forget-to-reset-the-flag bug.
51568 echo 't clr' >>$CONFIG_STATUS
51569 echo ': clr' >>$CONFIG_STATUS
51570 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51571 echo 'CEOF
51572 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51573 rm -f $tmp/in
51574 mv $tmp/out $tmp/in
51575 ' >>$CONFIG_STATUS
51576 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51577 rm -f conftest.defines
51578 mv conftest.tail conftest.defines
51579 done
51580 rm -f conftest.defines
51581 echo ' fi # grep' >>$CONFIG_STATUS
51582 echo >>$CONFIG_STATUS
51583
51584 # Break up conftest.undefs because some shells have a limit on the size
51585 # of here documents, and old seds have small limits too (100 cmds).
51586 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51587 rm -f conftest.tail
51588 while grep . conftest.undefs >/dev/null
51589 do
51590 # Write a limited-size here document to $tmp/undefs.sed.
51591 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51592 # Speed up: don't consider the non `#undef'
51593 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51594 # Work around the forget-to-reset-the-flag bug.
51595 echo 't clr' >>$CONFIG_STATUS
51596 echo ': clr' >>$CONFIG_STATUS
51597 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51598 echo 'CEOF
51599 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51600 rm -f $tmp/in
51601 mv $tmp/out $tmp/in
51602 ' >>$CONFIG_STATUS
51603 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51604 rm -f conftest.undefs
51605 mv conftest.tail conftest.undefs
51606 done
51607 rm -f conftest.undefs
51608
51609 cat >>$CONFIG_STATUS <<\_ACEOF
51610 # Let's still pretend it is `configure' which instantiates (i.e., don't
51611 # use $as_me), people would be surprised to read:
51612 # /* config.h. Generated by config.status. */
51613 if test x"$ac_file" = x-; then
51614 echo "/* Generated by configure. */" >$tmp/config.h
51615 else
51616 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51617 fi
51618 cat $tmp/in >>$tmp/config.h
51619 rm -f $tmp/in
51620 if test x"$ac_file" != x-; then
51621 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51622 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51623 echo "$as_me: $ac_file is unchanged" >&6;}
51624 else
51625 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51627 X"$ac_file" : 'X\(//\)[^/]' \| \
51628 X"$ac_file" : 'X\(//\)$' \| \
51629 X"$ac_file" : 'X\(/\)' \| \
51630 . : '\(.\)' 2>/dev/null ||
51631 echo X"$ac_file" |
51632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51634 /^X\(\/\/\)$/{ s//\1/; q; }
51635 /^X\(\/\).*/{ s//\1/; q; }
51636 s/.*/./; q'`
51637 { if $as_mkdir_p; then
51638 mkdir -p "$ac_dir"
51639 else
51640 as_dir="$ac_dir"
51641 as_dirs=
51642 while test ! -d "$as_dir"; do
51643 as_dirs="$as_dir $as_dirs"
51644 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51646 X"$as_dir" : 'X\(//\)[^/]' \| \
51647 X"$as_dir" : 'X\(//\)$' \| \
51648 X"$as_dir" : 'X\(/\)' \| \
51649 . : '\(.\)' 2>/dev/null ||
51650 echo X"$as_dir" |
51651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51653 /^X\(\/\/\)$/{ s//\1/; q; }
51654 /^X\(\/\).*/{ s//\1/; q; }
51655 s/.*/./; q'`
51656 done
51657 test ! -n "$as_dirs" || mkdir $as_dirs
51658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51660 { (exit 1); exit 1; }; }; }
51661
51662 rm -f $ac_file
51663 mv $tmp/config.h $ac_file
51664 fi
51665 else
51666 cat $tmp/config.h
51667 rm -f $tmp/config.h
51668 fi
51669 done
51670 _ACEOF
51671 cat >>$CONFIG_STATUS <<\_ACEOF
51672
51673 #
51674 # CONFIG_COMMANDS section.
51675 #
51676 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51677 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51678 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51679 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51680 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51681 X"$ac_dest" : 'X\(//\)[^/]' \| \
51682 X"$ac_dest" : 'X\(//\)$' \| \
51683 X"$ac_dest" : 'X\(/\)' \| \
51684 . : '\(.\)' 2>/dev/null ||
51685 echo X"$ac_dest" |
51686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51688 /^X\(\/\/\)$/{ s//\1/; q; }
51689 /^X\(\/\).*/{ s//\1/; q; }
51690 s/.*/./; q'`
51691 { if $as_mkdir_p; then
51692 mkdir -p "$ac_dir"
51693 else
51694 as_dir="$ac_dir"
51695 as_dirs=
51696 while test ! -d "$as_dir"; do
51697 as_dirs="$as_dir $as_dirs"
51698 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51700 X"$as_dir" : 'X\(//\)[^/]' \| \
51701 X"$as_dir" : 'X\(//\)$' \| \
51702 X"$as_dir" : 'X\(/\)' \| \
51703 . : '\(.\)' 2>/dev/null ||
51704 echo X"$as_dir" |
51705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51706 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51707 /^X\(\/\/\)$/{ s//\1/; q; }
51708 /^X\(\/\).*/{ s//\1/; q; }
51709 s/.*/./; q'`
51710 done
51711 test ! -n "$as_dirs" || mkdir $as_dirs
51712 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51713 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51714 { (exit 1); exit 1; }; }; }
51715
51716 ac_builddir=.
51717
51718 if test "$ac_dir" != .; then
51719 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51720 # A "../" for each directory in $ac_dir_suffix.
51721 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51722 else
51723 ac_dir_suffix= ac_top_builddir=
51724 fi
51725
51726 case $srcdir in
51727 .) # No --srcdir option. We are building in place.
51728 ac_srcdir=.
51729 if test -z "$ac_top_builddir"; then
51730 ac_top_srcdir=.
51731 else
51732 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51733 fi ;;
51734 [\\/]* | ?:[\\/]* ) # Absolute path.
51735 ac_srcdir=$srcdir$ac_dir_suffix;
51736 ac_top_srcdir=$srcdir ;;
51737 *) # Relative path.
51738 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51739 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51740 esac
51741
51742 # Do not use `cd foo && pwd` to compute absolute paths, because
51743 # the directories may not exist.
51744 case `pwd` in
51745 .) ac_abs_builddir="$ac_dir";;
51746 *)
51747 case "$ac_dir" in
51748 .) ac_abs_builddir=`pwd`;;
51749 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51750 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51751 esac;;
51752 esac
51753 case $ac_abs_builddir in
51754 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51755 *)
51756 case ${ac_top_builddir}. in
51757 .) ac_abs_top_builddir=$ac_abs_builddir;;
51758 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51759 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51760 esac;;
51761 esac
51762 case $ac_abs_builddir in
51763 .) ac_abs_srcdir=$ac_srcdir;;
51764 *)
51765 case $ac_srcdir in
51766 .) ac_abs_srcdir=$ac_abs_builddir;;
51767 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51768 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51769 esac;;
51770 esac
51771 case $ac_abs_builddir in
51772 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51773 *)
51774 case $ac_top_srcdir in
51775 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51776 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51777 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51778 esac;;
51779 esac
51780
51781
51782 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51783 echo "$as_me: executing $ac_dest commands" >&6;}
51784 case $ac_dest in
51785 rcdefs.h )
51786 mkdir -p $outdir &&
51787 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51788 ;;
51789 wx-config ) rm -f wx-config
51790 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51791 ;;
51792 esac
51793 done
51794 _ACEOF
51795
51796 cat >>$CONFIG_STATUS <<\_ACEOF
51797
51798 { (exit 0); exit 0; }
51799 _ACEOF
51800 chmod +x $CONFIG_STATUS
51801 ac_clean_files=$ac_clean_files_save
51802
51803
51804 # configure is writing to config.log, and then calls config.status.
51805 # config.status does its own redirection, appending to config.log.
51806 # Unfortunately, on DOS this fails, as config.log is still kept open
51807 # by configure, so config.status won't be able to write to it; its
51808 # output is simply discarded. So we exec the FD to /dev/null,
51809 # effectively closing config.log, so it can be properly (re)opened and
51810 # appended to by config.status. When coming back to configure, we
51811 # need to make the FD available again.
51812 if test "$no_create" != yes; then
51813 ac_cs_success=:
51814 ac_config_status_args=
51815 test "$silent" = yes &&
51816 ac_config_status_args="$ac_config_status_args --quiet"
51817 exec 5>/dev/null
51818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51819 exec 5>>config.log
51820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51821 # would make configure fail if this is the last instruction.
51822 $ac_cs_success || { (exit 1); exit 1; }
51823 fi
51824
51825 #
51826 # CONFIG_SUBDIRS section.
51827 #
51828 if test "$no_recursion" != yes; then
51829
51830 # Remove --cache-file and --srcdir arguments so they do not pile up.
51831 ac_sub_configure_args=
51832 ac_prev=
51833 for ac_arg in $ac_configure_args; do
51834 if test -n "$ac_prev"; then
51835 ac_prev=
51836 continue
51837 fi
51838 case $ac_arg in
51839 -cache-file | --cache-file | --cache-fil | --cache-fi \
51840 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51841 ac_prev=cache_file ;;
51842 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51843 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51844 | --c=*)
51845 ;;
51846 --config-cache | -C)
51847 ;;
51848 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51849 ac_prev=srcdir ;;
51850 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51851 ;;
51852 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51853 ac_prev=prefix ;;
51854 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51855 ;;
51856 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51857 esac
51858 done
51859
51860 # Always prepend --prefix to ensure using the same prefix
51861 # in subdir configurations.
51862 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51863
51864 ac_popdir=`pwd`
51865 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51866
51867 # Do not complain, so a configure script can configure whichever
51868 # parts of a large source tree are present.
51869 test -d $srcdir/$ac_dir || continue
51870
51871 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51872 echo "$as_me: configuring in $ac_dir" >&6;}
51873 { if $as_mkdir_p; then
51874 mkdir -p "$ac_dir"
51875 else
51876 as_dir="$ac_dir"
51877 as_dirs=
51878 while test ! -d "$as_dir"; do
51879 as_dirs="$as_dir $as_dirs"
51880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51882 X"$as_dir" : 'X\(//\)[^/]' \| \
51883 X"$as_dir" : 'X\(//\)$' \| \
51884 X"$as_dir" : 'X\(/\)' \| \
51885 . : '\(.\)' 2>/dev/null ||
51886 echo X"$as_dir" |
51887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51889 /^X\(\/\/\)$/{ s//\1/; q; }
51890 /^X\(\/\).*/{ s//\1/; q; }
51891 s/.*/./; q'`
51892 done
51893 test ! -n "$as_dirs" || mkdir $as_dirs
51894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51896 { (exit 1); exit 1; }; }; }
51897
51898 ac_builddir=.
51899
51900 if test "$ac_dir" != .; then
51901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51902 # A "../" for each directory in $ac_dir_suffix.
51903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51904 else
51905 ac_dir_suffix= ac_top_builddir=
51906 fi
51907
51908 case $srcdir in
51909 .) # No --srcdir option. We are building in place.
51910 ac_srcdir=.
51911 if test -z "$ac_top_builddir"; then
51912 ac_top_srcdir=.
51913 else
51914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51915 fi ;;
51916 [\\/]* | ?:[\\/]* ) # Absolute path.
51917 ac_srcdir=$srcdir$ac_dir_suffix;
51918 ac_top_srcdir=$srcdir ;;
51919 *) # Relative path.
51920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51922 esac
51923
51924 # Do not use `cd foo && pwd` to compute absolute paths, because
51925 # the directories may not exist.
51926 case `pwd` in
51927 .) ac_abs_builddir="$ac_dir";;
51928 *)
51929 case "$ac_dir" in
51930 .) ac_abs_builddir=`pwd`;;
51931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51933 esac;;
51934 esac
51935 case $ac_abs_builddir in
51936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51937 *)
51938 case ${ac_top_builddir}. in
51939 .) ac_abs_top_builddir=$ac_abs_builddir;;
51940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51942 esac;;
51943 esac
51944 case $ac_abs_builddir in
51945 .) ac_abs_srcdir=$ac_srcdir;;
51946 *)
51947 case $ac_srcdir in
51948 .) ac_abs_srcdir=$ac_abs_builddir;;
51949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51951 esac;;
51952 esac
51953 case $ac_abs_builddir in
51954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51955 *)
51956 case $ac_top_srcdir in
51957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51960 esac;;
51961 esac
51962
51963
51964 cd $ac_dir
51965
51966 # Check for guested configure; otherwise get Cygnus style configure.
51967 if test -f $ac_srcdir/configure.gnu; then
51968 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51969 elif test -f $ac_srcdir/configure; then
51970 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51971 elif test -f $ac_srcdir/configure.in; then
51972 ac_sub_configure=$ac_configure
51973 else
51974 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51976 ac_sub_configure=
51977 fi
51978
51979 # The recursion is here.
51980 if test -n "$ac_sub_configure"; then
51981 # Make the cache file name correct relative to the subdirectory.
51982 case $cache_file in
51983 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51984 *) # Relative path.
51985 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51986 esac
51987
51988 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51989 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51990 # The eval makes quoting arguments work.
51991 eval $ac_sub_configure $ac_sub_configure_args \
51992 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51993 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51994 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51995 { (exit 1); exit 1; }; }
51996 fi
51997
51998 cd "$ac_popdir"
51999 done
52000 fi
52001
52002
52003 echo
52004 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52005 echo ""
52006 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52007 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52008
52009 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52010 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52011 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52012
52013 echo " What level of wxWidgets compatibility should be enabled?"
52014 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52015 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52016
52017 echo " Which libraries should wxWidgets use?"
52018 echo " jpeg ${wxUSE_LIBJPEG-none}"
52019 echo " png ${wxUSE_LIBPNG-none}"
52020 echo " regex ${wxUSE_REGEX}"
52021 echo " tiff ${wxUSE_LIBTIFF-none}"
52022 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52023 echo " xpm ${wxUSE_LIBXPM-none}"
52024 fi
52025 echo " zlib ${wxUSE_ZLIB}"
52026 echo " odbc ${wxUSE_ODBC}"
52027 echo " expat ${wxUSE_EXPAT}"
52028 echo " libmspack ${wxUSE_LIBMSPACK}"
52029 echo " sdl ${wxUSE_LIBSDL}"
52030
52031 echo ""
52032